优化页面

This commit is contained in:
pengxiaolong
2025-06-06 22:36:41 +08:00
parent f4901f1312
commit d30589fd05
99 changed files with 1091 additions and 1310 deletions

View File

@@ -1,5 +1,6 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {
@@ -9,11 +10,19 @@ const _sfc_main = {
onLoad() {
},
methods: {
// 方法定义
onBack() {
common_vendor.wx$1.navigateBack({
delta: 1
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
return {
a: common_assets._imports_0$1,
b: common_assets._imports_1,
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2f1f017b"]]);
wx.createPage(MiniProgramPage);

View File

@@ -1 +1 @@
<view class="contact data-v-2f1f017b"><view class="data-v-2f1f017b">联系方式</view></view>
<view class="contact data-v-2f1f017b"><view class="bg data-v-2f1f017b"><image class="bgImg data-v-2f1f017b" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-2f1f017b" bindtap="{{c}}"><image class="ReturnImg data-v-2f1f017b" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-2f1f017b">联系客服</view></view>

View File

@@ -1,8 +1,32 @@
.contact.data-v-2f1f017b{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
.bg.data-v-2f1f017b {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-2f1f017b {
width: 100%;
height: 100%;
}
.Return.data-v-2f1f017b {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-2f1f017b {
position: absolute;
top: 120rpx;
left: 315rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
}
.ReturnImg.data-v-2f1f017b {
width: 100%;
height: 100%;
}

View File

@@ -20,32 +20,7 @@ const _sfc_main = {
// PK记录列表
pkInvitationRecordlist: [],
// PK记录列表
pkRecordlist: [
{
winnerId: "1",
pkTime: "1626211200",
anchorIdA: "123",
anchorIconA: "https://img.yzcdn.cn/vant/cat.jpeg",
userAcoin: "100",
anchorIdB: "456",
anchorIconB: "https://img.yzcdn.cn/vant/dog.jpeg",
userBcoin: "200",
senderA: "123",
senderB: "456"
},
{
winnerId: "2",
pkTime: "1626211200",
anchorIdA: "789",
anchorIconA: "https://img.yzcdn.cn/vant/cat.jpeg",
userAcoin: "100",
anchorIdB: "101",
anchorIconB: "https://img.yzcdn.cn/vant/dog.jpeg",
userBcoin: "200",
senderA: "789",
senderB: "101"
}
],
pkRecordlist: [],
// PK记录列表
userinfo: {},
// 用户信息
@@ -116,19 +91,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:197", this.pkRecordlist);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:173", 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:203", this.pkInvitationRecordlist);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkInvitationRecordlist);
if (this.current === 2) {
this.pkRecordlist = this.pkInvitationRecordlist;
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:209", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", res.msg);
}
});
},

View File

@@ -0,0 +1,29 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {
title: "Hello"
};
},
onLoad() {
},
methods: {
onBack() {
common_vendor.wx$1.navigateBack({
delta: 1
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_assets._imports_0$1,
b: common_assets._imports_1,
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-38749331"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/serviceProtocol.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "服务协议",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="service-protocol data-v-38749331"><view class="bg data-v-38749331"><image class="bgImg data-v-38749331" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-38749331" bindtap="{{c}}"><image class="ReturnImg data-v-38749331" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-38749331">服务协议</view></view>

View File

@@ -0,0 +1,32 @@
.bg.data-v-38749331 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-38749331 {
width: 100%;
height: 100%;
}
.Return.data-v-38749331 {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-38749331 {
position: absolute;
top: 120rpx;
left: 315rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
}
.ReturnImg.data-v-38749331 {
width: 100%;
height: 100%;
}