main
lion 2 months ago
parent 747e70dd6e
commit df170f5c34

@ -2,16 +2,16 @@
<view class="wrap"> <view class="wrap">
<view class="container"> <view class="container">
<image class="container-bg" :src="require('@/static/index-bg.png')"></image> <image class="container-bg" :src="require('@/static/index-bg1.png')"></image>
<view class="imgwrap" :style="{'padding-top':navBarBoxHeight+'rpx'}"> <view class="imgwrap">
<image class="imgwrap-map" :src="require('@/static/index-map.png')"></image> <!-- <image class="imgwrap-map" :src="require('@/static/index-map.png')"></image> -->
<image class="imgwrap-title" :src="require('@/static/index-title.png')"></image> <!-- <image class="imgwrap-title" :src="require('@/static/index-title.png')"></image> -->
<view class="titlewrap"> <view class="titlewrap">
<view class="title-progress"> <!-- <view class="title-progress">
<view class="progress-bar-container"> <view class="progress-bar-container">
<view class="progress-bar" :style="{'width':progressPercentage+'%'}"></view> <view class="progress-bar" :style="{'width':progressPercentage+'%'}"></view>
</view> </view>
</view> </view> -->
<view @click="toHome" style="min-height:240rpx"> <view @click="toHome" style="min-height:240rpx">
<image class="title-btn" v-if="showBtn" :src="require('@/static/index-btn.png')"></image> <image class="title-btn" v-if="showBtn" :src="require('@/static/index-btn.png')"></image>
</view> </view>
@ -41,7 +41,7 @@
progressPercentage: 0, progressPercentage: 0,
interval: null, interval: null,
isShare: false, isShare: false,
showBtn: false, showBtn: true,
navBarBoxHeight: 0, navBarBoxHeight: 0,
} }
}, },
@ -57,7 +57,7 @@
this.navBarBoxHeight = MenuButton.top + MenuButton.height + 10 this.navBarBoxHeight = MenuButton.top + MenuButton.height + 10
}, },
beforeDestroy() { beforeDestroy() {
clearInterval(this.interval); // clearInterval(this.interval);
}, },
methods: { methods: {
toHome() { toHome() {
@ -66,15 +66,15 @@
}) })
}, },
start() { start() {
this.interval = setInterval(() => { // this.interval = setInterval(() => {
if (this.progressPercentage < 100) { // if (this.progressPercentage < 100) {
this.progressPercentage++; // this.progressPercentage++;
} else { // } else {
clearInterval(this.interval); // clearInterval(this.interval);
this.showBtn = true // this.showBtn = true
} // }
}, 30); // }, 30);
}, },
}, },
} }
@ -105,7 +105,7 @@
} }
.support { .support {
position: absolute; position: absolute;
bottom: 40rpx; bottom: 30rpx;
width: 100%; width: 100%;
font-size: 24rpx; font-size: 24rpx;
color: #333; color: #333;
@ -117,7 +117,9 @@
.imgwrap { .imgwrap {
position: relative; position: relative;
z-index: 9; z-index: 9;
position: absolute;
bottom: 60rpx;
width:100%;
&-map { &-map {
width: 745rpx; width: 745rpx;
height: 857rpx; height: 857rpx;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Loading…
Cancel
Save