闸门智控小程序
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<image :style="imgStyle" :src="apiHost+'/miniapp/static/waitpage.png'"></image>
|
||||
<view>等待开通...</view>
|
||||
<button :style="btnStyle" @tap="goBack">返回</button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import myapp from '@/common/js/myapp.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
apiHost: myapp.apiHost,
|
||||
imgStyle: 'margin-bottom:20rpx;margin-top:220rpx',
|
||||
btnStyle: 'color:#FFF;background-color:#5767CF;margin:60rpx 120rpx auto 120rpx'
|
||||
}
|
||||
},
|
||||
onShow: function() {
|
||||
let user = myapp.checkLogin()
|
||||
uni.setStorageSync('lastPagePath', '/packagePage/pages/wait/wait')
|
||||
|
||||
let width = 750 * 0.5;
|
||||
let height = 750 * 0.5;
|
||||
let setW = ';width:' + width + 'rpx';
|
||||
let setH = ';height:' + height + 'rpx';
|
||||
this.imgStyle = this.imgStyle + setW + setH;
|
||||
},
|
||||
methods: {
|
||||
goBack: function() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user