|
@@ -1,9 +1,13 @@
|
|
|
<template>
|
|
|
- <view class="launch-bg" :style="[background]" >
|
|
|
- <image class="launch-img" mode="widthFix" :src="appConfig.mobile_start_page"></image>
|
|
|
- <view class="flex-col col-center fixed w-full">
|
|
|
- <image src="/static/images/map_bg.png" mode="widthFix" @tap="launchApp('/pages/index/index', 'map')"></image>
|
|
|
- <image src="/static/images/policy_bg.png" mode="widthFix" style="margin-top: 150rpx;" @tap="launchApp('/pages/policy/index', 'policy')"></image>
|
|
|
+ <view class="launch-bg" :style="[background]">
|
|
|
+ <!-- <image class="launch-img" mode="widthFix" :src="appConfig.mobile_start_page"></image> -->
|
|
|
+ <view class="w-full" style="height: 100%; position: absolute; top: 0">
|
|
|
+ <view class="flex-col col-center row-center w-full " style="height: 100%">
|
|
|
+ <image src="/static/images/map_bg.png" mode="widthFix" @tap="launchApp('/pages/index/index', 'map')">
|
|
|
+ </image>
|
|
|
+ <image src="/static/images/policy_bg.png" mode="widthFix" style="margin-top: 100rpx;"
|
|
|
+ @tap="launchApp('/pages/policy/index', 'policy')"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<!-- <view class="img-datu">
|
|
@@ -63,10 +67,10 @@
|
|
|
...mapGetters(['sysInfo', 'inviteCode', 'appConfig']),
|
|
|
background() {
|
|
|
const {
|
|
|
- mobile_start_bg
|
|
|
+ mobile_start_page
|
|
|
} = this.appConfig
|
|
|
- return mobile_start_bg ? {
|
|
|
- 'background-image': `url(${mobile_start_bg})`,
|
|
|
+ return mobile_start_page ? {
|
|
|
+ 'background-image': `url(${mobile_start_page})`,
|
|
|
'background-size': 'cover'
|
|
|
} : {}
|
|
|
},
|