优化页面

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

View File

@@ -3,8 +3,8 @@ export default function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
// const baseUrl = "http://49.235.115.212:8086/"+ url;
// const baseUrl = "https://pk.zhukeping.com/"+ url;
const baseUrl = "http://120.26.251.180:8086/"+ url;
// const baseUrl = "http://192.168.0.218:8086/"+ url;
// const baseUrl = "http://120.26.251.180:8086/"+ url;
const baseUrl = "http://192.168.0.218:8086/"+ url;
if (userInfo) {
return new Promise((resolve, reject) => {
uni.getStorage({

View File

@@ -25,7 +25,7 @@
</li>
</ul>
<view @touchmove.stop.prevent="disabledScroll"> </view>
<NewAddedPk class="createModule" ref="createModule"></NewAddedPk>
<NewAddedPk class="createModule" ref="createModule" @publishSuccess="publishSuccesss"></NewAddedPk>
</view>
</template>
@@ -57,6 +57,10 @@ function onConversationListUpdated(list) {
Unread.value = calculateUnreadCount(list);
}
const emit = defineEmits(['publishSucces']);
function publishSuccesss() {
emit('publishSucces');
}
// 计算未读消息总数
function calculateUnreadCount(arr) {
let total = 0;
@@ -290,6 +294,7 @@ function handlePush(item, index) {
}
}
.Unreadcss{
position: absolute;
background-color: #ff0000;
margin-top: -65rpx;
width: 30rpx;

View File

@@ -12,9 +12,9 @@
@screening="goScreening"
></top-navigation>
</view>
<view class="Advertisement" @click="goAdvertisement">
<!-- <view class="Advertisement" @click="goAdvertisement">
<advertisement></advertisement>
</view>
</view> -->
<view class="contentList">
<scroll-view
show-scrollbar="false"
@@ -28,7 +28,13 @@
:refresher-triggered="triggered"
>
<uni-card v-if="list.length !== 0" v-for="(item, index) in list" :key="index">
<view class="content-list" @click="goDetail(item)" :style="{ 'border': item.isPin === true ? '2px solid #eeff00' : '2px solid #f5f5f5' }">
<view
class="content-list"
@click="goDetail(item)"
:style="{
border: item.isPin === true ? '2px solid #eeff00' : '2px solid #f5f5f5',
}"
>
<!-- `````````````````````````` -->
<image class="headShot" :src="item.anchorIcon" mode="scaleToFill" />
<!-- `````````````````````````````````````` -->
@@ -64,7 +70,7 @@
</scroll-view>
</view>
<view class="tabBar">
<tabBar :tabIndex="0"></tabBar>
<tabBar :tabIndex="0" @publishSucces="onRefresherRefresh()"></tabBar>
</view>
<uni-popup ref="popup" position="right">
<view class="popup-container">
@@ -133,7 +139,7 @@
>请填写金币数量</view
>
</view>
<view>_</view>
<view class="p-dar">-</view>
<view class="p-coin">
<view class="p-coin-title">最大金币数</view>
<uni-number-box
@@ -220,8 +226,12 @@ export default {
ConfirmStatus: false, //确认弹窗状态
};
},
mounted() {
// 页面加载完成后请求数据
onShow() {
// 页面显示时请求数据
this.page = 0;
this.list = [];
this.MakeAppointmentPKlist = [];
this.RealTimePklist = [];
this.pkList({ type: 2 });
this.pkList({ type: 1 });
},
@@ -296,29 +306,58 @@ export default {
this.list = [];
if (this.listtype === 1) {
this.MakeAppointmentPKlist = [];
this.pkList({
let condition = {
type: this.listtype,
sex: this.genders,
coin: {
};
if (this.genders !== 0) {
condition.sex = this.genders;
}
if (this.minNumberCoins !== "") {
condition.coin = {
start: this.minNumberCoins,
end: this.maxNumberCoins,
},
country: this.countrys,
});
};
}
if (this.maxNumberCoins !== "") {
condition.coin.end = this.maxNumberCoins;
}
if (this.mindatetimesingle !== "") {
condition.pkTime = {
start: this.mindatetimesingle,
};
}
if (this.maxdatetimesingle !== "") {
condition.pkTime.end = this.maxdatetimesingle;
}
if (this.countrys !== "") {
condition.country = this.countrys;
}
this.pkList(condition);
} else {
this.RealTimePklist = [];
this.pkList({
sex: this.genders,
coin: {
let condition = {};
if (this.genders !== 0) {
condition.sex = this.genders;
}
if (this.minNumberCoins !== "") {
condition.coin = {
start: this.minNumberCoins,
end: this.maxNumberCoins,
},
country: this.countrys,
pkTime: {
};
}
if (this.maxNumberCoins !== "") {
condition.coin.end = this.maxNumberCoins;
}
if (this.mindatetimesingle !== "") {
condition.pkTime = {
start: this.mindatetimesingle,
end: this.maxdatetimesingle,
},
});
};
}
if (this.maxdatetimesingle !== "") {
condition.pkTime.end = this.maxdatetimesingle;
}
if (this.countrys !== "") {
condition.country = this.countrys;
}
this.pkList(condition);
}
},
//清空弹窗
@@ -347,16 +386,19 @@ export default {
goMakeAppointmentPK() {
this.listtype = 1;
this.list = this.MakeAppointmentPKlist;
this.clear();
},
//大厅
goRealTimePk() {
this.listtype = 2;
this.list = this.RealTimePklist;
this.clear();
},
goAdvertisement() {
// this.$global.lastPage = getCurrentPages().router;
uni.navigateTo({ url: "/pages/pkDetail/pkDetail" });
},
//下拉刷新
onRefresherRefresh() {
this.page = 0;
this.list = [];
@@ -440,6 +482,7 @@ export default {
formatDate: formatDate,
async pkList(condition) {
console.log(condition);
//获取list
const res = await request({
url: "pk/pkList",
@@ -454,6 +497,7 @@ export default {
userInfo: false,
});
if (res.code === 200) {
console.log(res.data);
this.triggered = false;
if (condition.type === 1) {
this.MakeAppointmentPKlist.push(...res.data);
@@ -513,7 +557,7 @@ export default {
}
.contentList {
position: fixed;
top: 412rpx;
top: 312rpx;
left: 0;
bottom: 114.5rpx;
width: 100%;
@@ -676,6 +720,9 @@ export default {
flex-direction: column;
align-items: center;
}
.p-dar {
margin-top: 30rpx;
}
.p-coin-title {
font-size: 20rpx;
color: #a3a3a3;

View File

@@ -26,6 +26,7 @@
lower-threshold="100"
@scrolltolower="onScrollToLower"
:refresher-triggered="triggered"
v-if="pointslist.length!= 0"
>
<uni-card class="card" v-for="(item, index) in pointslist" :key="index" >
<view
@@ -40,6 +41,7 @@
</view>
</uni-card>
</scroll-view>
<view v-if="pointslist.length == 0" class="empty">暂无积分记录</view>
</view>
</view>
</template>
@@ -153,6 +155,14 @@ export default {
height: 100%;
width: 750rpx;
}
.empty{
height: 100%;
width: 750rpx;
line-height: 1200rpx;
text-align: center;
font-size: 28rpx;
color: #898989;
}
.card-content {
display: flex;
justify-content: space-between;

View File

@@ -162,7 +162,7 @@
<!-- 弹窗 -->
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
<view class="popup-container">
<view class="popup-title">选择我的主播</view>
<view class="popup-title">点击选择我的主播</view>
<scroll-view
show-scrollbar="false"
scroll-y="true"
@@ -175,7 +175,7 @@
class="card-content"
@click="Select(item.id, item)"
:style="{
background: selectedId === item.id ? '#f6f6f6' : '#ffffff',
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
}"
>
<view class="Avatarimg">

View File

@@ -148,7 +148,7 @@
<!-- 弹窗 -->
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
<view class="popup-container">
<view class="popup-title">选择我的主播</view>
<view class="popup-title">点击选择我的主播</view>
<scroll-view show-scrollbar="false" scroll-y="true" class="scroll" v-if="AnchorList.length !== 0">
<!-- -->
<view class="card" v-for="(item, index) in AnchorList" :key="index">
@@ -156,7 +156,7 @@
class="card-content"
@click="Select(item.id, item)"
:style="{
background: selectedId === item.id ? '#f6f6f6' : '#ffffff',
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
}"
>
<view class="Avatarimg">
@@ -423,6 +423,7 @@ export default {
icon: "success",
duration: 2000,
});
this.$emit('publishSuccess');
} else {
uni.hideLoading();
uni.showToast({

View File

@@ -96,7 +96,7 @@
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
<view class="popup-content">
<view class="popup-title">
<view class="popup-text">选择您要参与的主播</view>
<view class="popup-text">点击选择您要参与的主播</view>
<view v-if="list.length !== 0">
<scroll-view show-scrollbar="false" scroll-y="true" class="scroll">
@@ -105,7 +105,7 @@
class="card-content"
@click="Select(item.id, index)"
:style="{
background: selectedId === item.id ? '#f6f6f6' : '#ffffff',
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
}"
>
<view class="Avatarimg">
@@ -116,11 +116,22 @@
<view class="NameMoney_Name">{{ item.anchorId }}</view>
</view>
<view class="TimeMoney_Time">
<view class="pkTimeimg"></view
><view>{{ TimeFormatting(item.pkTime) }}</view>
<viewm class="goldnb"
><view class="goldimg"></view>{{ item.coin }}K</viewm
>
<view class="pkTimeimg">
<image
style="width:31.49rpx; height:31.49rpx;margin-top:3rpx"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png"
mode="scaleToFill"
/>
</view>
<view>{{ TimeFormatting(item.pkTime) }}</view>
<view class="goldimg">
<image
style="width:31.49rpx; height:31.49rpx;margin-top:4rpx"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
mode="scaleToFill"
/>
</view>
<view class="goldnb">{{ item.coin }}K</view>
</view>
</view>
</view>
@@ -356,6 +367,7 @@ export default {
align-items: center;
font-size: 28rpx;
color: rgb(127, 127, 127);
margin-top: 20rpx;
}
.createModule {
position: fixed;
@@ -386,24 +398,22 @@ export default {
}
.goldnb {
display: flex;
margin-left: 40rpx;
margin-left: 5rpx;
}
.TimeMoney_Time {
display: flex;
margin-top: 13rpx;
align-items: center;
margin-top: 10rpx;
}
.pkTimeimg {
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png);
background-size: 100% 100%;
width: 31.49rpx;
height: 31.49rpx;
margin-right: 20rpx;
margin-right: 10rpx;
}
.goldimg {
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png);
background-size: 100% 100%;
width: 31.49rpx;
height: 35rpx;
margin-left: 40rpx;
}
.NameMoney {
display: flex;

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("../VerifyLogin.js");Math||n();const n=()=>"../../pages/NewAddedPk/NewAddedPk2.js",o={__name:"tabBar",props:{tabIndex:Number},setup(n){require.async("../../TUIKit/components/TUIConversation/entry.js");let o=e.ref(!1);const a=e.ref([]);let s=e.ref(0);function i(e){a.value=e,s.value=function(e){let t=0;for(const n of e){if(!n.hasOwnProperty("unreadCount"))return null;const e=n.unreadCount;if("number"!=typeof e||!Number.isFinite(e))return null;t+=e}return t}(e)}e.onMounted((()=>{e.Jt.watch(e.o.CONV,{conversationList:i})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{conversationList:i})}));let c=e.reactive([{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PKClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",text:"论坛",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Message.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Messageclick.png",text:"消息"},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mine.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=c.length;if(e%2){o.value=!0;let t=Math.floor(e/2);c[t].middleClass="mid-button"}}()})),e.index.getSystemInfo({success:function(e){e.safeArea.top}});const l=e.ref();const u=()=>!1;function h(n,o){3===o?t.VerifyLogin().then((t=>{t&&e.index.redirectTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"})})):2===o?t.VerifyLogin().then((e=>{e&&l.value.open()})):4===o?t.VerifyLogin().then((t=>{t&&e.index.switchTab({url:"/pages/Mine/Mine",animationType:"none"})})):e.index.switchTab({url:n.pagePath})}return(t,a)=>({a:e.f(e.unref(c),((t,o,a)=>e.e({a:n.tabIndex==o?t.selectedIconPath:t.iconPath,b:3===o&&e.unref(s)>0},3===o&&e.unref(s)>0?{c:e.t(e.unref(s)>99?"99+":e.unref(s))}:{},{d:e.t(t.text),e:n.tabIndex==o?"#1DD2F9":"#A7A3A3",f:e.n("list-item flex flex-column flex-middle "+t.middleClass),g:e.o$1((e=>h(t,o)),o),h:o}))),b:e.n(!0===e.unref(o)?"tab-list-middle":"tab-list-default"),c:e.o$1(u),d:e.sr(l,"31e8faa2-0",{k:"createModule"})})}},a=e._export_sfc(o,[["__scopeId","data-v-31e8faa2"]]);wx.createComponent(a);
"use strict";const e=require("../../common/vendor.js"),t=require("../VerifyLogin.js");Math||n();const n=()=>"../../pages/NewAddedPk/NewAddedPk2.js",o={__name:"tabBar",props:{tabIndex:Number},emits:["publishSucces"],setup(n,{emit:o}){require.async("../../TUIKit/components/TUIConversation/entry.js");let a=e.ref(!1);const s=e.ref([]);let c=e.ref(0);function i(e){s.value=e,c.value=function(e){let t=0;for(const n of e){if(!n.hasOwnProperty("unreadCount"))return null;const e=n.unreadCount;if("number"!=typeof e||!Number.isFinite(e))return null;t+=e}return t}(e)}e.onMounted((()=>{e.Jt.watch(e.o.CONV,{conversationList:i})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{conversationList:i})}));const l=o;function u(){l("publishSucces")}let h=e.reactive([{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PKClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",text:"论坛",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Message.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Messageclick.png",text:"消息"},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mine.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=h.length;if(e%2){a.value=!0;let t=Math.floor(e/2);h[t].middleClass="mid-button"}}()})),e.index.getSystemInfo({success:function(e){e.safeArea.top}});const d=e.ref();const r=()=>!1;function p(n,o){3===o?t.VerifyLogin().then((t=>{t&&e.index.redirectTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"})})):2===o?t.VerifyLogin().then((e=>{e&&d.value.open()})):4===o?t.VerifyLogin().then((t=>{t&&e.index.switchTab({url:"/pages/Mine/Mine",animationType:"none"})})):e.index.switchTab({url:n.pagePath})}return(t,o)=>({a:e.f(e.unref(h),((t,o,a)=>e.e({a:n.tabIndex==o?t.selectedIconPath:t.iconPath,b:3===o&&e.unref(c)>0},3===o&&e.unref(c)>0?{c:e.t(e.unref(c)>99?"99+":e.unref(c))}:{},{d:e.t(t.text),e:n.tabIndex==o?"#1DD2F9":"#A7A3A3",f:e.n("list-item flex flex-column flex-middle "+t.middleClass),g:e.o$1((e=>p(t,o)),o),h:o}))),b:e.n(!0===e.unref(a)?"tab-list-middle":"tab-list-default"),c:e.o$1(r),d:e.sr(d,"c3a0cede-0",{k:"createModule"}),e:e.o$1(u)})}},a=e._export_sfc(o,[["__scopeId","data-v-c3a0cede"]]);wx.createComponent(a);

View File

@@ -1 +1 @@
<view class="tab-block data-v-31e8faa2"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-31e8faa2', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-31e8faa2', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-31e8faa2"><image class="item-img data-v-31e8faa2" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-31e8faa2">{{item.c}}</view></view><view class="item-text font-20 data-v-31e8faa2" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-31e8faa2" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-31e8faa2" u-r="createModule" u-i="31e8faa2-0" bind:__l="__l"></new-added-pk></view>
<view class="tab-block data-v-c3a0cede"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-c3a0cede', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-c3a0cede', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-c3a0cede"><image class="item-img data-v-c3a0cede" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-c3a0cede">{{item.c}}</view></view><view class="item-text font-20 data-v-c3a0cede" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-c3a0cede" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-c3a0cede" u-r="createModule" bindpublishSuccess="{{e}}" u-i="c3a0cede-0" bind:__l="__l"></new-added-pk></view>

View File

@@ -1 +1 @@
.flex.data-v-31e8faa2{display:flex;flex-flow:row wrap}.flex-center.data-v-31e8faa2{align-items:center;justify-content:center}.flex-column.data-v-31e8faa2{flex-direction:column;align-items:center}.flex-middle.data-v-31e8faa2{align-items:center}.font-20.data-v-31e8faa2{font-size:20rpx}.tab-block.data-v-31e8faa2{position:relative;position:fixed;bottom:0;z-index:2;background-size:contain;width:100vw;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.tab-block .tab-list.data-v-31e8faa2{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-31e8faa2{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-31e8faa2{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-31e8faa2{position:relative;background-size:cover}.tab-block .list-item.data-v-31e8faa2{flex:1}.tab-block .list-item .item-img-box.data-v-31e8faa2{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-31e8faa2{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-31e8faa2{position:relative}.tab-block .mid-button .item-img-box.data-v-31e8faa2{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-31e8faa2{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-31e8faa2{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-31e8faa2{height:30rpx;background-color:#fff}.Unreadcss.data-v-31e8faa2{background-color:red;margin-top:-65rpx;width:30rpx;height:30rpx;border-radius:50%;text-align:center;font-weight:700;font-size:18rpx;color:#fff;line-height:30rpx;margin-left:30rpx;z-index:1001}
.flex.data-v-c3a0cede{display:flex;flex-flow:row wrap}.flex-center.data-v-c3a0cede{align-items:center;justify-content:center}.flex-column.data-v-c3a0cede{flex-direction:column;align-items:center}.flex-middle.data-v-c3a0cede{align-items:center}.font-20.data-v-c3a0cede{font-size:20rpx}.tab-block.data-v-c3a0cede{position:relative;position:fixed;bottom:0;z-index:2;background-size:contain;width:100vw;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.tab-block .tab-list.data-v-c3a0cede{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-c3a0cede{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-c3a0cede{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-c3a0cede{position:relative;background-size:cover}.tab-block .list-item.data-v-c3a0cede{flex:1}.tab-block .list-item .item-img-box.data-v-c3a0cede{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-c3a0cede{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-c3a0cede{position:relative}.tab-block .mid-button .item-img-box.data-v-c3a0cede{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-c3a0cede{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-c3a0cede{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-c3a0cede{height:30rpx;background-color:#fff}.Unreadcss.data-v-c3a0cede{position:absolute;background-color:red;margin-top:-65rpx;width:30rpx;height:30rpx;border-radius:50%;text-align:center;font-weight:700;font-size:18rpx;color:#fff;line-height:30rpx;margin-left:30rpx;z-index:1001}

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

File diff suppressed because one or more lines are too long

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 @@
{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'\r\nexport default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n // const baseUrl = \"http://49.235.115.212:8086/\"+ url;\r\n // const baseUrl = \"https://pk.zhukeping.com/\"+ url;\r\n const baseUrl = \"http://120.26.251.180:8086/\"+ url;\r\n // const baseUrl = \"http://192.168.0.218:8086/\"+ url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n // resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n // resolve(res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res","addPrefixToHeaderIcon"],"mappings":";;;AACe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAGhD,QAAM,UAAU,gCAA+B;AAE/C,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpB,0BAAQC,iCAAqB,sBAACD,KAAI,IAAI,CAAC;AAAA,gBAE1C;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AAEpB,kBAAQE,iCAAqB,sBAAC,IAAI,IAAI,CAAC;AAAA,QAC1C;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'\r\nexport default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n // const baseUrl = \"http://49.235.115.212:8086/\"+ url;\r\n // const baseUrl = \"https://pk.zhukeping.com/\"+ url;\r\n // const baseUrl = \"http://120.26.251.180:8086/\"+ url;\r\n const baseUrl = \"http://192.168.0.218:8086/\"+ url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n // resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n // resolve(res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res","addPrefixToHeaderIcon"],"mappings":";;;AACe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAIhD,QAAM,UAAU,+BAA8B;AAC9C,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpB,0BAAQC,iCAAqB,sBAACD,KAAI,IAAI,CAAC;AAAA,gBAE1C;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AAEpB,kBAAQE,iCAAqB,sBAAC,IAAI,IAAI,CAAC;AAAA,QAC1C;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -238,6 +238,7 @@ const _sfc_main = {
icon: "success",
duration: 2e3
});
this.$emit("publishSuccess");
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
@@ -351,7 +352,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.t(item.anchorId),
c: common_vendor.t(item.country),
d: common_vendor.o$1(($event) => $options.Select(item.id, item), index),
e: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
e: $data.selectedId === item.id ? "#b8ff8c74" : "#ffffff",
f: index
};
})

View File

@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.0.116,127.0.0.1";
const port = "8090";
const id = "mp-weixin_vGLGEG";
const id = "mp-weixin_PIdUJZ";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@@ -3,7 +3,7 @@ const common_vendor = require("../common/vendor.js");
const components_addPrefixToHeaderIcon = require("./addPrefixToHeaderIcon.js");
function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
const baseUrl = "http://120.26.251.180:8086/" + url;
const baseUrl = "http://192.168.0.218:8086/" + url;
if (userInfo) {
return new Promise((resolve, reject) => {
common_vendor.index.getStorage({

View File

@@ -10,7 +10,8 @@ const _sfc_main = {
props: {
tabIndex: Number
},
setup(__props) {
emits: ["publishSucces"],
setup(__props, { emit: __emit }) {
require.async("../../TUIKit/components/TUIConversation/entry.js");
let showMiddleButton = common_vendor.ref(false);
const conversationList = common_vendor.ref([]);
@@ -29,6 +30,10 @@ const _sfc_main = {
conversationList.value = list;
Unread.value = calculateUnreadCount(list);
}
const emit = __emit;
function publishSuccesss() {
emit("publishSucces");
}
function calculateUnreadCount(arr) {
let total = 0;
for (const item of arr) {
@@ -154,7 +159,8 @@ const _sfc_main = {
c: common_vendor.o$1(disabledScroll),
d: common_vendor.sr(createModule, "c497a889-0", {
"k": "createModule"
})
}),
e: common_vendor.o$1(publishSuccesss)
};
};
}

View File

@@ -1 +1 @@
<view class="tab-block data-v-c497a889"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-c497a889', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-c497a889', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-c497a889"><image class="item-img data-v-c497a889" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-c497a889">{{item.c}}</view></view><view class="item-text font-20 data-v-c497a889" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-c497a889" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-c497a889" u-r="createModule" u-i="c497a889-0" bind:__l="__l"></new-added-pk></view>
<view class="tab-block data-v-c497a889"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-c497a889', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-c497a889', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-c497a889"><image class="item-img data-v-c497a889" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-c497a889">{{item.c}}</view></view><view class="item-text font-20 data-v-c497a889" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-c497a889" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-c497a889" u-r="createModule" bindpublishSuccess="{{e}}" u-i="c497a889-0" bind:__l="__l"></new-added-pk></view>

View File

@@ -113,6 +113,7 @@
background-color: #ffffff;
}
.Unreadcss.data-v-c497a889 {
position: absolute;
background-color: #ff0000;
margin-top: -65rpx;
width: 30rpx;

View File

@@ -59,7 +59,11 @@ const _sfc_main = {
//确认弹窗状态
};
},
mounted() {
onShow() {
this.page = 0;
this.list = [];
this.MakeAppointmentPKlist = [];
this.RealTimePklist = [];
this.pkList({ type: 2 });
this.pkList({ type: 1 });
},
@@ -117,29 +121,58 @@ const _sfc_main = {
this.list = [];
if (this.listtype === 1) {
this.MakeAppointmentPKlist = [];
this.pkList({
type: this.listtype,
sex: this.genders,
coin: {
start: this.minNumberCoins,
end: this.maxNumberCoins
},
country: this.countrys
});
let condition = {
type: this.listtype
};
if (this.genders !== 0) {
condition.sex = this.genders;
}
if (this.minNumberCoins !== "") {
condition.coin = {
start: this.minNumberCoins
};
}
if (this.maxNumberCoins !== "") {
condition.coin.end = this.maxNumberCoins;
}
if (this.mindatetimesingle !== "") {
condition.pkTime = {
start: this.mindatetimesingle
};
}
if (this.maxdatetimesingle !== "") {
condition.pkTime.end = this.maxdatetimesingle;
}
if (this.countrys !== "") {
condition.country = this.countrys;
}
this.pkList(condition);
} else {
this.RealTimePklist = [];
this.pkList({
sex: this.genders,
coin: {
start: this.minNumberCoins,
end: this.maxNumberCoins
},
country: this.countrys,
pkTime: {
start: this.mindatetimesingle,
end: this.maxdatetimesingle
}
});
let condition = {};
if (this.genders !== 0) {
condition.sex = this.genders;
}
if (this.minNumberCoins !== "") {
condition.coin = {
start: this.minNumberCoins
};
}
if (this.maxNumberCoins !== "") {
condition.coin.end = this.maxNumberCoins;
}
if (this.mindatetimesingle !== "") {
condition.pkTime = {
start: this.mindatetimesingle
};
}
if (this.maxdatetimesingle !== "") {
condition.pkTime.end = this.maxdatetimesingle;
}
if (this.countrys !== "") {
condition.country = this.countrys;
}
this.pkList(condition);
}
},
//清空弹窗
@@ -168,15 +201,18 @@ const _sfc_main = {
goMakeAppointmentPK() {
this.listtype = 1;
this.list = this.MakeAppointmentPKlist;
this.clear();
},
//大厅
goRealTimePk() {
this.listtype = 2;
this.list = this.RealTimePklist;
this.clear();
},
goAdvertisement() {
common_vendor.index.navigateTo({ url: "/pages/pkDetail/pkDetail" });
},
//下拉刷新
onRefresherRefresh() {
this.page = 0;
this.list = [];
@@ -245,6 +281,7 @@ const _sfc_main = {
},
formatDate: components_formatDate.formatDate,
async pkList(condition) {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:485", condition);
const res = await components_request.request({
url: "pk/pkList",
method: "POST",
@@ -258,6 +295,7 @@ const _sfc_main = {
userInfo: false
});
if (res.code === 200) {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:500", res.data);
this.triggered = false;
if (condition.type === 1) {
this.MakeAppointmentPKlist.push(...res.data);
@@ -285,14 +323,13 @@ const _sfc_main = {
};
if (!Array) {
const _component_top_navigation = common_vendor.resolveComponent("top-navigation");
const _component_advertisement = common_vendor.resolveComponent("advertisement");
const _component_uni_card = common_vendor.resolveComponent("uni-card");
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
const _easycom_uni_number_box2 = common_vendor.resolveComponent("uni-number-box");
const _easycom_uni_datetime_picker2 = common_vendor.resolveComponent("uni-datetime-picker");
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_component_top_navigation + _component_advertisement + _component_uni_card + _easycom_tabBar2 + _easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_popup2)();
(_component_top_navigation + _component_uni_card + _easycom_tabBar2 + _easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_popup2)();
}
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
const _easycom_wht_select = () => "../../uni_modules/wht-select/components/wht-select/wht-select.js";
@@ -307,10 +344,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: common_vendor.o$1($options.goRealTimePk),
b: common_vendor.o$1($options.goMakeAppointmentPK),
c: common_vendor.o$1($options.goScreening),
d: common_vendor.o$1((...args) => $options.goAdvertisement && $options.goAdvertisement(...args)),
e: $data.list.length !== 0
d: $data.list.length !== 0
}, $data.list.length !== 0 ? {
f: common_vendor.f($data.list, (item, index, i0) => {
e: common_vendor.f($data.list, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIcon,
b: common_vendor.t(item.disPlayId),
@@ -324,15 +360,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
i: common_vendor.o$1(($event) => $options.goDetail(item), index),
j: item.isPin === true ? "2px solid #eeff00" : "2px solid #f5f5f5",
k: index,
l: "7ffebbf4-2-" + i0
l: "7ffebbf4-1-" + i0
});
})
} : {}, {
g: $data.list.length === 0
f: $data.list.length === 0
}, $data.list.length === 0 ? {} : {}, {
h: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
i: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
j: $data.triggered,
g: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
h: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
i: $data.triggered,
j: common_vendor.o$1(($event) => $options.onRefresherRefresh()),
k: common_vendor.p({
tabIndex: 0
}),
@@ -402,7 +439,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
H: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
I: common_vendor.o$1((...args) => $options.confirm && $options.confirm(...args)),
J: common_vendor.o$1((...args) => $options.clear && $options.clear(...args)),
K: common_vendor.sr("popup", "7ffebbf4-4"),
K: common_vendor.sr("popup", "7ffebbf4-3"),
L: common_vendor.p({
position: "right"
})

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -29,7 +29,7 @@
}
.contentList.data-v-7ffebbf4 {
position: fixed;
top: 412rpx;
top: 312rpx;
left: 0;
bottom: 114.5rpx;
width: 100%;
@@ -191,6 +191,9 @@
flex-direction: column;
align-items: center;
}
.p-dar.data-v-7ffebbf4 {
margin-top: 30rpx;
}
.p-coin-title.data-v-7ffebbf4 {
font-size: 20rpx;
color: #a3a3a3;

View File

@@ -51,7 +51,7 @@ const _sfc_main = {
this.pointslist.push(...res.data);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:99", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:101", res.msg);
}
});
},
@@ -68,9 +68,11 @@ if (!Array) {
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.pointslist, (item, index, i0) => {
b: $data.pointslist.length != 0
}, $data.pointslist.length != 0 ? {
c: common_vendor.f($data.pointslist, (item, index, i0) => {
return {
a: common_vendor.t(item.info),
b: common_vendor.t(item.status == 0 ? "-" + item.number : "+" + item.number),
@@ -80,10 +82,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: "cd2929c5-0-" + i0
};
}),
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
d: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
e: $data.triggered
};
d: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
e: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
f: $data.triggered
} : {}, {
g: $data.pointslist.length == 0
}, $data.pointslist.length == 0 ? {} : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cd2929c5"]]);
wx.createPage(MiniProgramPage);

View File

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

View File

@@ -41,6 +41,14 @@
height: 100%;
width: 750rpx;
}
.empty.data-v-cd2929c5{
height: 100%;
width: 750rpx;
line-height: 1200rpx;
text-align: center;
font-size: 28rpx;
color: #898989;
}
.card-content.data-v-cd2929c5 {
display: flex;
justify-content: space-between;

View File

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

View File

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

View File

@@ -134,10 +134,9 @@ const _sfc_main = {
};
if (!Array) {
const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
const _component_viewm = common_vendor.resolveComponent("viewm");
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
const _component_NewAddedPk = common_vendor.resolveComponent("NewAddedPk");
(_easycom_uni_easyinput2 + _component_viewm + _easycom_uni_popup2 + _component_NewAddedPk)();
(_easycom_uni_easyinput2 + _easycom_uni_popup2 + _component_NewAddedPk)();
}
const _easycom_uni_easyinput = () => "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
@@ -177,10 +176,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.t(item.anchorId),
c: common_vendor.t($options.TimeFormatting(item.pkTime)),
d: common_vendor.t(item.coin),
e: "9639f721-2-" + i0 + ",9639f721-1",
f: common_vendor.o$1(($event) => $options.Select(item.id, index), index),
g: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
h: index
e: common_vendor.o$1(($event) => $options.Select(item.id, index), index),
f: $data.selectedId === item.id ? "#b8ff8c74" : "#ffffff",
g: index
};
})
} : {}, {
@@ -193,7 +191,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
type: "center",
["border-radius"]: "10px 10px 0 0"
}),
w: common_vendor.sr("createModule", "9639f721-3")
w: common_vendor.sr("createModule", "9639f721-2")
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);

View File

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

View File

@@ -66,6 +66,7 @@
align-items: center;
font-size: 28rpx;
color: rgb(127, 127, 127);
margin-top: 20rpx;
}
.createModule.data-v-9639f721 {
position: fixed;
@@ -96,24 +97,22 @@
}
.goldnb.data-v-9639f721 {
display: flex;
margin-left: 40rpx;
margin-left: 5rpx;
}
.TimeMoney_Time.data-v-9639f721 {
display: flex;
margin-top: 13rpx;
align-items: center;
margin-top: 10rpx;
}
.pkTimeimg.data-v-9639f721 {
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png);
background-size: 100% 100%;
width: 31.49rpx;
height: 31.49rpx;
margin-right: 20rpx;
margin-right: 10rpx;
}
.goldimg.data-v-9639f721 {
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png);
background-size: 100% 100%;
width: 31.49rpx;
height: 35rpx;
margin-left: 40rpx;
}
.NameMoney.data-v-9639f721 {
display: flex;

View File

@@ -360,7 +360,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.t(item.anchorId),
c: common_vendor.t(item.country),
d: common_vendor.o$1(($event) => $options.Select(item.id, item), index),
e: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
e: $data.selectedId === item.id ? "#b8ff8c74" : "#ffffff",
f: index
};
})