Style(我的):界面调整

This commit is contained in:
lifizer
2024-03-15 21:51:32 +08:00
parent 39695c5355
commit 1af3dca341
+30 -2
View File
@@ -19,8 +19,12 @@
</view> </view>
<view class="info"> <view class="info">
<view class="name-cont"> <view class="name-cont">
<view class="txt"> <view class="txt flex">
{{ userInfo.nickname }} {{ userInfo.nickname }}
<image
:src="webUrl + '/page/my/img-vip.png'"
class="vip"
/>
</view> </view>
<view class="qrcode" @click="getSpreadPoster"> <view class="qrcode" @click="getSpreadPoster">
<image :src="webUrl + '/icon/icon-qrcode.png'" class="code" /> <image :src="webUrl + '/icon/icon-qrcode.png'" class="code" />
@@ -59,6 +63,13 @@
</view> </view>
</view> </view>
</view> </view>
<view
v-if="userInfo.hotel !== null && userInfo.hotel.checkState === 'C1'"
class="hotel-btn"
@click="innTagClick"
>
<image :src="webUrl + '/page/my/img-my-hotel-btn.png'" class="img" />
</view>
</view> </view>
<view class="my-wrapper wrapper"> <view class="my-wrapper wrapper">
<view class="myOrder"> <view class="myOrder">
@@ -356,7 +367,7 @@ export default {
id: this.userInfo.hotel.id, id: this.userInfo.hotel.id,
isMyInn: true isMyInn: true
} }
}); })
}, },
getSpreadPoster() { getSpreadPoster() {
var that = this; var that = this;
@@ -599,8 +610,15 @@ export default {
color: #fff; color: #fff;
.name-cont { .name-cont {
.txt { .txt {
align-items: flex-end;
margin: 0 0 32rpx 0; margin: 0 0 32rpx 0;
font-size: 26px; font-size: 26px;
line-height: 26px;
.vip {
margin: 0 0 0 12rpx;
width: 48rpx;
height: 32rpx;
}
} }
.qrcode { .qrcode {
display: flex; display: flex;
@@ -670,6 +688,16 @@ export default {
} }
} }
} }
.hotel-btn {
position: absolute;
right: 0;
bottom: 120rpx;
z-index: 5;
.img {
width: 238rpx;
height: 78rpx;
}
}
} }
.icon-order { .icon-order {
width: 52rpx; width: 52rpx;