优化页面

This commit is contained in:
pengxiaolong
2025-06-19 22:27:00 +08:00
parent b73ddb0370
commit bcaa54bec8
115 changed files with 1273 additions and 353 deletions

View File

@@ -1 +1 @@
<view class="forum data-v-21360a99"><view class="bg data-v-21360a99"><image class="bgImg data-v-21360a99" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-21360a99">论坛</view></view><view class="tabBar data-v-21360a99"><tab-bar wx:if="{{a}}" class="data-v-21360a99" u-i="21360a99-0" bind:__l="__l" u-p="{{a}}"></tab-bar></view>
<view class="forum data-v-21360a99"><view class="bg data-v-21360a99"><image class="bgImg data-v-21360a99" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-21360a99">论坛</view></view><view class="content data-v-21360a99"><view class="building data-v-21360a99"><view class="data-v-21360a99"><image class="data-v-21360a99" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-21360a99">建设中~</view></view></view><view class="tabBar data-v-21360a99"><tab-bar wx:if="{{a}}" class="data-v-21360a99" u-i="21360a99-0" bind:__l="__l" u-p="{{a}}"></tab-bar></view>

View File

@@ -19,3 +19,26 @@
color: #100e0f;
font-weight: bold;
}
/* 建设中 */
.content.data-v-21360a99{
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
.building.data-v-21360a99{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.buildingTitle.data-v-21360a99{
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}

View File

@@ -94,6 +94,15 @@ const _sfc_main = {
closePopup() {
this.$refs.popup.close();
},
//格式化日期
dateformat(date) {
const isoString = date.replace(" ", "T");
const timestamp = Date.parse(isoString);
if (isNaN(timestamp)) {
throw new Error(`Invalid date format: ${this.datetimesingle}`);
}
return Math.floor(timestamp / 1e3);
},
//确认弹窗
confirm() {
this.ConfirmStatus = true;
@@ -163,11 +172,11 @@ const _sfc_main = {
}
if (this.mindatetimesingle !== "") {
condition.pkTime = {
start: this.mindatetimesingle
start: this.dateformat(this.mindatetimesingle)
};
}
if (this.maxdatetimesingle !== "") {
condition.pkTime.end = this.maxdatetimesingle;
condition.pkTime.end = this.dateformat(this.maxdatetimesingle);
}
if (this.countrys !== "") {
condition.country = this.countrys;
@@ -281,7 +290,7 @@ const _sfc_main = {
},
formatDate: components_formatDate.formatDate,
async pkList(condition) {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:485", condition);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:494", "`````````````````````````````", condition);
const res = await components_request.request({
url: "pk/pkList",
method: "POST",
@@ -295,7 +304,7 @@ const _sfc_main = {
userInfo: false
});
if (res.code === 200) {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:500", res.data);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:509", "````````````````````````````````", res.data);
this.triggered = false;
if (condition.type === 1) {
this.MakeAppointmentPKlist.push(...res.data);
@@ -307,6 +316,9 @@ const _sfc_main = {
if (condition.type == this.listtype) {
this.list = this.RealTimePklist;
}
if (condition.type == null) {
this.list = this.RealTimePklist;
}
}
}
}

View File

@@ -34,7 +34,7 @@ const _sfc_main = {
this.getSignStatus();
this.getAnchorList();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:254", res2.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:268", res2.msg);
}
});
}
@@ -55,7 +55,7 @@ const _sfc_main = {
this.userinfo = res.data;
common_vendor.index.setStorageSync("userinfo", res.data);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", res.msg);
}
});
},
@@ -72,7 +72,7 @@ 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:292", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:306", res.msg);
}
});
},
@@ -89,7 +89,7 @@ const _sfc_main = {
if (res.code == 200) {
this.SignStatus = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:310", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:323", res.msg);
}
});
},
@@ -112,7 +112,7 @@ const _sfc_main = {
this.getSignStatus();
this.getUserInfo();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:333", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:346", res.msg);
}
});
},
@@ -133,7 +133,7 @@ const _sfc_main = {
if (res.code == 200) {
this.pkInformationdata = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:367", res.msg);
}
});
},
@@ -153,7 +153,7 @@ const _sfc_main = {
if (res.code == 200) {
this.myPkRecorddata = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:374", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:387", res.msg);
}
});
},
@@ -212,11 +212,19 @@ const _sfc_main = {
},
// 退出登录
logout() {
this.$refs.popupExpurgate.open("center");
},
//确认退出登录
onExpurgateConfirm() {
common_vendor.index.clearStorage();
common_vendor.A.logout();
common_vendor.index.reLaunch({
url: "/pages/login/login"
});
},
// 关闭弹窗
closePopupExpurgate() {
this.$refs.popupExpurgate.close();
}
},
components: {
@@ -225,11 +233,13 @@ const _sfc_main = {
};
if (!Array) {
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
_easycom_tabBar2();
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_tabBar2 + _easycom_uni_popup2)();
}
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
_easycom_tabBar();
(_easycom_tabBar + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
@@ -297,6 +307,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
z: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
A: common_vendor.p({
tabIndex: 4
}),
B: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
C: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
D: common_vendor.sr("popupExpurgate", "402ad917-1"),
E: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
});
}

View File

@@ -1,6 +1,7 @@
{
"navigationBarTitleText": "我的",
"usingComponents": {
"tab-bar": "../../components/tabBar/tabBar"
"tab-bar": "../../components/tabBar/tabBar",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -239,3 +239,50 @@
font-size: 28.63rpx;
color: #333333;
}
.popup-container-expurgate.data-v-402ad917 {
width: 500rpx;
height: 300rpx;
background-color: #ffffff;
border-radius: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx;
}
.popup-title.data-v-402ad917 {
font-size: 40rpx;
color: #161616;
font-weight: bold;
margin-top: 30rpx;
text-align: center;
}
.popup-btn.data-v-402ad917 {
margin-top: 80rpx;
display: flex;
justify-content: center;
}
.uni-primary.data-v-402ad917 {
width: 200rpx;
height: 70rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
font-size: 25rpx;
color: #ffffff;
text-align: center;
line-height: 70rpx;
margin-right: 35rpx;
}
.uni-default.data-v-402ad917 {
width: 200rpx;
height: 70rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
background-image: linear-gradient(135deg, #cecece, #d6d6d6);
font-size: 25rpx;
color: #161616;
text-align: center;
line-height: 70rpx;
}

View File

@@ -68,7 +68,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:164", res.msg);
}
});
},
@@ -100,9 +100,11 @@ if (!Array) {
(_component_uni_card + _component_anchorLibrary + _component_modifyStreamer)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.AnchorList, (item, index, i0) => {
b: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
c: common_vendor.f($data.AnchorList, (item, index, i0) => {
return common_vendor.e({
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
@@ -118,17 +120,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
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({
d: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
e: $data.triggered
} : {}, {
f: common_vendor.o$1(($event) => $options.openPopupQuantity()),
g: common_vendor.sr("createModule", "daea6b33-1"),
h: common_vendor.o$1($options.getAnchorList),
i: common_vendor.sr("modifyStreamer", "daea6b33-2"),
j: common_vendor.o$1($options.getAnchorList),
k: 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);

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 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 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 wx:if="{{b}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-daea6b33" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{d}}" lower-threshold="100" refresher-triggered="{{e}}"><uni-card wx:for="{{c}}" 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 wx:else class="empty data-v-daea6b33">暂无内容</view></view><view class="addition data-v-daea6b33" bindtap="{{f}}"></view></view><anchor-library class="createModule r data-v-daea6b33" u-r="createModule" bindRefresh="{{h}}" u-i="daea6b33-1" bind:__l="__l"></anchor-library><modify-streamer wx:if="{{k}}" u-r="modifyStreamer" class="createModule r data-v-daea6b33" bindRefresh="{{j}}" u-i="daea6b33-2" bind:__l="__l" u-p="{{k}}"></modify-streamer>

View File

@@ -38,6 +38,18 @@
height: 1300rpx;
width: 100%;
}
.empty.data-v-daea6b33{
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
line-height: 1300rpx;
text-align: center;
font-size: 30rpx;
color: #a3a3a3;
}
.card.data-v-daea6b33 {
width: 695rpx;
height: 180rpx;

View File

@@ -1 +1 @@
<view class="contact data-v-2f1f017b"><view class="bg data-v-2f1f017b"><image class="bgImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-2f1f017b" bindtap="{{a}}"><image class="ReturnImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-2f1f017b">联系客服</view></view>
<view class="contact data-v-2f1f017b"><view class="bg data-v-2f1f017b"><image class="bgImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-2f1f017b" bindtap="{{a}}"><image class="ReturnImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-2f1f017b">联系客服</view><view class="content data-v-2f1f017b"><view class="building data-v-2f1f017b"><view class="data-v-2f1f017b"><image class="data-v-2f1f017b" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-2f1f017b">建设中~</view></view></view></view>

View File

@@ -30,3 +30,26 @@
width: 100%;
height: 100%;
}
/* 建设中 */
.content.data-v-2f1f017b{
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
.building.data-v-2f1f017b{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.buildingTitle.data-v-2f1f017b{
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}

View File

@@ -70,7 +70,7 @@ const _sfc_main = {
this.pkList.push(...res.data);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:214", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:217", res.msg);
}
});
},
@@ -95,11 +95,7 @@ const _sfc_main = {
this.topPinnedPersondata = {};
},
onTopConfirm() {
if (Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600) <= this.topPinnedPersondata.pkTime) {
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
} else {
this.Topdate = this.topPinnedPersondata.pkTime;
}
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
components_request.request({
url: "user/pinToTop",
method: "POST",
@@ -150,7 +146,7 @@ const _sfc_main = {
duration: 3e3
});
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:295", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:293", res.msg);
}
});
},
@@ -213,9 +209,11 @@ if (!Math) {
_easycom_uni_popup();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.pkList, (item, index, i0) => {
b: $data.pkList.length !== 0
}, $data.pkList.length !== 0 ? {
c: common_vendor.f($data.pkList, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
@@ -244,40 +242,43 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
r: "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.o$1($options.onRefresherRefresh),
h: common_vendor.p({
d: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
e: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
f: $data.triggered
} : {}, {
g: $data.pkList.length === 0
}, $data.pkList.length === 0 ? {} : {}, {
h: common_vendor.sr("createModule", "36b7ee78-1"),
i: common_vendor.o$1($options.onRefresherRefresh),
j: common_vendor.p({
message: $data.parentMessage
}),
i: common_vendor.t($data.pickerArray[$data.index]),
j: $data.pickerArray,
k: $data.index,
l: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
m: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
n: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
o: common_vendor.sr("popup", "36b7ee78-2"),
p: common_vendor.p({
k: common_vendor.t($data.pickerArray[$data.index]),
l: $data.pickerArray,
m: $data.index,
n: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
o: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
p: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
q: common_vendor.sr("popup", "36b7ee78-2"),
r: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
}),
q: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
r: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
s: common_vendor.sr("popupOut", "36b7ee78-3"),
t: common_vendor.p({
s: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
t: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
v: common_vendor.sr("popupOut", "36b7ee78-3"),
w: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
}),
v: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
w: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
x: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
y: common_vendor.p({
x: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
y: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
z: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
A: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
};
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36b7ee78"]]);
wx.createPage(MiniProgramPage);

File diff suppressed because one or more lines are too long

View File

@@ -38,6 +38,18 @@
height: 1300rpx;
width: 100%;
}
.no-data.data-v-36b7ee78{
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
line-height: 1300rpx;
text-align: center;
font-size: 30rpx;
color: #959595;
}
.card.data-v-36b7ee78 {
width: 695rpx;
height: 180rpx;
@@ -156,12 +168,13 @@
}
.popup-container.data-v-36b7ee78{
width: 500rpx;
height: 300rpx;
height: 500rpx;
background-color: #ffffff;
border-radius: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx;
}
.popup-container-out.data-v-36b7ee78{
width: 500rpx;
@@ -193,32 +206,33 @@
font-size: 25rpx;
color: #959595;
margin-top: 30rpx;
width: 400rpx;
}
.popup-picker.data-v-36b7ee78{
margin-top: 30rpx;
width: 400rpx;
height: 50rpx;
margin-top: 60rpx;
width: 450rpx;
height: 60rpx;
border: #5bced1 solid 1rpx;
border-radius: 15rpx;
}
.uni-input.data-v-36b7ee78{
font-size: 30rpx;
color: #ffffff;
width: 400rpx;
height: 50rpx;
width: 450rpx;
height: 60rpx;
text-align: center;
line-height: 50rpx;
line-height: 60rpx;
background-color: #5bced1;
border-radius: 15rpx;
}
.popup-btn.data-v-36b7ee78{
margin-top: 30rpx;
margin-top: 60rpx;
display: flex;
justify-content: center;
}
.uni-primary.data-v-36b7ee78{
width: 150rpx;
height: 50rpx;
width: 200rpx;
height: 60rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
@@ -226,12 +240,12 @@
font-size: 25rpx;
color: #ffffff;
text-align: center;
line-height: 50rpx;
margin-right: 20rpx;
line-height: 60rpx;
margin-right: 30rpx;
}
.uni-default.data-v-36b7ee78{
width: 150rpx;
height: 50rpx;
width: 200rpx;
height: 60rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
@@ -239,5 +253,5 @@
font-size: 25rpx;
color: #161616;
text-align: center;
line-height: 50rpx;
line-height: 60rpx;
}

View File

@@ -106,7 +106,7 @@ const _sfc_main = {
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:190", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:192", res.msg);
}
});
},
@@ -127,7 +127,7 @@ if (!Array) {
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.o$1(($event) => $options.toggleActive(1)),
c: $data.current === 1 ? 1 : "",
@@ -135,7 +135,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: $data.current === 2 ? 1 : "",
f: common_vendor.t($data.slidetext),
g: $options.sliderPosition + "rpx",
h: common_vendor.f($data.pkRecordlist, (item, index, i0) => {
h: $data.pkRecordlist.length !== 0
}, $data.pkRecordlist.length !== 0 ? {
i: common_vendor.f($data.pkRecordlist, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIconA,
b: item.winnerAnchorId == item.anchorIdA
@@ -160,10 +162,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
o: "6fa696de-0-" + i0
});
}),
i: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
j: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
k: $data.triggered
};
j: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
k: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
l: $data.triggered
} : {}, {
m: $data.pkRecordlist.length === 0
}, $data.pkRecordlist.length === 0 ? {} : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6fa696de"]]);
wx.createPage(MiniProgramPage);

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 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="n" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.m}}"><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 wx:if="{{item.e}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.f}}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.g}}</view><view class="AnchorATime data-v-6fa696de">{{item.h}}</view><view wx:if="{{item.i}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.j}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.k}}" mode="scaleToFill"/></view><image wx:if="{{item.l}}" 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 wx:if="{{h}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{j}}" lower-threshold="100" bindscrolltolower="{{k}}" refresher-triggered="{{l}}"><uni-card wx:for="{{i}}" wx:for-item="item" wx:key="n" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.m}}"><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 wx:if="{{item.e}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.f}}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.g}}</view><view class="AnchorATime data-v-6fa696de">{{item.h}}</view><view wx:if="{{item.i}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.j}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.k}}" mode="scaleToFill"/></view><image wx:if="{{item.l}}" 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 wx:if="{{m}}" class="nodata data-v-6fa696de">暂无内容</view></view></view>

View File

@@ -82,6 +82,14 @@
flex-direction: column;
align-items: center;
}
.nodata.data-v-6fa696de {
width: 100%;
height: 100%;
line-height: 1300rpx;
text-align: center;
font-size: 30rpx;
color: #a3a3a3;
}
/* 卡片 */
.card.data-v-6fa696de {
width: 694.66rpx;

View File

@@ -1 +1 @@
<view class="service-protocol data-v-38749331"><view class="bg data-v-38749331"><image class="bgImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-38749331" bindtap="{{a}}"><image class="ReturnImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-38749331">服务协议</view></view>
<view class="service-protocol data-v-38749331"><view class="bg data-v-38749331"><image class="bgImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-38749331" bindtap="{{a}}"><image class="ReturnImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-38749331">服务协议</view><view class="content data-v-38749331"><view class="building data-v-38749331"><view class="data-v-38749331"><image class="data-v-38749331" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-38749331">建设中~</view></view></view></view>

View File

@@ -30,3 +30,26 @@
width: 100%;
height: 100%;
}
/* 建设中 */
.content.data-v-38749331{
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
.building.data-v-38749331{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.buildingTitle.data-v-38749331{
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}

View File

@@ -64,6 +64,7 @@ const _sfc_main = {
this.ReceiverData = res.data;
});
},
//返回上一页
goBack() {
common_vendor.wx$1.navigateBack({
delta: 1

View File

@@ -84,7 +84,7 @@ const _sfc_main = {
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:108", err);
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:109", err);
});
}
}
@@ -94,8 +94,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: $data.userinfo,
b: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
c: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
d: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args)),
e: common_vendor.o$1((...args) => $options.cancel && $options.cancel(...args))
d: $data.name,
e: common_vendor.o$1(($event) => $data.name = $event.detail.value),
f: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args)),
g: common_vendor.o$1((...args) => $options.cancel && $options.cancel(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3c55a289"]]);

View File

@@ -1 +1 @@
<view class="container data-v-3c55a289"><button class="login-btn data-v-3c55a289" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-3c55a289" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-3c55a289" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-3c55a289" bindtap="{{d}}">修改</button><button class="weui-btn data-v-3c55a289" bindtap="{{e}}">取消</button></view>
<view class="container data-v-3c55a289"><button class="login-btn data-v-3c55a289" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-3c55a289" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-3c55a289" placeholder="请输入昵称" bindblur="{{c}}" value="{{d}}" bindinput="{{e}}"/><button class="weui-btn data-v-3c55a289" bindtap="{{f}}">修改</button><button class="weui-btn data-v-3c55a289" bindtap="{{g}}">取消</button></view>

View File

@@ -68,13 +68,6 @@ const _sfc_main = {
this.userlist();
},
invite() {
if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
common_vendor.index.showToast({
icon: "none",
title: "请保持时间一致"
});
return;
}
const conversationID = `C2C${this.item.senderId}`;
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
const youritem = JSON.stringify(this.item);
@@ -87,7 +80,7 @@ const _sfc_main = {
},
openChat() {
const conversationID = `C2C${this.item.senderId}`;
common_vendor.index.redirectTo({
common_vendor.index.navigateTo({
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}`
});
},