feat: 登录页显示应用名称

This commit is contained in:
2026-10-13 17:35:14 +08:00
parent e8ae05b87b
commit 7b10d36361
+14 -1
View File
@@ -4,6 +4,7 @@
<view class="haotoplogo">
<image src="/static/haotop/image/logo/Start.jpg" mode="aspectFit" class="logoimg"></image>
</view>
<view class="app-name">{{ appName }}</view>
<!-- <div v-if="loginType === 'currentPhone'">-->
<!-- <u-tabs :list="list" :is-scroll="false" :current="current" @change="onClickItem"></u-tabs> -->
<!-- <view v-if="current === 0"> -->
@@ -156,6 +157,9 @@ export default {
};
},
computed: {
appName() {
return manifest.name || '';
},
appVersion() {
return manifest.versionName;
},
@@ -484,7 +488,16 @@ export default {
height: 150rpx;
// max-width: 5%;
// max-height: 5%;
margin: 10rpx auto 10rpx auto;
margin: 10rpx auto 0 auto;
}
.app-name {
margin: 8rpx 0 24rpx;
color: #242820;
font-size: 40rpx;
font-weight: 700;
line-height: 1.3;
text-align: center;
}
.logoimg {