|
|
@@ -14,26 +14,45 @@
|
|
|
<view style="height: 10vh;text-align: center;">
|
|
|
<image style="height: 3vh;width: 15vh;margin-top: 5vh;"
|
|
|
src="../static/images/new/starts/login/backImg2.png"></image>
|
|
|
-
|
|
|
+
|
|
|
</view>
|
|
|
<view style="text-align: center;top:12vh;position: relative;color: aliceblue;">
|
|
|
- <view style="font-size: 30rpx;">Please choose from the below options:</view>
|
|
|
- <view style="font-size: 20rpx;">Charge up quickly & easily to enjoy a smarter life!</view>
|
|
|
- </view>
|
|
|
- <view
|
|
|
- style="margin:0 5vw;left:0px;right:0px;text-align: center;top:45vh;position: absolute;display: flex;flex-direction: rows;justify-content: space-evenly;">
|
|
|
+ <view style="font-size: 30rpx;">Please choose from the below options:</view>
|
|
|
+ <view style="font-size: 20rpx;">Charge up quickly & easily to enjoy a smarter life!</view>
|
|
|
+ </view>
|
|
|
+ <view style="margin:0 5vw;left:0px;right:0px;text-align: center;top:45vh;position: absolute;display: flex;flex-direction: rows;justify-content: space-evenly;">
|
|
|
<!-- <view style="color:white;width:80px;">
|
|
|
设备编号
|
|
|
</view> -->
|
|
|
<view style="text-align: center;">
|
|
|
- <view class="blue" @click="buleTeeth()">
|
|
|
- <image src="../static/images/new/starts/index/blue.png" style="width: 60px;height: 60px;margin-top: 2vh;"></image>
|
|
|
+ <view>
|
|
|
+ <view class="blue" @click="buleTeeth()">
|
|
|
+ <image src="../static/images/new/starts/index/blue.png"
|
|
|
+ style="width: 60px;height: 60px;margin-top: 2vh;"></image>
|
|
|
+ </view>
|
|
|
+ <view style="color: aliceblue;">
|
|
|
+ Scan with Bluetooth
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
<view class="" @click="scan">
|
|
|
- <image src="../static/images/new/starts/index/scan.png" style="width: 60px;height: 60px;margin-top: 2vh;"
|
|
|
- ></image>
|
|
|
+ <image src="../static/images/new/starts/index/scan.png"
|
|
|
+ style="width: 60px;height: 60px;margin-top: 2vh;"></image>
|
|
|
+ </view>
|
|
|
+ <view style="color: aliceblue;">
|
|
|
+ Scan QR Code
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="" @click="wifi">
|
|
|
+ <image src="../static/images/new/starts/WiFi.png"
|
|
|
+ style="width: 60px;height: 60px;margin-top: 2vh;"></image>
|
|
|
+ </view>
|
|
|
+ <view style="color: aliceblue;">
|
|
|
+ Scan with WIFI
|
|
|
</view>
|
|
|
- <!-- <view class="" @click="scan">
|
|
|
+ </view>
|
|
|
+ <!-- <view class="" @click="scan">
|
|
|
<image src="../static/images/new/starts/index/bind.png" style="width: 60px;height: 60px;margin-top: 2vh;"
|
|
|
></image>
|
|
|
</view> -->
|
|
|
@@ -43,20 +62,20 @@
|
|
|
style="background: #505086;color:white;border-radius: 100vh;width: 120px;margin-right: -10px;">绑 定</u-button>
|
|
|
</u--input> -->
|
|
|
</view>
|
|
|
- <view style="position:fixed;bottom:10px;display: flex;align-items: center;justify-content: center;">
|
|
|
- <view @click="skip(0)" style="margin:0px 10px;">
|
|
|
- <image src="@/static/images/new/starts/tabbar/one_on.png"
|
|
|
- style="width: 60px;height: 60px;margin: 2vh 0.2vh;"></image>
|
|
|
- </view>
|
|
|
- <view @click="skip(1)" style="margin:0px 10px;">
|
|
|
- <image src="@/static/images/new/starts/tabbar/two_off.png"
|
|
|
- style="width: 60px;height: 60px;margin: 2vh 0.2vh;"></image>
|
|
|
- </view>
|
|
|
- <view @click="skip(2)" style="margin:0px 10px;">
|
|
|
- <image src="@/static/images/new/starts/tabbar/three_off.png"
|
|
|
- style="width: 60px;height: 60px;margin: 2vh 0.2vh;"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <view style="position:fixed;bottom:10px;display: flex;align-items: center;justify-content: center;">
|
|
|
+ <view @click="skip(0)" style="margin:0px 10px;">
|
|
|
+ <image src="@/static/images/new/starts/tabbar/one_on.png"
|
|
|
+ style="width: 60px;height: 60px;margin: 2vh 0.2vh;"></image>
|
|
|
+ </view>
|
|
|
+ <view @click="skip(1)" style="margin:0px 10px;">
|
|
|
+ <image src="@/static/images/new/starts/tabbar/two_off.png"
|
|
|
+ style="width: 60px;height: 60px;margin: 2vh 0.2vh;"></image>
|
|
|
+ </view>
|
|
|
+ <view @click="skip(2)" style="margin:0px 10px;">
|
|
|
+ <image src="@/static/images/new/starts/tabbar/three_off.png"
|
|
|
+ style="width: 60px;height: 60px;margin: 2vh 0.2vh;"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
@@ -110,21 +129,21 @@
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- skip(type){
|
|
|
- if(type==0){
|
|
|
- uni.reLaunch({
|
|
|
- url:'/pages/index'
|
|
|
- })
|
|
|
- }else if(type==1){
|
|
|
- uni.reLaunch({
|
|
|
- url:'/pages/weitiandi/deviceList'
|
|
|
- })
|
|
|
- }else if(type==2){
|
|
|
- uni.reLaunch({
|
|
|
- url:'/pages/mine/index'
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
+ skip(type) {
|
|
|
+ if (type == 0) {
|
|
|
+ uni.reLaunch({
|
|
|
+ url: '/pages/index'
|
|
|
+ })
|
|
|
+ } else if (type == 1) {
|
|
|
+ uni.reLaunch({
|
|
|
+ url: '/pages/weitiandi/deviceList'
|
|
|
+ })
|
|
|
+ } else if (type == 2) {
|
|
|
+ uni.reLaunch({
|
|
|
+ url: '/pages/mine/index'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
devicelist() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/weitiandi/deviceList'
|