62 lines
1.2 KiB
Vue
62 lines
1.2 KiB
Vue
<template>
|
||
<view class="content">
|
||
<view class="notice">
|
||
<u-notice-bar type="none" :list="list" color="#fff" font-size="40" :volume-icon="false" padding="0"></u-notice-bar>
|
||
</view>
|
||
|
||
<view>
|
||
<view class="btn text-fff u-text-center lg fixed left-0 right-0" @tap="toBuy">立即下单</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
import { getConfig } from '@/api/app'
|
||
import { getMenu } from '@/api/store'
|
||
import { setTabbar } from '@/utils/tools'
|
||
export default {
|
||
data() {
|
||
return {
|
||
list: ['前方等待人数6人,正在制作XXX号,订单114578512563']
|
||
}
|
||
},
|
||
onLoad() {
|
||
},
|
||
onShow() {
|
||
},
|
||
methods: {
|
||
toBuy() {
|
||
// uni.navigateTo({
|
||
// url: '/pages/shop/shop'
|
||
// })
|
||
|
||
uni.navigateTo({
|
||
url: '/pages/pay/pay'
|
||
})
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
.content {
|
||
height: 1624rpx;
|
||
background: url(#{$cloudPath}img/banner.png) no-repeat;
|
||
background-position: center;
|
||
background-size: cover;
|
||
|
||
.notice {
|
||
padding-top: 94rpx;
|
||
}
|
||
|
||
.btn {
|
||
bottom: 106rpx;
|
||
margin: 0 64rpx;
|
||
height: 76rpx;
|
||
line-height: 76rpx;
|
||
background: #FE6004;
|
||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||
}
|
||
}
|
||
</style>
|