adIndex.vue
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<template>
<view>
<image src="http://equiphappy.shs.broing.cn/assets/miniprogram/Frame3007@2x.png"
style="width: 100vw;height: 100vh;" mode=""></image>
<view class="btn">
<u-button @click="go" style="width: 80%;" text="点击进入" shape="circle" type="primary"></u-button>
</view>
<view class="btn1">
<u-button @click="goindex" text="跳过" shape="circle" type="info" :plain="true"></u-button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
go() {
uni.reLaunch({
url: '/pages/index/index'
})
},
goindex() {
uni.reLaunch({
url: '/pages/index/buy'
})
}
},
onLoad(option) {
}
}
</script>
<style scoped lang="scss">
.btn {
width: 100%;
position: absolute;
bottom: 80rpx;
height: 112rpx;
// background: linear-gradient(134.7deg, #46baecff 0%, #2f67d3ff 100%);
// box-shadow: 0 16rpx 24rpx 0 #1d6bbb5e;
/deep/ .u-button {
width: 80% !important;
}
}
.btn1 {
width: 15%;
position: absolute;
top: 130rpx;
right: 32rpx;
}
</style>