优化页面
This commit is contained in:
39
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
39
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -42,6 +42,24 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//获取个人信息
|
||||
getUserInfo() {
|
||||
components_request.request({
|
||||
url: "user/getUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.userinfo.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.setStorageSync("userinfo", res.data);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:276", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取主播列表
|
||||
getAnchorList() {
|
||||
components_request.request({
|
||||
@@ -55,13 +73,13 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data.slice(0, 4);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:293", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取签到状态
|
||||
getSignStatus() {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:281", "getSignStatus", this.userinfo.id);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:299", "getSignStatus", this.userinfo.id);
|
||||
components_request.request({
|
||||
url: "user/checkSignStatus",
|
||||
method: "GET",
|
||||
@@ -73,7 +91,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.SignStatus = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:294", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:312", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -94,8 +112,9 @@ const _sfc_main = {
|
||||
duration: 2e3
|
||||
});
|
||||
this.getSignStatus();
|
||||
this.getUserInfo();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:316", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:335", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -115,9 +134,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:336", this.pkInformationdata);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:355", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:338", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:357", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -137,7 +156,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:358", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:377", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -264,9 +283,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
v: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIconA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== ""
|
||||
}, item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== "" ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== null
|
||||
}, item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== null ? {} : item.winnerAnchorId === item.anchorIdA && item.winnerAnchorId !== null ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA && item.winnerAnchorId !== null,
|
||||
d: common_vendor.t(item.pkNumber),
|
||||
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
f: index,
|
||||
|
||||
@@ -165,12 +165,12 @@
|
||||
background-color: rgb(205, 205, 205);
|
||||
}
|
||||
.Time.data-v-402ad917 {
|
||||
font-size: 18rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.gold.data-v-402ad917 {
|
||||
font-size: 18rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
@@ -204,7 +204,7 @@
|
||||
}
|
||||
.Session.data-v-402ad917 {
|
||||
font-weight: bold;
|
||||
font-size: 18rpx;
|
||||
font-size: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.service.data-v-402ad917 {
|
||||
|
||||
@@ -15,7 +15,7 @@ const _sfc_main = {
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on("itemDetail", (data) => {
|
||||
this.item = data.item;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:113", "接收到的数据:", this.item);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:117", "接收到的数据:", this.item);
|
||||
this.getCoinNum(this.item);
|
||||
});
|
||||
},
|
||||
@@ -40,7 +40,7 @@ const _sfc_main = {
|
||||
this.coinNumlist = res.data;
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:138", "获取金币数量失败");
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:142", "获取金币数量失败");
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -65,14 +65,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $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.userACoins),
|
||||
g: common_vendor.t($data.item.anchorIdB),
|
||||
h: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
i: common_vendor.t($data.item.userBCoins),
|
||||
j: $data.item.anchorIconB,
|
||||
k: $data.item.winnerAnchorId == $data.item.anchorIdB
|
||||
f: $data.item.userACoins !== null
|
||||
}, $data.item.userACoins !== null ? {
|
||||
g: common_vendor.t($data.item.userACoins)
|
||||
} : {}, {
|
||||
h: $data.item.anchorIconB,
|
||||
i: $data.item.winnerAnchorId == $data.item.anchorIdB
|
||||
}, $data.item.winnerAnchorId == $data.item.anchorIdB ? {} : {}, {
|
||||
l: common_vendor.f($data.coinNumlist, (items, index, i0) => {
|
||||
j: common_vendor.t($data.item.anchorIdB),
|
||||
k: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
l: $data.item.userBCoins !== null
|
||||
}, $data.item.userBCoins !== null ? {
|
||||
m: common_vendor.t($data.item.userBCoins)
|
||||
} : {}, {
|
||||
n: common_vendor.f($data.coinNumlist, (items, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(items.anchorCoinA),
|
||||
b: items.anchorIdA == items.winnerAnchorId ? "#00fbff21" : "#ff000011",
|
||||
@@ -82,8 +88,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: "414631de-0-" + i0
|
||||
};
|
||||
}),
|
||||
m: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
n: $data.triggered
|
||||
o: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
p: $data.triggered
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-414631de"]]);
|
||||
|
||||
@@ -1 +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 show-scrollbar="false" scroll-y="true" class="scroll data-v-414631de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{m}}" refresher-triggered="{{n}}"><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="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
|
||||
<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="Anchor 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><view class="AnchorAinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{d}}</view><view class="AnchorATime data-v-414631de">{{e}}</view><view wx:if="{{f}}" class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{g}}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="Anchor data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{h}}" mode="scaleToFill"/></view><image wx:if="{{i}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view><view class="AnchorBinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{j}}</view><view class="AnchorATime data-v-414631de">{{k}}</view><view wx:if="{{l}}" class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{m}}K</view></view></view></view></view><view class="pkrecords-content data-v-414631de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-414631de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{o}}" refresher-triggered="{{p}}"><uni-card wx:for="{{n}}" 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="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
|
||||
@@ -38,20 +38,27 @@
|
||||
}
|
||||
/* 卡片 */
|
||||
.card.data-v-414631de {
|
||||
width: 694.66rpx;
|
||||
height: 161.26rpx;
|
||||
width: 750rpx;
|
||||
height: 300rpx;
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-left: 28.55rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.AnchorA.data-v-414631de {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.AnchorB.data-v-414631de {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.Anchor.data-v-414631de{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -66,19 +73,23 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 20rpx;
|
||||
width: 250rpx;
|
||||
}
|
||||
.AnchorBinfo.data-v-414631de {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-right: 20rpx;
|
||||
width: 250rpx;
|
||||
}
|
||||
.AnchorAname.data-v-414631de {
|
||||
width: 250rpx;
|
||||
font-weight: 500;
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
text-align: center;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.AnchorATime.data-v-414631de {
|
||||
font-weight: 400;
|
||||
@@ -135,18 +146,16 @@
|
||||
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;
|
||||
top: 300rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const components_request = require("../../../components/request.js");
|
||||
const components_formatDate = require("../../../components/formatDate.js");
|
||||
const components_DifferenceArray = require("../../../components/DifferenceArray.js");
|
||||
const Recompose = () => "./recompose/recompose2.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
@@ -11,7 +12,11 @@ const _sfc_main = {
|
||||
page: 0,
|
||||
createModule: null,
|
||||
parentMessage: null,
|
||||
triggered: false
|
||||
triggered: false,
|
||||
pickerArray: [],
|
||||
index: 0,
|
||||
topPinnedPersondata: {},
|
||||
Topdate: 0
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -19,7 +24,7 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:127", this.userinfo);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:145", this.userinfo);
|
||||
this.getpkList();
|
||||
}
|
||||
});
|
||||
@@ -62,10 +67,10 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkList.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:170", this.pkList);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:188", this.pkList);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:173", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:191", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -76,6 +81,73 @@ const _sfc_main = {
|
||||
},
|
||||
// 置顶
|
||||
onTop(item) {
|
||||
this.pickerArray = components_DifferenceArray.DifferenceArray(item.pkTime);
|
||||
this.$refs.popup.open("center");
|
||||
this.topPinnedPersondata = item;
|
||||
},
|
||||
bindPickerChange(e) {
|
||||
this.index = e.detail.value;
|
||||
},
|
||||
closePopup() {
|
||||
this.$refs.popup.close();
|
||||
this.index = 0;
|
||||
this.pickerArray = [];
|
||||
this.topPinnedPersondata = {};
|
||||
},
|
||||
onTopConfirm() {
|
||||
if (Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600) <= this.topPinnedPersondata.pkTime) {
|
||||
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
|
||||
} else {
|
||||
this.Topdate = this.topPinnedPersondata.pkTime;
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:221", this.Topdate, this.topPinnedPersondata.id);
|
||||
components_request.request({
|
||||
url: "user/pinToTop",
|
||||
method: "POST",
|
||||
data: {
|
||||
articleId: this.topPinnedPersondata.id,
|
||||
pinExpireTime: this.Topdate
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
this.closePopup();
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//取消置顶
|
||||
onOutTop(item) {
|
||||
components_request.request({
|
||||
url: "user/cancelPin",
|
||||
method: "POST",
|
||||
data: {
|
||||
articleId: item.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: res.data,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:267", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 删除pk
|
||||
onExpurgate(item) {
|
||||
@@ -95,7 +167,7 @@ const _sfc_main = {
|
||||
duration: 2e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:204", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:289", res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -107,7 +179,12 @@ const _sfc_main = {
|
||||
if (!Array) {
|
||||
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
||||
const _component_Recompose = common_vendor.resolveComponent("Recompose");
|
||||
(_component_uni_card + _component_Recompose)();
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_component_uni_card + _component_Recompose + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_uni_popup();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
@@ -125,13 +202,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
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.onTop(item), index),
|
||||
l: common_vendor.o$1(($event) => $options.onRecompose(item), index),
|
||||
m: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
|
||||
}, item.inviteStatus === 0 ? common_vendor.e({
|
||||
k: item.isPin === false
|
||||
}, item.isPin === false ? {
|
||||
l: common_vendor.o$1(($event) => $options.onTop(item), index)
|
||||
} : {}, {
|
||||
n: index,
|
||||
o: "36b7ee78-0-" + i0
|
||||
m: item.isPin === true
|
||||
}, item.isPin === true ? {
|
||||
n: common_vendor.o$1(($event) => $options.onOutTop(item), index)
|
||||
} : {}, {
|
||||
o: common_vendor.o$1(($event) => $options.onRecompose(item), index),
|
||||
p: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
|
||||
}) : {}, {
|
||||
q: index,
|
||||
r: "36b7ee78-0-" + i0
|
||||
});
|
||||
}),
|
||||
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
@@ -141,6 +225,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.o$1($options.onRefresherRefresh),
|
||||
h: common_vendor.p({
|
||||
message: $data.parentMessage
|
||||
}),
|
||||
i: common_vendor.t($data.pickerArray[$data.index]),
|
||||
j: $data.pickerArray,
|
||||
k: $data.index,
|
||||
l: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
|
||||
m: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
|
||||
n: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
o: common_vendor.sr("popup", "36b7ee78-2"),
|
||||
p: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK信息",
|
||||
"usingComponents": {
|
||||
"recompose": "./recompose/recompose"
|
||||
"recompose": "./recompose/recompose",
|
||||
"uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
@@ -1 +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 show-scrollbar="false" 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="n" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.o}}" 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:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pin.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.l}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.m}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" 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="{{h}}" u-r="createModule" class="createModule r data-v-36b7ee78" bindRefresh="{{g}}" u-i="36b7ee78-1" bind:__l="__l" u-p="{{h}}"></recompose>
|
||||
<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 show-scrollbar="false" 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="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.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 wx:if="{{item.k}}" class="recompose data-v-36b7ee78" bindtap="{{item.l}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pin.png" mode="scaleToFill"/></view><view wx:if="{{item.m}}" class="recompose data-v-36b7ee78" bindtap="{{item.n}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/cancelPin.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.o}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.p}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" 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="{{h}}" u-r="createModule" class="createModule r data-v-36b7ee78" bindRefresh="{{g}}" u-i="36b7ee78-1" bind:__l="__l" u-p="{{h}}"></recompose><uni-popup wx:if="{{p}}" class="r data-v-36b7ee78" u-s="{{['d']}}" u-r="popup" u-i="36b7ee78-2" bind:__l="__l" u-p="{{p}}"><view class="popup-container data-v-36b7ee78"><view class="popup-title data-v-36b7ee78">选择置顶时长</view><view class="popup-picker data-v-36b7ee78"><picker class="data-v-36b7ee78" mode="selector" range="{{j}}" value="{{k}}" bindchange="{{l}}"><view class="uni-input data-v-36b7ee78">{{i}}小时</view></picker></view><view class="popup-btn data-v-36b7ee78"><view class="uni-primary data-v-36b7ee78" bindtap="{{m}}">确定</view><view class="uni-default data-v-36b7ee78" bindtap="{{n}}">取消</view></view></view></uni-popup>
|
||||
@@ -154,3 +154,65 @@
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
.popup-container.data-v-36b7ee78{
|
||||
width: 500rpx;
|
||||
height: 300rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.popup-title.data-v-36b7ee78{
|
||||
font-size: 30rpx;
|
||||
color: #161616;
|
||||
font-weight: bold;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.popup-picker.data-v-36b7ee78{
|
||||
margin-top: 30rpx;
|
||||
width: 400rpx;
|
||||
height: 50rpx;
|
||||
border: #5bced1 solid 1rpx;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.uni-input.data-v-36b7ee78{
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
width: 400rpx;
|
||||
height: 50rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
background-color: #5bced1;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.popup-btn.data-v-36b7ee78{
|
||||
margin-top: 30rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.uni-primary.data-v-36b7ee78{
|
||||
width: 150rpx;
|
||||
height: 50rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
font-size: 25rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.uni-default.data-v-36b7ee78{
|
||||
width: 150rpx;
|
||||
height: 50rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #cecece, #ffffff);
|
||||
font-size: 25rpx;
|
||||
color: #161616;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
|
||||
@@ -145,16 +145,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, item.winnerAnchorId == item.anchorIdA ? {} : {}, {
|
||||
c: common_vendor.t(item.anchorIdA),
|
||||
d: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
e: common_vendor.t(item.userACoins),
|
||||
f: common_vendor.t(item.anchorIdB),
|
||||
g: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
h: common_vendor.t(item.userBCoins),
|
||||
i: item.anchorIconB,
|
||||
j: item.winnerAnchorId == item.anchorIdB
|
||||
e: item.userACoins !== null
|
||||
}, item.userACoins !== null ? {
|
||||
f: common_vendor.t(item.userACoins)
|
||||
} : {}, {
|
||||
g: common_vendor.t(item.anchorIdB),
|
||||
h: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
i: item.userBCoins !== null
|
||||
}, item.userBCoins !== null ? {
|
||||
j: common_vendor.t(item.userBCoins)
|
||||
} : {}, {
|
||||
k: item.anchorIconB,
|
||||
l: item.winnerAnchorId == item.anchorIdB
|
||||
}, item.winnerAnchorId == item.anchorIdB ? {} : {}, {
|
||||
k: common_vendor.o$1(($event) => $options.onItemClick(item), index),
|
||||
l: index,
|
||||
m: "6fa696de-0-" + i0
|
||||
m: common_vendor.o$1(($event) => $options.onItemClick(item), index),
|
||||
n: index,
|
||||
o: "6fa696de-0-" + i0
|
||||
});
|
||||
}),
|
||||
i: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{a}}"><image class="ReturnImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6fa696de">PK记录</view><view class="navigation data-v-6fa696de"><view class="navigationItem data-v-6fa696de"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-6fa696de', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-6fa696de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="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>
|
||||
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{a}}"><image class="ReturnImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6fa696de">PK记录</view><view class="navigation data-v-6fa696de"><view class="navigationItem data-v-6fa696de"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-6fa696de', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-6fa696de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="n" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.m}}"><view class="AnchorA data-v-6fa696de"><view class="AnchorAImg data-v-6fa696de"><image class="AnchorAImgcss data-v-6fa696de" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.c}}</view><view class="AnchorATime data-v-6fa696de">{{item.d}}</view><view wx:if="{{item.e}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.f}}K</view></view></view></view><view class="vstext data-v-6fa696de"><view class="Vtext data-v-6fa696de">V</view><view class="Stext data-v-6fa696de">S</view></view><view class="AnchorB data-v-6fa696de"><view class="AnchorBinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.g}}</view><view class="AnchorATime data-v-6fa696de">{{item.h}}</view><view wx:if="{{item.i}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.j}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.k}}" mode="scaleToFill"/></view><image wx:if="{{item.l}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>
|
||||
@@ -17,7 +17,7 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
this.getPointsDetail();
|
||||
this.onRefresherRefresh();
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -48,10 +48,12 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.triggered = false;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:96", res.data);
|
||||
this.pointslist.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:98", "```````````````````", this.pointslist);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:100", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:101", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -74,7 +76,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.t($options.formatDate(item.time)),
|
||||
b: common_vendor.t(item.info),
|
||||
c: common_vendor.t(item.num),
|
||||
c: common_vendor.t(item.number),
|
||||
d: item.status == 0 ? "#11ff002b" : "#ff000011",
|
||||
e: index,
|
||||
f: "cd2929c5-0-" + i0
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="points data-v-cd2929c5"><view class="bg data-v-cd2929c5"><image class="bgImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-cd2929c5" bindtap="{{a}}"><image class="ReturnImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-cd2929c5">积分</view><view class="content data-v-cd2929c5"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-cd2929c5" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}" enable-flex="true"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" class="card data-v-cd2929c5" u-i="{{item.f}}" bind:__l="__l"><view class="card-content data-v-cd2929c5" style="{{'background-color:' + item.d}}"><view class="time data-v-cd2929c5">{{item.a}}</view><view class="info data-v-cd2929c5">{{item.b}}</view><view class="num data-v-cd2929c5">{{item.c}}</view></view></uni-card></scroll-view></view></view>
|
||||
<view class="points data-v-cd2929c5"><view class="bg data-v-cd2929c5"><image class="bgImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-cd2929c5" bindtap="{{a}}"><image class="ReturnImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-cd2929c5">积分</view><view class="content data-v-cd2929c5"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-cd2929c5" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" class="card data-v-cd2929c5" u-i="{{item.f}}" bind:__l="__l"><view class="card-content data-v-cd2929c5" style="{{'background-color:' + item.d}}"><view class="time data-v-cd2929c5">{{item.a}}</view><view class="info data-v-cd2929c5">{{item.b}}</view><view class="num data-v-cd2929c5">{{item.c}}</view></view></uni-card></scroll-view></view></view>
|
||||
Reference in New Issue
Block a user