优化页面

This commit is contained in:
pengxiaolong
2025-06-18 22:04:59 +08:00
parent ec9dcb486f
commit b73ddb0370
52 changed files with 268 additions and 140 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,6 @@
"navigationBarTitleText": "首页",
"usingComponents": {
"top-navigation": "../../components/topNavigation/topNavigation",
"advertisement": "../../components/Advertisement/Advertisement",
"tab-bar": "../../components/tabBar/tabBar",
"wht-select": "../../uni_modules/wht-select/components/wht-select/wht-select",
"uni-number-box": "../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box",

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
.page.data-v-8ac9e7f7{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-8ac9e7f7{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-8ac9e7f7{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-8ac9e7f7{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:2}.contentList.data-v-8ac9e7f7{position:fixed;top:412rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-8ac9e7f7{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-8ac9e7f7{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-8ac9e7f7{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-8ac9e7f7{display:flex;align-items:center}.cardname.data-v-8ac9e7f7{font-size:31rpx;color:#161616;line-height:38rpx;margin-bottom:20rpx}.Genderimg.data-v-8ac9e7f7{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-8ac9e7f7{color:#fff;font-size:14rpx}.Gendermale.data-v-8ac9e7f7{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-8ac9e7f7{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-8ac9e7f7{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-8ac9e7f7{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-8ac9e7f7{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-8ac9e7f7{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28rpx;color:#a3a3a3;line-height:40rpx;text-align:center}.popup-container.data-v-8ac9e7f7{height:1626px;width:650rpx;background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png);border-radius:15rpx;display:flex;flex-direction:column;align-items:center}.popup-title.data-v-8ac9e7f7{font-size:50rpx;line-height:50rpx;margin-top:250rpx;font-weight:700;background:linear-gradient(135deg,#00afb2,#4fcacd);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.p-country.data-v-8ac9e7f7{width:500rpx;height:100rpx;margin-top:80rpx}.popup-sex.data-v-8ac9e7f7{width:500rpx;height:100rpx;margin-top:40rpx;display:flex;justify-content:space-between}.p-sex.data-v-8ac9e7f7{width:420rpx;height:100rpx}.Gendericoncss.data-v-8ac9e7f7{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-8ac9e7f7{width:40rpx;height:40rpx}.popup-coin.data-v-8ac9e7f7{width:500rpx;margin-top:40rpx;display:flex}.p-coin.data-v-8ac9e7f7{width:500rpx;display:flex;flex-direction:column;align-items:center}.p-coin-title.data-v-8ac9e7f7{font-size:20rpx;color:#a3a3a3}.p-time.data-v-8ac9e7f7{width:500rpx;margin-top:40rpx}.popup-btn-cancel.data-v-8ac9e7f7{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcacd,#5fdbde)}.popup-btn-confirm.data-v-8ac9e7f7{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcd9d,#5fdeba)}.popup-btn-clear.data-v-8ac9e7f7{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#cd924f,#debc5f)}.Hintcss.data-v-8ac9e7f7{font-size:18rpx;color:#f55}.popup-btn.data-v-8ac9e7f7{width:600rpx;height:100rpx;display:flex;justify-content:space-around;align-items:center;margin-top:400rpx}
.page.data-v-87c6f233{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-87c6f233{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-87c6f233{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-87c6f233{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:2}.contentList.data-v-87c6f233{position:fixed;top:312rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-87c6f233{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-87c6f233{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-87c6f233{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-87c6f233{display:flex;align-items:center}.cardname.data-v-87c6f233{font-size:31rpx;color:#161616;line-height:38rpx;margin-bottom:20rpx}.Genderimg.data-v-87c6f233{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-87c6f233{color:#fff;font-size:14rpx}.Gendermale.data-v-87c6f233{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-87c6f233{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-87c6f233{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-87c6f233{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-87c6f233{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-87c6f233{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28rpx;color:#a3a3a3;line-height:40rpx;text-align:center}.popup-container.data-v-87c6f233{height:1626px;width:650rpx;background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png);border-radius:15rpx;display:flex;flex-direction:column;align-items:center}.popup-title.data-v-87c6f233{font-size:50rpx;line-height:50rpx;margin-top:250rpx;font-weight:700;background:linear-gradient(135deg,#00afb2,#4fcacd);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.p-country.data-v-87c6f233{width:500rpx;height:100rpx;margin-top:80rpx}.popup-sex.data-v-87c6f233{width:500rpx;height:100rpx;margin-top:40rpx;display:flex;justify-content:space-between}.p-sex.data-v-87c6f233{width:420rpx;height:100rpx}.Gendericoncss.data-v-87c6f233{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-87c6f233{width:40rpx;height:40rpx}.popup-coin.data-v-87c6f233{width:500rpx;margin-top:40rpx;display:flex}.p-coin.data-v-87c6f233{width:500rpx;display:flex;flex-direction:column;align-items:center}.p-dar.data-v-87c6f233{margin-top:30rpx}.p-coin-title.data-v-87c6f233{font-size:20rpx;color:#a3a3a3}.p-time.data-v-87c6f233{width:500rpx;margin-top:40rpx}.popup-btn-cancel.data-v-87c6f233{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcacd,#5fdbde)}.popup-btn-confirm.data-v-87c6f233{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcd9d,#5fdeba)}.popup-btn-clear.data-v-87c6f233{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#cd924f,#debc5f)}.Hintcss.data-v-87c6f233{font-size:18rpx;color:#f55}.popup-btn.data-v-87c6f233{width:600rpx;height:100rpx;display:flex;justify-content:space-around;align-items:center;margin-top:400rpx}

View File

@@ -1 +1 @@
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),s={data:()=>({title:"Hello",userinfo:{},page:0,triggered:!1,pointslist:[]}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,this.onRefresherRefresh()}})},methods:{formatDate:o.formatDate,onRefresherRefresh(){this.page=0,this.triggered=!0,this.pointslist=[],this.getPointsDetail()},onScrollToLower(){this.page+=1,this.getPointsDetail()},getPointsDetail(){t.request({url:"user/pointsDetail",method:"POST",data:{userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((e=>{200===e.code?(this.pointslist.push(...e.data),this.triggered=!1):console.log(e.msg)}))},onBack(){e.index.navigateBack({delta:1})}}};if(!Array){e.resolveComponent("uni-card")()}const r=e._export_sfc(s,[["render",function(t,o,s,r,i,n){return{a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:e.f(i.pointslist,((t,o,s)=>({a:e.t(t.info),b:e.t(0==t.status?"-"+t.number:"+"+t.number),c:e.t(n.formatDate(t.time)),d:0==t.status?"#ff000011":"#11ff002b",e:o,f:"8ec73985-0-"+s}))),c:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),d:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),e:i.triggered}}],["__scopeId","data-v-8ec73985"]]);wx.createPage(r);
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),s=require("../../../components/formatDate.js"),o={data:()=>({title:"Hello",userinfo:{},page:0,triggered:!1,pointslist:[]}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,this.onRefresherRefresh()}})},methods:{formatDate:s.formatDate,onRefresherRefresh(){this.page=0,this.triggered=!0,this.pointslist=[],this.getPointsDetail()},onScrollToLower(){this.page+=1,this.getPointsDetail()},getPointsDetail(){t.request({url:"user/pointsDetail",method:"POST",data:{userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((e=>{200===e.code?(this.pointslist.push(...e.data),this.triggered=!1):console.log(e.msg)}))},onBack(){e.index.navigateBack({delta:1})}}};if(!Array){e.resolveComponent("uni-card")()}const r=e._export_sfc(o,[["render",function(t,s,o,r,i,n){return e.e({a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:0!=i.pointslist.length},0!=i.pointslist.length?{c:e.f(i.pointslist,((t,s,o)=>({a:e.t(t.info),b:e.t(0==t.status?"-"+t.number:"+"+t.number),c:e.t(n.formatDate(t.time)),d:0==t.status?"#ff000011":"#11ff002b",e:s,f:"e1fb562b-0-"+o}))),d:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),e:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),f:i.triggered}:{},{g:0==i.pointslist.length},(i.pointslist.length,{}))}],["__scopeId","data-v-e1fb562b"]]);wx.createPage(r);

View File

@@ -1 +1 @@
<view class="points data-v-8ec73985"><view class="bg data-v-8ec73985"><image class="bgImg data-v-8ec73985" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-8ec73985" bindtap="{{a}}"><image class="ReturnImg data-v-8ec73985" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-8ec73985">积分</view><view class="content data-v-8ec73985"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-8ec73985" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" class="card data-v-8ec73985" u-i="{{item.f}}" bind:__l="__l"><view class="card-content data-v-8ec73985" style="{{'background-color:' + item.d}}"><view class="info data-v-8ec73985"><view class="data-v-8ec73985">{{item.a}}</view>  <view class="num data-v-8ec73985">{{item.b}}</view></view><view class="time data-v-8ec73985">{{item.c}}</view></view></uni-card></scroll-view></view></view>
<view class="points data-v-e1fb562b"><view class="bg data-v-e1fb562b"><image class="bgImg data-v-e1fb562b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-e1fb562b" bindtap="{{a}}"><image class="ReturnImg data-v-e1fb562b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-e1fb562b">积分</view><view class="content data-v-e1fb562b"><scroll-view wx:if="{{b}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-e1fb562b" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{d}}" lower-threshold="100" bindscrolltolower="{{e}}" refresher-triggered="{{f}}"><uni-card wx:for="{{c}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" class="card data-v-e1fb562b" u-i="{{item.f}}" bind:__l="__l"><view class="card-content data-v-e1fb562b" style="{{'background-color:' + item.d}}"><view class="info data-v-e1fb562b"><view class="data-v-e1fb562b">{{item.a}}</view>  <view class="num data-v-e1fb562b">{{item.b}}</view></view><view class="time data-v-e1fb562b">{{item.c}}</view></view></uni-card></scroll-view><view wx:if="{{g}}" class="empty data-v-e1fb562b">暂无积分记录</view></view></view>

View File

@@ -1 +1 @@
.bg.data-v-8ec73985{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-8ec73985{width:100%;height:100%}.Return.data-v-8ec73985{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-8ec73985{position:absolute;top:120rpx;left:335rpx;font-size:34rpx;color:#100e0f;font-weight:700}.ReturnImg.data-v-8ec73985{width:100%;height:100%}.content.data-v-8ec73985{position:absolute;top:250rpx;left:0rpx;right:0rpx;bottom:50rpx}.scroll.data-v-8ec73985{height:100%;width:750rpx}.card-content.data-v-8ec73985{display:flex;justify-content:space-between;align-items:center;height:100rpx;width:600rpx;padding:0 20rpx;border-radius:20rpx;margin-bottom:20rpx;margin-left:50rpx}.time.data-v-8ec73985{font-size:24rpx;color:#7b7b7b}.info.data-v-8ec73985{font-size:24rpx;color:#898989;display:flex}.num.data-v-8ec73985{font-size:24rpx;color:#000;font-weight:700}
.bg.data-v-e1fb562b{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-e1fb562b{width:100%;height:100%}.Return.data-v-e1fb562b{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-e1fb562b{position:absolute;top:120rpx;left:335rpx;font-size:34rpx;color:#100e0f;font-weight:700}.ReturnImg.data-v-e1fb562b{width:100%;height:100%}.content.data-v-e1fb562b{position:absolute;top:250rpx;left:0rpx;right:0rpx;bottom:50rpx}.scroll.data-v-e1fb562b{height:100%;width:750rpx}.empty.data-v-e1fb562b{height:100%;width:750rpx;line-height:1200rpx;text-align:center;font-size:28rpx;color:#898989}.card-content.data-v-e1fb562b{display:flex;justify-content:space-between;align-items:center;height:100rpx;width:600rpx;padding:0 20rpx;border-radius:20rpx;margin-bottom:20rpx;margin-left:50rpx}.time.data-v-e1fb562b{font-size:24rpx;color:#7b7b7b}.info.data-v-e1fb562b{font-size:24rpx;color:#898989;display:flex}.num.data-v-e1fb562b{font-size:24rpx;color:#000;font-weight:700}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-27992e59', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" class="containers data-v-27992e59"><view class="container data-v-27992e59"><image class="Fork data-v-27992e59" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-27992e59"><view class="Star data-v-27992e59"></view><view class="Title data-v-27992e59"></view><view class="Star data-v-27992e59"></view></view><view class="AnchorSelection data-v-27992e59"><view class="NameAnchor data-v-27992e59"><input class="NameAnchorcss data-v-27992e59" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-27992e59">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-27992e59" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-27992e59"><view class="Coins country data-v-27992e59"><wht-select wx:if="{{j}}" class="data-v-27992e59" style="width:350rpx" bindchange="{{h}}" bindblur="{{i}}" u-i="27992e59-0" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="Hint data-v-27992e59">请选择国家</view></view><view class="Gender data-v-27992e59"><view class="Gendercs data-v-27992e59"><view class="Gendercss data-v-27992e59"><wht-select wx:if="{{m}}" class="data-v-27992e59" style="width:300rpx" bindchange="{{l}}" u-i="27992e59-1" bind:__l="__l" u-p="{{m}}"/></view><view class="Gendericoncss data-v-27992e59"><image wx:if="{{n}}" class="Gendericon data-v-27992e59" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-27992e59" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-27992e59" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-27992e59">请选择性别</view></view></view><view class="goldCoin data-v-27992e59"><view class="number-box data-v-27992e59"><view class="number-box-title data-v-27992e59">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-27992e59" u-i="27992e59-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-27992e59">单位:</view><view class="number-box-unit data-v-27992e59">K</view></view><view wx:if="{{t}}" class="Hint data-v-27992e59">请填写金币数量</view></view><view class="time data-v-27992e59"><uni-datetime-picker wx:if="{{w}}" class="data-v-27992e59" u-i="27992e59-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" class="Hint data-v-27992e59">请选择日期</view></view><view class="goldCoin data-v-27992e59"><view class="number-box data-v-27992e59"><view class="number-box-title data-v-27992e59">选择场数:</view><uni-number-box wx:if="{{z}}" class="data-v-27992e59" u-i="27992e59-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-27992e59">次</view></view><view wx:if="{{A}}" class="Hint data-v-27992e59">请填写场数</view></view><view class="Remarkscss data-v-27992e59"><uni-easyinput wx:if="{{C}}" class="data-v-27992e59" u-i="27992e59-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-27992e59"><button bindtap="{{D}}" class="Publishcss data-v-27992e59">发布</button></view></view></view></view><uni-popup wx:if="{{N}}" class="r data-v-27992e59" u-s="{{['d']}}" u-r="popup" u-i="27992e59-6" bind:__l="__l" u-p="{{N}}"><view class="popup-container data-v-27992e59"><view class="popup-title data-v-27992e59">选择我的主播</view><scroll-view wx:if="{{H}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-27992e59"><view wx:for="{{I}}" wx:for-item="item" wx:key="f" class="card data-v-27992e59"><view class="card-content data-v-27992e59" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-27992e59"><image class="avatar data-v-27992e59" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-27992e59"><view class="TimeMoney data-v-27992e59"><view class="NameMoney_Name data-v-27992e59">{{item.b}}</view></view><view class="TimeMoney data-v-27992e59"><view class="TimeMoney_country data-v-27992e59">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{J}}" class="no-data data-v-27992e59"><view class="no-data-text data-v-27992e59">暂无数据</view></view><view class="popup-btn data-v-27992e59"><button class="invite data-v-27992e59" type="primary" bindtap="{{K}}">确认</button><button class="cancel data-v-27992e59" type="default" bindtap="{{L}}">取消</button></view></view></uni-popup>
<view wx:if="{{a}}" class="{{['data-v-d0da91b0', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" class="containers data-v-d0da91b0"><view class="container data-v-d0da91b0"><image class="Fork data-v-d0da91b0" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-d0da91b0"><view class="Star data-v-d0da91b0"></view><view class="Title data-v-d0da91b0"></view><view class="Star data-v-d0da91b0"></view></view><view class="AnchorSelection data-v-d0da91b0"><view class="NameAnchor data-v-d0da91b0"><input class="NameAnchorcss data-v-d0da91b0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-d0da91b0">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-d0da91b0" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-d0da91b0"><view class="Coins country data-v-d0da91b0"><wht-select wx:if="{{j}}" class="data-v-d0da91b0" style="width:350rpx" bindchange="{{h}}" bindblur="{{i}}" u-i="d0da91b0-0" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="Hint data-v-d0da91b0">请选择国家</view></view><view class="Gender data-v-d0da91b0"><view class="Gendercs data-v-d0da91b0"><view class="Gendercss data-v-d0da91b0"><wht-select wx:if="{{m}}" class="data-v-d0da91b0" style="width:300rpx" bindchange="{{l}}" u-i="d0da91b0-1" bind:__l="__l" u-p="{{m}}"/></view><view class="Gendericoncss data-v-d0da91b0"><image wx:if="{{n}}" class="Gendericon data-v-d0da91b0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-d0da91b0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-d0da91b0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-d0da91b0">请选择性别</view></view></view><view class="goldCoin data-v-d0da91b0"><view class="number-box data-v-d0da91b0"><view class="number-box-title data-v-d0da91b0">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-d0da91b0" u-i="d0da91b0-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-d0da91b0">单位:</view><view class="number-box-unit data-v-d0da91b0">K</view></view><view wx:if="{{t}}" class="Hint data-v-d0da91b0">请填写金币数量</view></view><view class="time data-v-d0da91b0"><uni-datetime-picker wx:if="{{w}}" class="data-v-d0da91b0" u-i="d0da91b0-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" class="Hint data-v-d0da91b0">请选择日期</view></view><view class="goldCoin data-v-d0da91b0"><view class="number-box data-v-d0da91b0"><view class="number-box-title data-v-d0da91b0">选择场数:</view><uni-number-box wx:if="{{z}}" class="data-v-d0da91b0" u-i="d0da91b0-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-d0da91b0">次</view></view><view wx:if="{{A}}" class="Hint data-v-d0da91b0">请填写场数</view></view><view class="Remarkscss data-v-d0da91b0"><uni-easyinput wx:if="{{C}}" class="data-v-d0da91b0" u-i="d0da91b0-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-d0da91b0"><button bindtap="{{D}}" class="Publishcss data-v-d0da91b0">发布</button></view></view></view></view><uni-popup wx:if="{{N}}" class="r data-v-d0da91b0" u-s="{{['d']}}" u-r="popup" u-i="d0da91b0-6" bind:__l="__l" u-p="{{N}}"><view class="popup-container data-v-d0da91b0"><view class="popup-title data-v-d0da91b0">点击选择我的主播</view><scroll-view wx:if="{{H}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-d0da91b0"><view wx:for="{{I}}" wx:for-item="item" wx:key="f" class="card data-v-d0da91b0"><view class="card-content data-v-d0da91b0" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-d0da91b0"><image class="avatar data-v-d0da91b0" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-d0da91b0"><view class="TimeMoney data-v-d0da91b0"><view class="NameMoney_Name data-v-d0da91b0">{{item.b}}</view></view><view class="TimeMoney data-v-d0da91b0"><view class="TimeMoney_country data-v-d0da91b0">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{J}}" class="no-data data-v-d0da91b0"><view class="no-data-text data-v-d0da91b0">暂无数据</view></view><view class="popup-btn data-v-d0da91b0"><button class="invite data-v-d0da91b0" type="primary" bindtap="{{K}}">确认</button><button class="cancel data-v-d0da91b0" type="default" bindtap="{{L}}">取消</button></view></view></uni-popup>

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-d939dc07', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-d939dc07"><view class="container data-v-d939dc07"><image class="Fork data-v-d939dc07" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-d939dc07"><view class="Star data-v-d939dc07"></view><view class="Title data-v-d939dc07"></view><view class="Star data-v-d939dc07"></view></view><view class="AnchorSelection data-v-d939dc07"><view class="NameAnchor data-v-d939dc07"><input class="NameAnchorcss data-v-d939dc07" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-d939dc07">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-d939dc07" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-d939dc07"><view class="Coins country data-v-d939dc07"><wht-select wx:if="{{i}}" class="data-v-d939dc07" style="width:350rpx" bindchange="{{h}}" u-i="d939dc07-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" class="Hint data-v-d939dc07">请选择国家</view></view><view class="Gender data-v-d939dc07"><view class="Gendercs data-v-d939dc07"><view class="Gendercss data-v-d939dc07"><wht-select wx:if="{{l}}" class="data-v-d939dc07" style="width:300rpx" bindchange="{{k}}" u-i="d939dc07-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-d939dc07"><image wx:if="{{m}}" class="Gendericon data-v-d939dc07" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-d939dc07" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-d939dc07" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" class="Hintcss data-v-d939dc07">请选择性别</view></view></view><view class="goldCoin data-v-d939dc07"><view class="number-box data-v-d939dc07"><view class="number-box-title data-v-d939dc07">金币数量:</view><uni-number-box wx:if="{{r}}" class="data-v-d939dc07" u-i="d939dc07-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></uni-number-box><view class="number-box-title data-v-d939dc07">单位:</view><view class="number-box-unit data-v-d939dc07">K</view></view><view wx:if="{{s}}" class="Hint data-v-d939dc07">请填写金币数量</view></view><view class="time data-v-d939dc07"><uni-datetime-picker wx:if="{{v}}" class="data-v-d939dc07" u-i="d939dc07-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" class="Hint data-v-d939dc07">请选择日期</view></view><view class="goldCoin data-v-d939dc07"><view class="number-box data-v-d939dc07"><view class="number-box-title data-v-d939dc07">选择场数:</view><uni-number-box wx:if="{{y}}" class="data-v-d939dc07" u-i="d939dc07-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-d939dc07">次</view></view><view wx:if="{{z}}" class="Hint data-v-d939dc07">请填写场数</view></view><view class="Remarkscss data-v-d939dc07"><uni-easyinput wx:if="{{B}}" class="data-v-d939dc07" u-i="d939dc07-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-d939dc07"><button bindtap="{{C}}" class="Publishcss data-v-d939dc07">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-d939dc07" u-s="{{['d']}}" u-r="popup" u-i="d939dc07-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-d939dc07"><view class="popup-title data-v-d939dc07">选择我的主播</view><scroll-view wx:if="{{G}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-d939dc07"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-d939dc07"><view class="card-content data-v-d939dc07" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-d939dc07"><image class="avatar data-v-d939dc07" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-d939dc07"><view class="TimeMoney data-v-d939dc07"><view class="NameMoney_Name data-v-d939dc07">{{item.b}}</view></view><view class="TimeMoney data-v-d939dc07"><view class="TimeMoney_country data-v-d939dc07">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-d939dc07"><view class="no-data-text data-v-d939dc07">暂无数据</view></view><view class="popup-btn data-v-d939dc07"><button class="invite data-v-d939dc07" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-d939dc07" type="default" bindtap="{{K}}">取消</button></view></view></uni-popup>
<view wx:if="{{a}}" class="{{['data-v-11fa394d', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-11fa394d"><view class="container data-v-11fa394d"><image class="Fork data-v-11fa394d" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-11fa394d"><view class="Star data-v-11fa394d"></view><view class="Title data-v-11fa394d"></view><view class="Star data-v-11fa394d"></view></view><view class="AnchorSelection data-v-11fa394d"><view class="NameAnchor data-v-11fa394d"><input class="NameAnchorcss data-v-11fa394d" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-11fa394d">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-11fa394d" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-11fa394d"><view class="Coins country data-v-11fa394d"><wht-select wx:if="{{i}}" class="data-v-11fa394d" style="width:350rpx" bindchange="{{h}}" u-i="11fa394d-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" class="Hint data-v-11fa394d">请选择国家</view></view><view class="Gender data-v-11fa394d"><view class="Gendercs data-v-11fa394d"><view class="Gendercss data-v-11fa394d"><wht-select wx:if="{{l}}" class="data-v-11fa394d" style="width:300rpx" bindchange="{{k}}" u-i="11fa394d-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-11fa394d"><image wx:if="{{m}}" class="Gendericon data-v-11fa394d" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-11fa394d" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-11fa394d" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" class="Hintcss data-v-11fa394d">请选择性别</view></view></view><view class="goldCoin data-v-11fa394d"><view class="number-box data-v-11fa394d"><view class="number-box-title data-v-11fa394d">金币数量:</view><uni-number-box wx:if="{{r}}" class="data-v-11fa394d" u-i="11fa394d-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></uni-number-box><view class="number-box-title data-v-11fa394d">单位:</view><view class="number-box-unit data-v-11fa394d">K</view></view><view wx:if="{{s}}" class="Hint data-v-11fa394d">请填写金币数量</view></view><view class="time data-v-11fa394d"><uni-datetime-picker wx:if="{{v}}" class="data-v-11fa394d" u-i="11fa394d-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" class="Hint data-v-11fa394d">请选择日期</view></view><view class="goldCoin data-v-11fa394d"><view class="number-box data-v-11fa394d"><view class="number-box-title data-v-11fa394d">选择场数:</view><uni-number-box wx:if="{{y}}" class="data-v-11fa394d" u-i="11fa394d-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-11fa394d">次</view></view><view wx:if="{{z}}" class="Hint data-v-11fa394d">请填写场数</view></view><view class="Remarkscss data-v-11fa394d"><uni-easyinput wx:if="{{B}}" class="data-v-11fa394d" u-i="11fa394d-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-11fa394d"><button bindtap="{{C}}" class="Publishcss data-v-11fa394d">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-11fa394d" u-s="{{['d']}}" u-r="popup" u-i="11fa394d-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-11fa394d"><view class="popup-title data-v-11fa394d">点击选择我的主播</view><scroll-view wx:if="{{G}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-11fa394d"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-11fa394d"><view class="card-content data-v-11fa394d" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-11fa394d"><image class="avatar data-v-11fa394d" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-11fa394d"><view class="TimeMoney data-v-11fa394d"><view class="NameMoney_Name data-v-11fa394d">{{item.b}}</view></view><view class="TimeMoney data-v-11fa394d"><view class="TimeMoney_country data-v-11fa394d">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-11fa394d"><view class="no-data-text data-v-11fa394d">暂无数据</view></view><view class="popup-btn data-v-11fa394d"><button class="invite data-v-11fa394d" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-11fa394d" type="default" bindtap="{{K}}">取消</button></view></view></uni-popup>

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/formatDate.js"),i=require("../../components/TimeFormatting.js"),n=require("../../components/request.js"),o={data:()=>({item:{},id:0,InvitingPartyEventID:null,list:[],selectedId:null,InvitingPartyEventindex:null,chatInfo:{},currentConversation:null,style:{backgroundColor:"#ffffff"}}),onLoad(t){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item})),e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data}})},methods:{formatDate:t.formatDate,TimeFormatting:i.TimeFormatting,Select(e,t){this.selectedId===e?(this.selectedId=null,this.InvitingPartyEventID=null,this.InvitingPartyEventindex=null):(this.selectedId=this.selectedId===e?null:e,this.InvitingPartyEventID=e,this.InvitingPartyEventindex=t)},Returnfunc(){e.index.navigateBack({delta:1})},open(){this.$refs.popup.open("center"),this.userlist()},invite(){if(this.item.pkTime!==this.list[this.InvitingPartyEventindex].pkTime)return void e.index.showToast({icon:"none",title:"请保持时间一致"});const t=`C2C${this.item.senderId}`,i=JSON.stringify(this.list[this.InvitingPartyEventindex]),n=JSON.stringify(this.item);e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}&myitem=${i}&youritem=${n}`})},close(){this.$refs.popup.close()},openChat(){const t=`C2C${this.item.senderId}`;e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}`})},async userlist(){e.index.showLoading({title:"加载中...",mask:!0});const t=await n.request({url:"pk/queryMyCanUsePkData",method:"POST",data:{userId:this.id},userInfo:!0});200===t.code?0!==t.data.length?(e.index.hideLoading(),this.list=t.data):(e.index.hideLoading(),setTimeout((()=>{this.openPopupQuantity(),this.$refs.popup.close()}),2e3)):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},openPopupQuantity(){this.$refs.createModule.open()}},components:{NewAddedPk:()=>"../NewAddedPk/NewAddedPk2.js"}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("viewm")+e.resolveComponent("uni-popup")+e.resolveComponent("NewAddedPk"))()}Math||((()=>"../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s=e._export_sfc(o,[["render",function(t,i,n,o,s,r){return e.e({a:e.o$1(((...e)=>r.Returnfunc&&r.Returnfunc(...e))),b:s.item.anchorIcon,c:e.t(s.item.disPlayId),d:"1"===s.item.sex},(s.item.sex,{}),{e:e.t(s.item.country),f:e.t(r.formatDate(s.item.pkTime)),g:e.t(s.item.coin),h:e.t(s.item.pkNumber),i:e.s(s.style),j:e.o$1((e=>s.item.remark=e)),k:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",disabled:"true",modelValue:s.item.remark}),l:s.item.senderId!==s.id},s.item.senderId!==s.id?{m:e.o$1((e=>r.openChat())),n:e.o$1((e=>r.open()))}:{},{o:0!==s.list.length},0!==s.list.length?{p:e.f(s.list,((t,i,n)=>({a:t.anchorIcon,b:e.t(t.anchorId),c:e.t(r.TimeFormatting(t.pkTime)),d:e.t(t.coin),e:"8932c768-2-"+n+",8932c768-1",f:e.o$1((e=>r.Select(t.id,i)),i),g:s.selectedId===t.id?"#f6f6f6":"#ffffff",h:i})))}:{},{q:0===s.list.length},(s.list.length,{}),{r:e.o$1((e=>r.invite())),s:e.o$1((e=>r.close())),t:e.sr("popup","8932c768-1"),v:e.p({type:"center","border-radius":"10px 10px 0 0"}),w:e.sr("createModule","8932c768-3")})}],["__scopeId","data-v-8932c768"]]);wx.createPage(s);
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/formatDate.js"),i=require("../../components/TimeFormatting.js"),n=require("../../components/request.js"),o={data:()=>({item:{},id:0,InvitingPartyEventID:null,list:[],selectedId:null,InvitingPartyEventindex:null,chatInfo:{},currentConversation:null,style:{backgroundColor:"#ffffff"}}),onLoad(t){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item})),e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data}})},methods:{formatDate:t.formatDate,TimeFormatting:i.TimeFormatting,Select(e,t){this.selectedId===e?(this.selectedId=null,this.InvitingPartyEventID=null,this.InvitingPartyEventindex=null):(this.selectedId=this.selectedId===e?null:e,this.InvitingPartyEventID=e,this.InvitingPartyEventindex=t)},Returnfunc(){e.index.navigateBack({delta:1})},open(){this.$refs.popup.open("center"),this.userlist()},invite(){if(this.item.pkTime!==this.list[this.InvitingPartyEventindex].pkTime)return void e.index.showToast({icon:"none",title:"请保持时间一致"});const t=`C2C${this.item.senderId}`,i=JSON.stringify(this.list[this.InvitingPartyEventindex]),n=JSON.stringify(this.item);e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}&myitem=${i}&youritem=${n}`})},close(){this.$refs.popup.close()},openChat(){const t=`C2C${this.item.senderId}`;e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}`})},async userlist(){e.index.showLoading({title:"加载中...",mask:!0});const t=await n.request({url:"pk/queryMyCanUsePkData",method:"POST",data:{userId:this.id},userInfo:!0});200===t.code?0!==t.data.length?(e.index.hideLoading(),this.list=t.data):(e.index.hideLoading(),setTimeout((()=>{this.openPopupQuantity(),this.$refs.popup.close()}),2e3)):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},openPopupQuantity(){this.$refs.createModule.open()}},components:{NewAddedPk:()=>"../NewAddedPk/NewAddedPk2.js"}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("uni-popup")+e.resolveComponent("NewAddedPk"))()}Math||((()=>"../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s=e._export_sfc(o,[["render",function(t,i,n,o,s,d){return e.e({a:e.o$1(((...e)=>d.Returnfunc&&d.Returnfunc(...e))),b:s.item.anchorIcon,c:e.t(s.item.disPlayId),d:"1"===s.item.sex},(s.item.sex,{}),{e:e.t(s.item.country),f:e.t(d.formatDate(s.item.pkTime)),g:e.t(s.item.coin),h:e.t(s.item.pkNumber),i:e.s(s.style),j:e.o$1((e=>s.item.remark=e)),k:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",disabled:"true",modelValue:s.item.remark}),l:s.item.senderId!==s.id},s.item.senderId!==s.id?{m:e.o$1((e=>d.openChat())),n:e.o$1((e=>d.open()))}:{},{o:0!==s.list.length},0!==s.list.length?{p:e.f(s.list,((t,i,n)=>({a:t.anchorIcon,b:e.t(t.anchorId),c:e.t(d.TimeFormatting(t.pkTime)),d:e.t(t.coin),e:e.o$1((e=>d.Select(t.id,i)),i),f:s.selectedId===t.id?"#b8ff8c74":"#ffffff",g:i})))}:{},{q:0===s.list.length},(s.list.length,{}),{r:e.o$1((e=>d.invite())),s:e.o$1((e=>d.close())),t:e.sr("popup","cae51916-1"),v:e.p({type:"center","border-radius":"10px 10px 0 0"}),w:e.sr("createModule","cae51916-2")})}],["__scopeId","data-v-cae51916"]]);wx.createPage(s);

View File

@@ -1 +1 @@
<view class="container data-v-8932c768"><view class="background data-v-8932c768"><image class="data-v-8932c768" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-8932c768"><view class="Return data-v-8932c768" bindtap="{{a}}"><image class="Return data-v-8932c768" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-8932c768"><view class="sender data-v-8932c768"><view class="sengderIcon data-v-8932c768"><image class="Icon data-v-8932c768" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-8932c768"><view class="name data-v-8932c768">{{c}}</view><view class="GenderAndAge data-v-8932c768"><view wx:if="{{d}}" class="male data-v-8932c768"><view class="data-v-8932c768"><image class="data-v-8932c768" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-8932c768">男</view></view><view wx:else class="female data-v-8932c768"><view class="data-v-8932c768"><image class="data-v-8932c768" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-8932c768">女</view></view></view><view class="nation data-v-8932c768">{{e}}</view></view><view class="Time data-v-8932c768">PK时间:{{f}}</view><view class="SessionAndGoldCoin data-v-8932c768"><view class="goldCoin data-v-8932c768"><image class="data-v-8932c768" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-8932c768"><view class="goldnumber data-v-8932c768">{{g}}K</view><view class="goldtext data-v-8932c768">金币</view></view></view><view class="Session data-v-8932c768"><image class="data-v-8932c768" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-8932c768"><view class="goldnumber data-v-8932c768">{{h}}</view><view class="goldtext data-v-8932c768">PK场数</view></view></view></view></view><view class="remark data-v-8932c768"><uni-easyinput wx:if="{{k}}" class="data-v-8932c768" style="{{i}}" u-i="8932c768-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></uni-easyinput></view><view wx:if="{{l}}" class="button data-v-8932c768"><button class="accept data-v-8932c768" bindtap="{{m}}">聊了个天</button><button class="reject data-v-8932c768" bindtap="{{n}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-8932c768" u-s="{{['d']}}" u-r="popup" u-i="8932c768-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-8932c768"><view class="popup-title data-v-8932c768"><view class="popup-text data-v-8932c768">请选择您要参与的主播</view><view wx:if="{{o}}" class="data-v-8932c768"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-8932c768"><view wx:for="{{p}}" wx:for-item="item" wx:key="h" class="card data-v-8932c768"><view class="card-content data-v-8932c768" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-8932c768"><image class="avatar data-v-8932c768" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-8932c768"><view class="TimeMoney data-v-8932c768"><view class="NameMoney_Name data-v-8932c768">{{item.b}}</view></view><view class="TimeMoney_Time data-v-8932c768"><view class="pkTimeimg data-v-8932c768"></view><view class="data-v-8932c768">{{item.c}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-8932c768" u-i="{{item.e}}" bind:__l="__l"><view class="goldimg data-v-8932c768"></view>{{item.d}}K</viewm></view></view></view></view></scroll-view></view><view wx:if="{{q}}" class="noData data-v-8932c768">您还没有可参与的主播PK快去新建一个吧</view></view><view class="popup-btn data-v-8932c768"><button class="invite data-v-8932c768" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-8932c768" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-8932c768" u-r="createModule" u-i="8932c768-3" bind:__l="__l"></new-added-pk>
<view class="container data-v-cae51916"><view class="background data-v-cae51916"><image class="data-v-cae51916" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-cae51916"><view class="Return data-v-cae51916" bindtap="{{a}}"><image class="Return data-v-cae51916" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-cae51916"><view class="sender data-v-cae51916"><view class="sengderIcon data-v-cae51916"><image class="Icon data-v-cae51916" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-cae51916"><view class="name data-v-cae51916">{{c}}</view><view class="GenderAndAge data-v-cae51916"><view wx:if="{{d}}" class="male data-v-cae51916"><view class="data-v-cae51916"><image class="data-v-cae51916" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-cae51916">男</view></view><view wx:else class="female data-v-cae51916"><view class="data-v-cae51916"><image class="data-v-cae51916" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-cae51916">女</view></view></view><view class="nation data-v-cae51916">{{e}}</view></view><view class="Time data-v-cae51916">PK时间:{{f}}</view><view class="SessionAndGoldCoin data-v-cae51916"><view class="goldCoin data-v-cae51916"><image class="data-v-cae51916" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-cae51916"><view class="goldnumber data-v-cae51916">{{g}}K</view><view class="goldtext data-v-cae51916">金币</view></view></view><view class="Session data-v-cae51916"><image class="data-v-cae51916" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-cae51916"><view class="goldnumber data-v-cae51916">{{h}}</view><view class="goldtext data-v-cae51916">PK场数</view></view></view></view></view><view class="remark data-v-cae51916"><uni-easyinput wx:if="{{k}}" class="data-v-cae51916" style="{{i}}" u-i="cae51916-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></uni-easyinput></view><view wx:if="{{l}}" class="button data-v-cae51916"><button class="accept data-v-cae51916" bindtap="{{m}}">聊了个天</button><button class="reject data-v-cae51916" bindtap="{{n}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-cae51916" u-s="{{['d']}}" u-r="popup" u-i="cae51916-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-cae51916"><view class="popup-title data-v-cae51916"><view class="popup-text data-v-cae51916">点击选择您要参与的主播</view><view wx:if="{{o}}" class="data-v-cae51916"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-cae51916"><view wx:for="{{p}}" wx:for-item="item" wx:key="g" class="card data-v-cae51916"><view class="card-content data-v-cae51916" bindtap="{{item.e}}" style="{{'background:' + item.f}}"><view class="Avatarimg data-v-cae51916"><image class="avatar data-v-cae51916" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-cae51916"><view class="TimeMoney data-v-cae51916"><view class="NameMoney_Name data-v-cae51916">{{item.b}}</view></view><view class="TimeMoney_Time data-v-cae51916"><view class="pkTimeimg data-v-cae51916"><image class="data-v-cae51916" style="width:31.49rpx;height:31.49rpx;margin-top:3rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png" mode="scaleToFill"/></view><view class="data-v-cae51916">{{item.c}}</view><view class="goldimg data-v-cae51916"><image class="data-v-cae51916" style="width:31.49rpx;height:31.49rpx;margin-top:4rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/></view><view class="goldnb data-v-cae51916">{{item.d}}K</view></view></view></view></view></scroll-view></view><view wx:if="{{q}}" class="noData data-v-cae51916">您还没有可参与的主播PK快去新建一个吧</view></view><view class="popup-btn data-v-cae51916"><button class="invite data-v-cae51916" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-cae51916" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-cae51916" u-r="createModule" u-i="cae51916-2" bind:__l="__l"></new-added-pk>

File diff suppressed because one or more lines are too long