小程序适配

This commit is contained in:
duan
2024-10-29 15:46:53 +08:00
parent a747dba877
commit 764c9461ae
19 changed files with 478 additions and 275 deletions

View File

@@ -163,16 +163,16 @@
<up-icon @tap="confirm" name="close-circle-fill"></up-icon>
</view>
<view style="display: flex;align-items: center;padding: 24rpx;">
<image v-if="datas.activeUser.headImg" :src="datas.activeUser.headImg"
<image v-if="datas.activeUser?datas.activeUser.headImg:''" :src="datas.activeUser.headImg"
style="width: 52rpx;height: 52rpx;;background-color: #eee;"></image>
<view style="width: 52rpx;height: 52rpx;;background-color: #eee;" v-else>
</view>
<view style="margin-left: 12rpx;">
<view style="font-weight: 400;font-size: 28rpx;color: #333333;">
{{datas.activeUser.nickName}}
{{datas.activeUser?datas.activeUser.nickName:''}}
</view>
<view style="font-weight: 400;font-size: 24rpx;color: #999999;">
当前余额:{{datas.activeUser.amount}}
当前余额:{{datas.activeUser?datas.activeUser.amount:''}}
</view>
</view>
</view>
@@ -238,7 +238,7 @@
</view>
</view>
</view>
<up-button text="确认" @tap="callTabletakeNumberEvent" type="primary" class="buttomStyle"
<up-button text="确认" @tap="callTabletakeNumberEvent" type="primary" class="buttomStyle"
shape="circle"></up-button>
</view>
</up-popup>
@@ -718,7 +718,7 @@
.zhezhaopopfour {
margin-top: 32rpx;
margin-bottom: 48rpx;
>view:nth-child(2) {
margin-top: 24rpx;
display: flex;
@@ -750,6 +750,9 @@
margin-top: 48rpx;
width: 506rpx;
height: 80rpx;
/*#ifdef MP*/
padding-top: 48rpx;
/*#endif*/
}
}