116 lines
2.2 KiB
Vue
116 lines
2.2 KiB
Vue
<template>
|
||
<view class="page">
|
||
<u-navbar title="手机号码" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
|
||
height='50'></u-navbar>
|
||
<view class="box">
|
||
<image src="https://api.ccttiot.com/smartmeter/img/static/u8sj4ru32NTWwYgBqkIX" mode="aspectFit"></image>
|
||
<view class="tel">
|
||
您的手机号码:+86 158****1232
|
||
</view>
|
||
<view class="gh" @click="btngh">
|
||
更换
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
bgc: {
|
||
backgroundColor: " #48893B",
|
||
},
|
||
txt:''
|
||
}
|
||
},
|
||
onLoad(option) {
|
||
this.txt = option.txt
|
||
},
|
||
// 分享到好友(会话)
|
||
onShareAppMessage: function () {
|
||
return {
|
||
title: '创想物联',
|
||
path: '/pages/shouye/index'
|
||
}
|
||
},
|
||
|
||
// 分享到朋友圈
|
||
onShareTimeline: function () {
|
||
return {
|
||
title: '创想物联',
|
||
query: '',
|
||
path: '/pages/shouye/index'
|
||
}
|
||
},
|
||
onShow() {
|
||
|
||
},
|
||
|
||
methods: {
|
||
btngh(){
|
||
uni.navigateTo({
|
||
url:'/page_fenbaotwo/edittel?txt=' + this.txt
|
||
})
|
||
}
|
||
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
/deep/ .u-title{
|
||
padding-bottom: 22rpx;
|
||
}
|
||
/deep/ .uicon-nav-back{
|
||
padding-bottom: 22rpx;
|
||
}
|
||
.box{
|
||
width: 668rpx;
|
||
height: 596rpx;
|
||
background: #FFFFFF;
|
||
box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42,130,228,0.1);
|
||
border-radius: 30rpx 30rpx 30rpx 30rpx;
|
||
margin: auto;
|
||
margin-top: 90rpx;
|
||
text-align: center;
|
||
padding-top: 64rpx;
|
||
box-sizing: border-box;
|
||
image{
|
||
width: 210rpx;
|
||
height: 224rpx;
|
||
}
|
||
.tel{
|
||
font-size: 32rpx;
|
||
color: #3D3D3D;
|
||
margin-top: 70rpx;
|
||
font-weight: 600;
|
||
}
|
||
.gh{
|
||
width: 336rpx;
|
||
height: 82rpx;
|
||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||
border: 2rpx solid #4C97E7;
|
||
font-size: 32rpx;
|
||
color: #4C97E7;
|
||
font-weight: 600;
|
||
line-height: 82rpx;
|
||
margin: auto;
|
||
margin-top: 44rpx;
|
||
text-align: center;
|
||
}
|
||
}
|
||
|
||
page {
|
||
// background: linear-gradient(180deg, #8883F0 0%, rgba(255, 255, 255, 0) 100%);
|
||
background: #F4F5F7;
|
||
}
|
||
|
||
.page {
|
||
width: 750rpx;
|
||
}
|
||
|
||
|
||
|
||
</style> |