smartmeter-app/pages/shebei/ewm.vue

130 lines
2.3 KiB
Vue
Raw Normal View History

2024-01-27 16:37:52 +08:00
<template>
<view class="page">
<u-navbar title="设备二维码" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36'
height='36'></u-navbar>
<view class="card">
<view class="top">
<view class="img">
<image src="../../static/db.png" mode=""></image>
</view>
<view class="info">
<view class="top">
1125
</view>
<view class="bot">
蓝牙电表号YM02263659BD
</view>
</view>
</view>
<view class="ewm">
<image src="" mode=""></image>
</view>
<view class="tip">
租客扫码进行添加设备绑定
</view>
</view>
<view class="btn">
保存到相册
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#F7FAFE",
},
}
},
methods: {
}
}
</script>
<style lang="scss" >
page{
background-color: #F7FAFE;
}
.page{
width: 750rpx;
.card{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: baseline;
padding-top: 73rpx;
width: 586rpx;
height: 823rpx;
background: #FFFFFF;
border-radius: 30rpx;
box-shadow: 0rpx 14rpx 35rpx 0rpx rgba(42,130,228,0.1);
margin: 85rpx auto 0;
.top{
display: flex;
flex-wrap: nowrap;
align-items: center;
.img{
width: 36rpx;
height: 96rpx;
image{
width: 36rpx;
height: 96rpx;
}
}
.info{
margin-left: 26rpx;
.top{
font-size: 38rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #383838;
}
.bot{
margin-top: 5rpx;
font-size: 28rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #383838;
}
}
}
.ewm{
margin-top: 73rpx;
width: 381.98rpx;
height: 381.98rpx;
image{
width: 381.98rpx;
height: 381.98rpx;
}
}
.tip{
font-size: 28rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #808080;
}
}
.btn{
margin: 118rpx auto 0;
display: flex;
align-items: center;
justify-content: center;
width: 396rpx;
height: 80rpx;
background: #8883F0;
border-radius: 40rpx;
font-size: 28rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #FFFFFF;
}
}
</style>