<template> <view class="pages"> <u-navbar title="添加设备" :border-bottom="false" :background="bgc" title-color='#262B37' title-size='48' height='136'></u-navbar> <view class="title"> <text>WiFi选择</text> <text class="sm"> 请选择您需要连接的wifi名称 </text> </view> <view class="wifilist" v-for="(item,index) in 3" :key="index"> <view class="lt"> <image src="../../static/wifi/wifi1.png" mode=""></image> </view> <view class="cen"> <text class="name">Device-2215</text> <text class="type">connected</text> </view> <view class="rt"> <image src="../../static/wifi/gx.png" mode="" class="active"></image> </view> </view> <view class="anniu"> <button @click="btnxyb">下一步</button> <button>重新扫描</button> </view> </view> </template> <script> export default { data() { return { bgc: { backgroundColor: "#F7FAFE", }, } }, onLoad() { }, methods: { btnxyb(){ uni.navigateTo({ url:'/pages/wifilist/connect/index' }) } } } </script> <style lang="scss"> page{ background-color: #F7FAFE !important; } .pages{ padding: 0 66rpx; box-sizing: border-box; } .title{ margin-bottom: 84rpx; image{ display: inline-block; width: 48rpx; height: 48rpx; vertical-align: bottom; margin-right: 10rpx; } text:nth-child(1){ font-weight: 400; font-size: 96rpx; color: #262B37; line-height: 88rpx; text-align: left; font-style: normal; text-transform: none; display: block; margin-bottom: 48rpx; } } .wifilist{ display: flex; width: 622rpx; height: 152rpx; background: #FFFFFF; box-shadow: 0rpx 10rpx 64rpx 0rpx rgba(0,0,0,0.08); border-radius: 10rpx; padding-top: 42rpx; margin-top: 32rpx; padding-bottom: 36rpx; padding-left: 46rpx; box-sizing: border-box; .lt{ margin-right: 48rpx; padding-top: 12rpx; box-sizing: border-box; image{ width: 58rpx; height: 44rpx; } } .cen{ width: 360rpx; text{ display: block; } .name{ font-size: 32rpx; color: #262B37; line-height: 40rpx; } .type{ font-weight: 500; font-size: 24rpx; color: #8883F0; line-height: 32rpx; } } .rt{ padding-top: 12rpx; box-sizing: border-box; image{ width: 40rpx; height: 40rpx; } } } .anniu{ margin-top: 218rpx; button{ width: 562rpx; height: 96rpx; background: #8883F0; border-radius: 52rpx 52rpx 52rpx 52rpx; color: #fff; font-weight: 500; font-size: 36rpx; margin-top: 48rpx; } } </style>