优化页面

This commit is contained in:
pengxiaolong
2025-06-18 16:01:55 +08:00
parent e464d99af5
commit ec9dcb486f
122 changed files with 349 additions and 251 deletions

View File

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

View File

@@ -18,7 +18,6 @@ const _sfc_main = {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:238", res.data);
components_request.request({
url: "user/getUserInfo",
method: "POST",
@@ -35,7 +34,7 @@ const _sfc_main = {
this.getSignStatus();
this.getAnchorList();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:255", res2.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:254", res2.msg);
}
});
}
@@ -56,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:276", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
}
});
},
@@ -73,13 +72,12 @@ 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:293", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:292", res.msg);
}
});
},
// 获取签到状态
getSignStatus() {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:299", "getSignStatus", this.userinfo.id);
components_request.request({
url: "user/checkSignStatus",
method: "GET",
@@ -91,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:312", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:310", res.msg);
}
});
},
@@ -114,7 +112,7 @@ const _sfc_main = {
this.getSignStatus();
this.getUserInfo();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:335", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:333", res.msg);
}
});
},
@@ -134,9 +132,8 @@ const _sfc_main = {
}).then((res) => {
if (res.code == 200) {
this.pkInformationdata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:355", this.pkInformationdata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:357", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
}
});
},
@@ -156,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:377", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:374", res.msg);
}
});
},

View File

@@ -15,7 +15,6 @@ const _sfc_main = {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:117", "接收到的数据:", this.item);
this.getCoinNum(this.item);
});
},
@@ -40,7 +39,7 @@ const _sfc_main = {
this.coinNumlist = res.data;
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:142", "获取金币数量失败");
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:141", "获取金币数量失败");
}
});
},

View File

@@ -40,12 +40,10 @@ const _sfc_main = {
//性别
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) {

View File

@@ -17,7 +17,6 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:110", this.userinfo);
this.getAnchorList();
}
});
@@ -69,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:162", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:161", res.msg);
}
});
},

View File

@@ -35,7 +35,6 @@ const _sfc_main = {
},
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;
@@ -55,12 +54,10 @@ const _sfc_main = {
//性别
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) {

View File

@@ -16,7 +16,9 @@ const _sfc_main = {
pickerArray: [],
index: 0,
topPinnedPersondata: {},
Topdate: 0
Topdate: 0,
popupOutdata: {},
popupExpurgatedata: {}
};
},
onLoad() {
@@ -24,7 +26,6 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:145", this.userinfo);
this.getpkList();
}
});
@@ -67,10 +68,9 @@ 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:188", this.pkList);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:191", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:214", res.msg);
}
});
},
@@ -100,7 +100,6 @@ const _sfc_main = {
} else {
this.Topdate = this.topPinnedPersondata.pkTime;
}
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:221", this.Topdate, this.topPinnedPersondata.id);
components_request.request({
url: "user/pinToTop",
method: "POST",
@@ -113,7 +112,7 @@ const _sfc_main = {
if (res.code == 200) {
this.onRefresherRefresh();
common_vendor.index.showToast({
title: res.msg,
title: res.data,
icon: "none",
duration: 3e3
});
@@ -129,15 +128,21 @@ const _sfc_main = {
},
//取消置顶
onOutTop(item) {
this.$refs.popupOut.open("center");
this.popupOutdata = item;
},
// 确认取消置顶
onOutTopConfirm() {
components_request.request({
url: "user/cancelPin",
method: "POST",
data: {
articleId: item.id
articleId: this.popupOutdata.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.closePopupOut();
this.onRefresherRefresh();
common_vendor.index.showToast({
title: res.data,
@@ -145,32 +150,53 @@ const _sfc_main = {
duration: 3e3
});
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:267", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:295", res.msg);
}
});
},
// 取消取消置顶
closePopupOut() {
this.$refs.popupOut.close();
this.popupOutdata = {};
},
// 删除pk
onExpurgate(item) {
this.$refs.popupExpurgate.open("center");
this.popupExpurgatedata = item;
},
// 确认删除pk
onExpurgateConfirm() {
components_request.request({
url: "pk/deletePkDataWithId",
method: "POST",
data: {
id: item.id
id: this.popupExpurgatedata.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.onRefresherRefresh();
this.closePopupExpurgate();
common_vendor.index.showToast({
title: "删除成功",
title: res.msg,
icon: "none",
duration: 2e3
});
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:289", res.msg);
common_vendor.index.showToast({
title: res.msg,
icon: "none",
duration: 2e3
});
}
});
},
// 关闭删除弹窗
closePopupExpurgate() {
this.$refs.popupExpurgate.close();
this.popupExpurgatedata = {};
}
//
},
components: {
Recompose
@@ -236,6 +262,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
p: 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({
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({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
};
}

File diff suppressed because one or more lines are too long

View File

@@ -163,12 +163,37 @@
flex-direction: column;
align-items: center;
}
.popup-container-out.data-v-36b7ee78{
width: 500rpx;
height: 400rpx;
background-color: #ffffff;
border-radius: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx;
}
.popup-container-expurgate.data-v-36b7ee78{
width: 500rpx;
height: 300rpx;
background-color: #ffffff;
border-radius: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx;
}
.popup-title.data-v-36b7ee78{
font-size: 30rpx;
color: #161616;
font-weight: bold;
margin-top: 30rpx;
}
.popup-text.data-v-36b7ee78{
font-size: 25rpx;
color: #959595;
margin-top: 30rpx;
}
.popup-picker.data-v-36b7ee78{
margin-top: 30rpx;
width: 400rpx;

View File

@@ -98,18 +98,15 @@ const _sfc_main = {
this.pkmyRecordlist.push(...res.data);
if (this.current === 1) {
this.pkRecordlist = this.pkmyRecordlist;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:182", this.pkmyRecordlist);
}
} else {
this.pkInvitationRecordlist.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:186", this.pkInvitationRecordlist);
if (this.current === 2) {
this.pkRecordlist = this.pkInvitationRecordlist;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:189", this.pkInvitationRecordlist);
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:193", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:190", res.msg);
}
});
},

View File

@@ -48,12 +48,10 @@ const _sfc_main = {
userInfo: true
}).then((res) => {
if (res.code === 200) {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:96", res.data);
this.pointslist.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:98", "```````````````````", this.pointslist);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:101", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:99", res.msg);
}
});
},
@@ -74,10 +72,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.pointslist, (item, index, i0) => {
return {
a: common_vendor.t($options.formatDate(item.time)),
b: common_vendor.t(item.info),
c: common_vendor.t(item.number),
d: item.status == 0 ? "#11ff002b" : "#ff000011",
a: common_vendor.t(item.info),
b: common_vendor.t(item.status == 0 ? "-" + item.number : "+" + item.number),
c: common_vendor.t($options.formatDate(item.time)),
d: item.status == 0 ? "#ff000011" : "#11ff002b",
e: index,
f: "cd2929c5-0-" + i0
};

View File

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

View File

@@ -59,6 +59,7 @@
.info.data-v-cd2929c5 {
font-size: 24rpx;
color: #898989;
display: flex;
}
.num.data-v-cd2929c5 {
font-size: 24rpx;

View File

@@ -36,7 +36,6 @@ const _sfc_main = {
userInfo: true
}).then((res) => {
this.PkIDInfodata = res.data;
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:185", this.PkIDInfodata);
});
},
//发布者
@@ -50,7 +49,6 @@ const _sfc_main = {
userInfo: true
}).then((res) => {
this.SenderData = res.data;
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:199", this.SenderData);
});
},
//被邀请者
@@ -64,7 +62,6 @@ const _sfc_main = {
userInfo: true
}).then((res) => {
this.ReceiverData = res.data;
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:213", this.ReceiverData);
});
},
goBack() {
@@ -74,8 +71,6 @@ const _sfc_main = {
},
formatDate: components_formatDate.formatDate,
async operation(status) {
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:224", "``````", this.customData);
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:225", status);
await components_request.request({
url: "pk/updatePkStatus",
method: "POST",
@@ -85,7 +80,6 @@ const _sfc_main = {
},
userInfo: true
}).then((res) => {
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:236", res.data);
const Hinttext = status === 1 ? "接受邀请成功" : "拒绝邀请成功";
if (res.code === 200) {
this.getPkIDInfo();

View File

@@ -55,7 +55,6 @@ const _sfc_main = {
path: this.userinfo,
name: components_generateFileName.generateFileName()
}).then((res) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:76", res.split("/").pop());
components_request.request({
url: "user/updateUserInfo",
method: "POST",
@@ -85,7 +84,7 @@ const _sfc_main = {
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:109", err);
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:108", err);
});
}
}

View File

@@ -27,7 +27,6 @@ const _sfc_main = {
key: "lastPage",
success: (res) => {
this.lastPage = "/" + res.data;
common_vendor.index.__f__("log", "at pages/login/login.vue:40", this.lastPage);
},
fail: () => {
this.lastPage = "/pages/Home/Home";
@@ -50,7 +49,6 @@ const _sfc_main = {
userInfo: false
});
this.info = res;
common_vendor.index.__f__("log", "at pages/login/login.vue:64", "登录信息", this.info);
const sdkAppID = Number(this.info.data.chatInfo.appId);
const userID = "administrator";
this.userSig = components_debug_GenerateTestUserSig.genTestUserSig({
@@ -63,7 +61,6 @@ const _sfc_main = {
SECRETKEY: this.info.data.chatInfo.appKey,
userID: String(res.data.info.id)
});
common_vendor.index.__f__("log", "at pages/login/login.vue:77", "userSig", this.myuserSig.userSig);
common_vendor.index.setStorageSync("myuserSig", this.myuserSig);
common_vendor.index.setStorageSync("chatInfo", this.info.data.chatInfo);
common_vendor.index.setStorageSync("userSig", this.userSig);
@@ -80,7 +77,6 @@ const _sfc_main = {
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.myuserSig.userSig);
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/login/login.vue:95", "跳的地址", this.lastPage);
common_vendor.index.reLaunch({
url: this.lastPage
});

View File

@@ -25,7 +25,6 @@ const _sfc_main = {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:176", "接收到的数据:", this.item);
});
common_vendor.index.getStorage({
key: "userinfo",
@@ -108,7 +107,6 @@ const _sfc_main = {
if (res.code === 200) {
if (res.data.length !== 0) {
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:264", "res.data", res.data);
this.list = res.data;
} else {
common_vendor.index.hideLoading();