优化页面

This commit is contained in:
pengxiaolong
2025-06-09 19:18:38 +08:00
parent d30589fd05
commit c5042d08c3
811 changed files with 2799 additions and 503 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../components/request.js"),o=require("../../../../components/formatDate.js"),t=require("../../../../common/assets.js"),r={data:()=>({title:"Hello",item:{},coinNumlist:[{winnerAnchorId:1,anchorIdA:1,anchorIdB:2,anchorCoinA:2,anchorCoinB:3}]}),onLoad(e){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item,console.log("接收到的数据:",this.item)}))},methods:{getCoinNum(e){n.request({url:"user/pkRecordDetail",method:"POST",data:{id:e.id},userInfo:!0}).then((e=>{200==e.code?this.coinNumlist=e.data:console.log("获取金币数量失败")}))},formatDate:o.formatDate,onBack(){e.index.navigateBack({delta:1})}}};if(!Array){e.resolveComponent("uni-card")()}const i=e._export_sfc(r,[["render",function(n,o,r,i,a,c){return e.e({a:t._imports_0$1,b:t._imports_1,c:e.o$1(((...e)=>c.onBack&&c.onBack(...e))),d:a.item.anchorIconA,e:a.item.winnerAnchorId==a.item.anchorIdA},a.item.winnerAnchorId==a.item.anchorIdA?{f:t._imports_2$2}:{},{g:e.t(a.item.anchorIdA),h:e.t(c.formatDate(a.item.pkTime)),i:e.t(a.item.userAcoin),j:e.t(a.item.anchorIdB),k:e.t(c.formatDate(a.item.pkTime)),l:e.t(a.item.userBcoin),m:a.item.anchorIconB,n:a.item.winnerAnchorId==a.item.anchorIdB},a.item.winnerAnchorId==a.item.anchorIdB?{o:t._imports_2$2}:{},{p:e.f(a.coinNumlist,((n,o,t)=>({a:e.t(n.anchorCoinA),b:n.anchorIdA==n.winnerAnchorId?"#00fbff5d":"#ff000049",c:e.t(n.anchorCoinB),d:n.anchorIdB==n.winnerAnchorId?"#00fbff5d":"#ff000049",e:o,f:"d06809e9-0-"+t})))})}],["__scopeId","data-v-d06809e9"]]);wx.createPage(i);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "PK记录详情",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="details-pkrecords data-v-d06809e9"><view class="bg data-v-d06809e9"><image class="bgImg data-v-d06809e9" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-d06809e9" bindtap="{{c}}"><image class="ReturnImg data-v-d06809e9" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-d06809e9">PK记录详情</view><view class="pkrecords data-v-d06809e9"><view class="card data-v-d06809e9"><view class="AnchorA data-v-d06809e9"><view class="AnchorAImg data-v-d06809e9"><image class="AnchorAImgcss data-v-d06809e9" src="{{d}}" mode="scaleToFill"/></view><image wx:if="{{e}}" class="Crown data-v-d06809e9" src="{{f}}" mode="scaleToFill"/><view class="AnchorAinfo data-v-d06809e9"><view class="AnchorAname data-v-d06809e9">{{g}}</view><view class="AnchorATime data-v-d06809e9">{{h}}</view><view class="AnchorAICon data-v-d06809e9"><view class="AnchorAIContext data-v-d06809e9">实际打金币:</view><view class="AnchorAIConNum data-v-d06809e9">{{i}}K</view></view></view></view><view class="vstext data-v-d06809e9"><view class="Vtext data-v-d06809e9">V</view><view class="Stext data-v-d06809e9">S</view></view><view class="AnchorB data-v-d06809e9"><view class="AnchorBinfo data-v-d06809e9"><view class="AnchorAname data-v-d06809e9">{{j}}</view><view class="AnchorATime data-v-d06809e9">{{k}}</view><view class="AnchorAICon data-v-d06809e9"><view class="AnchorAIContext data-v-d06809e9">实际打金币:</view><view class="AnchorAIConNum data-v-d06809e9">{{l}}K</view></view></view><view class="AnchorAImg data-v-d06809e9"><image class="AnchorBImgcss data-v-d06809e9" src="{{m}}" mode="scaleToFill"/></view><image wx:if="{{n}}" class="Crown data-v-d06809e9" src="{{o}}" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-d06809e9"><scroll-view scroll-y="true" class="scroll data-v-d06809e9"><uni-card wx:for="{{p}}" wx:for-item="items" wx:key="e" class="data-v-d06809e9" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-d06809e9"><view class="contentcard-titleA data-v-d06809e9" style="{{'background-color:' + items.b}}"><view class="data-v-d06809e9">金币数量</view><view class="data-v-d06809e9">{{items.a}}K</view></view><view class="contentcard-titleB data-v-d06809e9" style="{{'background-color:' + items.d}}"><view class="data-v-d06809e9">金币数量</view><view class="data-v-d06809e9">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>

View File

@@ -0,0 +1 @@
.bg.data-v-d06809e9{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-d06809e9{width:100%;height:100%}.Return.data-v-d06809e9{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-d06809e9{position:absolute;top:120rpx;left:280rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-d06809e9{width:100%;height:100%}.pkrecords.data-v-d06809e9{position:absolute;top:200rpx;left:0rpx;right:0rpx}.card.data-v-d06809e9{width:694.66rpx;height:161.26rpx;border-radius:15rpx;display:flex;justify-content:center;align-items:center;margin-left:28.55rpx;margin-top:12rpx}.AnchorA.data-v-d06809e9,.AnchorB.data-v-d06809e9{display:flex;align-items:center}.AnchorAImg.data-v-d06809e9{width:100rpx;height:100rpx;border-radius:50rpx;background-color:#b1b1b1;display:flex}.AnchorAinfo.data-v-d06809e9{display:flex;flex-direction:column;justify-content:center;margin-left:20rpx}.AnchorBinfo.data-v-d06809e9{display:flex;flex-direction:column;justify-content:center;margin-right:20rpx}.AnchorAname.data-v-d06809e9{font-weight:500;font-size:31rpx;color:#161616}.AnchorATime.data-v-d06809e9{font-weight:400;font-size:23rpx;color:#a3a3a3;margin-top:12rpx}.AnchorAICon.data-v-d06809e9{display:flex;margin-top:12rpx}.AnchorAIContext.data-v-d06809e9{font-weight:400;font-size:23rpx;color:#a3a3a3}.AnchorAIConNum.data-v-d06809e9{font-weight:700;font-size:23rpx;color:#161616}.AnchorAImgcss.data-v-d06809e9{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#f7da60 solid 2rpx;border-left:#ffeeab solid 2rpx;border-bottom:#ffeeab solid 2rpx;border-right:#f7da60 solid 2rpx}.AnchorBImgcss.data-v-d06809e9{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#ffc6ba solid 2rpx;border-left:#ffc6ba solid 2rpx;border-bottom:#5ddadd solid 2rpx;border-right:#5ddadd solid 2rpx}.Crown.data-v-d06809e9{width:45.8rpx;height:39.12rpx;margin-left:-40rpx;margin-top:-100rpx}.vstext.data-v-d06809e9{display:flex}.Vtext.data-v-d06809e9{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic;margin-left:26rpx}.Stext.data-v-d06809e9{font-size:45.8rpx;color:#58d8db;font-weight:700;font-style:italic;margin-right:26rpx}.pkrecords-content.data-v-d06809e9{position:absolute;top:240rpx;left:0;right:0;display:flex;flex-direction:column;align-items:center}.scroll.data-v-d06809e9{width:750rpx;height:1100rpx}.contentcard.data-v-d06809e9{width:694.66rpx;height:161.26rpx;border-radius:15rpx;background-color:#fff;display:flex;margin-left:28.55rpx;margin-top:13rpx}.contentcard-titleA.data-v-d06809e9{width:50%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-right:#100e0f solid 1rpx;border-top-left-radius:15rpx;border-bottom-left-radius:15rpx}.contentcard-titleB.data-v-d06809e9{width:50%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-top-right-radius:15rpx;border-bottom-right-radius:15rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/assets.js"),t={data:()=>({title:"Hello"}),onLoad(){},methods:{onBack(){e.wx$1.navigateBack({delta:1})}}};const a=e._export_sfc(t,[["render",function(t,a,c,n,r,s){return{a:o._imports_0$1,b:o._imports_1,c:e.o$1(((...e)=>s.onBack&&s.onBack(...e)))}}],["__scopeId","data-v-3e936673"]]);wx.createPage(a);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "联系客服",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="contact data-v-3e936673"><view class="bg data-v-3e936673"><image class="bgImg data-v-3e936673" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-3e936673" bindtap="{{c}}"><image class="ReturnImg data-v-3e936673" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-3e936673">联系客服</view></view>

View File

@@ -0,0 +1 @@
.bg.data-v-3e936673{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-3e936673{width:100%;height:100%}.Return.data-v-3e936673{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-3e936673{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-3e936673{width:100%;height:100%}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),s=require("../../../common/assets.js"),r={data:()=>({pkList:[],userinfo:{},page:0,createModule:null,parentMessage:null,triggered:!1}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,console.log(this.userinfo),this.getpkList()}})},mounted(){this.createModule=this.$refs.createModule},methods:{onRefresherRefresh(){this.page=0,this.pkList=[],this.getpkList(),this.triggered=!0},onScrollToLower(){this.page++,this.getpkList()},onRefresherRefres(){this.page=0,this.pkList=[],this.getpkList(),this.triggered=!0},onBack(){e.index.navigateBack({delta:1})},formatDate:o.formatDate,getpkList(){t.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((e=>{200==e.code?(this.pkList.push(...e.data),console.log(this.pkList),this.triggered=!1):console.log(e.msg)}))},onRecompose(e){this.parentMessage=e,this.createModule.open()},onExpurgate(o){t.request({url:"pk/deletePkDataWithId",method:"POST",data:{id:o.id},userInfo:!0}).then((t=>{200==t.code?(e.index.showToast({title:"删除成功",icon:"none",duration:2e3}),this.getpkList()):console.log(t.msg)}))}},components:{Recompose:()=>"./recompose/recompose2.js"}};if(!Array){(e.resolveComponent("uni-card")+e.resolveComponent("Recompose"))()}const i=e._export_sfc(r,[["render",function(t,o,r,i,n,a){return{a:s._imports_0$1,b:s._imports_1,c:e.o$1(((...e)=>a.onBack&&a.onBack(...e))),d:e.f(n.pkList,((t,o,r)=>e.e({a:t.anchorIcon,b:e.t(t.anchorId),c:"2"===t.sex},"2"===t.sex?{d:s._imports_3}:{e:s._imports_2},{f:e.t("1"===t.sex?"男":"女"),g:"1"===t.sex?1:"",h:"2"===t.sex?1:"",i:e.t(t.country),j:e.t(t.coin),k:e.t(a.formatDate(t.pkTime)),l:0===t.inviteStatus},0===t.inviteStatus?{m:s._imports_5$1,n:e.o$1((e=>a.onRecompose(t)),o),o:s._imports_6,p:e.o$1((e=>a.onExpurgate(t)),o)}:{},{q:o,r:"9e08915d-0-"+r}))),e:s._imports_4$1,f:e.o$1(((...e)=>a.onRefresherRefresh&&a.onRefresherRefresh(...e))),g:e.o$1(((...e)=>a.onScrollToLower&&a.onScrollToLower(...e))),h:n.triggered,i:e.sr("createModule","9e08915d-1"),j:e.p({message:n.parentMessage})}}],["__scopeId","data-v-9e08915d"]]);wx.createPage(i);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "PK信息",
"usingComponents": {
"recompose": "./recompose/recompose"
}
}

View File

@@ -0,0 +1 @@
<view class="pk-information data-v-9e08915d"><view class="bg data-v-9e08915d"><image class="bgImg data-v-9e08915d" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-9e08915d" bindtap="{{c}}"><image class="ReturnImg data-v-9e08915d" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-9e08915d">PK信息</view><view class="content data-v-9e08915d"><scroll-view scroll-y="true" class="scroll data-v-9e08915d" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{f}}" lower-threshold="100" bindscrolltolower="{{g}}" refresher-triggered="{{h}}"><uni-card wx:for="{{d}}" wx:for-item="item" wx:key="q" u-s="{{['d']}}" class="card data-v-9e08915d" u-i="{{item.r}}" bind:__l="__l"><view class="Profile data-v-9e08915d"><image class="data-v-9e08915d" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-9e08915d"><view class="Name data-v-9e08915d">{{item.b}}</view><view class="Label data-v-9e08915d"><view class="data-v-9e08915d"><view class="{{['data-v-9e08915d', item.g && 'Gendermale', item.h && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-9e08915d" src="{{item.d}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-9e08915d" src="{{item.e}}" mode="scaleToFill"/><view class="age data-v-9e08915d">{{item.f}}</view></view></view><view class="state data-v-9e08915d">{{item.i}}</view><view class="species data-v-9e08915d"><image class="data-v-9e08915d" style="width:28.63rpx;height:28.63rpx" src="{{e}}" mode="scaleToFill"/><view class="species-text data-v-9e08915d">金币:</view><view class="species-num data-v-9e08915d">{{item.j}}K</view></view></view><view class="time data-v-9e08915d">PK时间:{{item.k}}</view></view><view wx:if="{{item.l}}" class="handle data-v-9e08915d"><view class="recompose data-v-9e08915d" bindtap="{{item.n}}"><image class="data-v-9e08915d" style="width:46rpx;height:46rpx" src="{{item.m}}" mode="scaleToFill"/></view><view class="expurgate data-v-9e08915d" bindtap="{{item.p}}"><image class="data-v-9e08915d" style="width:46rpx;height:46rpx" src="{{item.o}}" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{j}}" u-r="createModule" class="createModule r data-v-9e08915d" u-i="9e08915d-1" bind:__l="__l" u-p="{{j}}"></recompose>

View File

@@ -0,0 +1 @@
.bg.data-v-9e08915d{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-9e08915d{width:100%;height:100%}.Return.data-v-9e08915d{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-9e08915d{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-9e08915d{width:100%;height:100%}.scroll.data-v-9e08915d{position:absolute;top:200rpx;left:0;right:0;height:1300rpx;width:100%}.card.data-v-9e08915d{width:695rpx;height:161rpx;background:#fff;border-radius:15rpx;display:flex;align-items:center;margin-left:30rpx;margin-top:11.5rpx}.Profile.data-v-9e08915d{width:89rpx;height:89rpx;border-radius:50rpx;background-color:#ccc;margin-left:27.5rpx}.Gendermale.data-v-9e08915d{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-9e08915d{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Individual.data-v-9e08915d{display:flex;flex-direction:column;justify-content:center;margin-left:37rpx}.Name.data-v-9e08915d{font-size:30.53rpx;color:#161616;font-weight:500}.time.data-v-9e08915d{margin-top:13rpx;font-size:23rpx;color:#a3a3a3}.state.data-v-9e08915d{height:30rpx;background:#f6f6f6;border-radius:14rpx;line-height:30rpx;font-size:17rpx;color:#666;padding:0 15rpx}.Label.data-v-9e08915d{margin-top:15rpx;display:flex}.age.data-v-9e08915d{font-size:17rpx;color:#fff;margin-left:10rpx}.Genderimg.data-v-9e08915d{width:14.22rpx;height:14.22rpx;margin-left:10rpx}.species.data-v-9e08915d{display:flex;margin-left:10rpx}.species-text.data-v-9e08915d{font-size:23rpx;color:#a3a3a3}.species-num.data-v-9e08915d{font-size:23rpx;color:#161616;font-weight:700}.handle.data-v-9e08915d{display:flex}.recompose.data-v-9e08915d{width:46rpx;height:46rpx;margin-left:90rpx}.expurgate.data-v-9e08915d{width:46rpx;height:46rpx;margin-left:40rpx}.createModule.data-v-9e08915d{position:fixed;bottom:0;right:0;z-index:998;width:100vw}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),r=require("../../../common/assets.js"),i={data:()=>({triggered:!1,current:1,buttonWidth:238.55,gap:0,slidetext:"我发布的PK",pkmyRecordlist:[],pkInvitationRecordlist:[],pkRecordlist:[],userinfo:{},page:0}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,this.getPkRecordList(1),this.getPkRecordList(2)}})},computed:{sliderPosition(){const{current:e,buttonWidth:t,gap:o}=this;return 0+(t+o)*(e-1)+375}},methods:{onRefresherRefresh(){this.triggered=!0,this.page=0,this.getPkRecordList(this.current)},onScrollToLower(){this.page++,this.getPkRecordList(this.current)},onItemClick(t){e.index.navigateTo({url:"/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",success:e=>{e.eventChannel.emit("itemDetail",{item:t})}})},onBack(){e.index.navigateBack({delta:1})},formatDate:o.formatDate,getPkRecordList(e){t.request({url:"user/handlePkInfo",method:"POST",data:{type:e,userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((t=>{200===t.code?(this.triggered=!1,1===e?(this.pkmyRecordlist.push(...t.data),console.log(this.pkRecordlist),1===this.current&&(this.pkRecordlist=this.pkmyRecordlist)):(this.pkInvitationRecordlist.push(...t.data),console.log(this.pkInvitationRecordlist),2===this.current&&(this.pkRecordlist=this.pkInvitationRecordlist))):console.log(t.msg)}))},toggleActive(e){this.current=e,this.slidetext=1===e?"我发布的PK":"我邀请的PK",this.pkRecordlist=1===e?this.pkmyRecordlist:this.pkInvitationRecordlist}}};if(!Array){e.resolveComponent("uni-card")()}const s=e._export_sfc(i,[["render",function(t,o,i,s,n,c){return{a:r._imports_0$1,b:r._imports_1,c:e.o$1(((...e)=>c.onBack&&c.onBack(...e))),d:e.o$1((e=>c.toggleActive(1))),e:1===n.current?1:"",f:e.o$1((e=>c.toggleActive(2))),g:2===n.current?1:"",h:e.t(n.slidetext),i:c.sliderPosition+"rpx",j:e.f(n.pkRecordlist,((t,o,i)=>e.e({a:t.anchorIconA,b:t.winnerAnchorId==t.anchorIdA},t.winnerAnchorId==t.anchorIdA?{c:r._imports_2$2}:{},{d:e.t(t.anchorIdA),e:e.t(c.formatDate(t.pkTime)),f:e.t(t.userAcoin),g:e.t(t.anchorIdB),h:e.t(c.formatDate(t.pkTime)),i:e.t(t.userBcoin),j:t.anchorIconB,k:t.winnerAnchorId==t.anchorIdB},t.winnerAnchorId==t.anchorIdB?{l:r._imports_2$2}:{},{m:e.o$1((e=>c.onItemClick(t)),o),n:o,o:"894c19bd-0-"+i}))),k:e.o$1(((...e)=>c.onRefresherRefresh&&c.onRefresherRefresh(...e))),l:e.o$1(((...e)=>c.onScrollToLower&&c.onScrollToLower(...e))),m:n.triggered}}],["__scopeId","data-v-894c19bd"]]);wx.createPage(s);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "PK记录",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="pkRecord data-v-894c19bd"><view class="bg data-v-894c19bd"><image class="bgImg data-v-894c19bd" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-894c19bd" bindtap="{{c}}"><image class="ReturnImg data-v-894c19bd" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-894c19bd">PK记录</view><view class="navigation data-v-894c19bd"><view class="navigationItem data-v-894c19bd"><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-894c19bd', e && 'active']}}">我发布的PK</view><view bindtap="{{f}}" class="{{['navigationItemTitle', 'data-v-894c19bd', g && 'active']}}">我邀请的PK</view></view><view class="slide data-v-894c19bd" style="{{'left:' + i + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{h}}</view></view><view class="content data-v-894c19bd"><scroll-view scroll-y="true" class="scroll data-v-894c19bd" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{k}}" lower-threshold="100" bindscrolltolower="{{l}}" refresher-triggered="{{m}}"><uni-card wx:for="{{j}}" wx:for-item="item" wx:key="n" class="data-v-894c19bd" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-894c19bd" bindtap="{{item.m}}"><view class="AnchorA data-v-894c19bd"><view class="AnchorAImg data-v-894c19bd"><image class="AnchorAImgcss data-v-894c19bd" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-894c19bd" src="{{item.c}}" mode="scaleToFill"/><view class="AnchorAinfo data-v-894c19bd"><view class="AnchorAname data-v-894c19bd">{{item.d}}</view><view class="AnchorATime data-v-894c19bd">{{item.e}}</view><view class="AnchorAICon data-v-894c19bd"><view class="AnchorAIContext data-v-894c19bd">实际打金币:</view><view class="AnchorAIConNum data-v-894c19bd">{{item.f}}K</view></view></view></view><view class="vstext data-v-894c19bd"><view class="Vtext data-v-894c19bd">V</view><view class="Stext data-v-894c19bd">S</view></view><view class="AnchorB data-v-894c19bd"><view class="AnchorBinfo data-v-894c19bd"><view class="AnchorAname data-v-894c19bd">{{item.g}}</view><view class="AnchorATime data-v-894c19bd">{{item.h}}</view><view class="AnchorAICon data-v-894c19bd"><view class="AnchorAIContext data-v-894c19bd">实际打金币:</view><view class="AnchorAIConNum data-v-894c19bd">{{item.i}}K</view></view></view><view class="AnchorAImg data-v-894c19bd"><image class="AnchorBImgcss data-v-894c19bd" src="{{item.j}}" mode="scaleToFill"/></view><image wx:if="{{item.k}}" class="Crown data-v-894c19bd" src="{{item.l}}" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>

View File

@@ -0,0 +1 @@
.bg.data-v-894c19bd{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-894c19bd{width:100%;height:100%}.Return.data-v-894c19bd{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-894c19bd{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-894c19bd{width:100%;height:100%}.navigation.data-v-894c19bd{position:absolute;top:200rpx;left:0rpx;right:0rpx;height:68.7rpx;display:flex;justify-content:center;align-items:center}.navigationItem.data-v-894c19bd{width:477.1rpx;height:68.7rpx;border-radius:50rpx;background-color:#4fcacd;display:flex;justify-content:space-around;align-items:center}.navigationItemTitle.data-v-894c19bd{font-weight:500;font-size:31rpx;color:#fff}.slide.data-v-894c19bd{position:absolute;width:238.55rpx;height:68.7rpx;background-image:linear-gradient(135deg,#e4ffff,#fff);border-radius:50rpx;text-align:center;line-height:68.7rpx;font-weight:500;font-size:31rpx;color:#4fcacd;margin-left:-238.55rpx}.content.data-v-894c19bd{position:absolute;top:300rpx;left:0rpx;right:0rpx;bottom:0rpx}.scroll.data-v-894c19bd{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.card.data-v-894c19bd{width:694.66rpx;height:161.26rpx;background-color:#fff;border-radius:15rpx;display:flex;justify-content:center;align-items:center;margin-left:28.55rpx;margin-top:12rpx}.AnchorA.data-v-894c19bd,.AnchorB.data-v-894c19bd{display:flex;align-items:center}.AnchorAImg.data-v-894c19bd{width:100rpx;height:100rpx;border-radius:50rpx;background-color:#b1b1b1;display:flex}.AnchorAinfo.data-v-894c19bd{display:flex;flex-direction:column;justify-content:center;margin-left:20rpx}.AnchorBinfo.data-v-894c19bd{display:flex;flex-direction:column;justify-content:center;margin-right:20rpx}.AnchorAname.data-v-894c19bd{font-weight:500;font-size:31rpx;color:#161616}.AnchorATime.data-v-894c19bd{font-weight:400;font-size:23rpx;color:#a3a3a3;margin-top:12rpx}.AnchorAICon.data-v-894c19bd{display:flex;margin-top:12rpx}.AnchorAIContext.data-v-894c19bd{font-weight:400;font-size:23rpx;color:#a3a3a3}.AnchorAIConNum.data-v-894c19bd{font-weight:700;font-size:23rpx;color:#161616}.AnchorAImgcss.data-v-894c19bd{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#f7da60 solid 2rpx;border-left:#ffeeab solid 2rpx;border-bottom:#ffeeab solid 2rpx;border-right:#f7da60 solid 2rpx}.AnchorBImgcss.data-v-894c19bd{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#ffc6ba solid 2rpx;border-left:#ffc6ba solid 2rpx;border-bottom:#5ddadd solid 2rpx;border-right:#5ddadd solid 2rpx}.Crown.data-v-894c19bd{width:45.8rpx;height:39.12rpx;margin-left:-40rpx;margin-top:-100rpx}.vstext.data-v-894c19bd{display:flex}.Vtext.data-v-894c19bd{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic;margin-left:26rpx}.Stext.data-v-894c19bd{font-size:45.8rpx;color:#58d8db;font-weight:700;font-style:italic;margin-right:26rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../../recompose.js");wx.createPage(e.MiniProgramPage);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "修改pk信息",
"usingComponents": {
"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",
"uni-datetime-picker": "../../../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput"
}
}

View File

@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-d7296cc1', G, 'Mask']}}" bindtap="{{H}}"><view catchtap="{{F}}" class="containers data-v-d7296cc1"><view class="container data-v-d7296cc1"><image class="Fork data-v-d7296cc1" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Titlecss data-v-d7296cc1"><view class="Star data-v-d7296cc1"></view><view class="Title data-v-d7296cc1"></view><view class="Star data-v-d7296cc1"></view></view><view class="NameAnchor data-v-d7296cc1"><input class="NameAnchorcss data-v-d7296cc1" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-d7296cc1">请填写主播名称</view></view><view class="Accountnumber data-v-d7296cc1"><view class="Coins country data-v-d7296cc1"><wht-select wx:if="{{h}}" class="data-v-d7296cc1" style="width:350rpx" bindchange="{{g}}" u-i="d7296cc1-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" class="Hint data-v-d7296cc1">请选择国家</view></view><view class="Gender data-v-d7296cc1"><view class="Gendercs data-v-d7296cc1"><view class="Gendercss data-v-d7296cc1"><wht-select wx:if="{{k}}" class="data-v-d7296cc1" style="width:300rpx" bindchange="{{j}}" u-i="d7296cc1-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-d7296cc1"><image wx:if="{{l}}" class="Gendericon data-v-d7296cc1" src="{{m}}" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-d7296cc1" src="{{o}}" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-d7296cc1" src="{{q}}" mode="scaleToFill"/></view></view><view wx:if="{{r}}" class="Hintcss data-v-d7296cc1">请选择性别</view></view></view><view class="goldCoin data-v-d7296cc1"><view class="number-box data-v-d7296cc1"><view class="number-box-title data-v-d7296cc1">金币数量:</view><uni-number-box wx:if="{{t}}" class="data-v-d7296cc1" u-i="d7296cc1-2" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></uni-number-box><view class="number-box-title data-v-d7296cc1">单位:</view><view class="number-box-unit data-v-d7296cc1">K</view></view><view wx:if="{{v}}" class="Hint data-v-d7296cc1">请填写金币数量</view></view><view class="time data-v-d7296cc1"><uni-datetime-picker wx:if="{{x}}" class="data-v-d7296cc1" u-i="d7296cc1-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" class="Hint data-v-d7296cc1">请选择日期</view></view><view class="goldCoin data-v-d7296cc1"><view class="number-box data-v-d7296cc1"><view class="number-box-title data-v-d7296cc1">选择场数:</view><uni-number-box wx:if="{{A}}" class="data-v-d7296cc1" u-i="d7296cc1-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-number-box><view class="number-box-title data-v-d7296cc1">次</view></view><view wx:if="{{B}}" class="Hint data-v-d7296cc1">请填写场数</view></view><view class="Remarkscss data-v-d7296cc1"><uni-easyinput wx:if="{{D}}" class="data-v-d7296cc1" u-i="d7296cc1-5" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></uni-easyinput></view><view class="Publish data-v-d7296cc1"><button bindtap="{{E}}" class="Publishcss data-v-d7296cc1">发布</button></view></view></view></view>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../../recompose.js");wx.createPage(e.MiniProgramPage);

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/assets.js"),t={data:()=>({title:"Hello"}),onLoad(){},methods:{onBack(){e.wx$1.navigateBack({delta:1})}}};const a=e._export_sfc(t,[["render",function(t,a,c,n,r,s){return{a:o._imports_0$1,b:o._imports_1,c:e.o$1(((...e)=>s.onBack&&s.onBack(...e)))}}],["__scopeId","data-v-b521c2fb"]]);wx.createPage(a);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "服务协议",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="service-protocol data-v-b521c2fb"><view class="bg data-v-b521c2fb"><image class="bgImg data-v-b521c2fb" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-b521c2fb" bindtap="{{c}}"><image class="ReturnImg data-v-b521c2fb" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-b521c2fb">服务协议</view></view>

View File

@@ -0,0 +1 @@
.bg.data-v-b521c2fb{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-b521c2fb{width:100%;height:100%}.Return.data-v-b521c2fb{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-b521c2fb{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-b521c2fb{width:100%;height:100%}