修改格式

This commit is contained in:
liuyuan
2025-03-03 09:14:39 +08:00
parent 6c8a59f29b
commit 0020a80506
2 changed files with 15 additions and 26 deletions

View File

@@ -50,7 +50,6 @@
<view style=" <view style="
padding: 20rpx; overflow: hidden; padding: 20rpx; overflow: hidden;
"> ">
<view class="chong_zhi boxShadow box_fillet vip_box" <view class="chong_zhi boxShadow box_fillet vip_box"
@click="onPageJump('/pages/mine/vip/index')"> @click="onPageJump('/pages/mine/vip/index')">
<view class="noVip"> <view class="noVip">
@@ -85,10 +84,7 @@
天医币<u-icon @click.native.stop="openInfo()" name="question-circle" 天医币<u-icon @click.native.stop="openInfo()" name="question-circle"
style="float: right; margin: 0 6rpx"></u-icon> style="float: right; margin: 0 6rpx"></u-icon>
</view> </view>
<view class="text" style="line-height: 40rpx; display: flex">{{userMes.peanutCoin ? userMes.peanutCoin : 0}}</view>
<view class="text" style="line-height: 40rpx; display: flex">{{
userMes.peanutCoin ? userMes.peanutCoin : 0
}}</view>
</view> </view>
<view class="chong_list_item" style=" <view class="chong_list_item" style="
@@ -101,9 +97,7 @@
积分 积分
</view> </view>
<view class="text" style="line-height: 40rpx">{{ <view class="text" style="line-height: 40rpx">{{userMes.jf ? userMes.jf : 0}}</view>
userMes.jf ? userMes.jf : 0
}}</view>
</view> </view>
<view class="chong_list_item" style=" <view class="chong_list_item" style="
display: flex; display: flex;
@@ -115,9 +109,7 @@
优惠券 优惠券
</view> </view>
<view class="text" style="line-height: 40rpx">{{ <view class="text" style="line-height: 40rpx">{{userCouponNum}}</view>
userCouponNum
}}</view>
</view> </view>
</view> </view>
<view class="chong_list_item" style=" <view class="chong_list_item" style="
@@ -139,8 +131,6 @@
<template slot="rightSlot" slot-scope="slotProps"> <template slot="rightSlot" slot-scope="slotProps">
<text class="fdButtonBox aui-text-success" <text class="fdButtonBox aui-text-success"
style="line-height: 40rpx; font-size: 50rpx;">{{ slotProps.row.content }}</text> style="line-height: 40rpx; font-size: 50rpx;">{{ slotProps.row.content }}</text>
<view> </view>
</template> </template>
</common-list> </common-list>
</view> </view>
@@ -445,8 +435,8 @@
}) })
}, },
//获取个人信息
getData() { getData() {
// 获取个人信息
if (this.userInfo.id != undefined) { if (this.userInfo.id != undefined) {
this.$http.post("common/user/getUserInfo").then((res) => { this.$http.post("common/user/getUserInfo").then((res) => {
this.userMes = res.result; this.userMes = res.result;
@@ -826,7 +816,7 @@
padding: 0; padding: 0;
position: relative; position: relative;
width: 100%; width: 100%;
border-radius: 20rx; border-radius: 20rpx;
background-image: linear-gradient(60deg, #8265f9 30%, #016dea 100%); background-image: linear-gradient(60deg, #8265f9 30%, #016dea 100%);
.zhanghu { .zhanghu {

View File

@@ -591,7 +591,6 @@
}, },
}) })
.then(async (res) => { .then(async (res) => {
console.log("获取服务器时间");
if (res.code == 0) { if (res.code == 0) {
time = res.serverTime; time = res.serverTime;
} else { } else {