117 lines
3.6 KiB
Plaintext
117 lines
3.6 KiB
Plaintext
<template>
|
|
<view class="cu-custom">
|
|
<view class="cu-bar fixed" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;z-index: 999">
|
|
<view class="font_30 color-333" style="position: fixed;left: 50%;transform: translateX(-50%)">福恋系统</view>
|
|
</view>
|
|
</view>
|
|
<view style="height: {{navHeight}}px"></view>
|
|
<view class="wrapper font_28">
|
|
<image class="defaultIcon" src="https://images.ufutx.com/202105/31/39b80c3ff8563b9dcf5e20c07473f52a.png" mode="widthFix"></image>
|
|
<view class="font_36 color-333 bold text-center">无法使用福恋平台!</view>
|
|
<view class="color-333 font_32 text-center" style="margin: 24rpx 50rpx 48rpx 50rpx">由于您的账号id:{{id}}涉及违规,暂无法使用福恋平台,如有需要,请联系客服<span class="color-theme font_28" @tap.stop="clickPhone">18194063294</span></view>
|
|
<view class="openButton font_32" @tap="clickPhone">联系客服</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import wepy from '@wepy/core'
|
|
import { service } from '../../config.js'
|
|
import http from '../../mixins/https'
|
|
import base from '../../mixins/base'
|
|
|
|
wepy.page({
|
|
|
|
// config = {
|
|
// navigationBarTitleText: '福恋系统',
|
|
// navigationStyle: 'custom',
|
|
// enablePullDownRefresh: false
|
|
// }
|
|
|
|
data: {
|
|
StatusBar: 0,
|
|
CustomBar: 0,
|
|
Custom: 0,
|
|
navHeight: '',
|
|
windowHeight: '',
|
|
id: ''
|
|
},
|
|
|
|
async onLoad(e) {
|
|
this.id = wx.getStorageSync('user_id')
|
|
let menuButtonObject = wx.getMenuButtonBoundingClientRect()
|
|
wx.getSystemInfo({
|
|
success: res => {
|
|
let statusBarHeight = res.statusBarHeight,
|
|
navTop = menuButtonObject.top, // 胶囊按钮与顶部的距离
|
|
navHeight = statusBarHeight + menuButtonObject.height + (menuButtonObject.top - statusBarHeight) * 2 // 导航高度
|
|
this.navHeight = navHeight
|
|
this.windowHeight = res.windowHeight - (navHeight + 4)
|
|
},
|
|
fail() {
|
|
}
|
|
})
|
|
console.log(this.id)
|
|
},
|
|
created() {
|
|
this.navHeight = this.$app.$options.globalData.navBarHeight
|
|
this.StatusBar = this.$app.$options.globalData.StatusBar
|
|
this.CustomBar = this.$app.$options.globalData.CustomBar
|
|
this.Custom = this.$app.$options.globalData.Custom
|
|
},
|
|
onShow() {
|
|
wx.setStorageSync('blacklistCode', 1)
|
|
// this.$parent.getTracker(this.$root.$name, this.config.navigationBarTitleText)
|
|
},
|
|
|
|
onPullDownRefresh() {
|
|
},
|
|
|
|
onReachBottom() {
|
|
},
|
|
|
|
methods: {
|
|
clickPhone() {
|
|
wx.makePhoneCall({
|
|
phoneNumber: '18194063294'
|
|
})
|
|
}
|
|
}
|
|
})
|
|
|
|
</script>
|
|
|
|
<style lang="less">
|
|
|
|
page{
|
|
background: white;
|
|
}
|
|
.defaultIcon{
|
|
width: 440rpx;
|
|
height: 360rpx;
|
|
display: block;
|
|
margin: 10vh auto 0 auto;
|
|
}
|
|
.openButton{
|
|
width: 256rpx;
|
|
height: 72rpx;
|
|
background: #ff5380;
|
|
border-radius: 36rpx;
|
|
color: #ffffff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|
|
<config>
|
|
{
|
|
navigationBarTitleText: '福恋系统',
|
|
navigationStyle: 'custom',
|
|
enablePullDownRefresh: false,
|
|
backgroundColorTop: '#ffffff',
|
|
backgroundColorBottom: '#ffffff',
|
|
usingComponents: {
|
|
}
|
|
}
|
|
</config>
|