优化页面
This commit is contained in:
167
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
Normal file
167
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
Normal file
@@ -0,0 +1,167 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const components_request = require("../../components/request.js");
|
||||
const components_formatDate = require("../../components/formatDate.js");
|
||||
const components_TimeFormatting = require("../../components/TimeFormatting.js");
|
||||
const tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
userinfo: {},
|
||||
pkInformationdata: [],
|
||||
myPkRecorddata: []
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:136", this.userinfo);
|
||||
this.getpkInformation();
|
||||
this.getmyPkRecord();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
formatDate: components_formatDate.formatDate,
|
||||
TimeFormatting: components_TimeFormatting.TimeFormatting,
|
||||
//获取pk信息
|
||||
getpkInformation() {
|
||||
components_request.request({
|
||||
url: "user/queryMyAllPkData",
|
||||
method: "POST",
|
||||
data: {
|
||||
userId: this.userinfo.id,
|
||||
page: 0,
|
||||
size: 4
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:159", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:161", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
//获取pk记录
|
||||
getmyPkRecord() {
|
||||
components_request.request({
|
||||
url: "user/handlePkInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
type: 1,
|
||||
userId: this.userinfo.id,
|
||||
page: 0,
|
||||
size: 4
|
||||
},
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:180", this.myPkRecorddata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:182", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 跳转到PK信息页面
|
||||
pkInformation() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/pkInformation"
|
||||
});
|
||||
},
|
||||
// 跳转到PK记录页面
|
||||
pkRecord() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/pkRecord"
|
||||
});
|
||||
},
|
||||
// 跳转到联系客服页面
|
||||
contact() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/contact"
|
||||
});
|
||||
},
|
||||
// 跳转到设置页面
|
||||
goSetting() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Setting/Setting"
|
||||
});
|
||||
},
|
||||
// 跳转到服务协议页面
|
||||
serviceProtocol() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/serviceProtocol"
|
||||
});
|
||||
},
|
||||
// 退出登录
|
||||
logout() {
|
||||
common_vendor.index.clearStorage();
|
||||
common_vendor.A.logout;
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
}
|
||||
},
|
||||
components: {
|
||||
tabBar
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
|
||||
_easycom_tabBar2();
|
||||
}
|
||||
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
if (!Math) {
|
||||
_easycom_tabBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.userinfo.headerIcon,
|
||||
b: common_vendor.t($data.userinfo.nickName),
|
||||
c: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
|
||||
d: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
|
||||
e: $data.pkInformationdata.length !== 0
|
||||
}, $data.pkInformationdata.length !== 0 ? {
|
||||
f: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
|
||||
return {
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
c: common_vendor.t(item.coin),
|
||||
d: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
g: $data.pkInformationdata.length === 0
|
||||
}, $data.pkInformationdata.length === 0 ? {} : {}, {
|
||||
h: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
|
||||
i: $data.myPkRecorddata.length !== 0
|
||||
}, $data.myPkRecorddata.length !== 0 ? {
|
||||
j: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIconA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA
|
||||
}, item.winnerAnchorId !== item.anchorIdA ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA,
|
||||
d: common_vendor.t(item.pkNumber),
|
||||
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
f: index
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
k: $data.myPkRecorddata.length === 0
|
||||
}, $data.myPkRecorddata.length === 0 ? {} : {}, {
|
||||
l: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
|
||||
m: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
|
||||
n: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
|
||||
o: common_vendor.p({
|
||||
tabIndex: 4
|
||||
})
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-402ad917"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Mine/Mine.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的",
|
||||
"usingComponents": {
|
||||
"tab-bar": "../../components/tabBar/tabBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="container data-v-402ad917"><view class="bg data-v-402ad917"><image class="bgImg data-v-402ad917" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{a}}" style="width:144.5rpx;height:144.5rpx;border-radius:72.25rpx" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{b}}</view></view><view class="Settings data-v-402ad917" bindtap="{{c}}"><image class="SettingsIcon data-v-402ad917" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Settings.png" mode="scaleToFill"/></view></view><view class="content data-v-402ad917"><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">PK信息</view><view class="titleLine data-v-402ad917"></view><view class="titleMore data-v-402ad917" bindtap="{{d}}">更多PK信息<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><block wx:if="{{e}}"><view wx:for="{{f}}" wx:for-item="item" wx:key="d" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" style="width:80rpx;height:80rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Time data-v-402ad917">{{item.b}}</view><view class="gold data-v-402ad917">{{item.c}}K</view></view></block><view wx:if="{{g}}" class="no-content data-v-402ad917">暂无内容</view></view></view><view class="myPkRecord data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">我的PK记录</view><view class="titleLine data-v-402ad917"></view><view class="myPkRecordMore data-v-402ad917" bindtap="{{h}}">更多PK记录<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><block wx:if="{{i}}"><view wx:for="{{j}}" wx:for-item="item" wx:key="f" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" style="width:80rpx;height:80rpx;border-radius:72.25rpx" src="{{item.a}}" mode="scaleToFill"/></view><view wx:if="{{item.b}}" class="Failure data-v-402ad917"> 失败 </view><view wx:elif="{{item.c}}" class="Result data-v-402ad917"> 胜利 </view><view class="Session data-v-402ad917"> 共{{item.d}}场 </view><view class="Time data-v-402ad917">{{item.e}}</view></view></block><view wx:if="{{k}}" class="no-content data-v-402ad917">暂无内容</view></view></view><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">专属客服</view><view class="titleLine data-v-402ad917"></view></view></view><view class="card data-v-402ad917"><view class="service data-v-402ad917" bindtap="{{l}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/service.png" mode="scaleToFill"/><view class="cardtext data-v-402ad917">联系客服</view></view><view class="service data-v-402ad917" bindtap="{{m}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Agreement.png" mode="scaleToFill"/><view class="cardtext data-v-402ad917">服务协议</view></view><view class="service data-v-402ad917" bindtap="{{n}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/logout.png" mode="scaleToFill"/><view class="cardtext data-v-402ad917">退出登录</view></view></view></view></view><view class="copyright data-v-402ad917">版权所有 © 2025 ...................</view><view class="tabBar data-v-402ad917"><tab-bar wx:if="{{o}}" class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l" u-p="{{o}}"></tab-bar></view>
|
||||
194
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.wxss
vendored
Normal file
194
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.wxss
vendored
Normal file
@@ -0,0 +1,194 @@
|
||||
|
||||
.bg.data-v-402ad917 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg.data-v-402ad917 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.PersonalInformation.data-v-402ad917 {
|
||||
position: absolute;
|
||||
top: 150rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 144.5rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.header.data-v-402ad917 {
|
||||
width: 144.5rpx;
|
||||
height: 144.5rpx;
|
||||
border-radius: 72.25rpx;
|
||||
background-color: #fff;
|
||||
margin-left: 32.5rpx;
|
||||
margin-right: 39.5rpx;
|
||||
}
|
||||
.Settings.data-v-402ad917 {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.SettingsIcon.data-v-402ad917 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.name.data-v-402ad917 {
|
||||
width: 400rpx;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: 500;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.content.data-v-402ad917 {
|
||||
position: absolute;
|
||||
top: 294.5rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.PKInformation.data-v-402ad917 {
|
||||
margin-top: 48.5rpx;
|
||||
}
|
||||
.myPkRecord.data-v-402ad917 {
|
||||
margin-top: 48.5rpx;
|
||||
}
|
||||
.title.data-v-402ad917 {
|
||||
width: 682rpx;
|
||||
height: 33.4rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.titleText.data-v-402ad917 {
|
||||
font-size: 34.35rpx;
|
||||
font-weight: bold;
|
||||
color: #100e0f;
|
||||
}
|
||||
.titleLine.data-v-402ad917 {
|
||||
width: 40.08rpx;
|
||||
height: 14.31rpx;
|
||||
margin-left: -40rpx;
|
||||
margin-top: 25rpx;
|
||||
border-radius: 7.16rpx 0rpx 7.16rpx 7.16rpx;
|
||||
background-color: #91e3e48b;
|
||||
}
|
||||
.titleMore.data-v-402ad917 {
|
||||
margin-left: 400rpx;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.myPkRecordMore.data-v-402ad917 {
|
||||
margin-left:330rpx;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.card.data-v-402ad917 {
|
||||
width: 689.03rpx;
|
||||
height: 208.02rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
margin-top: 26.5rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.card .cardContent.data-v-402ad917:first-child {
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.cardContent.data-v-402ad917 {
|
||||
width: 100rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-left: 83rpx;
|
||||
}
|
||||
.cardImg.data-v-402ad917 {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 40rpx;
|
||||
background-color: rgb(205, 205, 205);
|
||||
}
|
||||
.Time.data-v-402ad917 {
|
||||
font-size: 18rpx;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.gold.data-v-402ad917 {
|
||||
font-size: 18rpx;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Failure.data-v-402ad917 {
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png");
|
||||
background-position-x: center;
|
||||
background-position-y: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #ffffff;
|
||||
font-size: 17.18rpx;
|
||||
text-align: center;
|
||||
line-height: 29.58rpx;
|
||||
margin-top: -20rpx;
|
||||
}
|
||||
.Result.data-v-402ad917 {
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png");
|
||||
background-position-x: center;
|
||||
background-position-y: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #ffffff;
|
||||
font-size: 17.18rpx;
|
||||
text-align: center;
|
||||
line-height: 29.58rpx;
|
||||
margin-top: -20rpx;
|
||||
}
|
||||
.Session.data-v-402ad917 {
|
||||
font-weight: bold;
|
||||
font-size: 18rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.service.data-v-402ad917 {
|
||||
width: 200rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.cardtext.data-v-402ad917 {
|
||||
margin-top: 20rpx;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
font-weight: 400;
|
||||
}
|
||||
.copyright.data-v-402ad917{
|
||||
font-size: 23rpx;
|
||||
color: #929292;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 250rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50rpx;
|
||||
}
|
||||
.no-content.data-v-402ad917{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 28.63rpx;
|
||||
color: #333333;
|
||||
}
|
||||
86
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.js
vendored
Normal file
86
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.js
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const components_request = require("../../../../components/request.js");
|
||||
const components_formatDate = require("../../../../components/formatDate.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_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
|
||||
b: $data.item.anchorIconA,
|
||||
c: $data.item.winnerAnchorId == $data.item.anchorIdA
|
||||
}, $data.item.winnerAnchorId == $data.item.anchorIdA ? {} : {}, {
|
||||
d: common_vendor.t($data.item.anchorIdA),
|
||||
e: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
f: common_vendor.t($data.item.userAcoin),
|
||||
g: common_vendor.t($data.item.anchorIdB),
|
||||
h: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
i: common_vendor.t($data.item.userBcoin),
|
||||
j: $data.item.anchorIconB,
|
||||
k: $data.item.winnerAnchorId == $data.item.anchorIdB
|
||||
}, $data.item.winnerAnchorId == $data.item.anchorIdB ? {} : {}, {
|
||||
l: 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
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK记录详情",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="details-pkrecords data-v-414631de"><view class="bg data-v-414631de"><image class="bgImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-414631de" bindtap="{{a}}"><image class="ReturnImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-414631de">PK记录详情</view><view class="pkrecords data-v-414631de"><view class="card data-v-414631de"><view class="AnchorA data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorAImgcss data-v-414631de" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{d}}</view><view class="AnchorATime data-v-414631de">{{e}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{f}}K</view></view></view></view><view class="vstext data-v-414631de"><view class="Vtext data-v-414631de">V</view><view class="Stext data-v-414631de">S</view></view><view class="AnchorB data-v-414631de"><view class="AnchorBinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{g}}</view><view class="AnchorATime data-v-414631de">{{h}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{i}}K</view></view></view><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{j}}" mode="scaleToFill"/></view><image wx:if="{{k}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-414631de"><scroll-view scroll-y="true" class="scroll data-v-414631de"><uni-card wx:for="{{l}}" wx:for-item="items" wx:key="e" class="data-v-414631de" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-414631de"><view class="contentcard-titleA data-v-414631de" style="{{'background-color:' + items.b}}"><view class="data-v-414631de">金币数量</view><view class="data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="data-v-414631de">金币数量</view><view class="data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
|
||||
185
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.wxss
vendored
Normal file
185
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.wxss
vendored
Normal file
@@ -0,0 +1,185 @@
|
||||
|
||||
.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;
|
||||
}
|
||||
26
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.js
vendored
Normal file
26
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.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_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
|
||||
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "联系客服",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.wxml
vendored
Normal file
@@ -0,0 +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>
|
||||
32
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.wxss
vendored
Normal file
32
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/contact.wxss
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
.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%;
|
||||
}
|
||||
137
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.js
vendored
Normal file
137
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.js
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const components_request = require("../../../components/request.js");
|
||||
const components_formatDate = require("../../../components/formatDate.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();
|
||||
},
|
||||
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:149", this.pkList);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:152", 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) {
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: "删除成功",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:177", 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_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
|
||||
b: 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_vendor.t(item.sex === "1" ? "男" : "女"),
|
||||
e: item.sex === "1" ? 1 : "",
|
||||
f: item.sex === "2" ? 1 : "",
|
||||
g: common_vendor.t(item.country),
|
||||
h: common_vendor.t(item.coin),
|
||||
i: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
j: item.inviteStatus === 0
|
||||
}, item.inviteStatus === 0 ? {
|
||||
k: common_vendor.o$1(($event) => $options.onRecompose(item), index),
|
||||
l: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
|
||||
} : {}, {
|
||||
m: index,
|
||||
n: "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.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
|
||||
6
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK信息",
|
||||
"usingComponents": {
|
||||
"recompose": "./recompose/recompose"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="pk-information data-v-36b7ee78"><view class="bg data-v-36b7ee78"><image class="bgImg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-36b7ee78" bindtap="{{a}}"><image class="ReturnImg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" 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="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="m" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.n}}" 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.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-36b7ee78">{{item.d}}</view></view></view><view class="state data-v-36b7ee78">{{item.g}}</view><view class="species data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-36b7ee78">金币:</view><view class="species-num data-v-36b7ee78">{{item.h}}K</view></view></view><view class="time data-v-36b7ee78">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-36b7ee78"><view class="recompose data-v-36b7ee78" bindtap="{{item.k}}"><image class="data-v-36b7ee78" 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-36b7ee78" bindtap="{{item.l}}"><image class="data-v-36b7ee78" 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><recompose wx:if="{{g}}" u-r="createModule" class="createModule r data-v-36b7ee78" u-i="36b7ee78-1" bind:__l="__l" u-p="{{g}}"></recompose>
|
||||
156
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.wxss
vendored
Normal file
156
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkInformation.wxss
vendored
Normal file
@@ -0,0 +1,156 @@
|
||||
|
||||
.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(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.Genderfemale.data-v-36b7ee78 {
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.Individual.data-v-36b7ee78 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 37rpx;
|
||||
}
|
||||
.Name.data-v-36b7ee78 {
|
||||
width: 288.17rpx;
|
||||
font-size: 30.53rpx;
|
||||
color: #161616;
|
||||
font-weight: 500;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.time.data-v-36b7ee78 {
|
||||
margin-top: 13rpx;
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
}
|
||||
.state.data-v-36b7ee78 {
|
||||
width: 56.3rpx;
|
||||
height: 30rpx;
|
||||
background: #f6f6f6;
|
||||
border-radius: 14rpx;
|
||||
line-height: 30rpx;
|
||||
font-size: 17rpx;
|
||||
color: #666666;
|
||||
padding: 0 15rpx;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
text-align: center;
|
||||
}
|
||||
.Label.data-v-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;
|
||||
}
|
||||
160
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.js
vendored
Normal file
160
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.js
vendored
Normal file
@@ -0,0 +1,160 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const components_request = require("../../../components/request.js");
|
||||
const components_formatDate = require("../../../components/formatDate.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_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
|
||||
b: common_vendor.o$1(($event) => $options.toggleActive(1)),
|
||||
c: $data.current === 1 ? 1 : "",
|
||||
d: common_vendor.o$1(($event) => $options.toggleActive(2)),
|
||||
e: $data.current === 2 ? 1 : "",
|
||||
f: common_vendor.t($data.slidetext),
|
||||
g: $options.sliderPosition + "rpx",
|
||||
h: 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_vendor.t(item.anchorIdA),
|
||||
d: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
e: common_vendor.t(item.userAcoin),
|
||||
f: common_vendor.t(item.anchorIdB),
|
||||
g: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
h: common_vendor.t(item.userBcoin),
|
||||
i: item.anchorIconB,
|
||||
j: item.winnerAnchorId == item.anchorIdB
|
||||
}, item.winnerAnchorId == item.anchorIdB ? {} : {}, {
|
||||
k: common_vendor.o$1(($event) => $options.onItemClick(item), index),
|
||||
l: index,
|
||||
m: "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
|
||||
};
|
||||
}
|
||||
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
|
||||
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK记录",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.wxml
vendored
Normal file
@@ -0,0 +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 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="l" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.m}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.k}}"><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 class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.e}}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.f}}</view><view class="AnchorATime data-v-6fa696de">{{item.g}}</view><view class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.h}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.i}}" mode="scaleToFill"/></view><image wx:if="{{item.j}}" 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>
|
||||
194
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.wxss
vendored
Normal file
194
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/pkRecord.wxss
vendored
Normal file
@@ -0,0 +1,194 @@
|
||||
|
||||
.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 {
|
||||
width: 161.26rpx;
|
||||
font-weight: 500;
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.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;
|
||||
}
|
||||
|
||||
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.js
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
const recompose = require("../../../../recompose.js");
|
||||
wx.createPage(recompose.MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/recompose/recompose.js.map
|
||||
9
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.json
vendored
Normal file
9
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-4e606fe0"><view class="container data-v-4e606fe0"><image class="Fork data-v-4e606fe0" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-4e606fe0"><view class="Star data-v-4e606fe0"></view><view class="Title data-v-4e606fe0"></view><view class="Star data-v-4e606fe0"></view></view><view class="NameAnchor data-v-4e606fe0"><input class="NameAnchorcss data-v-4e606fe0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" value="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-4e606fe0">请填写主播名称</view></view><view class="Accountnumber data-v-4e606fe0"><view class="Coins country data-v-4e606fe0"><wht-select wx:if="{{g}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{f}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-4e606fe0">请选择国家</view></view><view class="Gender data-v-4e606fe0"><view class="Gendercs data-v-4e606fe0"><view class="Gendercss data-v-4e606fe0"><wht-select wx:if="{{j}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{i}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{k}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-4e606fe0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-4e606fe0">请选择性别</view></view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">单位:</view><view class="number-box-unit data-v-4e606fe0">K</view></view><view wx:if="{{q}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{s}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-4e606fe0">请选择日期</view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{x}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{z}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{A}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view>
|
||||
214
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.wxss
vendored
Normal file
214
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose.wxss
vendored
Normal file
@@ -0,0 +1,214 @@
|
||||
|
||||
/* 定义动画 */
|
||||
/* 原始进入动画 */
|
||||
@keyframes slide-in-4e606fe0 {
|
||||
from {
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 新增关闭动画 */
|
||||
@keyframes slide-out-4e606fe0 {
|
||||
from {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* 进入动画类 */
|
||||
.create-module.data-v-4e606fe0 {
|
||||
animation: slide-in-4e606fe0 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
/* 关闭动画类 */
|
||||
.close-animation.data-v-4e606fe0 {
|
||||
animation: slide-out-4e606fe0 0.3s ease-in-out forwards;
|
||||
}
|
||||
.Mask.data-v-4e606fe0 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #00000076;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
.Hint.data-v-4e606fe0 {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Hintcss.data-v-4e606fe0 {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.containers.data-v-4e606fe0 {
|
||||
background-color: #ffffff;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.container.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
|
||||
background-size: 100% 100%;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 1300rpx;
|
||||
border-radius: 50rpx;
|
||||
box-shadow: 0 0 10rpx #ccc;
|
||||
}
|
||||
.Fork.data-v-4e606fe0 {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-top: 20rpx;
|
||||
/* margin-bottom: 40rpx; */
|
||||
margin-left: 90%;
|
||||
}
|
||||
.Titlecss.data-v-4e606fe0 {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Star.data-v-4e606fe0 {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.Title.data-v-4e606fe0 {
|
||||
width: 430rpx;
|
||||
height: 70rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png);
|
||||
background-size: 100% 200%;
|
||||
background-position: 30% 0%;
|
||||
margin-left: 26rpx;
|
||||
margin-right: -65rpx;
|
||||
}
|
||||
.Individual.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
/* justify-content: center; */
|
||||
}
|
||||
.NameAnchor.data-v-4e606fe0 {
|
||||
width: 90%;
|
||||
margin: 40rpx;
|
||||
}
|
||||
.time.data-v-4e606fe0 {
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.NameAnchorcss.data-v-4e606fe0 {
|
||||
width: 99%;
|
||||
height: 85rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #bfbfbf;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.Gender.data-v-4e606fe0 {
|
||||
width: 310rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.Gendercs.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* align-items: center; */
|
||||
}
|
||||
.Gendercss.data-v-4e606fe0 {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
.Gendericoncss.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 50%;
|
||||
border: 1rpx solid #ff9d0067;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Gendericon.data-v-4e606fe0 {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
margin-right: 40rpx; */
|
||||
}
|
||||
.Accountnumber.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.Coins.data-v-4e606fe0 {
|
||||
width: 330rpx;
|
||||
height: 65rpx;
|
||||
/* display: flex; */
|
||||
margin-right: 50rpx;
|
||||
/* flex-direction: column; */
|
||||
}
|
||||
.country.data-v-4e606fe0 {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.goldCoin.data-v-4e606fe0 {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.number-box.data-v-4e606fe0 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
.number-box-title.data-v-4e606fe0 {
|
||||
color: #191919;
|
||||
font-size: 30rpx;
|
||||
margin-right: 22rpx;
|
||||
margin-left: 17rpx;
|
||||
}
|
||||
.number-box-unit.data-v-4e606fe0 {
|
||||
color: #03aba8;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
border-radius: 50%;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
/* color: #003cff5a; */
|
||||
}
|
||||
.Remarkscss.data-v-4e606fe0 {
|
||||
width: 90%;
|
||||
margin-top: 30rpx;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
margin-bottom: 50rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.Publish.data-v-4e606fe0 {
|
||||
margin-bottom: 40rpx;
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
}
|
||||
.Publishcss.data-v-4e606fe0 {
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
/* color: #33ff00; */
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose2.js
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/recompose/recompose2.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
const recompose = require("../../../../recompose.js");
|
||||
wx.createPage(recompose.MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/recompose/recompose2.js.map
|
||||
26
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.js
vendored
Normal file
26
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.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_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
|
||||
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "服务协议",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.wxml
vendored
Normal file
@@ -0,0 +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>
|
||||
32
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.wxss
vendored
Normal file
32
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.wxss
vendored
Normal 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%;
|
||||
}
|
||||
Reference in New Issue
Block a user