优化页面
This commit is contained in:
127
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
127
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -9,7 +9,9 @@ const _sfc_main = {
|
||||
return {
|
||||
userinfo: {},
|
||||
pkInformationdata: [],
|
||||
myPkRecorddata: []
|
||||
myPkRecorddata: [],
|
||||
SignStatus: null,
|
||||
AnchorList: []
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
@@ -17,13 +19,71 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:136", this.userinfo);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:208", this.userinfo);
|
||||
this.getpkInformation();
|
||||
this.getmyPkRecord();
|
||||
this.getSignStatus();
|
||||
this.getAnchorList();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 获取主播列表
|
||||
getAnchorList() {
|
||||
components_request.request({
|
||||
url: "anchor/list",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.userinfo.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
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);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取签到状态
|
||||
getSignStatus() {
|
||||
components_request.request({
|
||||
url: "user/checkSignStatus",
|
||||
method: "GET",
|
||||
data: {
|
||||
userId: 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);
|
||||
}
|
||||
});
|
||||
},
|
||||
//签到
|
||||
sign() {
|
||||
components_request.request({
|
||||
url: "user/signIn",
|
||||
method: "POST",
|
||||
data: {
|
||||
userId: this.userinfo.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
common_vendor.index.showToast({
|
||||
title: "签到成功",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
this.getSignStatus();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:269", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
formatDate: components_formatDate.formatDate,
|
||||
TimeFormatting: components_TimeFormatting.TimeFormatting,
|
||||
//获取pk信息
|
||||
@@ -40,9 +100,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:159", this.pkInformationdata);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:161", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:291", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -61,12 +121,17 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:180", this.myPkRecorddata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:182", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:311", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 跳转到主播库页面
|
||||
anchorLibrary() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/anchorLibrary"
|
||||
});
|
||||
},
|
||||
// 跳转到PK信息页面
|
||||
pkInformation() {
|
||||
common_vendor.index.navigateTo({
|
||||
@@ -122,11 +187,31 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.userinfo.headerIcon,
|
||||
b: common_vendor.t($data.userinfo.nickName),
|
||||
c: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
|
||||
d: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
|
||||
e: $data.pkInformationdata.length !== 0
|
||||
c: $data.SignStatus === true
|
||||
}, $data.SignStatus === true ? {
|
||||
d: common_vendor.o$1((...args) => $options.sign && $options.sign(...args))
|
||||
} : {}, {
|
||||
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
|
||||
}, $data.AnchorList.length !== 0 ? {
|
||||
i: common_vendor.f($data.AnchorList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.headerIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: common_vendor.t(item.country),
|
||||
d: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
j: $data.AnchorList.length === 0
|
||||
}, $data.AnchorList.length === 0 ? {} : {}, {
|
||||
k: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
|
||||
l: $data.pkInformationdata.length !== 0
|
||||
}, $data.pkInformationdata.length !== 0 ? {
|
||||
f: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
|
||||
m: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
|
||||
return {
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
@@ -135,16 +220,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
g: $data.pkInformationdata.length === 0
|
||||
n: $data.pkInformationdata.length === 0
|
||||
}, $data.pkInformationdata.length === 0 ? {} : {}, {
|
||||
h: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
|
||||
i: $data.myPkRecorddata.length !== 0
|
||||
o: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
|
||||
p: $data.myPkRecorddata.length !== 0
|
||||
}, $data.myPkRecorddata.length !== 0 ? {
|
||||
j: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
|
||||
q: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIconA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA
|
||||
}, item.winnerAnchorId !== item.anchorIdA ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
|
||||
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== ""
|
||||
}, item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== "" ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA,
|
||||
d: common_vendor.t(item.pkNumber),
|
||||
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
@@ -152,12 +237,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
k: $data.myPkRecorddata.length === 0
|
||||
r: $data.myPkRecorddata.length === 0
|
||||
}, $data.myPkRecorddata.length === 0 ? {} : {}, {
|
||||
l: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
|
||||
m: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
|
||||
n: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
|
||||
o: common_vendor.p({
|
||||
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({
|
||||
tabIndex: 4
|
||||
})
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -38,14 +38,25 @@
|
||||
height: 100%;
|
||||
}
|
||||
.name.data-v-402ad917 {
|
||||
width: 400rpx;
|
||||
width: 280rpx;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: 500;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.Sign.data-v-402ad917 {
|
||||
width: 100rpx;
|
||||
height: 50rpx;
|
||||
background-color: #91e3e4;
|
||||
border-radius: 20rpx;
|
||||
font-size: 20rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.content.data-v-402ad917 {
|
||||
position: absolute;
|
||||
top: 294.5rpx;
|
||||
@@ -56,6 +67,16 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.scroll.data-v-402ad917 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.PKInformation.data-v-402ad917 {
|
||||
margin-top: 48.5rpx;
|
||||
}
|
||||
@@ -81,13 +102,18 @@
|
||||
border-radius: 7.16rpx 0rpx 7.16rpx 7.16rpx;
|
||||
background-color: #91e3e48b;
|
||||
}
|
||||
.AnchorMore.data-v-402ad917 {
|
||||
margin-left: 390rpx;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.titleMore.data-v-402ad917 {
|
||||
margin-left: 400rpx;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.myPkRecordMore.data-v-402ad917 {
|
||||
margin-left:330rpx;
|
||||
margin-left: 330rpx;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
}
|
||||
@@ -173,17 +199,17 @@
|
||||
color: #333333;
|
||||
font-weight: 400;
|
||||
}
|
||||
.copyright.data-v-402ad917{
|
||||
.copyright.data-v-402ad917 {
|
||||
font-size: 23rpx;
|
||||
color: #929292;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 250rpx;
|
||||
position: absolute;
|
||||
bottom: 0rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50rpx;
|
||||
}
|
||||
.no-content.data-v-402ad917{
|
||||
.no-content.data-v-402ad917 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
||||
@@ -7,27 +7,29 @@ const _sfc_main = {
|
||||
return {
|
||||
title: "Hello",
|
||||
item: {},
|
||||
coinNumlist: [{
|
||||
winnerAnchorId: 1,
|
||||
anchorIdA: 1,
|
||||
anchorIdB: 2,
|
||||
anchorCoinA: 2,
|
||||
anchorCoinB: 3
|
||||
}]
|
||||
coinNumlist: [],
|
||||
triggered: false
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on("itemDetail", (data) => {
|
||||
this.item = data.item;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:114", "接收到的数据:", this.item);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:112", "接收到的数据:", this.item);
|
||||
this.getCoinNum(this.item);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 下拉刷新
|
||||
onRefresherRefresh() {
|
||||
this.triggered = true;
|
||||
this.coinNumlist = [];
|
||||
this.getCoinNum(this.item);
|
||||
},
|
||||
// 获取具体金币数量
|
||||
getCoinNum(item) {
|
||||
components_request.request({
|
||||
url: "user/pkRecordDetail",
|
||||
url: "pk/fetchDetailPkDataWithId",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: item.id
|
||||
@@ -36,8 +38,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.coinNumlist = res.data;
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:132", "获取金币数量失败");
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:137", "获取金币数量失败");
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -78,7 +81,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: index,
|
||||
f: "414631de-0-" + i0
|
||||
};
|
||||
})
|
||||
}),
|
||||
m: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
n: $data.triggered
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-414631de"]]);
|
||||
|
||||
@@ -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"><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 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>
|
||||
209
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.js
vendored
Normal file
209
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.js
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const components_NationalDictionary = require("../../../../components/NationalDictionary.js");
|
||||
const components_request = require("../../../../components/request.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
genders: 0,
|
||||
//性别
|
||||
Gender: [
|
||||
{ label: "男", value: 1 },
|
||||
{ label: "女", value: 2 }
|
||||
],
|
||||
Country: components_NationalDictionary.optionsArray,
|
||||
countrys: "",
|
||||
//国家
|
||||
nameAnchor: "",
|
||||
//主播名称
|
||||
Display: false,
|
||||
Hint: false,
|
||||
id: null,
|
||||
//用户id
|
||||
sendingTime: "",
|
||||
//发送时间
|
||||
filterable: true,
|
||||
//是否可搜索
|
||||
AnchorProfilePicture: ""
|
||||
//主播头像
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.id = res.data.id;
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/addStreamer/addStreamer.vue:133", item);
|
||||
},
|
||||
//国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/addStreamer/addStreamer.vue:138", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
}
|
||||
},
|
||||
open() {
|
||||
if (this.Display) {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = 0;
|
||||
this.countrys = "";
|
||||
} else {
|
||||
this.Display = true;
|
||||
}
|
||||
},
|
||||
//获取主播名称以及头像地址
|
||||
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.genders === 0 || this.countrys === "" || this.AnchorProfilePicture === "") {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
common_vendor.index.showLoading({
|
||||
title: "添加中...",
|
||||
mask: true
|
||||
});
|
||||
await components_request.request({
|
||||
url: "anchor/add",
|
||||
method: "POST",
|
||||
data: {
|
||||
anchorId: this.nameAnchor,
|
||||
headerIcon: this.AnchorProfilePicture,
|
||||
gender: this.genders,
|
||||
country: this.countrys,
|
||||
createUserId: this.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = 0;
|
||||
this.AnchorProfilePicture = "";
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "添加成功",
|
||||
icon: "success",
|
||||
duration: 2e3
|
||||
});
|
||||
this.$emit("Refresh");
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "添加失败" + res.msg,
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
|
||||
_easycom_wht_select2();
|
||||
}
|
||||
const _easycom_wht_select = () => "../../../../uni_modules/wht-select/components/wht-select/wht-select.js";
|
||||
if (!Math) {
|
||||
_easycom_wht_select();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.Display
|
||||
}, $data.Display ? common_vendor.e({
|
||||
b: common_vendor.o$1(($event) => $options.open()),
|
||||
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 === "" && $data.Hint === true
|
||||
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
|
||||
f: common_vendor.o$1($options.country),
|
||||
g: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
borderColor: "#ffffff",
|
||||
options: $data.Country,
|
||||
filterable: $data.filterable,
|
||||
placeholder: "请选择国家"
|
||||
}),
|
||||
h: $data.countrys === "" && $data.Hint === true
|
||||
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
|
||||
i: common_vendor.o$1($options.gender),
|
||||
j: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
borderColor: "#ffffff",
|
||||
options: $data.Gender,
|
||||
placeholder: "性别"
|
||||
}),
|
||||
k: $data.genders === 0
|
||||
}, $data.genders === 0 ? {} : {}, {
|
||||
l: $data.genders === 1
|
||||
}, $data.genders === 1 ? {} : {}, {
|
||||
m: $data.genders === 2
|
||||
}, $data.genders === 2 ? {} : {}, {
|
||||
n: $data.genders === 0 && $data.Hint === true
|
||||
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
|
||||
o: common_vendor.o$1(($event) => $options.Publish()),
|
||||
p: common_vendor.o$1(() => {
|
||||
}),
|
||||
q: common_vendor.n($data.Display ? "create-module" : "close-animation "),
|
||||
r: common_vendor.o$1(($event) => $options.open())
|
||||
}) : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a0301f10"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-a0301f10', q, 'Mask']}}" bindtap="{{r}}"><view catchtap="{{p}}" class="containers data-v-a0301f10"><view class="container data-v-a0301f10"><image class="Fork data-v-a0301f10" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-a0301f10"><view class="Star data-v-a0301f10"></view><view class="Title data-v-a0301f10">添加我的主播</view><view class="Star data-v-a0301f10"></view></view><view class="NameAnchor data-v-a0301f10"><input class="NameAnchorcss data-v-a0301f10" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-a0301f10">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-a0301f10"><view class="Coins country data-v-a0301f10"><wht-select wx:if="{{g}}" class="data-v-a0301f10" style="width:350rpx" bindchange="{{f}}" u-i="a0301f10-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-a0301f10">请选择国家</view></view><view class="Gender data-v-a0301f10"><view class="Gendercs data-v-a0301f10"><view class="Gendercss data-v-a0301f10"><wht-select wx:if="{{j}}" class="data-v-a0301f10" style="width:300rpx" bindchange="{{i}}" u-i="a0301f10-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-a0301f10"><image wx:if="{{k}}" class="Gendericon data-v-a0301f10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-a0301f10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-a0301f10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-a0301f10">请选择性别</view></view></view><view class="Publish data-v-a0301f10"><button bindtap="{{o}}" class="Publishcss data-v-a0301f10">添加主播</button></view></view></view></view>
|
||||
201
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.wxss
vendored
Normal file
201
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/addStreamer/addStreamer.wxss
vendored
Normal file
@@ -0,0 +1,201 @@
|
||||
|
||||
/* 定义动画 */
|
||||
/* 原始进入动画 */
|
||||
@keyframes slide-in-a0301f10 {
|
||||
from {
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* 进入动画类 */
|
||||
.create-module.data-v-a0301f10 {
|
||||
animation: slide-in-a0301f10 0.3s ease-in-out;
|
||||
}
|
||||
.Mask.data-v-a0301f10 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #00000076;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
.Hint.data-v-a0301f10 {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Hintcss.data-v-a0301f10 {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.containers.data-v-a0301f10 {
|
||||
background-color: #ffffff;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.container.data-v-a0301f10 {
|
||||
display: flex;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
|
||||
background-size: 100% 100%;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 1000rpx;
|
||||
border-radius: 50rpx;
|
||||
box-shadow: 0 0 10rpx #ccc;
|
||||
}
|
||||
.Fork.data-v-a0301f10 {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-top: 20rpx;
|
||||
/* margin-bottom: 40rpx; */
|
||||
margin-left: 90%;
|
||||
}
|
||||
.Titlecss.data-v-a0301f10 {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Star.data-v-a0301f10 {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.Title.data-v-a0301f10 {
|
||||
width: 430rpx;
|
||||
height: 70rpx;
|
||||
/* background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png); */
|
||||
background-size: 100% 200%;
|
||||
background-position: 0 100%;
|
||||
margin-left: 26rpx;
|
||||
margin-right: 26rpx;
|
||||
font-size:50rpx;
|
||||
line-height: 70rpx;
|
||||
background: linear-gradient(135deg, #019fa1, #9ddbdc);
|
||||
-webkit-background-clip: text; /* 兼容 WebKit 内核 */
|
||||
background-clip: text;
|
||||
color: transparent; /* 隐藏原文字颜色 */
|
||||
-webkit-text-fill-color: transparent; /* Safari 兼容 */
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
}
|
||||
.Individual.data-v-a0301f10 {
|
||||
display: flex;
|
||||
/* justify-content: center; */
|
||||
}
|
||||
.NameAnchor.data-v-a0301f10 {
|
||||
width: 90%;
|
||||
margin: 40rpx;
|
||||
}
|
||||
.time.data-v-a0301f10 {
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.NameAnchorcss.data-v-a0301f10 {
|
||||
width: 99%;
|
||||
height: 85rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #bfbfbf;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.Gender.data-v-a0301f10 {
|
||||
width: 310rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.Gendercs.data-v-a0301f10 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* align-items: center; */
|
||||
}
|
||||
.Gendercss.data-v-a0301f10 {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
.Gendericoncss.data-v-a0301f10 {
|
||||
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-a0301f10 {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
margin-right: 40rpx; */
|
||||
}
|
||||
.Accountnumber.data-v-a0301f10 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.Coins.data-v-a0301f10 {
|
||||
width: 330rpx;
|
||||
height: 65rpx;
|
||||
/* display: flex; */
|
||||
margin-right: 50rpx;
|
||||
/* flex-direction: column; */
|
||||
}
|
||||
.country.data-v-a0301f10 {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.goldCoin.data-v-a0301f10 {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.number-box.data-v-a0301f10 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
.number-box-title.data-v-a0301f10 {
|
||||
color: #191919;
|
||||
font-size: 30rpx;
|
||||
margin-right: 22rpx;
|
||||
margin-left: 17rpx;
|
||||
}
|
||||
.number-box-unit.data-v-a0301f10 {
|
||||
color: #03aba8;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
border-radius: 50%;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
/* color: #003cff5a; */
|
||||
}
|
||||
.Publish.data-v-a0301f10 {
|
||||
margin-top: 300rpx;
|
||||
margin-bottom: 40rpx;
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
}
|
||||
.Publishcss.data-v-a0301f10 {
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
/* color: #33ff00; */
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
136
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.js
vendored
Normal file
136
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.js
vendored
Normal file
@@ -0,0 +1,136 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const components_request = require("../../../components/request.js");
|
||||
const anchorLibrary = () => "./addStreamer/addStreamer.js";
|
||||
const modifyStreamer = () => "./modifyStreamer/modifyStreamer.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
userinfo: {},
|
||||
AnchorList: [],
|
||||
triggered: false,
|
||||
modifyStreamerMessage: {}
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:109", this.userinfo);
|
||||
this.getAnchorList();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 重新编辑主播信息
|
||||
onRecompose(item) {
|
||||
this.modifyStreamerMessage = item;
|
||||
this.$refs.modifyStreamer.open();
|
||||
},
|
||||
// 删除主播信息
|
||||
onExpurgate(item) {
|
||||
components_request.request({
|
||||
url: "anchor/deleteMyAnchor",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: item.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
this.triggered = false;
|
||||
if (res.code == 200) {
|
||||
common_vendor.index.showToast({
|
||||
title: "删除成功",
|
||||
icon: "success",
|
||||
duration: 2e3
|
||||
});
|
||||
this.getAnchorList();
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "success",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//获取主播列表
|
||||
getAnchorList() {
|
||||
components_request.request({
|
||||
url: "anchor/list",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.userinfo.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
this.triggered = false;
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:161", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
//打开弹窗,添加主播
|
||||
openPopupQuantity() {
|
||||
this.$refs.createModule.open();
|
||||
},
|
||||
// 下拉刷新
|
||||
onRefresherRefresh() {
|
||||
this.triggered = true;
|
||||
this.getAnchorList();
|
||||
},
|
||||
// 返回上一页
|
||||
onBack() {
|
||||
common_vendor.wx$1.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
},
|
||||
components: {
|
||||
anchorLibrary,
|
||||
modifyStreamer
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
||||
const _component_anchorLibrary = common_vendor.resolveComponent("anchorLibrary");
|
||||
const _component_modifyStreamer = common_vendor.resolveComponent("modifyStreamer");
|
||||
(_component_uni_card + _component_anchorLibrary + _component_modifyStreamer)();
|
||||
}
|
||||
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.AnchorList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.headerIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: item.gender === 2
|
||||
}, item.gender === 2 ? {} : {}, {
|
||||
d: common_vendor.t(item.gender === 1 ? "男" : "女"),
|
||||
e: item.gender === 1 ? 1 : "",
|
||||
f: item.gender === 2 ? 1 : "",
|
||||
g: common_vendor.t(item.country),
|
||||
h: common_vendor.o$1(($event) => $options.onRecompose(item), index),
|
||||
i: common_vendor.o$1(($event) => $options.onExpurgate(item), index),
|
||||
j: index,
|
||||
k: "daea6b33-0-" + i0
|
||||
});
|
||||
}),
|
||||
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
d: $data.triggered,
|
||||
e: common_vendor.o$1(($event) => $options.openPopupQuantity()),
|
||||
f: common_vendor.sr("createModule", "daea6b33-1"),
|
||||
g: common_vendor.o$1($options.getAnchorList),
|
||||
h: common_vendor.sr("modifyStreamer", "daea6b33-2"),
|
||||
i: common_vendor.o$1($options.getAnchorList),
|
||||
j: common_vendor.p({
|
||||
message: $data.modifyStreamerMessage
|
||||
})
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-daea6b33"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/anchorLibrary.js.map
|
||||
7
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.json
vendored
Normal file
7
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "主播库",
|
||||
"usingComponents": {
|
||||
"anchor-library": "./addStreamer/addStreamer",
|
||||
"modify-streamer": "./modifyStreamer/modifyStreamer"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.wxml
vendored
Normal file
@@ -0,0 +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>
|
||||
171
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.wxss
vendored
Normal file
171
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/anchorLibrary.wxss
vendored
Normal file
@@ -0,0 +1,171 @@
|
||||
|
||||
.bg.data-v-daea6b33 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg.data-v-daea6b33 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Return.data-v-daea6b33 {
|
||||
position: absolute;
|
||||
top: 110rpx;
|
||||
left: 35rpx;
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
}
|
||||
.title.data-v-daea6b33 {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 315rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: 500;
|
||||
}
|
||||
.ReturnImg.data-v-daea6b33 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.scroll.data-v-daea6b33 {
|
||||
position: absolute;
|
||||
top: 200rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1300rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.card.data-v-daea6b33 {
|
||||
width: 695rpx;
|
||||
height: 161rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.Profile.data-v-daea6b33 {
|
||||
width: 89rpx;
|
||||
height: 89rpx;
|
||||
border-radius: 50rpx;
|
||||
background-color: #cccccc;
|
||||
margin-left: 27.5rpx;
|
||||
}
|
||||
.Gendermale.data-v-daea6b33 {
|
||||
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-daea6b33 {
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png)
|
||||
no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.Individual.data-v-daea6b33 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 37rpx;
|
||||
}
|
||||
.Name.data-v-daea6b33 {
|
||||
width: 288.17rpx;
|
||||
font-size: 30.53rpx;
|
||||
color: #161616;
|
||||
font-weight: 500;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.time.data-v-daea6b33 {
|
||||
margin-top: 13rpx;
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
}
|
||||
.state.data-v-daea6b33 {
|
||||
width: 56.3rpx;
|
||||
height: 30rpx;
|
||||
background: #f6f6f6;
|
||||
border-radius: 14rpx;
|
||||
line-height: 30rpx;
|
||||
font-size: 17rpx;
|
||||
color: #666666;
|
||||
padding: 0 15rpx;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
text-align: center;
|
||||
}
|
||||
.Label.data-v-daea6b33 {
|
||||
margin-top: 15rpx;
|
||||
display: flex;
|
||||
}
|
||||
.age.data-v-daea6b33 {
|
||||
font-size: 17rpx;
|
||||
color: #ffffff;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.Genderimg.data-v-daea6b33 {
|
||||
width: 14.22rpx;
|
||||
height: 14.22rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.species.data-v-daea6b33 {
|
||||
display: flex;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.species-text.data-v-daea6b33 {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
}
|
||||
.species-num.data-v-daea6b33 {
|
||||
font-size: 23rpx;
|
||||
color: #161616;
|
||||
font-weight: bold;
|
||||
}
|
||||
.handle.data-v-daea6b33 {
|
||||
display: flex;
|
||||
}
|
||||
.recompose.data-v-daea6b33 {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-left: 90rpx;
|
||||
}
|
||||
.expurgate.data-v-daea6b33 {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
.createModule.data-v-daea6b33 {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
.addition.data-v-daea6b33 {
|
||||
position: absolute;
|
||||
bottom: 200rpx;
|
||||
right: 100rpx;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
z-index: 998;
|
||||
border-radius: 50rpx;
|
||||
/* background-color: #ffffff; */
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/addAnchor.png)
|
||||
no-repeat center;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
229
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.js
vendored
Normal file
229
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.js
vendored
Normal file
@@ -0,0 +1,229 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const components_NationalDictionary = require("../../../../components/NationalDictionary.js");
|
||||
const components_request = require("../../../../components/request.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
genders: 0,
|
||||
//性别
|
||||
Gender: [
|
||||
{ label: "男", value: 1 },
|
||||
{ label: "女", value: 2 }
|
||||
],
|
||||
Country: components_NationalDictionary.optionsArray,
|
||||
countrys: "",
|
||||
//国家
|
||||
nameAnchor: "",
|
||||
//主播名称
|
||||
Display: false,
|
||||
Hint: false,
|
||||
id: null,
|
||||
//用户id
|
||||
filterable: true,
|
||||
//是否可搜索
|
||||
AnchorProfilePicture: "",
|
||||
//主播头像
|
||||
uid: null
|
||||
//用户id
|
||||
};
|
||||
},
|
||||
props: {
|
||||
message: {
|
||||
type: Object
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
message(newQuestion, oldQuestion) {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:131", newQuestion);
|
||||
this.id = newQuestion.id;
|
||||
this.nameAnchor = newQuestion.anchorId;
|
||||
this.genders = newQuestion.gender;
|
||||
this.AnchorProfilePicture = newQuestion.headerIcon.split("/").pop();
|
||||
this.countrys = newQuestion.country;
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.uid = res.data.id;
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:151", item);
|
||||
},
|
||||
//国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:156", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
}
|
||||
},
|
||||
open() {
|
||||
if (this.Display) {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = 0;
|
||||
this.countrys = "";
|
||||
} else {
|
||||
this.Display = true;
|
||||
}
|
||||
},
|
||||
//获取主播名称以及头像地址
|
||||
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.genders === 0 || this.countrys === "" || this.AnchorProfilePicture === "") {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
common_vendor.index.showLoading({
|
||||
title: "修改中...",
|
||||
mask: true
|
||||
});
|
||||
await components_request.request({
|
||||
url: "anchor/updateAnchorInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
anchorId: this.nameAnchor,
|
||||
headerIcon: this.AnchorProfilePicture,
|
||||
gender: this.genders,
|
||||
country: this.countrys,
|
||||
createUserId: this.uid
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = 0;
|
||||
this.AnchorProfilePicture = "";
|
||||
this.country = "";
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "修改成功",
|
||||
icon: "success",
|
||||
duration: 2e3
|
||||
});
|
||||
this.$emit("Refresh");
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "修改失败" + res.msg,
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
|
||||
_easycom_wht_select2();
|
||||
}
|
||||
const _easycom_wht_select = () => "../../../../uni_modules/wht-select/components/wht-select/wht-select.js";
|
||||
if (!Math) {
|
||||
_easycom_wht_select();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.Display
|
||||
}, $data.Display ? common_vendor.e({
|
||||
b: common_vendor.o$1(($event) => $options.open()),
|
||||
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($options.country),
|
||||
h: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
borderColor: "#ffffff",
|
||||
options: $data.Country,
|
||||
filterable: $data.filterable,
|
||||
placeholder: "请选择国家",
|
||||
value: $data.countrys
|
||||
}),
|
||||
i: $data.countrys === "" && $data.Hint === true
|
||||
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
|
||||
j: common_vendor.o$1($options.gender),
|
||||
k: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
borderColor: "#ffffff",
|
||||
options: $data.Gender,
|
||||
placeholder: "性别",
|
||||
value: $data.genders
|
||||
}),
|
||||
l: $data.genders === 0
|
||||
}, $data.genders === 0 ? {} : {}, {
|
||||
m: $data.genders === 1
|
||||
}, $data.genders === 1 ? {} : {}, {
|
||||
n: $data.genders === 2
|
||||
}, $data.genders === 2 ? {} : {}, {
|
||||
o: $data.genders === 0 && $data.Hint === true
|
||||
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
|
||||
p: common_vendor.o$1(($event) => $options.Publish()),
|
||||
q: common_vendor.o$1(() => {
|
||||
}),
|
||||
r: common_vendor.n($data.Display ? "create-module" : "close-animation "),
|
||||
s: common_vendor.o$1(($event) => $options.open())
|
||||
}) : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ad97bf06"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-ad97bf06', r, 'Mask']}}" bindtap="{{s}}"><view catchtap="{{q}}" class="containers data-v-ad97bf06"><view class="container data-v-ad97bf06"><image class="Fork data-v-ad97bf06" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-ad97bf06"><view class="Star data-v-ad97bf06"></view><view class="Title data-v-ad97bf06">修改我的主播</view><view class="Star data-v-ad97bf06"></view></view><view class="NameAnchor data-v-ad97bf06"><input class="NameAnchorcss data-v-ad97bf06" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-ad97bf06">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-ad97bf06"><view class="Coins country data-v-ad97bf06"><wht-select wx:if="{{h}}" class="data-v-ad97bf06" style="width:350rpx" bindchange="{{g}}" u-i="ad97bf06-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" class="Hint data-v-ad97bf06">请选择国家</view></view><view class="Gender data-v-ad97bf06"><view class="Gendercs data-v-ad97bf06"><view class="Gendercss data-v-ad97bf06"><wht-select wx:if="{{k}}" class="data-v-ad97bf06" style="width:300rpx" bindchange="{{j}}" u-i="ad97bf06-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-ad97bf06"><image wx:if="{{l}}" class="Gendericon data-v-ad97bf06" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-ad97bf06" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-ad97bf06" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{o}}" class="Hintcss data-v-ad97bf06">请选择性别</view></view></view><view class="Publish data-v-ad97bf06"><button bindtap="{{p}}" class="Publishcss data-v-ad97bf06">修改主播信息</button></view></view></view></view>
|
||||
200
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.wxss
vendored
Normal file
200
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/modifyStreamer/modifyStreamer.wxss
vendored
Normal file
@@ -0,0 +1,200 @@
|
||||
|
||||
/* 定义动画 */
|
||||
/* 原始进入动画 */
|
||||
@keyframes slide-in-ad97bf06 {
|
||||
from {
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 进入动画类 */
|
||||
.create-module.data-v-ad97bf06 {
|
||||
animation: slide-in-ad97bf06 0.3s ease-in-out;
|
||||
}
|
||||
.Mask.data-v-ad97bf06 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #00000076;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
.Hint.data-v-ad97bf06 {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Hintcss.data-v-ad97bf06 {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.containers.data-v-ad97bf06 {
|
||||
background-color: #ffffff;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.container.data-v-ad97bf06 {
|
||||
display: flex;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
|
||||
background-size: 100% 100%;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 1000rpx;
|
||||
border-radius: 50rpx;
|
||||
box-shadow: 0 0 10rpx #ccc;
|
||||
}
|
||||
.Fork.data-v-ad97bf06 {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-top: 20rpx;
|
||||
/* margin-bottom: 40rpx; */
|
||||
margin-left: 90%;
|
||||
}
|
||||
.Titlecss.data-v-ad97bf06 {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Star.data-v-ad97bf06 {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.Title.data-v-ad97bf06 {
|
||||
width: 430rpx;
|
||||
height: 70rpx;
|
||||
/* background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png); */
|
||||
background-size: 100% 200%;
|
||||
background-position: 0 100%;
|
||||
margin-left: 26rpx;
|
||||
margin-right: 26rpx;
|
||||
font-size: 50rpx;
|
||||
line-height: 70rpx;
|
||||
background: linear-gradient(135deg, #019fa1, #9ddbdc);
|
||||
-webkit-background-clip: text; /* 兼容 WebKit 内核 */
|
||||
background-clip: text;
|
||||
color: transparent; /* 隐藏原文字颜色 */
|
||||
-webkit-text-fill-color: transparent; /* Safari 兼容 */
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
}
|
||||
.Individual.data-v-ad97bf06 {
|
||||
display: flex;
|
||||
/* justify-content: center; */
|
||||
}
|
||||
.NameAnchor.data-v-ad97bf06 {
|
||||
width: 90%;
|
||||
margin: 40rpx;
|
||||
}
|
||||
.time.data-v-ad97bf06 {
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.NameAnchorcss.data-v-ad97bf06 {
|
||||
width: 99%;
|
||||
height: 85rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #bfbfbf;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.Gender.data-v-ad97bf06 {
|
||||
width: 310rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.Gendercs.data-v-ad97bf06 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* align-items: center; */
|
||||
}
|
||||
.Gendercss.data-v-ad97bf06 {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
.Gendericoncss.data-v-ad97bf06 {
|
||||
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-ad97bf06 {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
margin-right: 40rpx; */
|
||||
}
|
||||
.Accountnumber.data-v-ad97bf06 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.Coins.data-v-ad97bf06 {
|
||||
width: 330rpx;
|
||||
height: 65rpx;
|
||||
/* display: flex; */
|
||||
margin-right: 50rpx;
|
||||
/* flex-direction: column; */
|
||||
}
|
||||
.country.data-v-ad97bf06 {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.goldCoin.data-v-ad97bf06 {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.number-box.data-v-ad97bf06 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
.number-box-title.data-v-ad97bf06 {
|
||||
color: #191919;
|
||||
font-size: 30rpx;
|
||||
margin-right: 22rpx;
|
||||
margin-left: 17rpx;
|
||||
}
|
||||
.number-box-unit.data-v-ad97bf06 {
|
||||
color: #03aba8;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
border-radius: 50%;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
/* color: #003cff5a; */
|
||||
}
|
||||
.Publish.data-v-ad97bf06 {
|
||||
margin-top: 300rpx;
|
||||
margin-bottom: 40rpx;
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
}
|
||||
.Publishcss.data-v-ad97bf06 {
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
/* color: #33ff00; */
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
@@ -28,22 +28,27 @@ const _sfc_main = {
|
||||
this.createModule = this.$refs.createModule;
|
||||
},
|
||||
methods: {
|
||||
// 刷新
|
||||
onRefresherRefresh() {
|
||||
this.page = 0;
|
||||
this.pkList = [];
|
||||
this.getpkList();
|
||||
this.triggered = true;
|
||||
},
|
||||
// 下拉加载
|
||||
onScrollToLower() {
|
||||
this.page++;
|
||||
this.getpkList();
|
||||
},
|
||||
// 返回
|
||||
onBack() {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
//时间格式化
|
||||
formatDate: components_formatDate.formatDate,
|
||||
// 获取pk列表
|
||||
getpkList() {
|
||||
components_request.request({
|
||||
url: "user/queryMyAllPkData",
|
||||
@@ -57,17 +62,19 @@ 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:149", this.pkList);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:154", this.pkList);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:152", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:157", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 打开修改窗口
|
||||
onRecompose(item) {
|
||||
this.parentMessage = item;
|
||||
this.createModule.open();
|
||||
},
|
||||
// 删除pk
|
||||
onExpurgate(item) {
|
||||
components_request.request({
|
||||
url: "pk/deletePkDataWithId",
|
||||
@@ -85,7 +92,7 @@ const _sfc_main = {
|
||||
duration: 2e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:177", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:184", res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 11.5rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.Profile.data-v-36b7ee78 {
|
||||
width: 89rpx;
|
||||
|
||||
@@ -47,8 +47,14 @@ const _sfc_main = {
|
||||
},
|
||||
methods: {
|
||||
onRefresherRefresh() {
|
||||
this.pkRecordlist = [];
|
||||
this.triggered = true;
|
||||
this.page = 0;
|
||||
if (this.current === 1) {
|
||||
this.pkmyRecordlist = [];
|
||||
} else {
|
||||
this.pkInvitationRecordlist = [];
|
||||
}
|
||||
this.getPkRecordList(this.current);
|
||||
},
|
||||
onScrollToLower() {
|
||||
@@ -90,19 +96,19 @@ 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:173", this.pkRecordlist);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkRecordlist);
|
||||
if (this.current === 1) {
|
||||
this.pkRecordlist = this.pkmyRecordlist;
|
||||
}
|
||||
} else {
|
||||
this.pkInvitationRecordlist.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkInvitationRecordlist);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", this.pkInvitationRecordlist);
|
||||
if (this.current === 2) {
|
||||
this.pkRecordlist = this.pkInvitationRecordlist;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:191", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-left: 28.55rpx;
|
||||
margin-top: 12rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.AnchorA.data-v-6fa696de {
|
||||
display: flex;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select",
|
||||
"uni-number-box": "../../../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box",
|
||||
"uni-datetime-picker": "../../../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
|
||||
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput"
|
||||
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
|
||||
"uni-popup": "../../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" 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="NameAnchor data-v-4e606fe0"><input class="NameAnchorcss data-v-4e606fe0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" value="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-4e606fe0">请填写主播名称</view></view><view class="Accountnumber data-v-4e606fe0"><view class="Coins country data-v-4e606fe0"><wht-select wx:if="{{g}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{f}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" 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="{{j}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{i}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{k}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" 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="{{p}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></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="{{q}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{s}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" 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="{{w}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{x}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{z}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{A}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view>
|
||||
<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>
|
||||
@@ -103,6 +103,10 @@ to {
|
||||
width: 90%;
|
||||
margin: 40rpx;
|
||||
}
|
||||
.AnchorSelection.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.time.data-v-4e606fe0 {
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
@@ -116,6 +120,18 @@ to {
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.AnchorSelectioncss.data-v-4e606fe0 {
|
||||
width: 30%;
|
||||
height: 60rpx;
|
||||
margin: 40rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-size: 18rpx;
|
||||
text-align: center;
|
||||
line-height: 60rpx;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.Gender.data-v-4e606fe0 {
|
||||
width: 310rpx;
|
||||
display: flex;
|
||||
@@ -212,3 +228,123 @@ to {
|
||||
font-weight: bold;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.popup-container.data-v-4e606fe0{
|
||||
width: 600rpx;
|
||||
height: 800rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
border-radius: 10px;
|
||||
background-repeat: no-repeat;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.popup-title.data-v-4e606fe0{
|
||||
color: #161616;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.scroll.data-v-4e606fe0{
|
||||
width: 90%;
|
||||
height: 500rpx;
|
||||
}
|
||||
.card.data-v-4e606fe0{
|
||||
margin-top: 15rpx;
|
||||
}
|
||||
.card-content.data-v-4e606fe0 {
|
||||
/* width: 445rpx; */
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
/* border: 2px solid #afafaf; */
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: rgb(127, 127, 127);
|
||||
}
|
||||
.Avatarimg.data-v-4e606fe0 {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #dddddd;
|
||||
margin-right: 20rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.avatar.data-v-4e606fe0 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.NameMoney.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.TimeMoney.data-v-4e606fe0 {
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
}
|
||||
.NameMoney_Name.data-v-4e606fe0 {
|
||||
width: 400rpx;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.TimeMoney_country.data-v-4e606fe0{
|
||||
margin-top: 10rpx;
|
||||
width: 400rpx;
|
||||
text-align: left;
|
||||
font-size: 20rpx;
|
||||
color: #666;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.popup-btn.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.invite.data-v-4e606fe0 {
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
}
|
||||
.cancel.data-v-4e606fe0 {
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
margin-left: 30rpx;
|
||||
color: #03aba8;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
.no-data.data-v-4e606fe0{
|
||||
width: 90%;
|
||||
height: 500rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.no-data-text.data-v-4e606fe0{
|
||||
color: #999;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user