feat:完善首页会员优选、我的社员ui重构
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
<view class="card1 w100">
|
||||
<image v-if="pink_bg" class="w100" :src="$ygUrl + 'transparent_bg.png'" mode="" />
|
||||
</view>
|
||||
<view class="card1 w100">
|
||||
<image v-if="blue_bg" class="w100" src="/static/index/login_bg.png" mode="" />
|
||||
</view>
|
||||
<view class="scon" :style="{ height: height + 'px' }">
|
||||
<slot />
|
||||
</view>
|
||||
@@ -90,6 +93,10 @@
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
blue_bg: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
let height = ref(0);
|
||||
let sysInfo = uni.getSystemInfoSync();
|
||||
@@ -146,6 +153,12 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
height: 300rpx;
|
||||
overflow: hidden;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.scon {
|
||||
|
||||
Reference in New Issue
Block a user