<template> <view class="page"> <u-navbar :title="title" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' :title-bold='true' height='45' id="navbar"> </u-navbar> <view class="no_cont" > <view class="img"> <image src="https://api.ccttiot.com/smartmeter/img/static/us7oiRxHLVwqu8plEy3o" mode=""></image> </view> <view class="txt"> 当前还没有添加视频监控哦 </view> </view> <view class="btn"> 添加视频监控 </view> </view> </template> <script> export default { data() { return { bgc: { backgroundColor: " #F4FAF8", }, title: "视频监控", } }, onLoad() { }, onShow() { }, methods: { addApiary(){ uni.navigateTo({ url:'/pages/Apiary/AddApiary' }) } } } </script> <style lang="scss"> page { background-color: #F4FAF8; } .page { // position: relative; width: 750rpx; .btn{ margin: 86rpx auto; display: flex; align-items: center; justify-content: center; width: 432rpx; height: 88rpx; background: #FFCC25; border-radius: 20rpx 20rpx 20rpx 20rpx; font-weight: 500; font-size: 36rpx; color: #FFFFFF; } .no_cont { margin: 152rpx auto 0; width: 432rpx; .img { image { width: 432rpx; height: 432rpx; } } .txt { margin-top: 50rpx; width: 100%; text-align: center; font-weight: 500; font-size: 32rpx; color: #808080; } } } </style>