优化页面

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

View File

@@ -32,6 +32,8 @@
top: 120rpx;
left: 360rpx;
z-index: 999;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
}

View File

@@ -482,6 +482,8 @@ input.data-v-32d81a7d:focus, input.data-v-32d81a7d:active, textarea.data-v-32d81
top: 120rpx;
left: 360rpx;
z-index: 999;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
}

View File

@@ -6,6 +6,7 @@ if (!Math) {
"./pages/Mine/Mine.js";
"./pages/Mine/minecomponents/pkRecord.js";
"./pages/Mine/minecomponents/contact.js";
"./pages/Mine/minecomponents/points.js";
"./pages/Mine/minecomponents/anchorLibrary.js";
"./pages/Mine/minecomponents/pkInformation.js";
"./pages/Mine/minecomponents/recompose/recompose.js";

View File

@@ -4,6 +4,7 @@
"pages/Mine/Mine",
"pages/Mine/minecomponents/pkRecord",
"pages/Mine/minecomponents/contact",
"pages/Mine/minecomponents/points",
"pages/Mine/minecomponents/anchorLibrary",
"pages/Mine/minecomponents/pkInformation",
"pages/Mine/minecomponents/recompose/recompose",

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_ONChgV";
const id = "mp-weixin_iaEYrA";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@@ -1,5 +1,10 @@
"use strict";
const NationalDictionary = {
CN: "中国",
FR: "法国",
UK: "英国",
JP: "日本",
US: "美国",
AD: "安道尔",
AE: "阿拉伯联合酋长国",
AF: "阿富汗",
@@ -47,7 +52,6 @@ const NationalDictionary = {
CK: "库克群岛",
CL: "智利",
CM: "喀麦隆",
CN: "中国",
CO: "哥伦比亚",
CR: "哥斯达黎加",
CU: "古巴",
@@ -75,9 +79,7 @@ const NationalDictionary = {
FK: "福克兰群岛",
FM: "密克罗尼西亚",
FO: "法罗群岛",
FR: "法国",
GA: "加蓬",
GB: "英国",
GD: "格林纳达",
GE: "格鲁吉亚",
GF: "法属圭亚那",
@@ -114,7 +116,6 @@ const NationalDictionary = {
JE: "泽西岛",
JM: "牙买加",
JO: "约旦",
JP: "日本",
KE: "肯尼亚",
KG: "吉尔吉斯斯坦",
KH: "柬埔寨",
@@ -232,7 +233,6 @@ const NationalDictionary = {
UA: "乌克兰",
UG: "乌干达",
UM: "美国本土外小岛屿",
US: "美国",
UY: "乌拉圭",
UZ: "乌兹别克斯坦",
VA: "梵蒂冈",
@@ -248,7 +248,6 @@ const NationalDictionary = {
ZA: "南非",
ZM: "赞比亚",
ZW: "津巴布韦",
UK: "英国",
WF: "瓦利斯"
};
function convertNationalDictToOptions(dict) {

View File

@@ -6,14 +6,15 @@
align-items: center;
}
.Screening.data-v-ce2f6748 {
width: 93rpx;
width: 120rpx;
height: 50rpx;
background: #ffffff;
border-radius: 4rpx;
background: #5bced1;
font-size: 23rpx;
color: #3b3b3b;
font-weight: bold;
color: #ffffff;
text-align: center;
line-height: 50rpx;
border-radius: 15rpx;
}
.filter-icon.data-v-ce2f6748 {
width: 33rpx;
@@ -23,7 +24,7 @@
margin: 0 39rpx 0 41rpx;
}
.MakeAppointment.data-v-ce2f6748 {
margin-right: 233rpx;
margin-right: 280rpx;
}
.Screening.data-v-ce2f6748 {
margin-right: 20rpx;

View File

@@ -77,7 +77,7 @@ const _sfc_main = {
key: "chatInfo",
success: (res3) => {
this.chatInfo = res3.data;
common_vendor.index.__f__("log", "at pages/Home/Home.vue:241", "chatInfo", this.chatInfo);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:242", "chatInfo", this.chatInfo);
components_TUILogin.TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);
}
});
@@ -96,7 +96,7 @@ const _sfc_main = {
this.ConfirmStatus = true;
common_vendor.index.__f__(
"log",
"at pages/Home/Home.vue:262",
"at pages/Home/Home.vue:263",
this.minNumberCoins,
this.maxNumberCoins,
this.mindatetimesingle,
@@ -164,12 +164,12 @@ const _sfc_main = {
//获取国家
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/Home/Home.vue:343", item);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:344", item);
},
//获取性别
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/Home/Home.vue:348", item);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:349", item);
},
// 打开弹窗(筛选条件)
goScreening() {
@@ -220,7 +220,7 @@ const _sfc_main = {
title: "加载中...",
mask: true
});
common_vendor.index.__f__("log", "at pages/Home/Home.vue:413", "id", item.id, this.info.id);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:414", "id", item.id, this.info.id);
const res = await components_request.request({
url: "pk/pkInfoDetail",
method: "POST",
@@ -230,12 +230,12 @@ const _sfc_main = {
},
userInfo: true
});
common_vendor.index.__f__("log", "at pages/Home/Home.vue:424", "res", res);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:425", "res", res);
this.detailsdata = res.data;
if (res.code === 200) {
if (res.data.length !== 0) {
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/Home/Home.vue:429", "res.data", res.data);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:430", "res.data", res.data);
common_vendor.index.navigateTo({
url: "/pages/pkDetail/pkDetail",
success: (res2) => {
@@ -271,7 +271,7 @@ const _sfc_main = {
},
userInfo: false
});
common_vendor.index.__f__("log", "at pages/Home/Home.vue:467", res);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:468", res);
if (res.code === 200) {
this.triggered = false;
if (condition.type === 1) {

File diff suppressed because one or more lines are too long

View File

@@ -18,12 +18,26 @@ const _sfc_main = {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:208", this.userinfo);
this.getpkInformation();
this.getmyPkRecord();
this.getSignStatus();
this.getAnchorList();
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:238", res.data);
components_request.request({
url: "user/getUserInfo",
method: "POST",
data: {
id: res.data.id
},
userInfo: true
}).then((res2) => {
if (res2.code == 200) {
this.userinfo = res2.data;
common_vendor.index.setStorageSync("userinfo", res2.data);
this.getpkInformation();
this.getmyPkRecord();
this.getSignStatus();
this.getAnchorList();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:255", res2.msg);
}
});
}
});
},
@@ -41,24 +55,25 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data.slice(0, 4);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:230", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
}
});
},
// 获取签到状态
getSignStatus() {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:281", "getSignStatus", this.userinfo.id);
components_request.request({
url: "user/checkSignStatus",
method: "GET",
data: {
userId: this.userinfo.id
userId: Number(this.userinfo.id)
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.SignStatus = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:247", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:294", res.msg);
}
});
},
@@ -80,7 +95,7 @@ const _sfc_main = {
});
this.getSignStatus();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:269", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:316", res.msg);
}
});
},
@@ -100,9 +115,9 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.pkInformationdata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", this.pkInformationdata);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:336", this.pkInformationdata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:291", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:338", res.msg);
}
});
},
@@ -122,10 +137,27 @@ const _sfc_main = {
if (res.code == 200) {
this.myPkRecorddata = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:311", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:358", res.msg);
}
});
},
// 跳转到PK记录详情页面
onItemClick(item) {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",
success: (res) => {
res.eventChannel.emit("itemDetail", {
item
});
}
});
},
// 跳转到积分页面
goPoints() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/points"
});
},
// 跳转到主播库页面
anchorLibrary() {
common_vendor.index.navigateTo({
@@ -194,10 +226,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: $data.SignStatus === false
}, $data.SignStatus === false ? {} : {}, {
f: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
g: common_vendor.o$1((...args) => $options.anchorLibrary && $options.anchorLibrary(...args)),
h: $data.AnchorList.length !== 0
g: common_vendor.t($data.userinfo.points),
h: common_vendor.o$1((...args) => $options.goPoints && $options.goPoints(...args)),
i: common_vendor.o$1((...args) => $options.anchorLibrary && $options.anchorLibrary(...args)),
j: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
i: common_vendor.f($data.AnchorList, (item, index, i0) => {
k: common_vendor.f($data.AnchorList, (item, index, i0) => {
return {
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
@@ -206,12 +240,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
j: $data.AnchorList.length === 0
l: $data.AnchorList.length === 0
}, $data.AnchorList.length === 0 ? {} : {}, {
k: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
l: $data.pkInformationdata.length !== 0
m: common_vendor.o$1((...args) => $options.anchorLibrary && $options.anchorLibrary(...args)),
n: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
o: $data.pkInformationdata.length !== 0
}, $data.pkInformationdata.length !== 0 ? {
m: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
p: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
return {
a: item.anchorIcon,
b: common_vendor.t($options.formatDate(item.pkTime)),
@@ -220,12 +255,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
n: $data.pkInformationdata.length === 0
q: $data.pkInformationdata.length === 0
}, $data.pkInformationdata.length === 0 ? {} : {}, {
o: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
p: $data.myPkRecorddata.length !== 0
r: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
s: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
t: $data.myPkRecorddata.length !== 0
}, $data.myPkRecorddata.length !== 0 ? {
q: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
v: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIconA,
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== ""
@@ -233,16 +269,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
c: item.winnerAnchorId === item.anchorIdA,
d: common_vendor.t(item.pkNumber),
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
f: index
f: index,
g: common_vendor.o$1(($event) => $options.onItemClick(item), index)
});
})
} : {}, {
r: $data.myPkRecorddata.length === 0
w: $data.myPkRecorddata.length === 0
}, $data.myPkRecorddata.length === 0 ? {} : {}, {
s: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
t: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
v: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
w: common_vendor.p({
x: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
y: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
z: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
A: common_vendor.p({
tabIndex: 4
})
});

File diff suppressed because one or more lines are too long

View File

@@ -20,6 +20,14 @@
display: flex;
align-items: center;
}
.PersonalInformationContent.data-v-402ad917 {
display: flex;
flex-direction: column;
}
.nameandSign.data-v-402ad917 {
display: flex;
align-items: center;
}
.header.data-v-402ad917 {
width: 144.5rpx;
height: 144.5rpx;
@@ -37,11 +45,24 @@
width: 100%;
height: 100%;
}
.level.data-v-402ad917 {
display: flex;
height: 46rpx;
margin-top: 20rpx;
display: flex;
}
.points.data-v-402ad917 {
display: flex;
align-items: center;
font-size: 28rpx;
color: #a4a4a4;
}
.name.data-v-402ad917 {
width: 280rpx;
font-size: 36.26rpx;
font-weight: 500;
color: #161616;
font-weight: bold;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */

View File

@@ -15,7 +15,7 @@ const _sfc_main = {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:112", "接收到的数据:", this.item);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:113", "接收到的数据:", this.item);
this.getCoinNum(this.item);
});
},
@@ -40,7 +40,7 @@ const _sfc_main = {
this.coinNumlist = res.data;
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:137", "获取金币数量失败");
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:138", "获取金币数量失败");
}
});
},
@@ -65,19 +65,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}, $data.item.winnerAnchorId == $data.item.anchorIdA ? {} : {}, {
d: common_vendor.t($data.item.anchorIdA),
e: common_vendor.t($options.formatDate($data.item.pkTime)),
f: common_vendor.t($data.item.userAcoin),
f: common_vendor.t($data.item.userACoins),
g: common_vendor.t($data.item.anchorIdB),
h: common_vendor.t($options.formatDate($data.item.pkTime)),
i: common_vendor.t($data.item.userBcoin),
i: common_vendor.t($data.item.userBCoins),
j: $data.item.anchorIconB,
k: $data.item.winnerAnchorId == $data.item.anchorIdB
}, $data.item.winnerAnchorId == $data.item.anchorIdB ? {} : {}, {
l: common_vendor.f($data.coinNumlist, (items, index, i0) => {
return {
a: common_vendor.t(items.anchorCoinA),
b: items.anchorIdA == items.winnerAnchorId ? "#00fbff5d" : "#ff000049",
b: items.anchorIdA == items.winnerAnchorId ? "#00fbff21" : "#ff000011",
c: common_vendor.t(items.anchorCoinB),
d: items.anchorIdB == items.winnerAnchorId ? "#00fbff5d" : "#ff000049",
d: items.anchorIdB == items.winnerAnchorId ? "#00fbff21" : "#ff000011",
e: index,
f: "414631de-0-" + i0
};

View File

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

View File

@@ -45,7 +45,7 @@
justify-content: center;
align-items: center;
margin-left: 28.55rpx;
margin-top: 12rpx;
margin-top: 20rpx;
}
.AnchorA.data-v-414631de {
display: flex;
@@ -78,16 +78,20 @@
font-weight: 500;
font-size: 31rpx;
color: #161616;
text-align: center;
}
.AnchorATime.data-v-414631de {
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
margin-top: 12rpx;
text-align: center;
}
.AnchorAICon.data-v-414631de {
display: flex;
flex-direction: column;
margin-top: 12rpx;
align-items: center;
}
.AnchorAIContext.data-v-414631de {
font-weight: 400;
@@ -160,7 +164,8 @@
background-color: #ffffff;
display: flex;
margin-left:28.55rpx;
margin-top: 13rpx;
margin-top: 25rpx;
border: #5ed8db solid 1rpx;
}
.contentcard-titleA.data-v-414631de{
width: 50%;
@@ -169,7 +174,7 @@
flex-direction: column;
justify-content: center;
align-items: center;
border-right: #100e0f solid 1rpx;
border-right: #58d8db solid 3rpx;
border-top-left-radius: 15rpx;
border-bottom-left-radius: 15rpx;
}
@@ -183,3 +188,12 @@
border-top-right-radius: 15rpx;
border-bottom-right-radius: 15rpx;
}
.ciontext.data-v-414631de{
font-size: 28rpx;
color: #a2a2a2;
}
.cion.data-v-414631de{
font-size: 36rpx;
color: #100e0f;
font-weight: bold;
}

View File

@@ -149,10 +149,10 @@ to {
margin-top: 50rpx;
}
.Coins.data-v-a0301f10 {
width: 330rpx;
width: 400rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
margin-right: 10rpx;
/* flex-direction: column; */
}
.country.data-v-a0301f10 {

View File

@@ -17,7 +17,7 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:109", this.userinfo);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:110", this.userinfo);
this.getAnchorList();
}
});
@@ -69,7 +69,7 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:161", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:162", res.msg);
}
});
},

View File

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

View File

@@ -21,10 +21,10 @@
.title.data-v-daea6b33 {
position: absolute;
top: 120rpx;
left: 315rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
font-weight: bold;
}
.ReturnImg.data-v-daea6b33 {
width: 100%;
@@ -40,7 +40,7 @@
}
.card.data-v-daea6b33 {
width: 695rpx;
height: 161rpx;
height: 180rpx;
background: #ffffff;
border-radius: 15rpx;
display: flex;
@@ -160,8 +160,8 @@
position: absolute;
bottom: 200rpx;
right: 100rpx;
width: 100rpx;
height: 100rpx;
width: 150rpx;
height: 150rpx;
z-index: 998;
border-radius: 50rpx;
/* background-color: #ffffff; */

View File

@@ -21,10 +21,10 @@
.title.data-v-2f1f017b {
position: absolute;
top: 120rpx;
left: 315rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
font-weight: bold;
}
.ReturnImg.data-v-2f1f017b {
width: 100%;

View File

@@ -148,10 +148,10 @@ to {
margin-top: 50rpx;
}
.Coins.data-v-ad97bf06 {
width: 330rpx;
width: 400rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
margin-right: 10rpx;
/* flex-direction: column; */
}
.country.data-v-ad97bf06 {

View File

@@ -19,7 +19,7 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:111", this.userinfo);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:127", this.userinfo);
this.getpkList();
}
});
@@ -62,10 +62,10 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.pkList.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:154", this.pkList);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:170", this.pkList);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:157", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:173", res.msg);
}
});
},
@@ -74,6 +74,9 @@ const _sfc_main = {
this.parentMessage = item;
this.createModule.open();
},
// 置顶
onTop(item) {
},
// 删除pk
onExpurgate(item) {
components_request.request({
@@ -92,7 +95,7 @@ const _sfc_main = {
duration: 2e3
});
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:184", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:204", res.msg);
}
});
}
@@ -123,18 +126,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
i: common_vendor.t($options.formatDate(item.pkTime)),
j: item.inviteStatus === 0
}, item.inviteStatus === 0 ? {
k: common_vendor.o$1(($event) => $options.onRecompose(item), index),
l: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
k: common_vendor.o$1(($event) => $options.onTop(item), index),
l: common_vendor.o$1(($event) => $options.onRecompose(item), index),
m: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
} : {}, {
m: index,
n: "36b7ee78-0-" + i0
n: index,
o: "36b7ee78-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,
f: common_vendor.sr("createModule", "36b7ee78-1"),
g: common_vendor.p({
g: common_vendor.o$1($options.onRefresherRefresh),
h: common_vendor.p({
message: $data.parentMessage
})
};

View File

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

View File

@@ -21,10 +21,10 @@
.title.data-v-36b7ee78 {
position: absolute;
top: 120rpx;
left: 315rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
font-weight: bold;
}
.ReturnImg.data-v-36b7ee78 {
width: 100%;
@@ -40,7 +40,7 @@
}
.card.data-v-36b7ee78 {
width: 695rpx;
height: 161rpx;
height: 180rpx;
background: #ffffff;
border-radius: 15rpx;
display: flex;
@@ -140,12 +140,12 @@
.recompose.data-v-36b7ee78 {
width: 46rpx;
height: 46rpx;
margin-left: 90rpx;
margin-left: 80rpx;
}
.expurgate.data-v-36b7ee78 {
width: 46rpx;
height: 46rpx;
margin-left: 40rpx;
margin-left: 10rpx;
}
.createModule.data-v-36b7ee78 {
position: fixed;

View File

@@ -96,19 +96,20 @@ const _sfc_main = {
this.triggered = false;
if (type === 1) {
this.pkmyRecordlist.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkRecordlist);
if (this.current === 1) {
this.pkRecordlist = this.pkmyRecordlist;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:182", this.pkmyRecordlist);
}
} else {
this.pkInvitationRecordlist.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", this.pkInvitationRecordlist);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:186", this.pkInvitationRecordlist);
if (this.current === 2) {
this.pkRecordlist = this.pkInvitationRecordlist;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:189", this.pkInvitationRecordlist);
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:191", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:193", res.msg);
}
});
},
@@ -144,10 +145,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}, item.winnerAnchorId == item.anchorIdA ? {} : {}, {
c: common_vendor.t(item.anchorIdA),
d: common_vendor.t($options.formatDate(item.pkTime)),
e: common_vendor.t(item.userAcoin),
e: common_vendor.t(item.userACoins),
f: common_vendor.t(item.anchorIdB),
g: common_vendor.t($options.formatDate(item.pkTime)),
h: common_vendor.t(item.userBcoin),
h: common_vendor.t(item.userBCoins),
i: item.anchorIconB,
j: item.winnerAnchorId == item.anchorIdB
}, item.winnerAnchorId == item.anchorIdB ? {} : {}, {

View File

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

View File

@@ -21,10 +21,10 @@
.title.data-v-6fa696de {
position: absolute;
top: 120rpx;
left: 315rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
font-weight: bold;
}
.ReturnImg.data-v-6fa696de {
width: 100%;
@@ -85,7 +85,7 @@
/* 卡片 */
.card.data-v-6fa696de {
width: 694.66rpx;
height: 161.26rpx;
height: 200rpx;
background-color: #ffffff;
border-radius: 15rpx;
display: flex;
@@ -93,6 +93,7 @@
align-items: center;
margin-left: 28.55rpx;
margin-top: 20rpx;
border: 1rpx solid #c9f6f6;
}
.AnchorA.data-v-6fa696de {
display: flex;
@@ -105,7 +106,9 @@
.AnchorAImg.data-v-6fa696de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-radius: 100rpx;
margin-left: 20rpx;
margin-right: 20rpx;
background-color: #b1b1b1;
display: flex;
}
@@ -113,19 +116,19 @@
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 20rpx;
}
.AnchorBinfo.data-v-6fa696de {
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 20rpx;
}
.AnchorAname.data-v-6fa696de {
width: 161.26rpx;
font-weight: 500;
font-size: 31rpx;
color: #161616;
color: #58d8db;
text-align: center;
font-weight: bold;
white-space: nowrap; /* 防止换行 */
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
@@ -134,11 +137,14 @@
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
margin-top: 12rpx;
margin-top: 8rpx;
text-align: center;
}
.AnchorAICon.data-v-6fa696de {
display: flex;
margin-top: 12rpx;
flex-direction: column;
margin-top: 8rpx;
text-align: center;
}
.AnchorAIContext.data-v-6fa696de {
font-weight: 400;
@@ -153,7 +159,7 @@
.AnchorAImgcss.data-v-6fa696de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-radius: 100rpx;
border-top: #f7da60 solid 2rpx;
border-left: #ffeeab solid 2rpx;
border-bottom: #ffeeab solid 2rpx;
@@ -162,7 +168,7 @@
.AnchorBImgcss.data-v-6fa696de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-radius: 100rpx;
border-top: #ffc6ba solid 2rpx;
border-left: #ffc6ba solid 2rpx;
border-bottom: #5ddadd solid 2rpx;

View File

@@ -0,0 +1,90 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_request = require("../../../components/request.js");
const components_formatDate = require("../../../components/formatDate.js");
const _sfc_main = {
data() {
return {
title: "Hello",
userinfo: {},
page: 0,
triggered: false,
pointslist: []
};
},
onLoad() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
this.getPointsDetail();
}
});
},
methods: {
formatDate: components_formatDate.formatDate,
//下拉刷新
onRefresherRefresh() {
this.page = 0;
this.triggered = true;
this.pointslist = [];
this.getPointsDetail();
},
//上拉加载
onScrollToLower() {
this.page += 1;
this.getPointsDetail();
},
//获取积分详情
getPointsDetail() {
components_request.request({
url: "user/pointsDetail",
method: "POST",
data: {
userId: this.userinfo.id,
page: this.page,
size: 10
},
userInfo: true
}).then((res) => {
if (res.code === 200) {
this.triggered = false;
this.pointslist.push(...res.data);
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:100", res.msg);
}
});
},
// 返回上一页
onBack() {
common_vendor.index.navigateBack({
delta: 1
});
}
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.pointslist, (item, index, i0) => {
return {
a: common_vendor.t($options.formatDate(item.time)),
b: common_vendor.t(item.info),
c: common_vendor.t(item.num),
d: item.status == 0 ? "#11ff002b" : "#ff000011",
e: index,
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
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cd2929c5"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/points.js.map

View File

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

View File

@@ -0,0 +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}}" enable-flex="true"><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="time data-v-cd2929c5">{{item.a}}</view><view class="info data-v-cd2929c5">{{item.b}}</view><view class="num data-v-cd2929c5">{{item.c}}</view></view></uni-card></scroll-view></view></view>

View File

@@ -0,0 +1,67 @@
.bg.data-v-cd2929c5 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-cd2929c5 {
width: 100%;
height: 100%;
}
.Return.data-v-cd2929c5 {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-cd2929c5 {
position: absolute;
top: 120rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
}
.ReturnImg.data-v-cd2929c5 {
width: 100%;
height: 100%;
}
.content.data-v-cd2929c5 {
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 50rpx;
}
.scroll.data-v-cd2929c5 {
height: 100%;
width: 750rpx;
}
.card-content.data-v-cd2929c5 {
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-cd2929c5 {
font-size: 24rpx;
color: #7b7b7b;
}
.info.data-v-cd2929c5 {
font-size: 24rpx;
color: #898989;
}
.num.data-v-cd2929c5 {
font-size: 24rpx;
color: #000000;
font-weight: bold;
}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" 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="{{i}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{h}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" 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="{{l}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{k}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{m}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" 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="{{r}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></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="{{s}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{v}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" 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="{{y}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{z}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{B}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{C}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-4e606fe0" u-s="{{['d']}}" u-r="popup" u-i="4e606fe0-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-4e606fe0"><view class="popup-title data-v-4e606fe0">选择我的主播</view><scroll-view wx:if="{{G}}" scroll-y="true" class="scroll data-v-4e606fe0"><view wx:for="{{H}}" 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="{{I}}" 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="{{J}}">确认</button><button class="cancel data-v-4e606fe0" type="default" bindtap="{{K}}">取消</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

@@ -171,10 +171,10 @@ to {
margin-top: 50rpx;
}
.Coins.data-v-4e606fe0 {
width: 330rpx;
width: 400rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
margin-right: 10rpx;
/* flex-direction: column; */
}
.country.data-v-4e606fe0 {
@@ -228,7 +228,7 @@ to {
font-weight: bold;
border-radius: 50rpx;
}
.popup-container.data-v-4e606fe0{
.popup-container.data-v-4e606fe0 {
width: 600rpx;
height: 800rpx;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
@@ -239,18 +239,18 @@ to {
flex-direction: column;
align-items: center;
}
.popup-title.data-v-4e606fe0{
.popup-title.data-v-4e606fe0 {
color: #161616;
font-size: 36.26rpx;
font-weight: bold;
margin-bottom: 30rpx;
margin-top: 30rpx;
}
.scroll.data-v-4e606fe0{
.scroll.data-v-4e606fe0 {
width: 90%;
height: 500rpx;
}
.card.data-v-4e606fe0{
.card.data-v-4e606fe0 {
margin-top: 15rpx;
}
.card-content.data-v-4e606fe0 {
@@ -299,7 +299,7 @@ to {
overflow: hidden; /* 隐藏溢出内容 */
text-overflow: ellipsis; /* 显示省略号 */
}
.TimeMoney_country.data-v-4e606fe0{
.TimeMoney_country.data-v-4e606fe0 {
margin-top: 10rpx;
width: 400rpx;
text-align: left;
@@ -336,14 +336,14 @@ to {
border-bottom-right-radius: 50rpx;
border: 1rpx solid #03aba8;
}
.no-data.data-v-4e606fe0{
.no-data.data-v-4e606fe0 {
width: 90%;
height: 500rpx;
display: flex;
justify-content: center;
align-items: center;
}
.no-data-text.data-v-4e606fe0{
.no-data-text.data-v-4e606fe0 {
color: #999;
font-size: 28rpx;
font-weight: bold;

View File

@@ -21,10 +21,10 @@
.title.data-v-38749331 {
position: absolute;
top: 120rpx;
left: 315rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
font-weight: bold;
}
.ReturnImg.data-v-38749331 {
width: 100%;

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}}" 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

@@ -104,7 +104,7 @@ to {
margin: 40rpx;
}
.time.data-v-96d38e2b {
width: 70%;
width: 90%;
margin-left: 5%;
margin-top: 50rpx;
}
@@ -171,10 +171,10 @@ to {
margin-top: 50rpx;
}
.Coins.data-v-96d38e2b {
width: 330rpx;
width: 400rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
margin-right: 10rpx;
/* flex-direction: column; */
}
.country.data-v-96d38e2b {

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 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="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 File

@@ -37,8 +37,12 @@ const _sfc_main = {
//主播列表
selectedId: null,
//选择的主播
selectedIddata: null
selectedIddata: null,
//选择的主播数据
AnchorProfilePicture: "",
//选择的主播头像
senderId: ""
//发送者id
};
},
props: {
@@ -52,20 +56,14 @@ const _sfc_main = {
this.session = newQuestion.pkNumber;
this.remarks = newQuestion.remark;
this.datetimesingle = components_formatDate.formatDate(newQuestion.pkTime);
this.id = newQuestion.senderId;
this.id = newQuestion.id;
this.nameAnchor = newQuestion.anchorId;
this.countrys = newQuestion.country;
this.genders = newQuestion.sex === "1" ? 1 : 2;
this.AnchorProfilePicture = newQuestion.anchorIcon.split("/").pop();
this.senderId = newQuestion.senderId;
}
},
mounted() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.id = res.data.id;
}
});
},
methods: {
//关闭弹窗
close() {
@@ -109,7 +107,7 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:297", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:300", res.msg);
}
});
},
@@ -121,12 +119,12 @@ const _sfc_main = {
//性别
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:309", item);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:312", item);
},
//日期
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:314", item);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:317", item);
},
// //主播名称
// handleOverlayClick(event) {
@@ -139,20 +137,50 @@ const _sfc_main = {
if (this.Display) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
},
//获取主播名称
NameAnchor: function(event) {
this.nameAnchor = event.target.value;
//获取主播名称以及头像地址
blur(event) {
if (this.nameAnchor !== event.target.value) {
this.nameAnchor = event.target.value;
common_vendor.index.showLoading({
title: "正在验证主播",
mask: true
});
common_vendor.index.request({
url: "https://python.yolojt.com/api/" + this.nameAnchor,
success: (res) => {
if (res.data.code === 200) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "查询成功",
icon: "none",
duration: 3e3
});
this.AnchorProfilePicture = res.data.data;
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "未查询到该主播",
icon: "none",
duration: 3e3
});
}
},
fail: function(res) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "网络请求失败",
icon: "none",
duration: 3e3
});
}
});
} else {
return;
}
},
async Publish() {
if (this.nameAnchor == "" && this.nameAnchor == null || this.genders == 0 && this.genders == null || this.numberCoins == "" && this.numberCoins == null || this.datetimesingle == "" && this.datetimesingle == null || this.countrys == "" && his.countrys == null || this.datetimesingle == "" && this.datetimesingle == null || this.session == "" && this.session == null) {
@@ -183,22 +211,23 @@ const _sfc_main = {
return;
}
common_vendor.index.showLoading({
title: "发布中...",
title: "修改中...",
mask: true
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:420", this.senderId, this.sendingTime, this.nameAnchor, this.genders, this.numberCoins, this.remarks, this.id, this.AnchorProfilePicture, this.session);
const res = await components_request.request({
url: "pk/addPkData",
url: "pk/updatePkInfoById",
method: "POST",
data: {
id: this.id,
anchorId: this.nameAnchor,
pkTime: this.sendingTime,
sex: this.genders,
country: this.countrys,
coin: this.numberCoins,
remark: this.remarks,
status: 0,
senderId: this.id,
anchorIcon: "",
senderId: this.senderId,
anchorIcon: this.AnchorProfilePicture,
pkNumber: this.session
},
userInfo: true
@@ -213,15 +242,16 @@ const _sfc_main = {
this.datetimesingle = "";
this.session = "";
common_vendor.index.hideLoading();
this.$emit("Refresh");
common_vendor.index.showToast({
title: "发布成功",
title: "修改成功",
icon: "success",
duration: 2e3
});
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布失败",
title: "修改失败",
icon: "none",
duration: 2e3
});
@@ -250,14 +280,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: $data.Display
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...args)),
d: common_vendor.o$1((...args) => _ctx.blur && _ctx.blur(...args)),
c: common_vendor.o$1((...args) => _ctx.NameAnchor && _ctx.NameAnchor(...args)),
d: common_vendor.o$1((...args) => $options.blur && $options.blur(...args)),
e: $data.nameAnchor,
f: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
g: common_vendor.o$1((...args) => $options.chooseMyStreamer && $options.chooseMyStreamer(...args)),
h: common_vendor.o$1($options.country),
i: common_vendor.p({
i: common_vendor.o$1($options.blur),
j: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
@@ -267,64 +298,64 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
placeholder: "请选择国家",
value: $data.countrys
}),
j: $data.countrys === "" || $data.countrys === null && $data.Hint === true
k: $data.countrys === "" || $data.countrys === null && $data.Hint === true
}, $data.countrys === "" || $data.countrys === null && $data.Hint === true ? {} : {}, {
k: common_vendor.o$1($options.gender),
l: common_vendor.p({
l: common_vendor.o$1($options.gender),
m: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Gender,
placeholder: "性别",
value: $props.message.sex === "1" ? 1 : 2
value: $data.genders
}),
m: $data.genders === 0 || $props.message.sex === "0"
}, $data.genders === 0 || $props.message.sex === "0" ? {} : {}, {
n: $data.genders === 1 || $props.message.sex === "1"
}, $data.genders === 1 || $props.message.sex === "1" ? {} : {}, {
o: $data.genders === 2 || $props.message.sex === "2"
}, $data.genders === 2 || $props.message.sex === "2" ? {} : {}, {
p: $data.genders === 0 || $data.genders === null && $data.Hint === true
n: $data.genders === 0
}, $data.genders === 0 ? {} : {}, {
o: $data.genders === 1
}, $data.genders === 1 ? {} : {}, {
p: $data.genders === 2
}, $data.genders === 2 ? {} : {}, {
q: $data.genders === 0 || $data.genders === null && $data.Hint === true
}, $data.genders === 0 || $data.genders === null && $data.Hint === true ? {} : {}, {
q: common_vendor.o$1(($event) => $data.numberCoins = $event),
r: common_vendor.p({
r: common_vendor.o$1(($event) => $data.numberCoins = $event),
s: common_vendor.p({
max: 9999999999,
background: "#03ABA8",
modelValue: $data.numberCoins
}),
s: $data.numberCoins === "" || $data.numberCoins === null && $data.Hint === true
t: $data.numberCoins === "" || $data.numberCoins === null && $data.Hint === true
}, $data.numberCoins === "" || $data.numberCoins === null && $data.Hint === true ? {} : {}, {
t: common_vendor.o$1(($event) => $data.datetimesingle = $event),
v: common_vendor.p({
v: common_vendor.o$1(($event) => $data.datetimesingle = $event),
w: common_vendor.p({
type: "datetime",
["hide-second"]: "true",
modelValue: $data.datetimesingle
}),
w: $data.datetimesingle === "" || $data.datetimesingle === null && $data.Hint === true
x: $data.datetimesingle === "" || $data.datetimesingle === null && $data.Hint === true
}, $data.datetimesingle === "" || $data.datetimesingle === null && $data.Hint === true ? {} : {}, {
x: common_vendor.o$1(($event) => $data.session = $event),
y: common_vendor.p({
y: common_vendor.o$1(($event) => $data.session = $event),
z: common_vendor.p({
background: "#03ABA8",
modelValue: $data.session
}),
z: $data.session === "" || $data.session === null && $data.Hint === true
A: $data.session === "" || $data.session === null && $data.Hint === true
}, $data.session === "" || $data.session === null && $data.Hint === true ? {} : {}, {
A: common_vendor.o$1(($event) => $data.remarks = $event),
B: common_vendor.p({
B: common_vendor.o$1(($event) => $data.remarks = $event),
C: common_vendor.p({
type: "textarea",
placeholder: "备注",
modelValue: $data.remarks
}),
C: common_vendor.o$1(($event) => $options.Publish()),
D: common_vendor.o$1(() => {
D: common_vendor.o$1(($event) => $options.Publish()),
E: common_vendor.o$1(() => {
}),
E: common_vendor.n($data.Display ? "create-module" : "close-animation "),
F: common_vendor.o$1(($event) => $options.open())
F: common_vendor.n($data.Display ? "create-module" : "close-animation "),
G: common_vendor.o$1(($event) => $options.open())
}) : {}, {
G: $data.AnchorList.length !== 0
H: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
H: common_vendor.f($data.AnchorList, (item, index, i0) => {
I: common_vendor.f($data.AnchorList, (item, index, i0) => {
return {
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
@@ -335,12 +366,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
I: $data.AnchorList.length === 0
J: $data.AnchorList.length === 0
}, $data.AnchorList.length === 0 ? {} : {}, {
J: common_vendor.o$1(($event) => $options.invite()),
K: common_vendor.o$1(($event) => $options.close()),
L: common_vendor.sr("popup", "4e606fe0-6"),
M: common_vendor.p({
K: common_vendor.o$1(($event) => $options.invite()),
L: common_vendor.o$1(($event) => $options.close()),
M: common_vendor.sr("popup", "4e606fe0-6"),
N: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})