优化页面

This commit is contained in:
pengxiaolong
2025-06-10 23:06:51 +08:00
parent 8c70c2c850
commit 3c2d7e5959
974 changed files with 353 additions and 87597 deletions

View File

@@ -1,93 +0,0 @@
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const components_request = require("../../../../components/request.js");
const components_formatDate = require("../../../../components/formatDate.js");
const common_assets = require("../../../../common/assets.js");
const _sfc_main = {
data() {
return {
title: "Hello",
item: {},
coinNumlist: [{
winnerAnchorId: 1,
anchorIdA: 1,
anchorIdB: 2,
anchorCoinA: 2,
anchorCoinB: 3
}]
};
},
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);
});
},
methods: {
// 获取具体金币数量
getCoinNum(item) {
components_request.request({
url: "user/pkRecordDetail",
method: "POST",
data: {
id: item.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.coinNumlist = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:132", "获取金币数量失败");
}
});
},
formatDate: components_formatDate.formatDate,
// 返回上一页
onBack() {
common_vendor.index.navigateBack({
delta: 1
});
}
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_assets._imports_0$1,
b: common_assets._imports_1,
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
d: $data.item.anchorIconA,
e: $data.item.winnerAnchorId == $data.item.anchorIdA
}, $data.item.winnerAnchorId == $data.item.anchorIdA ? {
f: common_assets._imports_2$2
} : {}, {
g: common_vendor.t($data.item.anchorIdA),
h: common_vendor.t($options.formatDate($data.item.pkTime)),
i: common_vendor.t($data.item.userAcoin),
j: common_vendor.t($data.item.anchorIdB),
k: common_vendor.t($options.formatDate($data.item.pkTime)),
l: common_vendor.t($data.item.userBcoin),
m: $data.item.anchorIconB,
n: $data.item.winnerAnchorId == $data.item.anchorIdB
}, $data.item.winnerAnchorId == $data.item.anchorIdB ? {
o: common_assets._imports_2$2
} : {}, {
p: common_vendor.f($data.coinNumlist, (items, index, i0) => {
return {
a: common_vendor.t(items.anchorCoinA),
b: items.anchorIdA == items.winnerAnchorId ? "#00fbff5d" : "#ff000049",
c: common_vendor.t(items.anchorCoinB),
d: items.anchorIdB == items.winnerAnchorId ? "#00fbff5d" : "#ff000049",
e: index,
f: "414631de-0-" + i0
};
})
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-414631de"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.js.map

View File

@@ -1,4 +0,0 @@
{
"navigationBarTitleText": "PK记录详情",
"usingComponents": {}
}

View File

@@ -1 +0,0 @@
<view class="details-pkrecords data-v-414631de"><view class="bg data-v-414631de"><image class="bgImg data-v-414631de" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-414631de" bindtap="{{c}}"><image class="ReturnImg data-v-414631de" src="{{b}}" 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="{{d}}" mode="scaleToFill"/></view><image wx:if="{{e}}" class="Crown data-v-414631de" src="{{f}}" mode="scaleToFill"/><view class="AnchorAinfo 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><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">{{j}}</view><view class="AnchorATime data-v-414631de">{{k}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{l}}K</view></view></view><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{m}}" mode="scaleToFill"/></view><image wx:if="{{n}}" class="Crown data-v-414631de" src="{{o}}" 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="{{p}}" 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 File

@@ -1,185 +0,0 @@
.bg.data-v-414631de {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-414631de {
width: 100%;
height: 100%;
}
.Return.data-v-414631de {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-414631de {
position: absolute;
top: 120rpx;
left: 280rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
}
.ReturnImg.data-v-414631de {
width: 100%;
height: 100%;
}
.pkrecords.data-v-414631de {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
}
/* 卡片 */
.card.data-v-414631de {
width: 694.66rpx;
height: 161.26rpx;
border-radius: 15rpx;
display: flex;
justify-content: center;
align-items: center;
margin-left: 28.55rpx;
margin-top: 12rpx;
}
.AnchorA.data-v-414631de {
display: flex;
align-items: center;
}
.AnchorB.data-v-414631de {
display: flex;
align-items: center;
}
.AnchorAImg.data-v-414631de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
background-color: #b1b1b1;
display: flex;
}
.AnchorAinfo.data-v-414631de {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 20rpx;
}
.AnchorBinfo.data-v-414631de {
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 20rpx;
}
.AnchorAname.data-v-414631de {
font-weight: 500;
font-size: 31rpx;
color: #161616;
}
.AnchorATime.data-v-414631de {
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
margin-top: 12rpx;
}
.AnchorAICon.data-v-414631de {
display: flex;
margin-top: 12rpx;
}
.AnchorAIContext.data-v-414631de {
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
}
.AnchorAIConNum.data-v-414631de {
font-weight: bold;
font-size: 23rpx;
color: #161616;
}
.AnchorAImgcss.data-v-414631de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-top: #f7da60 solid 2rpx;
border-left: #ffeeab solid 2rpx;
border-bottom: #ffeeab solid 2rpx;
border-right: #f7da60 solid 2rpx;
}
.AnchorBImgcss.data-v-414631de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-top: #ffc6ba solid 2rpx;
border-left: #ffc6ba solid 2rpx;
border-bottom: #5ddadd solid 2rpx;
border-right: #5ddadd solid 2rpx;
}
.Crown.data-v-414631de {
width: 45.8rpx;
height: 39.12rpx;
margin-left: -40rpx;
margin-top: -100rpx;
}
.vstext.data-v-414631de {
display: flex;
}
.Vtext.data-v-414631de {
font-size: 45.8rpx;
color: #f0836c;
font-weight: bold;
font-style: italic;
margin-left: 26rpx;
}
.Stext.data-v-414631de {
font-size: 45.8rpx;
color: #58d8db;
font-weight: bold;
font-style: italic;
margin-right: 26rpx;
}
.pkrecords-content.data-v-414631de {
position: absolute;
top: 240rpx;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.scroll.data-v-414631de{
width: 750rpx;
height: 1100rpx;
}
.contentcard.data-v-414631de{
width: 694.66rpx;
height: 161.26rpx;
border-radius: 15rpx;
background-color: #ffffff;
display: flex;
margin-left:28.55rpx;
margin-top: 13rpx;
}
.contentcard-titleA.data-v-414631de{
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-right: #100e0f solid 1rpx;
border-top-left-radius: 15rpx;
border-bottom-left-radius: 15rpx;
}
.contentcard-titleB.data-v-414631de{
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-top-right-radius: 15rpx;
border-bottom-right-radius: 15rpx;
}

View File

@@ -1,29 +0,0 @@
"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-2f1f017b"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/contact.js.map

View File

@@ -1,4 +0,0 @@
{
"navigationBarTitleText": "联系客服",
"usingComponents": {}
}

View File

@@ -1 +0,0 @@
<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,32 +0,0 @@
.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

@@ -1,153 +0,0 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_request = require("../../../components/request.js");
const components_formatDate = require("../../../components/formatDate.js");
const common_assets = require("../../../common/assets.js");
const Recompose = () => "./recompose/recompose2.js";
const _sfc_main = {
data() {
return {
pkList: [],
userinfo: {},
page: 0,
createModule: null,
parentMessage: null,
triggered: false
};
},
onLoad() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:111", this.userinfo);
this.getpkList();
}
});
},
mounted() {
this.createModule = this.$refs.createModule;
},
methods: {
onRefresherRefresh() {
this.page = 0;
this.pkList = [];
this.getpkList();
this.triggered = true;
},
onScrollToLower() {
this.page++;
this.getpkList();
},
onRefresherRefres() {
this.page = 0;
this.pkList = [];
this.getpkList();
this.triggered = true;
},
onBack() {
common_vendor.index.navigateBack({
delta: 1
});
},
formatDate: components_formatDate.formatDate,
getpkList() {
components_request.request({
url: "user/queryMyAllPkData",
method: "POST",
data: {
userId: this.userinfo.id,
page: this.page,
size: 10
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
this.pkList.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:155", this.pkList);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:158", res.msg);
}
});
},
onRecompose(item) {
this.parentMessage = item;
this.createModule.open();
},
onExpurgate(item) {
components_request.request({
url: "pk/deletePkDataWithId",
method: "POST",
data: {
id: item.id
},
userInfo: true
}).then((res) => {
if (res.code == 200) {
common_vendor.index.showToast({
title: "删除成功",
icon: "none",
duration: 2e3
});
this.getpkList();
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:183", res.msg);
}
});
}
},
components: {
Recompose
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
const _component_Recompose = common_vendor.resolveComponent("Recompose");
(_component_uni_card + _component_Recompose)();
}
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)),
d: common_vendor.f($data.pkList, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
c: item.sex === "2"
}, item.sex === "2" ? {
d: common_assets._imports_3
} : {
e: common_assets._imports_2
}, {
f: common_vendor.t(item.sex === "1" ? "男" : "女"),
g: item.sex === "1" ? 1 : "",
h: item.sex === "2" ? 1 : "",
i: common_vendor.t(item.country),
j: common_vendor.t(item.coin),
k: common_vendor.t($options.formatDate(item.pkTime)),
l: item.inviteStatus === 0
}, item.inviteStatus === 0 ? {
m: common_assets._imports_5$1,
n: common_vendor.o$1(($event) => $options.onRecompose(item), index),
o: common_assets._imports_6,
p: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
} : {}, {
q: index,
r: "36b7ee78-0-" + i0
});
}),
e: common_assets._imports_4$1,
f: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
g: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
h: $data.triggered,
i: common_vendor.sr("createModule", "36b7ee78-1"),
j: common_vendor.p({
message: $data.parentMessage
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36b7ee78"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/pkInformation.js.map

View File

@@ -1,6 +0,0 @@
{
"navigationBarTitleText": "PK信息",
"usingComponents": {
"recompose": "./recompose/recompose"
}
}

View File

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

View File

@@ -1,147 +0,0 @@
.bg.data-v-36b7ee78 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-36b7ee78 {
width: 100%;
height: 100%;
}
.Return.data-v-36b7ee78 {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-36b7ee78 {
position: absolute;
top: 120rpx;
left: 315rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
}
.ReturnImg.data-v-36b7ee78 {
width: 100%;
height: 100%;
}
.scroll.data-v-36b7ee78 {
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
}
.card.data-v-36b7ee78 {
width: 695rpx;
height: 161rpx;
background: #ffffff;
border-radius: 15rpx;
display: flex;
align-items: center;
margin-left: 30rpx;
margin-top: 11.5rpx;
}
.Profile.data-v-36b7ee78 {
width: 89rpx;
height: 89rpx;
border-radius: 50rpx;
background-color: #cccccc;
margin-left: 27.5rpx;
}
.Gendermale.data-v-36b7ee78 {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
display: flex;
align-items: center;
margin-right: 10rpx;
}
.Genderfemale.data-v-36b7ee78 {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
display: flex;
align-items: center;
margin-right: 10rpx;
}
.Individual.data-v-36b7ee78 {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 37rpx;
}
.Name.data-v-36b7ee78 {
font-size: 30.53rpx;
color: #161616;
font-weight: 500;
}
.time.data-v-36b7ee78 {
margin-top: 13rpx;
font-size: 23rpx;
color: #a3a3a3;
}
.state.data-v-36b7ee78 {
height: 30rpx;
background: #f6f6f6;
border-radius: 14rpx;
line-height: 30rpx;
font-size: 17rpx;
color: #666666;
padding: 0 15rpx;
}
.Label.data-v-36b7ee78 {
margin-top: 15rpx;
display: flex;
}
.age.data-v-36b7ee78 {
font-size: 17rpx;
color: #ffffff;
margin-left: 10rpx;
}
.Genderimg.data-v-36b7ee78 {
width: 14.22rpx;
height: 14.22rpx;
margin-left: 10rpx;
}
.species.data-v-36b7ee78 {
display: flex;
margin-left: 10rpx;
}
.species-text.data-v-36b7ee78 {
font-size: 23rpx;
color: #a3a3a3;
}
.species-num.data-v-36b7ee78 {
font-size: 23rpx;
color: #161616;
font-weight: bold;
}
.handle.data-v-36b7ee78 {
display: flex;
}
.recompose.data-v-36b7ee78 {
width: 46rpx;
height: 46rpx;
margin-left: 90rpx;
}
.expurgate.data-v-36b7ee78 {
width: 46rpx;
height: 46rpx;
margin-left: 40rpx;
}
.createModule.data-v-36b7ee78 {
position: fixed;
bottom: 0;
right: 0;
z-index: 998;
width: 100vw;
}

View File

@@ -1,167 +0,0 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_request = require("../../../components/request.js");
const components_formatDate = require("../../../components/formatDate.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {
triggered: false,
// 下拉刷新状态
current: 1,
// 初始激活状态
buttonWidth: 238.55,
// 按钮宽度
gap: 0,
// 按钮间距
slidetext: "我发布的PK",
// 导航栏文字
pkmyRecordlist: [],
// PK记录列表
pkInvitationRecordlist: [],
// PK记录列表
pkRecordlist: [],
// PK记录列表
userinfo: {},
// 用户信息
page: 0
// 页码
};
},
onLoad() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
this.getPkRecordList(1);
this.getPkRecordList(2);
}
});
},
computed: {
sliderPosition() {
const { current, buttonWidth, gap } = this;
const containerPadding = 0;
const offset = (buttonWidth + gap) * (current - 1);
return containerPadding + offset + 375;
}
},
methods: {
onRefresherRefresh() {
this.triggered = true;
this.page = 0;
this.getPkRecordList(this.current);
},
onScrollToLower() {
this.page++;
this.getPkRecordList(this.current);
},
onItemClick(item) {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",
success: (res) => {
res.eventChannel.emit("itemDetail", {
item
});
}
});
},
onBack() {
common_vendor.index.navigateBack(
{
delta: 1
}
);
},
formatDate: components_formatDate.formatDate,
//获取我发布的PK记录列表
getPkRecordList(type) {
components_request.request({
url: "user/handlePkInfo",
method: "POST",
data: {
type,
userId: this.userinfo.id,
page: this.page,
size: 10
},
userInfo: true
}).then((res) => {
if (res.code === 200) {
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);
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);
if (this.current === 2) {
this.pkRecordlist = this.pkInvitationRecordlist;
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", res.msg);
}
});
},
//按钮点击
toggleActive(val) {
this.current = val;
this.slidetext = val === 1 ? "我发布的PK" : "我邀请的PK";
if (val === 1) {
this.pkRecordlist = this.pkmyRecordlist;
} else {
this.pkRecordlist = this.pkInvitationRecordlist;
}
}
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_assets._imports_0$1,
b: common_assets._imports_1,
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
d: common_vendor.o$1(($event) => $options.toggleActive(1)),
e: $data.current === 1 ? 1 : "",
f: common_vendor.o$1(($event) => $options.toggleActive(2)),
g: $data.current === 2 ? 1 : "",
h: common_vendor.t($data.slidetext),
i: $options.sliderPosition + "rpx",
j: common_vendor.f($data.pkRecordlist, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIconA,
b: item.winnerAnchorId == item.anchorIdA
}, item.winnerAnchorId == item.anchorIdA ? {
c: common_assets._imports_2$2
} : {}, {
d: common_vendor.t(item.anchorIdA),
e: common_vendor.t($options.formatDate(item.pkTime)),
f: common_vendor.t(item.userAcoin),
g: common_vendor.t(item.anchorIdB),
h: common_vendor.t($options.formatDate(item.pkTime)),
i: common_vendor.t(item.userBcoin),
j: item.anchorIconB,
k: item.winnerAnchorId == item.anchorIdB
}, item.winnerAnchorId == item.anchorIdB ? {
l: common_assets._imports_2$2
} : {}, {
m: common_vendor.o$1(($event) => $options.onItemClick(item), index),
n: index,
o: "6fa696de-0-" + i0
});
}),
k: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
l: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
m: $data.triggered
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6fa696de"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/pkRecord.js.map

View File

@@ -1,4 +0,0 @@
{
"navigationBarTitleText": "PK记录",
"usingComponents": {}
}

View File

@@ -1 +0,0 @@
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{c}}"><image class="ReturnImg data-v-6fa696de" src="{{b}}" 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="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我发布的PK</view><view bindtap="{{f}}" class="{{['navigationItemTitle', 'data-v-6fa696de', g && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + i + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{h}}</view></view><view class="content data-v-6fa696de"><scroll-view scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{k}}" lower-threshold="100" bindscrolltolower="{{l}}" refresher-triggered="{{m}}"><uni-card wx:for="{{j}}" 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="{{item.c}}" mode="scaleToFill"/><view class="AnchorAinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.d}}</view><view class="AnchorATime data-v-6fa696de">{{item.e}}</view><view 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 class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.i}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.j}}" mode="scaleToFill"/></view><image wx:if="{{item.k}}" class="Crown data-v-6fa696de" src="{{item.l}}" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>

View File

@@ -1,190 +0,0 @@
.bg.data-v-6fa696de {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-6fa696de {
width: 100%;
height: 100%;
}
.Return.data-v-6fa696de {
position: absolute;
top: 110rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.title.data-v-6fa696de {
position: absolute;
top: 120rpx;
left: 315rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: 500;
}
.ReturnImg.data-v-6fa696de {
width: 100%;
height: 100%;
}
/* 导航栏 */
.navigation.data-v-6fa696de {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
height: 68.7rpx;
display: flex;
justify-content: center;
align-items: center;
}
.navigationItem.data-v-6fa696de {
width: 477.1rpx;
height: 68.7rpx;
border-radius: 50rpx;
background-color: #4fcacd;
display: flex;
justify-content: space-around;
align-items: center;
}
.navigationItemTitle.data-v-6fa696de {
font-weight: 500;
font-size: 31rpx;
color: #ffffff;
}
.slide.data-v-6fa696de {
position: absolute;
width: 238.55rpx;
height: 68.7rpx;
background-image: linear-gradient(135deg, #e4ffff, #ffffff);
border-radius: 50rpx;
text-align: center;
line-height: 68.7rpx;
font-weight: 500;
font-size: 31rpx;
color: #4fcacd;
margin-left: -238.55rpx;
}
.content.data-v-6fa696de {
position: absolute;
top: 300rpx;
left: 0rpx;
right: 0rpx;
bottom: 0rpx;
}
.scroll.data-v-6fa696de {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
/* 卡片 */
.card.data-v-6fa696de {
width: 694.66rpx;
height: 161.26rpx;
background-color: #ffffff;
border-radius: 15rpx;
display: flex;
justify-content: center;
align-items: center;
margin-left: 28.55rpx;
margin-top: 12rpx;
}
.AnchorA.data-v-6fa696de {
display: flex;
align-items: center;
}
.AnchorB.data-v-6fa696de {
display: flex;
align-items: center;
}
.AnchorAImg.data-v-6fa696de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
background-color: #b1b1b1;
display: flex;
}
.AnchorAinfo.data-v-6fa696de {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 20rpx;
}
.AnchorBinfo.data-v-6fa696de {
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 20rpx;
}
.AnchorAname.data-v-6fa696de {
font-weight: 500;
font-size: 31rpx;
color: #161616;
}
.AnchorATime.data-v-6fa696de {
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
margin-top: 12rpx;
}
.AnchorAICon.data-v-6fa696de {
display: flex;
margin-top: 12rpx;
}
.AnchorAIContext.data-v-6fa696de {
font-weight: 400;
font-size: 23rpx;
color: #a3a3a3;
}
.AnchorAIConNum.data-v-6fa696de {
font-weight: bold;
font-size: 23rpx;
color: #161616;
}
.AnchorAImgcss.data-v-6fa696de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-top: #f7da60 solid 2rpx;
border-left: #ffeeab solid 2rpx;
border-bottom: #ffeeab solid 2rpx;
border-right: #f7da60 solid 2rpx;
}
.AnchorBImgcss.data-v-6fa696de {
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
border-top: #ffc6ba solid 2rpx;
border-left: #ffc6ba solid 2rpx;
border-bottom: #5ddadd solid 2rpx;
border-right: #5ddadd solid 2rpx;
}
.Crown.data-v-6fa696de{
width: 45.8rpx;
height: 39.12rpx;
margin-left: -40rpx;
margin-top: -100rpx;
}
.vstext.data-v-6fa696de {
display: flex;
}
.Vtext.data-v-6fa696de {
font-size: 45.8rpx;
color: #f0836c;
font-weight: bold;
font-style: italic;
margin-left: 26rpx;
}
.Stext.data-v-6fa696de {
font-size: 45.8rpx;
color: #58d8db;
font-weight: bold;
font-style: italic;
margin-right: 26rpx;
}

View File

@@ -1,4 +0,0 @@
"use strict";
const recompose = require("../../../../recompose.js");
wx.createPage(recompose.MiniProgramPage);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/recompose/recompose.js.map

View File

@@ -1,9 +0,0 @@
{
"navigationBarTitleText": "修改pk信息",
"usingComponents": {
"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"
}
}

View File

@@ -1 +0,0 @@
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', G, 'Mask']}}" bindtap="{{H}}"><view catchtap="{{F}}" class="containers data-v-4e606fe0"><view class="container data-v-4e606fe0"><image class="Fork data-v-4e606fe0" bindtap="{{b}}" src="{{c}}" 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="{{d}}" placeholder="主播名称" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-4e606fe0">请填写主播名称</view></view><view class="Accountnumber data-v-4e606fe0"><view class="Coins country data-v-4e606fe0"><wht-select wx:if="{{h}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{g}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" 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="{{k}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{j}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{l}}" class="Gendericon data-v-4e606fe0" src="{{m}}" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-4e606fe0" src="{{o}}" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-4e606fe0" src="{{q}}" mode="scaleToFill"/></view></view><view wx:if="{{r}}" 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="{{t}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></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="{{v}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{x}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" 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="{{A}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{B}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{D}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{E}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view>

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +0,0 @@
"use strict";
const recompose = require("../../../../recompose.js");
wx.createPage(recompose.MiniProgramPage);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/recompose/recompose2.js.map

View File

@@ -1,29 +0,0 @@
"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

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

View File

@@ -1 +0,0 @@
<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

@@ -1,32 +0,0 @@
.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%;
}