|
@@ -20,9 +20,10 @@
|
|
<u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff"
|
|
<u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff"
|
|
:activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
|
|
:activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
|
|
<view class="participate-order x-f">
|
|
<view class="participate-order x-f">
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/order_icon2.png" mode="aspectFill"
|
|
|
|
- v-if="searchTypeIndex == 0 || searchTypeIndex == 2"></image>
|
|
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/order_icon.png" mode="aspectFill" v-else></image>
|
|
|
|
|
|
+ <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/order_icon2.png"
|
|
|
|
+ mode="aspectFill" v-if="searchTypeIndex == 0 || searchTypeIndex == 2"></image>
|
|
|
|
+ <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/order_icon.png"
|
|
|
|
+ mode="aspectFill" v-else></image>
|
|
<picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
|
|
<picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
|
|
{{typeoption[searchTypeIndex]}}
|
|
{{typeoption[searchTypeIndex]}}
|
|
</picker>
|
|
</picker>
|
|
@@ -156,7 +157,7 @@
|
|
@getuserIds='singleDelete' @pullDownRefresh="getfsuserListdata('refresh')"
|
|
@getuserIds='singleDelete' @pullDownRefresh="getfsuserListdata('refresh')"
|
|
@changelistname="getfsuserListdata('more')" @reachBottom="getfsuserListdata('more')"
|
|
@changelistname="getfsuserListdata('more')" @reachBottom="getfsuserListdata('more')"
|
|
@changePageOptions="e=>pageOptions=e" :pageOptions="pageOptions" :status="status"
|
|
@changePageOptions="e=>pageOptions=e" :pageOptions="pageOptions" :status="status"
|
|
- @changeStatus="e=>status=e" class="pb2" />
|
|
|
|
|
|
+ @changeStatus="e=>status=e" class="pb2 hb" />
|
|
<view class="justify-between base-bg-f foot-select" v-if="isShowSelectAll">
|
|
<view class="justify-between base-bg-f foot-select" v-if="isShowSelectAll">
|
|
<view class="align-center justify-between" v-if="isShowSelectAll">
|
|
<view class="align-center justify-between" v-if="isShowSelectAll">
|
|
<u-checkbox-group @change="selectAll">
|
|
<u-checkbox-group @change="selectAll">
|
|
@@ -215,9 +216,10 @@
|
|
</view>
|
|
</view>
|
|
</u-popup>
|
|
</u-popup>
|
|
<view class="invite-member" :style="{right:vipInviteshow?'-72rpx':'20rpx'}">
|
|
<view class="invite-member" :style="{right:vipInviteshow?'-72rpx':'20rpx'}">
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/invite-member-icon.png" mode="aspectFill" @click="vipInvite"
|
|
|
|
- style="position: relative;" class="intimg"> </image>
|
|
|
|
- <image src='https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/tc_close_icon.png' class="falseimg" @click="showinimg"></image>
|
|
|
|
|
|
+ <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/invite-member-icon.png"
|
|
|
|
+ mode="aspectFill" @click="vipInvite" style="position: relative;" class="intimg"> </image>
|
|
|
|
+ <image src='https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/tc_close_icon.png'
|
|
|
|
+ class="falseimg" @click="showinimg"></image>
|
|
</view>
|
|
</view>
|
|
<!-- 邀请弹窗 -->
|
|
<!-- 邀请弹窗 -->
|
|
<u-popup :show="invitePop" :round="12" @close="invitePop = false" :zIndex="10074" style="flex: 0;">
|
|
<u-popup :show="invitePop" :round="12" @close="invitePop = false" :zIndex="10074" style="flex: 0;">
|
|
@@ -242,40 +244,47 @@
|
|
</view> -->
|
|
</view> -->
|
|
<!--#ifdef MP-WEIXIN-->
|
|
<!--#ifdef MP-WEIXIN-->
|
|
<view class="justify-center" style="margin-top: 10px;">
|
|
<view class="justify-center" style="margin-top: 10px;">
|
|
- <!--#endif-->
|
|
|
|
- <!--#ifdef H5-->
|
|
|
|
- <view class="justify-center" style="margin-top: 10px;">
|
|
|
|
- <!--#endif-->
|
|
|
|
- <!-- <view class="x-bc " style="margin-top: 30px;"> -->
|
|
|
|
- <!--#ifdef MP-WEIXIN-->
|
|
|
|
- <view class="sharePop-item y-f " style="text-align: center;">
|
|
|
|
<!--#endif-->
|
|
<!--#endif-->
|
|
<!--#ifdef H5-->
|
|
<!--#ifdef H5-->
|
|
- <view class="sharePop-item y-f card-share" @click="shareimg" style="text-align: center;">
|
|
|
|
- <!--#endif-->
|
|
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/card_icon.png" mode="aspectFill"
|
|
|
|
- style="width: 80rpx; height: 80rpx;margin-top: 20rpx;"></image>
|
|
|
|
- <view style="font-weight: bold;margin-bottom: 4px;">生成卡片</view>
|
|
|
|
- <view style="font-size: 12px;color: #888;">指导分享轻松转发</view>
|
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
|
- <button open-type="share" class="share" @click="sharecard()">分享卡片</button>
|
|
|
|
- <!-- #endif -->
|
|
|
|
- </view>
|
|
|
|
- <!--#ifdef H5-->
|
|
|
|
- <view class="sharePop-item y-f " @click="buildimg" style="text-align: center;">
|
|
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/poster_icon.png" mode="aspectFill"></image>
|
|
|
|
- <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
|
|
|
|
- <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="sharePop-item y-f " @click="copyLink" style="text-align: center;">
|
|
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/link_icon.png" mode="aspectFill"></image>
|
|
|
|
- <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
|
|
|
|
- <view style="font-size: 12px;color: #888; ">生成链接一键复制</view>
|
|
|
|
|
|
+ <view class="justify-center" style="margin-top: 10px;">
|
|
|
|
+ <!--#endif-->
|
|
|
|
+ <!-- <view class="x-bc " style="margin-top: 30px;"> -->
|
|
|
|
+ <!--#ifdef MP-WEIXIN-->
|
|
|
|
+ <view class="sharePop-item y-f " style="text-align: center;">
|
|
|
|
+ <!--#endif-->
|
|
|
|
+ <!--#ifdef H5-->
|
|
|
|
+ <view class="sharePop-item y-f card-share" @click="shareimg"
|
|
|
|
+ style="text-align: center;">
|
|
|
|
+ <!--#endif-->
|
|
|
|
+ <image
|
|
|
|
+ src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/card_icon.png"
|
|
|
|
+ mode="aspectFill" style="width: 80rpx; height: 80rpx;margin-top: 20rpx;">
|
|
|
|
+ </image>
|
|
|
|
+ <view style="font-weight: bold;margin-bottom: 4px;">生成卡片</view>
|
|
|
|
+ <view style="font-size: 12px;color: #888;">指导分享轻松转发</view>
|
|
|
|
+ <!-- #ifdef MP-WEIXIN -->
|
|
|
|
+ <button open-type="share" class="share">分享卡片</button>
|
|
|
|
+ <!-- #endif -->
|
|
|
|
+ </view>
|
|
|
|
+ <!--#ifdef H5-->
|
|
|
|
+ <view class="sharePop-item y-f " @click="buildimg" style="text-align: center;">
|
|
|
|
+ <image
|
|
|
|
+ src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/poster_icon.png"
|
|
|
|
+ mode="aspectFill"></image>
|
|
|
|
+ <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
|
|
|
|
+ <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="sharePop-item y-f " @click="copyLink" style="text-align: center;">
|
|
|
|
+ <image
|
|
|
|
+ src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/images/link_icon.png"
|
|
|
|
+ mode="aspectFill"></image>
|
|
|
|
+ <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
|
|
|
|
+ <view style="font-size: 12px;color: #888; ">生成链接一键复制</view>
|
|
|
|
+ </view>
|
|
|
|
+ <!--#endif-->
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <!--#endif-->
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
</u-popup>
|
|
</u-popup>
|
|
<!-- 设置链接有效时长弹窗 -->
|
|
<!-- 设置链接有效时长弹窗 -->
|
|
<u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
|
|
<u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
|
|
@@ -294,7 +303,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="justify-around mb40">
|
|
<view class="justify-around mb40">
|
|
<view class="column justify-center align-center" @click="downimg">
|
|
<view class="column justify-center align-center" @click="downimg">
|
|
- <image src='https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/downicon.png' class="w80 h80"></image>
|
|
|
|
|
|
+ <image src='https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/downicon.png'
|
|
|
|
+ class="w80 h80"></image>
|
|
<view class="mt10">长按图片保存</view>
|
|
<view class="mt10">长按图片保存</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -303,12 +313,14 @@
|
|
<u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
|
|
<u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
|
|
<view class="point-box">
|
|
<view class="point-box">
|
|
<view class="imgshe">
|
|
<view class="imgshe">
|
|
- <image src='https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/point.png' class="w300 h300"></image>
|
|
|
|
|
|
+ <image src='https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/point.png'
|
|
|
|
+ class="w300 h300"></image>
|
|
</view>
|
|
</view>
|
|
<view class="column colorf fs32 xu-box fs40
|
|
<view class="column colorf fs32 xu-box fs40
|
|
align-center justify-center">
|
|
align-center justify-center">
|
|
<view class="justify-center">点击右上角
|
|
<view class="justify-center">点击右上角
|
|
- <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/wxmore.png" class="w50 h50 mlr10"></image>
|
|
|
|
|
|
+ <image src="https://fbylive.obs.cn-southwest-2.myhuaweicloud.com:443/app/image/wxmore.png"
|
|
|
|
+ class="w50 h50 mlr10"></image>
|
|
</view>
|
|
</view>
|
|
<view class="mt20">选择 “转发给朋友”</view>
|
|
<view class="mt20">选择 “转发给朋友”</view>
|
|
<view style="color: #cbcbcb;" class="fs28 mt40">点击任意位置关闭弹窗</view>
|
|
<view style="color: #cbcbcb;" class="fs28 mt40">点击任意位置关闭弹窗</view>
|
|
@@ -539,12 +551,12 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
- // #ifdef MP-WEIXIN
|
|
|
|
- uni.showShareMenu({
|
|
|
|
- withShareTicket: true,
|
|
|
|
- menus: ['shareAppMessage']
|
|
|
|
- });
|
|
|
|
- // #endif
|
|
|
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
|
+ uni.showShareMenu({
|
|
|
|
+ withShareTicket: true,
|
|
|
|
+ menus: ['shareAppMessage']
|
|
|
|
+ });
|
|
|
|
+ // #endif
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
// #ifdef H5
|
|
// #ifdef H5
|
|
@@ -554,8 +566,21 @@
|
|
this.getcompanyTag()
|
|
this.getcompanyTag()
|
|
this.getvipListnum()
|
|
this.getvipListnum()
|
|
this.getsalelist()
|
|
this.getsalelist()
|
|
- this.userList=[]
|
|
|
|
|
|
+ this.userList = []
|
|
this.getfsuserListdata()
|
|
this.getfsuserListdata()
|
|
|
|
+ },
|
|
|
|
+ // 这个是分享聊天
|
|
|
|
+ onShareAppMessage() {
|
|
|
|
+ return {
|
|
|
|
+ title: this.user.userName + '邀请您成为会员!',
|
|
|
|
+ path: '/pages/user/users/becomeVIP?companyId=' +
|
|
|
|
+ this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
|
|
|
|
+ imageUrl: this.imgs,
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ // 这是朋友圈
|
|
|
|
+ onShareTimeline() {
|
|
|
|
+
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
|
|
@@ -566,32 +591,6 @@
|
|
},
|
|
},
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- sharecard(){
|
|
|
|
- console.log(123)
|
|
|
|
- uni.share({
|
|
|
|
- provider: 'weixin',
|
|
|
|
- scene: 'WXSceneSession', // 分享到会话
|
|
|
|
- type: 0,
|
|
|
|
- title: this.user.userId+'邀请您成为会员!',
|
|
|
|
- path: '/pages/user/users/becomeVIP?companyId='+
|
|
|
|
- this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
|
|
|
|
- imageUrl: this.imgs,
|
|
|
|
- success: (res) => {
|
|
|
|
- console.log('分享成功', res);
|
|
|
|
- uni.showToast({
|
|
|
|
- title: '分享成功',
|
|
|
|
- icon: 'none'
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
- fail: (err) => {
|
|
|
|
- console.log('分享失败', err);
|
|
|
|
- uni.showToast({
|
|
|
|
- title: '分享失败,请稍后再试',
|
|
|
|
- icon: 'none'
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
changetagall() {
|
|
changetagall() {
|
|
this.showTagSelect = !this.showTagSelect
|
|
this.showTagSelect = !this.showTagSelect
|
|
this.tagchangekeywords = ''
|
|
this.tagchangekeywords = ''
|
|
@@ -1252,6 +1251,8 @@
|
|
clickTypeTab(e) {
|
|
clickTypeTab(e) {
|
|
this.currentType = e.index
|
|
this.currentType = e.index
|
|
this.userList = []
|
|
this.userList = []
|
|
|
|
+ // 在这里更新
|
|
|
|
+ this.pageOptions.pageNum = 1
|
|
this.getfsuserListdata()
|
|
this.getfsuserListdata()
|
|
},
|
|
},
|
|
bindPickerChange(e) {
|
|
bindPickerChange(e) {
|
|
@@ -1440,18 +1441,20 @@
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
- .card-share{
|
|
|
|
|
|
+ .card-share {
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|
|
- .share{
|
|
|
|
- display: inline-block;
|
|
|
|
- position: absolute;
|
|
|
|
- top: 0;
|
|
|
|
- left: 0;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100%;
|
|
|
|
- opacity: 0;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+ .share {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 50%;
|
|
|
|
+ opacity: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
.imgshe {
|
|
.imgshe {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: row-reverse
|
|
flex-direction: row-reverse
|