You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.3 KiB
74 lines
1.3 KiB
<template> |
|
<view> |
|
<view class="img_box"> |
|
<image class="img" mode="widthFix" src="../../../static/image/bag.jpg"></image> |
|
<!-- <img class="img" src="../../../static/image/bag.jpg" mode=""></img> --> |
|
</view> |
|
<view class="bottom_box"> |
|
<button class="btn" @click="addForm">填写报名单(其他渠道已购买)</button> |
|
<button class="btn" @click="clickCustom">定制</button> |
|
</view> |
|
</view> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
data() { |
|
return { |
|
|
|
} |
|
}, |
|
methods: { |
|
// 点击定制 |
|
clickCustom(){ |
|
console.log('点击定制') |
|
}, |
|
// 填写表单 |
|
addForm(){ |
|
// console.log('跳转页面') |
|
// uni.navigateTo({ |
|
// url: '/pages/pages_zhentou//form/form' |
|
// }); |
|
uni.switchTab({ |
|
url: '/pages/pages_zhentou/form/form' |
|
}); |
|
}, |
|
} |
|
} |
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
.img_box{ |
|
.img{ |
|
width: 100%; |
|
} |
|
} |
|
.bottom_box{ |
|
width: 100%; |
|
height: 280rpx; |
|
background: #fff; |
|
position: fixed; |
|
bottom: 0rpx; |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
justify-content: center; |
|
|
|
|
|
.btn{ |
|
width: 85%; |
|
height: 80rpx; |
|
background-color: rgb(245, 19, 19); |
|
color: #fff; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
|
|
&:first-child{ |
|
background-color: rgb(164, 173, 179); |
|
margin-bottom: 40rpx; |
|
} |
|
} |
|
} |
|
|
|
</style>
|
|
|