修改首页内容
This commit is contained in:
@@ -6,10 +6,6 @@
|
||||
<view class="back-arrow"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="showBadge" class="zm-badge">
|
||||
<view class="zm-logo"><text class="zm-logo-text">芝</text></view>
|
||||
<text class="zm-text">芝麻信用</text>
|
||||
</view>
|
||||
<view class="hero-title">
|
||||
<text class="hero-slash">///</text>
|
||||
<text class="hero-text">{{ title }}</text>
|
||||
@@ -27,11 +23,6 @@
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
// 是否显示「芝麻信用」标识(押金页不显示)
|
||||
showBadge: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
showBack: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
@@ -49,7 +40,7 @@
|
||||
onMounted(() => {
|
||||
statusBarHeight.value = uni.getSystemInfoSync().statusBarHeight || 0
|
||||
|
||||
// 支付宝端用透明原生导航栏自带的返回按钮(pages.json 里 navigationBarTextStyle 已设为白色),
|
||||
// 支付宝端用透明原生导航栏自带的返回按钮(pages.json 里 navigationBarTextStyle 已设为白色)
|
||||
// 这里不再画第二个箭头;其他端没有原生导航栏,自己画。
|
||||
// #ifdef MP-ALIPAY
|
||||
canBack.value = false
|
||||
@@ -104,35 +95,6 @@
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.zm-badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.zm-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.zm-logo-text {
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
color: #1e6bff;
|
||||
}
|
||||
|
||||
.zm-text {
|
||||
margin-left: 12rpx;
|
||||
font-size: 26rpx;
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user