|
@@ -1,39 +1,23 @@
|
|
|
<!-- pages/deviceConMode/index.wxml -->
|
|
|
<!-- pages/deviceRoter0/deviceRoter0.wxml -->
|
|
|
-<view class="deviceRoter">
|
|
|
- <nav-bar bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{nvabarData}}'></nav-bar>
|
|
|
- <view class="roterps">
|
|
|
- <text class="setDeviceModel">开启设备选择{{model}}</text>
|
|
|
- <text class="setDeviceModelTips">开启后点击“下一步”</text>
|
|
|
- <view class="devicePic">
|
|
|
- <block wx:for="{{typeList}}">
|
|
|
- <view class="devicePicItem" bindtap="selectDeviceModel" data-type="{{item.type}}">
|
|
|
- <image class="select_icon" src="{{item.src}}"></image>
|
|
|
+<nav-bar class="nav_bar_c" bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{nvabarData}}'></nav-bar>
|
|
|
+<view class="main">
|
|
|
+ <image class="model_bg" src="../../images/device/mode_bg.png" mode="aspectFill" />
|
|
|
+ <view class="select_tips">
|
|
|
+ <view class="setDeviceModel main_green">开启设备选择{{model}}</view>
|
|
|
+ <view class="setDeviceModelTips">开启后点击“下一步”</view>
|
|
|
+ <view class="deviceList">
|
|
|
+ <block wx:for="{{typeList}}" wx:key="item">
|
|
|
+ <view class="devicePicItem devicePicItem_{{index}}" bindtap="selectDeviceModel" data-type="{{item.type}}">
|
|
|
+ <image class="select_icon" src="{{index === 0 ? '../../images/device/pay_select.png' : '../../images/device/wake_select_no.png'}}"></image>
|
|
|
<view class="device_text">
|
|
|
- <image class="model_icon" src="{{item.src}}"></image>
|
|
|
- <text class="model_text">开启后点击“下一步”</text>
|
|
|
+ <image class="model_icon" src="{{item.icon}}"></image>
|
|
|
+ <text class="model_text">{{item.text}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
- <text>开启设备并将开关打至WiFi模式,指示灯亮
|
|
|
-起后,即可进入下一步</text>
|
|
|
- <view wx:if="{{!scopeBluetooth && userFuzzyLocation}}" class="qx">
|
|
|
- <text bindtap="setBluetooth">开启蓝牙权限</text>
|
|
|
- <image mode="heightFix" src="./../../img/a.png"></image>
|
|
|
- </view>
|
|
|
- <view wx:if="{{!userFuzzyLocation}}" class="qx">
|
|
|
- <text bindtap="setUserFuzzyLocation">开启定位权限</text>
|
|
|
- <image mode="heightFix" src="./../../img/a.png"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="subBtn">
|
|
|
- <view class="btn" style="opacity: {{scopeBluetooth && userFuzzyLocation ? '1' : '0.6'}};" bindtap="next">
|
|
|
- {{scopeBluetooth && userFuzzyLocation ? '下一步' : (!userFuzzyLocation ? '请开启定位权限' : '请开启蓝牙权限') }}
|
|
|
- </view>
|
|
|
- <view class="notRoter" wx:if="{{isNotruter}}">
|
|
|
- <text bindtap="notRoter">暂不链接</text>
|
|
|
- <image mode="heightFix" src="./../../img/b.png"></image>
|
|
|
- </view>
|
|
|
</view>
|
|
|
+ <view class="setDeviceModelTips">开启后点击“下一步”</view>
|
|
|
+<view class="clickNext" bind:tap="clickNextTap">下一步</view>
|
|
|
</view>
|