优化页面
This commit is contained in:
@@ -54,16 +54,16 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="cardContent">
|
||||
<view class="cardContent"v-for="(item,index) in myPkRecorddata" :key="index">
|
||||
<view class="cardImg">
|
||||
<image src="" mode="scaleToFill" />
|
||||
<image :src="item.anchorIconA" mode="scaleToFill" />
|
||||
</view>
|
||||
<!-- <view class="Failure">
|
||||
<view class="Failure"v-if="item.winnerAnchorId !== item.anchorIdA">
|
||||
失败
|
||||
</view> -->
|
||||
<view class="Result"> 胜利 </view>
|
||||
<view class="Session"> 共一场 </view>
|
||||
<view class="Time"> 20:30 </view>
|
||||
</view>
|
||||
<view class="Result" v-else-if="item.winnerAnchorId === item.anchorIdA"> 胜利 </view>
|
||||
<view class="Session"> 共{{item.pkNumber}}场 </view>
|
||||
<view class="Time">{{TimeFormatting(item.pkTime)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -84,7 +84,7 @@
|
||||
<view class="cardtext">联系客服</view>
|
||||
</view>
|
||||
|
||||
<view class="service">
|
||||
<view class="service" @click="serviceProtocol">
|
||||
<image
|
||||
style="width: 48.28rpx; height: 48.09rpx"
|
||||
src="../../static/Agreement.png"
|
||||
@@ -115,6 +115,7 @@
|
||||
import tabBar from "../../components/tabBar/tabBar";
|
||||
import request from "../../components/request.js";
|
||||
import formatDate from "../../components/formatDate.js";
|
||||
import TimeFormatting from "../../components/TimeFormatting.js";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -137,6 +138,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
formatDate: formatDate,
|
||||
TimeFormatting: TimeFormatting,
|
||||
//获取pk信息
|
||||
getpkInformation(){
|
||||
const res = request({
|
||||
@@ -202,20 +204,15 @@ export default {
|
||||
url: "/pages/Setting/Setting",
|
||||
});
|
||||
},
|
||||
// 跳转到服务协议页面
|
||||
serviceProtocol() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/serviceProtocol",
|
||||
});
|
||||
},
|
||||
// 退出登录
|
||||
logout() {
|
||||
uni.removeStorage({
|
||||
key: "chatInfo",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "userinfo",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "userSig",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "lastPage",
|
||||
});
|
||||
uni.clearStorage()
|
||||
uni.reLaunch({
|
||||
url: "/pages/login/login",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user