优化页面

This commit is contained in:
pengxiaolong
2025-06-16 22:09:12 +08:00
parent 0f2a48b450
commit 8ec7365e7c
131 changed files with 1358 additions and 690 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
.page.data-v-47e90acd{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-47e90acd{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-47e90acd{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-47e90acd{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:2}.contentList.data-v-47e90acd{position:fixed;top:412rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-47e90acd{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-47e90acd{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-47e90acd{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-47e90acd{display:flex;align-items:center}.cardname.data-v-47e90acd{font-size:31rpx;color:#161616;line-height:38rpx;margin-bottom:20rpx}.Genderimg.data-v-47e90acd{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-47e90acd{color:#fff;font-size:14rpx}.Gendermale.data-v-47e90acd{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-47e90acd{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-47e90acd{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-47e90acd{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-47e90acd{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-47e90acd{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-47e90acd{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-47e90acd{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-47e90acd{width:500rpx;height:100rpx;margin-top:80rpx}.popup-sex.data-v-47e90acd{width:500rpx;height:100rpx;margin-top:40rpx;display:flex;justify-content:space-between}.p-sex.data-v-47e90acd{width:420rpx;height:100rpx}.Gendericoncss.data-v-47e90acd{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-47e90acd{width:40rpx;height:40rpx}.popup-coin.data-v-47e90acd{width:500rpx;margin-top:40rpx;display:flex}.p-coin.data-v-47e90acd{width:500rpx;display:flex;flex-direction:column;align-items:center}.p-coin-title.data-v-47e90acd{font-size:20rpx;color:#a3a3a3}.p-time.data-v-47e90acd{width:500rpx;margin-top:40rpx}.popup-btn-cancel.data-v-47e90acd{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-47e90acd{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-47e90acd{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-47e90acd{font-size:18rpx;color:#f55}.popup-btn.data-v-47e90acd{width:600rpx;height:100rpx;display:flex;justify-content:space-around;align-items:center;margin-top:400rpx}
.page.data-v-c25a0179{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-c25a0179{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-c25a0179{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-c25a0179{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:2}.contentList.data-v-c25a0179{position:fixed;top:412rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-c25a0179{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-c25a0179{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-c25a0179{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-c25a0179{display:flex;align-items:center}.cardname.data-v-c25a0179{font-size:31rpx;color:#161616;line-height:38rpx;margin-bottom:20rpx}.Genderimg.data-v-c25a0179{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-c25a0179{color:#fff;font-size:14rpx}.Gendermale.data-v-c25a0179{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-c25a0179{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-c25a0179{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-c25a0179{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-c25a0179{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-c25a0179{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-c25a0179{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-c25a0179{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-c25a0179{width:500rpx;height:100rpx;margin-top:80rpx}.popup-sex.data-v-c25a0179{width:500rpx;height:100rpx;margin-top:40rpx;display:flex;justify-content:space-between}.p-sex.data-v-c25a0179{width:420rpx;height:100rpx}.Gendericoncss.data-v-c25a0179{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-c25a0179{width:40rpx;height:40rpx}.popup-coin.data-v-c25a0179{width:500rpx;margin-top:40rpx;display:flex}.p-coin.data-v-c25a0179{width:500rpx;display:flex;flex-direction:column;align-items:center}.p-coin-title.data-v-c25a0179{font-size:20rpx;color:#a3a3a3}.p-time.data-v-c25a0179{width:500rpx;margin-top:40rpx}.popup-btn-cancel.data-v-c25a0179{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-c25a0179{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-c25a0179{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-c25a0179{font-size:18rpx;color:#f55}.popup-btn.data-v-c25a0179{width:600rpx;height:100rpx;display:flex;justify-content:space-around;align-items:center;margin-top:400rpx}

View File

@@ -1 +1 @@
"use strict";const t=require("../../common/vendor.js"),e=require("../../components/request.js"),o=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),a={data:()=>({userinfo:{},pkInformationdata:[],myPkRecorddata:[],SignStatus:null,AnchorList:[]}),onShow(){t.index.getStorage({key:"userinfo",success:t=>{this.userinfo=t.data,console.log(this.userinfo),this.getpkInformation(),this.getmyPkRecord(),this.getSignStatus(),this.getAnchorList()}})},methods:{getAnchorList(){e.request({url:"anchor/list",method:"POST",data:{userId:this.userinfo.id},userInfo:!0}).then((t=>{200==t.code?this.AnchorList=t.data.slice(0,4):console.log(t.msg)}))},getSignStatus(){e.request({url:"user/checkSignStatus",method:"GET",data:{userId:this.userinfo.id},userInfo:!0}).then((t=>{200==t.code?this.SignStatus=t.data:console.log(t.msg)}))},sign(){e.request({url:"user/signIn",method:"POST",data:{userId:this.userinfo.id},userInfo:!0}).then((e=>{200==e.code?(t.index.showToast({title:"签到成功",icon:"none",duration:2e3}),this.getSignStatus()):console.log(e.msg)}))},formatDate:o.formatDate,TimeFormatting:n.TimeFormatting,getpkInformation(){e.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:0,size:4},userInfo:!0}).then((t=>{200==t.code?(this.pkInformationdata=t.data,console.log(this.pkInformationdata)):console.log(t.msg)}))},getmyPkRecord(){e.request({url:"user/handlePkInfo",method:"POST",data:{type:1,userId:this.userinfo.id,page:0,size:4},userInfo:!1}).then((t=>{200==t.code?(this.myPkRecorddata=t.data,console.log(this.myPkRecorddata)):console.log(t.msg)}))},anchorLibrary(){t.index.navigateTo({url:"/pages/Mine/minecomponents/anchorLibrary"})},pkInformation(){t.index.navigateTo({url:"/pages/Mine/minecomponents/pkInformation"})},pkRecord(){t.index.navigateTo({url:"/pages/Mine/minecomponents/pkRecord"})},contact(){t.index.navigateTo({url:"/pages/Mine/minecomponents/contact"})},goSetting(){t.index.navigateTo({url:"/pages/Setting/Setting"})},serviceProtocol(){t.index.navigateTo({url:"/pages/Mine/minecomponents/serviceProtocol"})},logout(){t.index.clearStorage(),t.A.logout(),t.index.reLaunch({url:"/pages/login/login"})}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){t.resolveComponent("tabBar")()}Math;const r=t._export_sfc(a,[["render",function(e,o,n,a,r,i){return t.e({a:r.userinfo.headerIcon,b:t.t(r.userinfo.nickName),c:!0===r.SignStatus},!0===r.SignStatus?{d:t.o$1(((...t)=>i.sign&&i.sign(...t)))}:{},{e:!1===r.SignStatus},(r.SignStatus,{}),{f:t.o$1(((...t)=>i.goSetting&&i.goSetting(...t))),g:t.o$1(((...t)=>i.anchorLibrary&&i.anchorLibrary(...t))),h:0!==r.AnchorList.length},0!==r.AnchorList.length?{i:t.f(r.AnchorList,((e,o,n)=>({a:e.headerIcon,b:t.t(e.anchorId),c:t.t(e.country),d:o})))}:{},{j:0===r.AnchorList.length},(r.AnchorList.length,{}),{k:t.o$1(((...t)=>i.pkInformation&&i.pkInformation(...t))),l:0!==r.pkInformationdata.length},0!==r.pkInformationdata.length?{m:t.f(r.pkInformationdata,((e,o,n)=>({a:e.anchorIcon,b:t.t(i.formatDate(e.pkTime)),c:t.t(e.coin),d:o})))}:{},{n:0===r.pkInformationdata.length},(r.pkInformationdata.length,{}),{o:t.o$1(((...t)=>i.pkRecord&&i.pkRecord(...t))),p:0!==r.myPkRecorddata.length},0!==r.myPkRecorddata.length?{q:t.f(r.myPkRecorddata,((e,o,n)=>t.e({a:e.anchorIconA,b:e.winnerAnchorId!==e.anchorIdA},(e.winnerAnchorId!==e.anchorIdA||(e.winnerAnchorId,e.anchorIdA),{}),{c:e.winnerAnchorId===e.anchorIdA,d:t.t(e.pkNumber),e:t.t(i.TimeFormatting(e.pkTime)),f:o})))}:{},{r:0===r.myPkRecorddata.length},(r.myPkRecorddata.length,{}),{s:t.o$1(((...t)=>i.contact&&i.contact(...t))),t:t.o$1(((...t)=>i.serviceProtocol&&i.serviceProtocol(...t))),v:t.o$1(((...t)=>i.logout&&i.logout(...t))),w:t.p({tabIndex:4})})}],["__scopeId","data-v-a35a4a7f"]]);wx.createPage(r);
"use strict";const o=require("../../common/vendor.js"),t=require("../../components/request.js"),e=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),a={data:()=>({userinfo:{},pkInformationdata:[],myPkRecorddata:[],SignStatus:null,AnchorList:[]}),onShow(){o.index.getStorage({key:"userinfo",success:o=>{this.userinfo=o.data,console.log(this.userinfo),this.getpkInformation(),this.getmyPkRecord(),this.getSignStatus(),this.getAnchorList()}})},methods:{getAnchorList(){t.request({url:"anchor/list",method:"POST",data:{id:this.userinfo.id},userInfo:!0}).then((o=>{200==o.code?this.AnchorList=o.data.slice(0,4):console.log(o.msg)}))},getSignStatus(){t.request({url:"user/checkSignStatus",method:"GET",data:{userId:this.userinfo.id},userInfo:!0}).then((o=>{200==o.code?this.SignStatus=o.data:console.log(o.msg)}))},sign(){t.request({url:"user/signIn",method:"POST",data:{userId:this.userinfo.id},userInfo:!0}).then((t=>{200==t.code?(o.index.showToast({title:"签到成功",icon:"none",duration:2e3}),this.getSignStatus()):console.log(t.msg)}))},formatDate:e.formatDate,TimeFormatting:n.TimeFormatting,getpkInformation(){t.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:0,size:4},userInfo:!0}).then((o=>{200==o.code?(this.pkInformationdata=o.data,console.log(this.pkInformationdata)):console.log(o.msg)}))},getmyPkRecord(){t.request({url:"user/handlePkInfo",method:"POST",data:{type:1,userId:this.userinfo.id,page:0,size:4},userInfo:!1}).then((o=>{200==o.code?this.myPkRecorddata=o.data:console.log(o.msg)}))},goPoints(){o.index.navigateTo({url:"/pages/Mine/minecomponents/points"})},anchorLibrary(){o.index.navigateTo({url:"/pages/Mine/minecomponents/anchorLibrary"})},pkInformation(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkInformation"})},pkRecord(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkRecord"})},contact(){o.index.navigateTo({url:"/pages/Mine/minecomponents/contact"})},goSetting(){o.index.navigateTo({url:"/pages/Setting/Setting"})},serviceProtocol(){o.index.navigateTo({url:"/pages/Mine/minecomponents/serviceProtocol"})},logout(){o.index.clearStorage(),o.A.logout(),o.index.reLaunch({url:"/pages/login/login"})}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){o.resolveComponent("tabBar")()}Math;const r=o._export_sfc(a,[["render",function(t,e,n,a,r,i){return o.e({a:r.userinfo.headerIcon,b:o.t(r.userinfo.nickName),c:!0===r.SignStatus},!0===r.SignStatus?{d:o.o$1(((...o)=>i.sign&&i.sign(...o)))}:{},{e:!1===r.SignStatus},(r.SignStatus,{}),{f:o.o$1(((...o)=>i.goSetting&&i.goSetting(...o))),g:o.t(r.userinfo.points),h:o.o$1(((...o)=>i.goPoints&&i.goPoints(...o))),i:o.o$1(((...o)=>i.anchorLibrary&&i.anchorLibrary(...o))),j:0!==r.AnchorList.length},0!==r.AnchorList.length?{k:o.f(r.AnchorList,((t,e,n)=>({a:t.headerIcon,b:o.t(t.anchorId),c:o.t(t.country),d:e})))}:{},{l:0===r.AnchorList.length},(r.AnchorList.length,{}),{m:o.o$1(((...o)=>i.pkInformation&&i.pkInformation(...o))),n:0!==r.pkInformationdata.length},0!==r.pkInformationdata.length?{o:o.f(r.pkInformationdata,((t,e,n)=>({a:t.anchorIcon,b:o.t(i.formatDate(t.pkTime)),c:o.t(t.coin),d:e})))}:{},{p:0===r.pkInformationdata.length},(r.pkInformationdata.length,{}),{q:o.o$1(((...o)=>i.pkRecord&&i.pkRecord(...o))),r:0!==r.myPkRecorddata.length},0!==r.myPkRecorddata.length?{s:o.f(r.myPkRecorddata,((t,e,n)=>o.e({a:t.anchorIconA,b:t.winnerAnchorId!==t.anchorIdA&&""!==t.winnerAnchorId},(t.winnerAnchorId!==t.anchorIdA&&""!==t.winnerAnchorId||(t.winnerAnchorId,t.anchorIdA),{}),{c:t.winnerAnchorId===t.anchorIdA,d:o.t(t.pkNumber),e:o.t(i.TimeFormatting(t.pkTime)),f:e})))}:{},{t:0===r.myPkRecorddata.length},(r.myPkRecorddata.length,{}),{v:o.o$1(((...o)=>i.contact&&i.contact(...o))),w:o.o$1(((...o)=>i.serviceProtocol&&i.serviceProtocol(...o))),x:o.o$1(((...o)=>i.logout&&i.logout(...o))),y:o.p({tabIndex:4})})}],["__scopeId","data-v-e00d2623"]]);wx.createPage(r);

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
.bg.data-v-a35a4a7f{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-a35a4a7f{width:100%;height:100%}.PersonalInformation.data-v-a35a4a7f{position:absolute;top:150rpx;left:0;right:0;height:144.5rpx;display:flex;align-items:center}.header.data-v-a35a4a7f{width:144.5rpx;height:144.5rpx;border-radius:72.25rpx;background-color:#fff;margin-left:32.5rpx;margin-right:39.5rpx}.Settings.data-v-a35a4a7f{width:46rpx;height:46rpx;margin-left:30rpx}.SettingsIcon.data-v-a35a4a7f{width:100%;height:100%}.name.data-v-a35a4a7f{width:280rpx;font-size:36.26rpx;font-weight:500;color:#161616;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.Sign.data-v-a35a4a7f{width:100rpx;height:50rpx;background-color:#91e3e4;border-radius:20rpx;font-size:20rpx;color:#fff;text-align:center;line-height:50rpx;margin-left:30rpx}.content.data-v-a35a4a7f{position:absolute;top:294.5rpx;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.scroll.data-v-a35a4a7f{position:absolute;top:0;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.PKInformation.data-v-a35a4a7f,.myPkRecord.data-v-a35a4a7f{margin-top:48.5rpx}.title.data-v-a35a4a7f{width:682rpx;height:33.4rpx;display:flex;align-items:center}.titleText.data-v-a35a4a7f{font-size:34.35rpx;font-weight:700;color:#100e0f}.titleLine.data-v-a35a4a7f{width:40.08rpx;height:14.31rpx;margin-left:-40rpx;margin-top:25rpx;border-radius:7.16rpx 0rpx 7.16rpx 7.16rpx;background-color:rgba(145,227,228,.545)}.AnchorMore.data-v-a35a4a7f{margin-left:390rpx;font-size:28.63rpx;color:#333}.titleMore.data-v-a35a4a7f{margin-left:400rpx;font-size:28.63rpx;color:#333}.myPkRecordMore.data-v-a35a4a7f{margin-left:330rpx;font-size:28.63rpx;color:#333}.card.data-v-a35a4a7f{width:689.03rpx;height:208.02rpx;background-color:#fff;border-radius:10rpx;margin-top:26.5rpx;display:flex;align-items:center}.card .cardContent.data-v-a35a4a7f:first-child{margin-left:30rpx}.cardContent.data-v-a35a4a7f{width:100rpx;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:83rpx}.cardImg.data-v-a35a4a7f{width:80rpx;height:80rpx;border-radius:40rpx;background-color:#cdcdcd}.Time.data-v-a35a4a7f,.gold.data-v-a35a4a7f{font-size:18rpx;text-align:center;margin-top:10rpx}.Failure.data-v-a35a4a7f{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Result.data-v-a35a4a7f{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Session.data-v-a35a4a7f{font-weight:700;font-size:18rpx;margin-top:10rpx}.service.data-v-a35a4a7f{width:200rpx;display:flex;flex-direction:column;justify-content:center;align-items:center}.cardtext.data-v-a35a4a7f{margin-top:20rpx;font-size:28.63rpx;color:#333;font-weight:400}.copyright.data-v-a35a4a7f{font-size:23rpx;color:#929292;text-align:center;position:absolute;bottom:0rpx;left:0;right:0;height:50rpx}.no-content.data-v-a35a4a7f{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:28.63rpx;color:#333}
.bg.data-v-e00d2623{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-e00d2623{width:100%;height:100%}.PersonalInformation.data-v-e00d2623{position:absolute;top:150rpx;left:0;right:0;height:144.5rpx;display:flex;align-items:center}.PersonalInformationContent.data-v-e00d2623{display:flex;flex-direction:column}.nameandSign.data-v-e00d2623{display:flex;align-items:center}.header.data-v-e00d2623{width:144.5rpx;height:144.5rpx;border-radius:72.25rpx;background-color:#fff;margin-left:32.5rpx;margin-right:39.5rpx}.Settings.data-v-e00d2623{width:46rpx;height:46rpx;margin-left:30rpx}.SettingsIcon.data-v-e00d2623{width:100%;height:100%}.level.data-v-e00d2623{height:46rpx;margin-top:20rpx;display:flex}.points.data-v-e00d2623{display:flex;align-items:center;font-size:28rpx;color:#a4a4a4}.name.data-v-e00d2623{width:280rpx;font-size:36.26rpx;font-weight:500;color:#161616;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.Sign.data-v-e00d2623{width:100rpx;height:50rpx;background-color:#91e3e4;border-radius:20rpx;font-size:20rpx;color:#fff;text-align:center;line-height:50rpx;margin-left:30rpx}.content.data-v-e00d2623{position:absolute;top:294.5rpx;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.scroll.data-v-e00d2623{position:absolute;top:0;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.PKInformation.data-v-e00d2623,.myPkRecord.data-v-e00d2623{margin-top:48.5rpx}.title.data-v-e00d2623{width:682rpx;height:33.4rpx;display:flex;align-items:center}.titleText.data-v-e00d2623{font-size:34.35rpx;font-weight:700;color:#100e0f}.titleLine.data-v-e00d2623{width:40.08rpx;height:14.31rpx;margin-left:-40rpx;margin-top:25rpx;border-radius:7.16rpx 0rpx 7.16rpx 7.16rpx;background-color:rgba(145,227,228,.545)}.AnchorMore.data-v-e00d2623{margin-left:390rpx;font-size:28.63rpx;color:#333}.titleMore.data-v-e00d2623{margin-left:400rpx;font-size:28.63rpx;color:#333}.myPkRecordMore.data-v-e00d2623{margin-left:330rpx;font-size:28.63rpx;color:#333}.card.data-v-e00d2623{width:689.03rpx;height:208.02rpx;background-color:#fff;border-radius:10rpx;margin-top:26.5rpx;display:flex;align-items:center}.card .cardContent.data-v-e00d2623:first-child{margin-left:30rpx}.cardContent.data-v-e00d2623{width:100rpx;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:83rpx}.cardImg.data-v-e00d2623{width:80rpx;height:80rpx;border-radius:40rpx;background-color:#cdcdcd}.Time.data-v-e00d2623,.gold.data-v-e00d2623{font-size:18rpx;text-align:center;margin-top:10rpx}.Failure.data-v-e00d2623{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Result.data-v-e00d2623{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Session.data-v-e00d2623{font-weight:700;font-size:18rpx;margin-top:10rpx}.service.data-v-e00d2623{width:200rpx;display:flex;flex-direction:column;justify-content:center;align-items:center}.cardtext.data-v-e00d2623{margin-top:20rpx;font-size:28.63rpx;color:#333;font-weight:400}.copyright.data-v-e00d2623{font-size:23rpx;color:#929292;text-align:center;position:absolute;bottom:0rpx;left:0;right:0;height:50rpx}.no-content.data-v-e00d2623{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:28.63rpx;color:#333}

View File

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

View File

@@ -1 +1 @@
<view class="details-pkrecords data-v-dbc1b425"><view class="bg data-v-dbc1b425"><image class="bgImg data-v-dbc1b425" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-dbc1b425" bindtap="{{a}}"><image class="ReturnImg data-v-dbc1b425" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-dbc1b425">PK记录详情</view><view class="pkrecords data-v-dbc1b425"><view class="card data-v-dbc1b425"><view class="AnchorA data-v-dbc1b425"><view class="AnchorAImg data-v-dbc1b425"><image class="AnchorAImgcss data-v-dbc1b425" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-dbc1b425" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-dbc1b425"><view class="AnchorAname data-v-dbc1b425">{{d}}</view><view class="AnchorATime data-v-dbc1b425">{{e}}</view><view class="AnchorAICon data-v-dbc1b425"><view class="AnchorAIContext data-v-dbc1b425">实际打金币:</view><view class="AnchorAIConNum data-v-dbc1b425">{{f}}K</view></view></view></view><view class="vstext data-v-dbc1b425"><view class="Vtext data-v-dbc1b425">V</view><view class="Stext data-v-dbc1b425">S</view></view><view class="AnchorB data-v-dbc1b425"><view class="AnchorBinfo data-v-dbc1b425"><view class="AnchorAname data-v-dbc1b425">{{g}}</view><view class="AnchorATime data-v-dbc1b425">{{h}}</view><view class="AnchorAICon data-v-dbc1b425"><view class="AnchorAIContext data-v-dbc1b425">实际打金币:</view><view class="AnchorAIConNum data-v-dbc1b425">{{i}}K</view></view></view><view class="AnchorAImg data-v-dbc1b425"><image class="AnchorBImgcss data-v-dbc1b425" src="{{j}}" mode="scaleToFill"/></view><image wx:if="{{k}}" class="Crown data-v-dbc1b425" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-dbc1b425"><scroll-view scroll-y="true" class="scroll data-v-dbc1b425"><uni-card wx:for="{{l}}" wx:for-item="items" wx:key="e" class="data-v-dbc1b425" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-dbc1b425"><view class="contentcard-titleA data-v-dbc1b425" style="{{'background-color:' + items.b}}"><view class="data-v-dbc1b425">金币数量</view><view class="data-v-dbc1b425">{{items.a}}K</view></view><view class="contentcard-titleB data-v-dbc1b425" style="{{'background-color:' + items.d}}"><view class="data-v-dbc1b425">金币数量</view><view class="data-v-dbc1b425">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
<view class="details-pkrecords data-v-5362b025"><view class="bg data-v-5362b025"><image class="bgImg data-v-5362b025" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-5362b025" bindtap="{{a}}"><image class="ReturnImg data-v-5362b025" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-5362b025">PK记录详情</view><view class="pkrecords data-v-5362b025"><view class="card data-v-5362b025"><view class="AnchorA data-v-5362b025"><view class="AnchorAImg data-v-5362b025"><image class="AnchorAImgcss data-v-5362b025" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-5362b025" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-5362b025"><view class="AnchorAname data-v-5362b025">{{d}}</view><view class="AnchorATime data-v-5362b025">{{e}}</view><view class="AnchorAICon data-v-5362b025"><view class="AnchorAIContext data-v-5362b025">实际打金币:</view><view class="AnchorAIConNum data-v-5362b025">{{f}}K</view></view></view></view><view class="vstext data-v-5362b025"><view class="Vtext data-v-5362b025">V</view><view class="Stext data-v-5362b025">S</view></view><view class="AnchorB data-v-5362b025"><view class="AnchorBinfo data-v-5362b025"><view class="AnchorAname data-v-5362b025">{{g}}</view><view class="AnchorATime data-v-5362b025">{{h}}</view><view class="AnchorAICon data-v-5362b025"><view class="AnchorAIContext data-v-5362b025">实际打金币:</view><view class="AnchorAIConNum data-v-5362b025">{{i}}K</view></view></view><view class="AnchorAImg data-v-5362b025"><image class="AnchorBImgcss data-v-5362b025" src="{{j}}" mode="scaleToFill"/></view><image wx:if="{{k}}" class="Crown data-v-5362b025" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-5362b025"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-5362b025" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{m}}" refresher-triggered="{{n}}"><uni-card wx:for="{{l}}" wx:for-item="items" wx:key="e" class="data-v-5362b025" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-5362b025"><view class="contentcard-titleA data-v-5362b025" style="{{'background-color:' + items.b}}"><view class="ciontext data-v-5362b025">金币数量</view><view class="cion data-v-5362b025">{{items.a}}K</view></view><view class="contentcard-titleB data-v-5362b025" style="{{'background-color:' + items.d}}"><view class="ciontext data-v-5362b025">金币数量</view><view class="cion data-v-5362b025">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>

View File

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

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../components/NationalDictionary.js"),o=require("../../../../components/request.js"),t={data:()=>({genders:0,Gender:[{label:"男",value:1},{label:"女",value:2}],Country:n.optionsArray,countrys:"",nameAnchor:"",Display:!1,Hint:!1,id:null,sendingTime:"",filterable:!0,AnchorProfilePicture:""}),mounted(){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}})},methods:{gender(e){this.genders=e.value,console.log(e)},country(e){this.countrys=e.value,console.log(e)},handleOverlayClick(e){e.target===this.$el&&(this.Display=!1,this.Hint=!1)},open(){this.Display?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.countrys=""):this.Display=!0},blur(n){this.nameAnchor!==n.target.value&&(this.nameAnchor=n.target.value,e.index.showLoading({title:"正在验证主播",mask:!0}),e.index.request({url:"https://python.yolojt.com/api/"+this.nameAnchor,success:n=>{200===n.data.code?(e.index.hideLoading(),e.index.showToast({title:"查询成功",icon:"none",duration:3e3}),this.AnchorProfilePicture=n.data.data):(e.index.hideLoading(),e.index.showToast({title:"未查询到该主播",icon:"none",duration:3e3}))},fail:function(n){e.index.hideLoading(),e.index.showToast({title:"网络请求失败",icon:"none",duration:3e3})}}))},async Publish(){""!==this.nameAnchor&&0!==this.genders&&""!==this.countrys&&""!==this.AnchorProfilePicture?(e.index.showLoading({title:"添加中...",mask:!0}),await o.request({url:"anchor/add",method:"POST",data:{anchorId:this.nameAnchor,headerIcon:this.AnchorProfilePicture,gender:this.genders,country:this.countrys,createUserId:this.id},userInfo:!0}).then((n=>{200===n.code?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.AnchorProfilePicture="",e.index.hideLoading(),e.index.showToast({title:"添加成功",icon:"success",duration:2e3}),this.$emit("Refresh")):(e.index.hideLoading(),e.index.showToast({title:"添加失败"+n.msg,icon:"none",duration:2e3}))}))):this.Hint=!0}}};if(!Array){e.resolveComponent("wht-select")()}Math;const i=e._export_sfc(t,[["render",function(n,o,t,i,r,s){return e.e({a:r.Display},r.Display?e.e({b:e.o$1((e=>s.open())),c:e.o$1(((...e)=>n.NameAnchor&&n.NameAnchor(...e))),d:e.o$1(((...e)=>s.blur&&s.blur(...e))),e:""===r.nameAnchor&&!0===r.Hint},(""===r.nameAnchor&&r.Hint,{}),{f:e.o$1(s.country),g:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:r.Country,filterable:r.filterable,placeholder:"请选择国家"}),h:""===r.countrys&&!0===r.Hint},(""===r.countrys&&r.Hint,{}),{i:e.o$1(s.gender),j:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:r.Gender,placeholder:"性别"}),k:0===r.genders},(r.genders,{}),{l:1===r.genders},(r.genders,{}),{m:2===r.genders},(r.genders,{}),{n:0===r.genders&&!0===r.Hint},(0===r.genders&&r.Hint,{}),{o:e.o$1((e=>s.Publish())),p:e.o$1((()=>{})),q:e.n(r.Display?"create-module":"close-animation "),r:e.o$1((e=>s.open()))}):{})}],["__scopeId","data-v-b734f1fa"]]);wx.createComponent(i);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select"
}
}

View File

@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-b734f1fa', q, 'Mask']}}" bindtap="{{r}}"><view catchtap="{{p}}" class="containers data-v-b734f1fa"><view class="container data-v-b734f1fa"><image class="Fork data-v-b734f1fa" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-b734f1fa"><view class="Star data-v-b734f1fa"></view><view class="Title data-v-b734f1fa">添加我的主播</view><view class="Star data-v-b734f1fa"></view></view><view class="NameAnchor data-v-b734f1fa"><input class="NameAnchorcss data-v-b734f1fa" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-b734f1fa">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-b734f1fa"><view class="Coins country data-v-b734f1fa"><wht-select wx:if="{{g}}" class="data-v-b734f1fa" style="width:350rpx" bindchange="{{f}}" u-i="b734f1fa-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-b734f1fa">请选择国家</view></view><view class="Gender data-v-b734f1fa"><view class="Gendercs data-v-b734f1fa"><view class="Gendercss data-v-b734f1fa"><wht-select wx:if="{{j}}" class="data-v-b734f1fa" style="width:300rpx" bindchange="{{i}}" u-i="b734f1fa-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-b734f1fa"><image wx:if="{{k}}" class="Gendericon data-v-b734f1fa" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-b734f1fa" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-b734f1fa" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-b734f1fa">请选择性别</view></view></view><view class="Publish data-v-b734f1fa"><button bindtap="{{o}}" class="Publishcss data-v-b734f1fa">添加主播</button></view></view></view></view>

View File

@@ -0,0 +1 @@
@keyframes slide-in-b734f1fa{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.create-module.data-v-b734f1fa{animation:slide-in-b734f1fa .3s ease-in-out}.Mask.data-v-b734f1fa{width:100vw;height:100vh;background:rgba(0,0,0,.463);display:flex;flex-direction:column-reverse}.Hint.data-v-b734f1fa{color:red;font-size:20rpx;margin-left:30rpx;margin-top:10rpx}.Hintcss.data-v-b734f1fa{color:red;font-size:20rpx;margin-left:30rpx;margin-top:20rpx}.containers.data-v-b734f1fa{background-color:#fff;border-radius:50rpx}.container.data-v-b734f1fa{display:flex;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);background-size:100% 100%;flex-direction:column;width:100%;height:1000rpx;border-radius:50rpx;box-shadow:0 0 10rpx #ccc}.Fork.data-v-b734f1fa{width:46rpx;height:46rpx;margin-top:20rpx;margin-left:90%}.Titlecss.data-v-b734f1fa{width:100%;height:70rpx;display:flex;justify-content:center;align-items:center}.Star.data-v-b734f1fa{width:50rpx;height:50rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);background-size:100% 100%}.Title.data-v-b734f1fa{width:430rpx;height:70rpx;background-size:100% 200%;background-position:0 100%;margin-left:26rpx;margin-right:26rpx;font-size:50rpx;line-height:70rpx;background:linear-gradient(135deg,#019fa1,#9ddbdc);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;font-weight:700;text-align:center;font-style:italic}.Individual.data-v-b734f1fa{display:flex}.NameAnchor.data-v-b734f1fa{width:90%;margin:40rpx}.time.data-v-b734f1fa{width:90%;margin-left:5%;margin-top:50rpx}.NameAnchorcss.data-v-b734f1fa{width:99%;height:85rpx;background-color:#fff;border:1rpx solid #bfbfbf;border-radius:10rpx;text-align:center}.Gender.data-v-b734f1fa{width:310rpx;display:flex;flex-direction:column;justify-content:center}.Gendercs.data-v-b734f1fa{display:flex;justify-content:center}.Gendercss.data-v-b734f1fa{width:200rpx;height:60rpx}.Gendericoncss.data-v-b734f1fa{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-b734f1fa{width:40rpx;height:40rpx}.Accountnumber.data-v-b734f1fa{display:flex;justify-content:center;margin-bottom:60rpx;margin-top:50rpx}.Coins.data-v-b734f1fa{width:400rpx;height:65rpx;margin-right:10rpx}.country.data-v-b734f1fa{margin-left:10rpx}.goldCoin.data-v-b734f1fa{width:100%;height:100rpx;display:flex;justify-content:center;align-items:center}.number-box.data-v-b734f1fa{display:flex;justify-content:center;text-align:center}.number-box-title.data-v-b734f1fa{color:#191919;font-size:30rpx;margin-right:22rpx;margin-left:17rpx}.number-box-unit.data-v-b734f1fa{color:#03aba8;width:48rpx;height:48rpx;border:1rpx solid #03aba8;border-radius:50%;line-height:48rpx;text-align:center}.Publish.data-v-b734f1fa{margin-top:300rpx;margin-bottom:40rpx;width:90%;margin-left:5%}.Publishcss.data-v-b734f1fa{background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-weight:700;border-radius:50rpx}

View File

@@ -1 +1 @@
"use strict";const e=require("../../../common/vendor.js"),a={data:()=>({title:"Hello"}),onLoad(){},methods:{onBack(){e.wx$1.navigateBack({delta:1})}}};const o=e._export_sfc(a,[["render",function(a,o,t,n,c,r){return{a:e.o$1(((...e)=>r.onBack&&r.onBack(...e)))}}],["__scopeId","data-v-b34fd0a7"]]);wx.createPage(o);
"use strict";const e=require("../../../common/vendor.js"),r=require("../../../components/request.js"),o={data:()=>({userinfo:{},AnchorList:[],triggered:!1,modifyStreamerMessage:{}}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,console.log(this.userinfo),this.getAnchorList()}})},methods:{onRecompose(e){this.modifyStreamerMessage=e,this.$refs.modifyStreamer.open()},onExpurgate(o){r.request({url:"anchor/deleteMyAnchor",method:"POST",data:{id:o.id},userInfo:!0}).then((r=>{this.triggered=!1,200==r.code?(e.index.showToast({title:"删除成功",icon:"success",duration:2e3}),this.getAnchorList()):e.index.showToast({title:r.msg,icon:"success",duration:2e3})}))},getAnchorList(){r.request({url:"anchor/list",method:"POST",data:{id:this.userinfo.id},userInfo:!0}).then((e=>{this.triggered=!1,200==e.code?this.AnchorList=e.data:console.log(e.msg)}))},openPopupQuantity(){this.$refs.createModule.open()},onRefresherRefresh(){this.triggered=!0,this.getAnchorList()},onBack(){e.wx$1.navigateBack({delta:1})}},components:{anchorLibrary:()=>"./addStreamer/addStreamer.js",modifyStreamer:()=>"./modifyStreamer/modifyStreamer.js"}};if(!Array){(e.resolveComponent("uni-card")+e.resolveComponent("anchorLibrary")+e.resolveComponent("modifyStreamer"))()}const t=e._export_sfc(o,[["render",function(r,o,t,s,n,i){return{a:e.o$1(((...e)=>i.onBack&&i.onBack(...e))),b:e.f(n.AnchorList,((r,o,t)=>e.e({a:r.headerIcon,b:e.t(r.anchorId),c:2===r.gender},(r.gender,{}),{d:e.t(1===r.gender?"男":"女"),e:1===r.gender?1:"",f:2===r.gender?1:"",g:e.t(r.country),h:e.o$1((e=>i.onRecompose(r)),o),i:e.o$1((e=>i.onExpurgate(r)),o),j:o,k:"92837ab5-0-"+t}))),c:e.o$1(((...e)=>i.onRefresherRefresh&&i.onRefresherRefresh(...e))),d:n.triggered,e:e.o$1((e=>i.openPopupQuantity())),f:e.sr("createModule","92837ab5-1"),g:e.o$1(i.getAnchorList),h:e.sr("modifyStreamer","92837ab5-2"),i:e.o$1(i.getAnchorList),j:e.p({message:n.modifyStreamerMessage})}}],["__scopeId","data-v-92837ab5"]]);wx.createPage(t);

View File

@@ -1,4 +1,7 @@
{
"navigationBarTitleText": "主播库",
"usingComponents": {}
"usingComponents": {
"anchor-library": "./addStreamer/addStreamer",
"modify-streamer": "./modifyStreamer/modifyStreamer"
}
}

View File

@@ -1 +1 @@
<view class="anchor-library data-v-b34fd0a7"><view class="bg data-v-b34fd0a7"><image class="bgImg data-v-b34fd0a7" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-b34fd0a7" bindtap="{{a}}"><image class="ReturnImg data-v-b34fd0a7" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-b34fd0a7">主播库</view></view>
<view class="anchor-library data-v-92837ab5"><view class="bg data-v-92837ab5"><image class="bgImg data-v-92837ab5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-92837ab5" bindtap="{{a}}"><image class="ReturnImg data-v-92837ab5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-92837ab5">主播库</view><view class="content data-v-92837ab5"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-92837ab5" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" refresher-triggered="{{d}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="j" u-s="{{['d']}}" class="card data-v-92837ab5" u-i="{{item.k}}" bind:__l="__l"><view class="Profile data-v-92837ab5"><image class="data-v-92837ab5" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-92837ab5"><view class="Name data-v-92837ab5">{{item.b}}</view><view class="Label data-v-92837ab5"><view class="data-v-92837ab5"><view class="{{['data-v-92837ab5', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-92837ab5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-92837ab5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-92837ab5">{{item.d}}</view></view></view><view class="state data-v-92837ab5">{{item.g}}</view></view></view><view class="handle data-v-92837ab5"><view class="recompose data-v-92837ab5" bindtap="{{item.h}}"><image class="data-v-92837ab5" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-92837ab5" bindtap="{{item.i}}"><image class="data-v-92837ab5" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view><view class="addition data-v-92837ab5" bindtap="{{e}}"></view></view><anchor-library class="createModule r data-v-92837ab5" u-r="createModule" bindRefresh="{{g}}" u-i="92837ab5-1" bind:__l="__l"></anchor-library><modify-streamer wx:if="{{j}}" u-r="modifyStreamer" class="createModule r data-v-92837ab5" bindRefresh="{{i}}" u-i="92837ab5-2" bind:__l="__l" u-p="{{j}}"></modify-streamer>

View File

@@ -1 +1 @@
.bg.data-v-b34fd0a7{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-b34fd0a7{width:100%;height:100%}.Return.data-v-b34fd0a7{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-b34fd0a7{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-b34fd0a7{width:100%;height:100%}
.bg.data-v-92837ab5{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-92837ab5{width:100%;height:100%}.Return.data-v-92837ab5{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-92837ab5{position:absolute;top:120rpx;left:335rpx;font-size:34rpx;color:#100e0f;font-weight:700}.ReturnImg.data-v-92837ab5{width:100%;height:100%}.scroll.data-v-92837ab5{position:absolute;top:200rpx;left:0;right:0;height:1300rpx;width:100%}.card.data-v-92837ab5{width:695rpx;height:161rpx;background:#fff;border-radius:15rpx;display:flex;align-items:center;margin-left:30rpx;margin-top:20rpx}.Profile.data-v-92837ab5{width:89rpx;height:89rpx;border-radius:50rpx;background-color:#ccc;margin-left:27.5rpx}.Gendermale.data-v-92837ab5{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-92837ab5{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}.Individual.data-v-92837ab5{display:flex;flex-direction:column;justify-content:center;margin-left:37rpx}.Name.data-v-92837ab5{width:288.17rpx;font-size:30.53rpx;color:#161616;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time.data-v-92837ab5{margin-top:13rpx;font-size:23rpx;color:#a3a3a3}.state.data-v-92837ab5{width:56.3rpx;height:30rpx;background:#f6f6f6;border-radius:14rpx;line-height:30rpx;font-size:17rpx;color:#666;padding:0 15rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.Label.data-v-92837ab5{margin-top:15rpx;display:flex}.age.data-v-92837ab5{font-size:17rpx;color:#fff;margin-left:10rpx}.Genderimg.data-v-92837ab5{width:14.22rpx;height:14.22rpx;margin-left:10rpx}.species.data-v-92837ab5{display:flex;margin-left:10rpx}.species-text.data-v-92837ab5{font-size:23rpx;color:#a3a3a3}.species-num.data-v-92837ab5{font-size:23rpx;color:#161616;font-weight:700}.handle.data-v-92837ab5{display:flex}.recompose.data-v-92837ab5{width:46rpx;height:46rpx;margin-left:90rpx}.expurgate.data-v-92837ab5{width:46rpx;height:46rpx;margin-left:40rpx}.createModule.data-v-92837ab5{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.addition.data-v-92837ab5{position:absolute;bottom:200rpx;right:100rpx;width:150rpx;height:150rpx;z-index:998;border-radius:50rpx;background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/addAnchor.png) no-repeat center;background-size:100% 100%}

View File

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

View File

@@ -1 +1 @@
<view class="contact data-v-75d3cc86"><view class="bg data-v-75d3cc86"><image class="bgImg data-v-75d3cc86" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-75d3cc86" bindtap="{{a}}"><image class="ReturnImg data-v-75d3cc86" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-75d3cc86">联系客服</view></view>
<view class="contact data-v-85ed48e0"><view class="bg data-v-85ed48e0"><image class="bgImg data-v-85ed48e0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-85ed48e0" bindtap="{{a}}"><image class="ReturnImg data-v-85ed48e0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-85ed48e0">联系客服</view></view>

View File

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

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../components/NationalDictionary.js"),o=require("../../../../components/request.js"),t={data:()=>({genders:0,Gender:[{label:"男",value:1},{label:"女",value:2}],Country:n.optionsArray,countrys:"",nameAnchor:"",Display:!1,Hint:!1,id:null,filterable:!0,AnchorProfilePicture:"",uid:null}),props:{message:{type:Object}},watch:{message(e,n){console.log(e),this.id=e.id,this.nameAnchor=e.anchorId,this.genders=e.gender,this.AnchorProfilePicture=e.headerIcon.split("/").pop(),this.countrys=e.country}},mounted(){e.index.getStorage({key:"userinfo",success:e=>{this.uid=e.data.id}})},methods:{gender(e){this.genders=e.value,console.log(e)},country(e){this.countrys=e.value,console.log(e)},handleOverlayClick(e){e.target===this.$el&&(this.Display=!1,this.Hint=!1)},open(){this.Display?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.countrys=""):this.Display=!0},blur(n){this.nameAnchor!==n.target.value&&(this.nameAnchor=n.target.value,e.index.showLoading({title:"正在验证主播",mask:!0}),e.index.request({url:"https://python.yolojt.com/api/"+this.nameAnchor,success:n=>{200===n.data.code?(e.index.hideLoading(),e.index.showToast({title:"查询成功",icon:"none",duration:3e3}),this.AnchorProfilePicture=n.data.data):(e.index.hideLoading(),e.index.showToast({title:"未查询到该主播",icon:"none",duration:3e3}))},fail:function(n){e.index.hideLoading(),e.index.showToast({title:"网络请求失败",icon:"none",duration:3e3})}}))},async Publish(){""!==this.nameAnchor&&0!==this.genders&&""!==this.countrys&&""!==this.AnchorProfilePicture?(e.index.showLoading({title:"修改中...",mask:!0}),await o.request({url:"anchor/updateAnchorInfo",method:"POST",data:{id:this.id,anchorId:this.nameAnchor,headerIcon:this.AnchorProfilePicture,gender:this.genders,country:this.countrys,createUserId:this.uid},userInfo:!0}).then((n=>{200===n.code?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.AnchorProfilePicture="",this.country="",e.index.hideLoading(),e.index.showToast({title:"修改成功",icon:"success",duration:2e3}),this.$emit("Refresh")):(e.index.hideLoading(),e.index.showToast({title:"修改失败"+n.msg,icon:"none",duration:2e3}))}))):this.Hint=!0}}};if(!Array){e.resolveComponent("wht-select")()}Math;const i=e._export_sfc(t,[["render",function(n,o,t,i,r,s){return e.e({a:r.Display},r.Display?e.e({b:e.o$1((e=>s.open())),c:e.o$1(((...e)=>n.NameAnchor&&n.NameAnchor(...e))),d:e.o$1(((...e)=>s.blur&&s.blur(...e))),e:r.nameAnchor,f:""===r.nameAnchor&&!0===r.Hint},(""===r.nameAnchor&&r.Hint,{}),{g:e.o$1(s.country),h:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:r.Country,filterable:r.filterable,placeholder:"请选择国家",value:r.countrys}),i:""===r.countrys&&!0===r.Hint},(""===r.countrys&&r.Hint,{}),{j:e.o$1(s.gender),k:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:r.Gender,placeholder:"性别",value:r.genders}),l:0===r.genders},(r.genders,{}),{m:1===r.genders},(r.genders,{}),{n:2===r.genders},(r.genders,{}),{o:0===r.genders&&!0===r.Hint},(0===r.genders&&r.Hint,{}),{p:e.o$1((e=>s.Publish())),q:e.o$1((()=>{})),r:e.n(r.Display?"create-module":"close-animation "),s:e.o$1((e=>s.open()))}):{})}],["__scopeId","data-v-7183e24f"]]);wx.createComponent(i);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select"
}
}

View File

@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-7183e24f', r, 'Mask']}}" bindtap="{{s}}"><view catchtap="{{q}}" class="containers data-v-7183e24f"><view class="container data-v-7183e24f"><image class="Fork data-v-7183e24f" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-7183e24f"><view class="Star data-v-7183e24f"></view><view class="Title data-v-7183e24f">修改我的主播</view><view class="Star data-v-7183e24f"></view></view><view class="NameAnchor data-v-7183e24f"><input class="NameAnchorcss data-v-7183e24f" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-7183e24f">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-7183e24f"><view class="Coins country data-v-7183e24f"><wht-select wx:if="{{h}}" class="data-v-7183e24f" style="width:350rpx" bindchange="{{g}}" u-i="7183e24f-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" class="Hint data-v-7183e24f">请选择国家</view></view><view class="Gender data-v-7183e24f"><view class="Gendercs data-v-7183e24f"><view class="Gendercss data-v-7183e24f"><wht-select wx:if="{{k}}" class="data-v-7183e24f" style="width:300rpx" bindchange="{{j}}" u-i="7183e24f-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-7183e24f"><image wx:if="{{l}}" class="Gendericon data-v-7183e24f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-7183e24f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-7183e24f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{o}}" class="Hintcss data-v-7183e24f">请选择性别</view></view></view><view class="Publish data-v-7183e24f"><button bindtap="{{p}}" class="Publishcss data-v-7183e24f">修改主播信息</button></view></view></view></view>

View File

@@ -0,0 +1 @@
@keyframes slide-in-7183e24f{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.create-module.data-v-7183e24f{animation:slide-in-7183e24f .3s ease-in-out}.Mask.data-v-7183e24f{width:100vw;height:100vh;background:rgba(0,0,0,.463);display:flex;flex-direction:column-reverse}.Hint.data-v-7183e24f{color:red;font-size:20rpx;margin-left:30rpx;margin-top:10rpx}.Hintcss.data-v-7183e24f{color:red;font-size:20rpx;margin-left:30rpx;margin-top:20rpx}.containers.data-v-7183e24f{background-color:#fff;border-radius:50rpx}.container.data-v-7183e24f{display:flex;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);background-size:100% 100%;flex-direction:column;width:100%;height:1000rpx;border-radius:50rpx;box-shadow:0 0 10rpx #ccc}.Fork.data-v-7183e24f{width:46rpx;height:46rpx;margin-top:20rpx;margin-left:90%}.Titlecss.data-v-7183e24f{width:100%;height:70rpx;display:flex;justify-content:center;align-items:center}.Star.data-v-7183e24f{width:50rpx;height:50rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);background-size:100% 100%}.Title.data-v-7183e24f{width:430rpx;height:70rpx;background-size:100% 200%;background-position:0 100%;margin-left:26rpx;margin-right:26rpx;font-size:50rpx;line-height:70rpx;background:linear-gradient(135deg,#019fa1,#9ddbdc);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;font-weight:700;text-align:center;font-style:italic}.Individual.data-v-7183e24f{display:flex}.NameAnchor.data-v-7183e24f{width:90%;margin:40rpx}.time.data-v-7183e24f{width:90%;margin-left:5%;margin-top:50rpx}.NameAnchorcss.data-v-7183e24f{width:99%;height:85rpx;background-color:#fff;border:1rpx solid #bfbfbf;border-radius:10rpx;text-align:center}.Gender.data-v-7183e24f{width:310rpx;display:flex;flex-direction:column;justify-content:center}.Gendercs.data-v-7183e24f{display:flex;justify-content:center}.Gendercss.data-v-7183e24f{width:200rpx;height:60rpx}.Gendericoncss.data-v-7183e24f{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-7183e24f{width:40rpx;height:40rpx}.Accountnumber.data-v-7183e24f{display:flex;justify-content:center;margin-bottom:60rpx;margin-top:50rpx}.Coins.data-v-7183e24f{width:400rpx;height:65rpx;margin-right:10rpx}.country.data-v-7183e24f{margin-left:10rpx}.goldCoin.data-v-7183e24f{width:100%;height:100rpx;display:flex;justify-content:center;align-items:center}.number-box.data-v-7183e24f{display:flex;justify-content:center;text-align:center}.number-box-title.data-v-7183e24f{color:#191919;font-size:30rpx;margin-right:22rpx;margin-left:17rpx}.number-box-unit.data-v-7183e24f{color:#03aba8;width:48rpx;height:48rpx;border:1rpx solid #03aba8;border-radius:50%;line-height:48rpx;text-align:center}.Publish.data-v-7183e24f{margin-top:300rpx;margin-bottom:40rpx;width:90%;margin-left:5%}.Publishcss.data-v-7183e24f{background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-weight:700;border-radius:50rpx}

View File

@@ -1 +1 @@
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../components/request.js"),t=require("../../../components/formatDate.js"),s={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()},onBack(){e.index.navigateBack({delta:1})},formatDate:t.formatDate,getpkList(){o.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(t){o.request({url:"pk/deletePkDataWithId",method:"POST",data:{id:t.id},userInfo:!0}).then((o=>{200==o.code?(this.onRefresherRefresh(),e.index.showToast({title:"删除成功",icon:"none",duration:2e3})):console.log(o.msg)}))}},components:{Recompose:()=>"./recompose/recompose2.js"}};if(!Array){(e.resolveComponent("uni-card")+e.resolveComponent("Recompose"))()}const r=e._export_sfc(s,[["render",function(o,t,s,r,n,a){return{a:e.o$1(((...e)=>a.onBack&&a.onBack(...e))),b:e.f(n.pkList,((o,t,s)=>e.e({a:o.anchorIcon,b:e.t(o.anchorId),c:"2"===o.sex},(o.sex,{}),{d:e.t("1"===o.sex?"男":"女"),e:"1"===o.sex?1:"",f:"2"===o.sex?1:"",g:e.t(o.country),h:e.t(o.coin),i:e.t(a.formatDate(o.pkTime)),j:0===o.inviteStatus},0===o.inviteStatus?{k:e.o$1((e=>a.onRecompose(o)),t),l:e.o$1((e=>a.onExpurgate(o)),t)}:{},{m:t,n:"2a4e6146-0-"+s}))),c:e.o$1(((...e)=>a.onRefresherRefresh&&a.onRefresherRefresh(...e))),d:e.o$1(((...e)=>a.onScrollToLower&&a.onScrollToLower(...e))),e:n.triggered,f:e.sr("createModule","2a4e6146-1"),g:e.p({message:n.parentMessage})}}],["__scopeId","data-v-2a4e6146"]]);wx.createPage(r);
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../components/request.js"),t=require("../../../components/formatDate.js"),s={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()},onBack(){e.index.navigateBack({delta:1})},formatDate:t.formatDate,getpkList(){o.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(t){o.request({url:"pk/deletePkDataWithId",method:"POST",data:{id:t.id},userInfo:!0}).then((o=>{200==o.code?(this.onRefresherRefresh(),e.index.showToast({title:"删除成功",icon:"none",duration:2e3})):console.log(o.msg)}))}},components:{Recompose:()=>"./recompose/recompose2.js"}};if(!Array){(e.resolveComponent("uni-card")+e.resolveComponent("Recompose"))()}const r=e._export_sfc(s,[["render",function(o,t,s,r,n,a){return{a:e.o$1(((...e)=>a.onBack&&a.onBack(...e))),b:e.f(n.pkList,((o,t,s)=>e.e({a:o.anchorIcon,b:e.t(o.anchorId),c:"2"===o.sex},(o.sex,{}),{d:e.t("1"===o.sex?"男":"女"),e:"1"===o.sex?1:"",f:"2"===o.sex?1:"",g:e.t(o.country),h:e.t(o.coin),i:e.t(a.formatDate(o.pkTime)),j:0===o.inviteStatus},0===o.inviteStatus?{k:e.o$1((e=>a.onRecompose(o)),t),l:e.o$1((e=>a.onExpurgate(o)),t)}:{},{m:t,n:"65688a22-0-"+s}))),c:e.o$1(((...e)=>a.onRefresherRefresh&&a.onRefresherRefresh(...e))),d:e.o$1(((...e)=>a.onScrollToLower&&a.onScrollToLower(...e))),e:n.triggered,f:e.sr("createModule","65688a22-1"),g:e.p({message:n.parentMessage})}}],["__scopeId","data-v-65688a22"]]);wx.createPage(r);

View File

@@ -1 +1 @@
<view class="pk-information data-v-2a4e6146"><view class="bg data-v-2a4e6146"><image class="bgImg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-2a4e6146" bindtap="{{a}}"><image class="ReturnImg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-2a4e6146">PK信息</view><view class="content data-v-2a4e6146"><scroll-view scroll-y="true" class="scroll data-v-2a4e6146" 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="m" u-s="{{['d']}}" class="card data-v-2a4e6146" u-i="{{item.n}}" bind:__l="__l"><view class="Profile data-v-2a4e6146"><image class="data-v-2a4e6146" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-2a4e6146"><view class="Name data-v-2a4e6146">{{item.b}}</view><view class="Label data-v-2a4e6146"><view class="data-v-2a4e6146"><view class="{{['data-v-2a4e6146', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-2a4e6146">{{item.d}}</view></view></view><view class="state data-v-2a4e6146">{{item.g}}</view><view class="species data-v-2a4e6146"><image class="data-v-2a4e6146" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-2a4e6146">金币:</view><view class="species-num data-v-2a4e6146">{{item.h}}K</view></view></view><view class="time data-v-2a4e6146">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-2a4e6146"><view class="recompose data-v-2a4e6146" bindtap="{{item.k}}"><image class="data-v-2a4e6146" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-2a4e6146" bindtap="{{item.l}}"><image class="data-v-2a4e6146" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{g}}" u-r="createModule" class="createModule r data-v-2a4e6146" u-i="2a4e6146-1" bind:__l="__l" u-p="{{g}}"></recompose>
<view class="pk-information data-v-65688a22"><view class="bg data-v-65688a22"><image class="bgImg data-v-65688a22" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-65688a22" bindtap="{{a}}"><image class="ReturnImg data-v-65688a22" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-65688a22">PK信息</view><view class="content data-v-65688a22"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-65688a22" 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="m" u-s="{{['d']}}" class="card data-v-65688a22" u-i="{{item.n}}" bind:__l="__l"><view class="Profile data-v-65688a22"><image class="data-v-65688a22" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-65688a22"><view class="Name data-v-65688a22">{{item.b}}</view><view class="Label data-v-65688a22"><view class="data-v-65688a22"><view class="{{['data-v-65688a22', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-65688a22" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-65688a22" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-65688a22">{{item.d}}</view></view></view><view class="state data-v-65688a22">{{item.g}}</view><view class="species data-v-65688a22"><image class="data-v-65688a22" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-65688a22">金币:</view><view class="species-num data-v-65688a22">{{item.h}}K</view></view></view><view class="time data-v-65688a22">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-65688a22"><view class="recompose data-v-65688a22" bindtap="{{item.k}}"><image class="data-v-65688a22" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-65688a22" bindtap="{{item.l}}"><image class="data-v-65688a22" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{g}}" u-r="createModule" class="createModule r data-v-65688a22" u-i="65688a22-1" bind:__l="__l" u-p="{{g}}"></recompose>

View File

@@ -1 +1 @@
.bg.data-v-2a4e6146{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-2a4e6146{width:100%;height:100%}.Return.data-v-2a4e6146{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-2a4e6146{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-2a4e6146{width:100%;height:100%}.scroll.data-v-2a4e6146{position:absolute;top:200rpx;left:0;right:0;height:1300rpx;width:100%}.card.data-v-2a4e6146{width:695rpx;height:161rpx;background:#fff;border-radius:15rpx;display:flex;align-items:center;margin-left:30rpx;margin-top:11.5rpx}.Profile.data-v-2a4e6146{width:89rpx;height:89rpx;border-radius:50rpx;background-color:#ccc;margin-left:27.5rpx}.Gendermale.data-v-2a4e6146{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-2a4e6146{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}.Individual.data-v-2a4e6146{display:flex;flex-direction:column;justify-content:center;margin-left:37rpx}.Name.data-v-2a4e6146{width:288.17rpx;font-size:30.53rpx;color:#161616;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time.data-v-2a4e6146{margin-top:13rpx;font-size:23rpx;color:#a3a3a3}.state.data-v-2a4e6146{width:56.3rpx;height:30rpx;background:#f6f6f6;border-radius:14rpx;line-height:30rpx;font-size:17rpx;color:#666;padding:0 15rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.Label.data-v-2a4e6146{margin-top:15rpx;display:flex}.age.data-v-2a4e6146{font-size:17rpx;color:#fff;margin-left:10rpx}.Genderimg.data-v-2a4e6146{width:14.22rpx;height:14.22rpx;margin-left:10rpx}.species.data-v-2a4e6146{display:flex;margin-left:10rpx}.species-text.data-v-2a4e6146{font-size:23rpx;color:#a3a3a3}.species-num.data-v-2a4e6146{font-size:23rpx;color:#161616;font-weight:700}.handle.data-v-2a4e6146{display:flex}.recompose.data-v-2a4e6146{width:46rpx;height:46rpx;margin-left:90rpx}.expurgate.data-v-2a4e6146{width:46rpx;height:46rpx;margin-left:40rpx}.createModule.data-v-2a4e6146{position:fixed;bottom:0;right:0;z-index:998;width:100vw}
.bg.data-v-65688a22{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-65688a22{width:100%;height:100%}.Return.data-v-65688a22{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-65688a22{position:absolute;top:120rpx;left:335rpx;font-size:34rpx;color:#100e0f;font-weight:700}.ReturnImg.data-v-65688a22{width:100%;height:100%}.scroll.data-v-65688a22{position:absolute;top:200rpx;left:0;right:0;height:1300rpx;width:100%}.card.data-v-65688a22{width:695rpx;height:161rpx;background:#fff;border-radius:15rpx;display:flex;align-items:center;margin-left:30rpx;margin-top:20rpx}.Profile.data-v-65688a22{width:89rpx;height:89rpx;border-radius:50rpx;background-color:#ccc;margin-left:27.5rpx}.Gendermale.data-v-65688a22{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-65688a22{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}.Individual.data-v-65688a22{display:flex;flex-direction:column;justify-content:center;margin-left:37rpx}.Name.data-v-65688a22{width:288.17rpx;font-size:30.53rpx;color:#161616;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time.data-v-65688a22{margin-top:13rpx;font-size:23rpx;color:#a3a3a3}.state.data-v-65688a22{width:56.3rpx;height:30rpx;background:#f6f6f6;border-radius:14rpx;line-height:30rpx;font-size:17rpx;color:#666;padding:0 15rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.Label.data-v-65688a22{margin-top:15rpx;display:flex}.age.data-v-65688a22{font-size:17rpx;color:#fff;margin-left:10rpx}.Genderimg.data-v-65688a22{width:14.22rpx;height:14.22rpx;margin-left:10rpx}.species.data-v-65688a22{display:flex;margin-left:10rpx}.species-text.data-v-65688a22{font-size:23rpx;color:#a3a3a3}.species-num.data-v-65688a22{font-size:23rpx;color:#161616;font-weight:700}.handle.data-v-65688a22{display:flex}.recompose.data-v-65688a22{width:46rpx;height:46rpx;margin-left:90rpx}.expurgate.data-v-65688a22{width:46rpx;height:46rpx;margin-left:40rpx}.createModule.data-v-65688a22{position:fixed;bottom:0;right:0;z-index:998;width:100vw}

View File

@@ -1 +1 @@
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),r={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 i=e._export_sfc(r,[["render",function(t,o,r,i,s,n){return{a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:e.o$1((e=>n.toggleActive(1))),c:1===s.current?1:"",d:e.o$1((e=>n.toggleActive(2))),e:2===s.current?1:"",f:e.t(s.slidetext),g:n.sliderPosition+"rpx",h:e.f(s.pkRecordlist,((t,o,r)=>e.e({a:t.anchorIconA,b:t.winnerAnchorId==t.anchorIdA},(t.winnerAnchorId,t.anchorIdA,{}),{c:e.t(t.anchorIdA),d:e.t(n.formatDate(t.pkTime)),e:e.t(t.userAcoin),f:e.t(t.anchorIdB),g:e.t(n.formatDate(t.pkTime)),h:e.t(t.userBcoin),i:t.anchorIconB,j:t.winnerAnchorId==t.anchorIdB},(t.winnerAnchorId,t.anchorIdB,{}),{k:e.o$1((e=>n.onItemClick(t)),o),l:o,m:"dfea675c-0-"+r}))),i:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),j:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),k:s.triggered}}],["__scopeId","data-v-dfea675c"]]);wx.createPage(i);
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.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.pkRecordlist=[],this.triggered=!0,this.page=0,1===this.current?this.pkmyRecordlist=[]:this.pkInvitationRecordlist=[],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),1===this.current&&(this.pkRecordlist=this.pkmyRecordlist,console.log(this.pkmyRecordlist))):(this.pkInvitationRecordlist.push(...t.data),console.log(this.pkInvitationRecordlist),2===this.current&&(this.pkRecordlist=this.pkInvitationRecordlist,console.log(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 r=e._export_sfc(i,[["render",function(t,o,i,r,s,n){return{a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:e.o$1((e=>n.toggleActive(1))),c:1===s.current?1:"",d:e.o$1((e=>n.toggleActive(2))),e:2===s.current?1:"",f:e.t(s.slidetext),g:n.sliderPosition+"rpx",h:e.f(s.pkRecordlist,((t,o,i)=>e.e({a:t.anchorIconA,b:t.winnerAnchorId==t.anchorIdA},(t.winnerAnchorId,t.anchorIdA,{}),{c:e.t(t.anchorIdA),d:e.t(n.formatDate(t.pkTime)),e:e.t(t.userACoins),f:e.t(t.anchorIdB),g:e.t(n.formatDate(t.pkTime)),h:e.t(t.userBCoins),i:t.anchorIconB,j:t.winnerAnchorId==t.anchorIdB},(t.winnerAnchorId,t.anchorIdB,{}),{k:e.o$1((e=>n.onItemClick(t)),o),l:o,m:"de527008-0-"+i}))),i:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),j:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),k:s.triggered}}],["__scopeId","data-v-de527008"]]);wx.createPage(r);

View File

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

View File

@@ -1 +1 @@
.bg.data-v-dfea675c{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-dfea675c{width:100%;height:100%}.Return.data-v-dfea675c{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-dfea675c{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-dfea675c{width:100%;height:100%}.navigation.data-v-dfea675c{position:absolute;top:200rpx;left:0rpx;right:0rpx;height:68.7rpx;display:flex;justify-content:center;align-items:center}.navigationItem.data-v-dfea675c{width:477.1rpx;height:68.7rpx;border-radius:50rpx;background-color:#4fcacd;display:flex;justify-content:space-around;align-items:center}.navigationItemTitle.data-v-dfea675c{font-weight:500;font-size:31rpx;color:#fff}.slide.data-v-dfea675c{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-dfea675c{position:absolute;top:300rpx;left:0rpx;right:0rpx;bottom:0rpx}.scroll.data-v-dfea675c{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.card.data-v-dfea675c{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-dfea675c,.AnchorB.data-v-dfea675c{display:flex;align-items:center}.AnchorAImg.data-v-dfea675c{width:100rpx;height:100rpx;border-radius:50rpx;background-color:#b1b1b1;display:flex}.AnchorAinfo.data-v-dfea675c{display:flex;flex-direction:column;justify-content:center;margin-left:20rpx}.AnchorBinfo.data-v-dfea675c{display:flex;flex-direction:column;justify-content:center;margin-right:20rpx}.AnchorAname.data-v-dfea675c{width:161.26rpx;font-weight:500;font-size:31rpx;color:#161616;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.AnchorATime.data-v-dfea675c{font-weight:400;font-size:23rpx;color:#a3a3a3;margin-top:12rpx}.AnchorAICon.data-v-dfea675c{display:flex;margin-top:12rpx}.AnchorAIContext.data-v-dfea675c{font-weight:400;font-size:23rpx;color:#a3a3a3}.AnchorAIConNum.data-v-dfea675c{font-weight:700;font-size:23rpx;color:#161616}.AnchorAImgcss.data-v-dfea675c{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-dfea675c{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-dfea675c{width:45.8rpx;height:39.12rpx;margin-left:-40rpx;margin-top:-100rpx}.vstext.data-v-dfea675c{display:flex}.Vtext.data-v-dfea675c{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic;margin-left:26rpx}.Stext.data-v-dfea675c{font-size:45.8rpx;color:#58d8db;font-weight:700;font-style:italic;margin-right:26rpx}
.bg.data-v-de527008{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-de527008{width:100%;height:100%}.Return.data-v-de527008{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-de527008{position:absolute;top:120rpx;left:335rpx;font-size:34rpx;color:#100e0f;font-weight:700}.ReturnImg.data-v-de527008{width:100%;height:100%}.navigation.data-v-de527008{position:absolute;top:200rpx;left:0rpx;right:0rpx;height:68.7rpx;display:flex;justify-content:center;align-items:center}.navigationItem.data-v-de527008{width:477.1rpx;height:68.7rpx;border-radius:50rpx;background-color:#4fcacd;display:flex;justify-content:space-around;align-items:center}.navigationItemTitle.data-v-de527008{font-weight:500;font-size:31rpx;color:#fff}.slide.data-v-de527008{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-de527008{position:absolute;top:300rpx;left:0rpx;right:0rpx;bottom:0rpx}.scroll.data-v-de527008{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.card.data-v-de527008{width:694.66rpx;height:200rpx;background-color:#fff;border-radius:15rpx;display:flex;justify-content:center;align-items:center;margin-left:28.55rpx;margin-top:20rpx;border:1rpx solid #4fcacd}.AnchorA.data-v-de527008,.AnchorB.data-v-de527008{display:flex;align-items:center}.AnchorAImg.data-v-de527008{width:100rpx;height:100rpx;border-radius:100rpx;margin-left:20rpx;margin-right:20rpx;background-color:#b1b1b1;display:flex}.AnchorAinfo.data-v-de527008,.AnchorBinfo.data-v-de527008{display:flex;flex-direction:column;justify-content:center}.AnchorAname.data-v-de527008{width:161.26rpx;font-weight:500;font-size:31rpx;color:#58d8db;text-align:center;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.AnchorATime.data-v-de527008{font-weight:400;font-size:23rpx;color:#a3a3a3;margin-top:8rpx;text-align:center}.AnchorAICon.data-v-de527008{display:flex;flex-direction:column;margin-top:8rpx;text-align:center}.AnchorAIContext.data-v-de527008{font-weight:400;font-size:23rpx;color:#a3a3a3}.AnchorAIConNum.data-v-de527008{font-weight:700;font-size:23rpx;color:#161616}.AnchorAImgcss.data-v-de527008{width:100rpx;height:100rpx;border-radius:100rpx;border-top:#f7da60 solid 2rpx;border-left:#ffeeab solid 2rpx;border-bottom:#ffeeab solid 2rpx;border-right:#f7da60 solid 2rpx}.AnchorBImgcss.data-v-de527008{width:100rpx;height:100rpx;border-radius:100rpx;border-top:#ffc6ba solid 2rpx;border-left:#ffc6ba solid 2rpx;border-bottom:#5ddadd solid 2rpx;border-right:#5ddadd solid 2rpx}.Crown.data-v-de527008{width:45.8rpx;height:39.12rpx;margin-left:-40rpx;margin-top:-100rpx}.vstext.data-v-de527008{display:flex}.Vtext.data-v-de527008{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic;margin-left:26rpx}.Stext.data-v-de527008{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("../../../common/vendor.js"),o={data:()=>({title:"Hello"}),onLoad(){},methods:{onBack(){e.index.navigateBack({delta:1})}}};const a=e._export_sfc(o,[["render",function(o,a,t,n,c,r){return{a:e.o$1(((...e)=>r.onBack&&r.onBack(...e)))}}],["__scopeId","data-v-b42640c9"]]);wx.createPage(a);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "积分",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="points data-v-b42640c9"><view class="bg data-v-b42640c9"><image class="bgImg data-v-b42640c9" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-b42640c9" bindtap="{{a}}"><image class="ReturnImg data-v-b42640c9" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-b42640c9">积分</view><view class="content data-v-b42640c9"></view></view>

View File

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

View File

@@ -4,6 +4,7 @@
"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"
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
"uni-popup": "../../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

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

View File

@@ -1 +1 @@
<view class="service-protocol data-v-a78c126b"><view class="bg data-v-a78c126b"><image class="bgImg data-v-a78c126b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-a78c126b" bindtap="{{a}}"><image class="ReturnImg data-v-a78c126b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-a78c126b">服务协议</view></view>
<view class="service-protocol data-v-f059bb6b"><view class="bg data-v-f059bb6b"><image class="bgImg data-v-f059bb6b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-f059bb6b" bindtap="{{a}}"><image class="ReturnImg data-v-f059bb6b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-f059bb6b">服务协议</view></view>

View File

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

View File

@@ -4,6 +4,7 @@
"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"
"uni-easyinput": "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-c9e4c29f', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-c9e4c29f"><view class="container data-v-c9e4c29f"><image class="Fork data-v-c9e4c29f" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-c9e4c29f"><view class="Star data-v-c9e4c29f"></view><view class="Title data-v-c9e4c29f"></view><view class="Star data-v-c9e4c29f"></view></view><view class="NameAnchor data-v-c9e4c29f"><input class="NameAnchorcss data-v-c9e4c29f" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-c9e4c29f">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-c9e4c29f"><view class="Coins country data-v-c9e4c29f"><wht-select wx:if="{{g}}" class="data-v-c9e4c29f" style="width:350rpx" bindchange="{{f}}" u-i="c9e4c29f-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-c9e4c29f">请选择国家</view></view><view class="Gender data-v-c9e4c29f"><view class="Gendercs data-v-c9e4c29f"><view class="Gendercss data-v-c9e4c29f"><wht-select wx:if="{{j}}" class="data-v-c9e4c29f" style="width:300rpx" bindchange="{{i}}" u-i="c9e4c29f-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-c9e4c29f"><image wx:if="{{k}}" class="Gendericon data-v-c9e4c29f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-c9e4c29f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-c9e4c29f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-c9e4c29f">请选择性别</view></view></view><view class="goldCoin data-v-c9e4c29f"><view class="number-box data-v-c9e4c29f"><view class="number-box-title data-v-c9e4c29f">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-c9e4c29f" u-i="c9e4c29f-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-c9e4c29f">单位:</view><view class="number-box-unit data-v-c9e4c29f">K</view></view><view wx:if="{{q}}" class="Hint data-v-c9e4c29f">请填写金币数量</view></view><view class="time data-v-c9e4c29f"><uni-datetime-picker wx:if="{{s}}" class="data-v-c9e4c29f" u-i="c9e4c29f-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-c9e4c29f">请选择日期</view></view><view class="goldCoin data-v-c9e4c29f"><view class="number-box data-v-c9e4c29f"><view class="number-box-title data-v-c9e4c29f">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-c9e4c29f" u-i="c9e4c29f-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-c9e4c29f">次</view></view><view wx:if="{{x}}" class="Hint data-v-c9e4c29f">请填写场数</view></view><view class="Remarkscss data-v-c9e4c29f"><uni-easyinput wx:if="{{z}}" class="data-v-c9e4c29f" u-i="c9e4c29f-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-c9e4c29f"><button bindtap="{{A}}" class="Publishcss data-v-c9e4c29f">发布</button></view></view></view></view>
<view wx:if="{{a}}" class="{{['data-v-48ce7947', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-48ce7947"><view class="container data-v-48ce7947"><image class="Fork data-v-48ce7947" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-48ce7947"><view class="Star data-v-48ce7947"></view><view class="Title data-v-48ce7947"></view><view class="Star data-v-48ce7947"></view></view><view class="AnchorSelection data-v-48ce7947"><view class="NameAnchor data-v-48ce7947"><input class="NameAnchorcss data-v-48ce7947" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-48ce7947">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-48ce7947" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-48ce7947"><view class="Coins country data-v-48ce7947"><wht-select wx:if="{{i}}" class="data-v-48ce7947" style="width:350rpx" bindchange="{{h}}" u-i="48ce7947-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" class="Hint data-v-48ce7947">请选择国家</view></view><view class="Gender data-v-48ce7947"><view class="Gendercs data-v-48ce7947"><view class="Gendercss data-v-48ce7947"><wht-select wx:if="{{l}}" class="data-v-48ce7947" style="width:300rpx" bindchange="{{k}}" u-i="48ce7947-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-48ce7947"><image wx:if="{{m}}" class="Gendericon data-v-48ce7947" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-48ce7947" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-48ce7947" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" class="Hintcss data-v-48ce7947">请选择性别</view></view></view><view class="goldCoin data-v-48ce7947"><view class="number-box data-v-48ce7947"><view class="number-box-title data-v-48ce7947">金币数量:</view><uni-number-box wx:if="{{r}}" class="data-v-48ce7947" u-i="48ce7947-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></uni-number-box><view class="number-box-title data-v-48ce7947">单位:</view><view class="number-box-unit data-v-48ce7947">K</view></view><view wx:if="{{s}}" class="Hint data-v-48ce7947">请填写金币数量</view></view><view class="time data-v-48ce7947"><uni-datetime-picker wx:if="{{v}}" class="data-v-48ce7947" u-i="48ce7947-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" class="Hint data-v-48ce7947">请选择日期</view></view><view class="goldCoin data-v-48ce7947"><view class="number-box data-v-48ce7947"><view class="number-box-title data-v-48ce7947">选择场数:</view><uni-number-box wx:if="{{y}}" class="data-v-48ce7947" u-i="48ce7947-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-48ce7947">次</view></view><view wx:if="{{z}}" class="Hint data-v-48ce7947">请填写场数</view></view><view class="Remarkscss data-v-48ce7947"><uni-easyinput wx:if="{{B}}" class="data-v-48ce7947" u-i="48ce7947-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-48ce7947"><button bindtap="{{C}}" class="Publishcss data-v-48ce7947">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-48ce7947" u-s="{{['d']}}" u-r="popup" u-i="48ce7947-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-48ce7947"><view class="popup-title data-v-48ce7947">选择我的主播</view><scroll-view wx:if="{{G}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-48ce7947"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-48ce7947"><view class="card-content data-v-48ce7947" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-48ce7947"><image class="avatar data-v-48ce7947" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-48ce7947"><view class="TimeMoney data-v-48ce7947"><view class="NameMoney_Name data-v-48ce7947">{{item.b}}</view></view><view class="TimeMoney data-v-48ce7947"><view class="TimeMoney_country data-v-48ce7947">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-48ce7947"><view class="no-data-text data-v-48ce7947">暂无数据</view></view><view class="popup-btn data-v-48ce7947"><button class="invite data-v-48ce7947" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-48ce7947" 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,console.log("接收到的数据:",this.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(),console.log("res.data",t.data),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,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},"1"===s.item.sex?{e:e.t("1"===s.item.sex?"男":"女")}:{f:e.t("2"===s.item.sex?"男":"女")},{g:e.t(s.item.country),h:e.t(d.formatDate(s.item.pkTime)),i:e.t(s.item.coin),j:e.t(s.item.pkNumber),k:e.s(s.style),l:e.o$1((e=>s.item.remark=e)),m:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",disabled:"true",modelValue:s.item.remark}),n:s.item.senderId!==s.id},s.item.senderId!==s.id?{o:e.o$1((e=>d.openChat())),p:e.o$1((e=>d.open()))}:{},{q:0!==s.list.length},0!==s.list.length?{r: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:"89de382b-2-"+n+",89de382b-1",f:e.o$1((e=>d.Select(t.id,i)),i),g:s.selectedId===t.id?"#f6f6f6":"#ffffff",h:i})))}:{},{s:0===s.list.length},(s.list.length,{}),{t:e.o$1((e=>d.invite())),v:e.o$1((e=>d.close())),w:e.sr("popup","89de382b-1"),x:e.p({type:"center","border-radius":"10px 10px 0 0"}),y:e.sr("createModule","89de382b-3")})}],["__scopeId","data-v-89de382b"]]);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,console.log("接收到的数据:",this.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(),console.log("res.data",t.data),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,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:"2f6699e4-2-"+n+",2f6699e4-1",f:e.o$1((e=>d.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=>d.invite())),s:e.o$1((e=>d.close())),t:e.sr("popup","2f6699e4-1"),v:e.p({type:"center","border-radius":"10px 10px 0 0"}),w:e.sr("createModule","2f6699e4-3")})}],["__scopeId","data-v-2f6699e4"]]);wx.createPage(s);

View File

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

File diff suppressed because one or more lines are too long