| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <!-- <view class="container">
- <text style="font-size:medium;word-break:break-all">设备名称:{{name}}</text>
- <text style="font-size:x-small;color:gray;word-break:break-all">设备ID:{{connectedDeviceId}}</text>
- <text style="font-size:x-small;color:gray">状态:{{connected?"已连接":"已断开"}}</text> -->
- <!-- <view class="layout_horizontal"> -->
- <!-- <button type="primary" class="button" bindtap="GetManufactureDate">查看生产日期</button>
- <button type="primary" class="button" bindtap="GetManufacture">查看制造厂商</button> -->
- <!-- </view> -->
- <!-- <view class="layout_horizontal">
- <button type="primary" class="button" bindtap="SendOpen">打开电池</button>
- <button type="primary" class="button" bindtap="SendClose">关闭电池</button>
- </view> -->
- <!-- <text style="font-size:medium;margin-top:10px">发送内容:</text>
- <input class="input" value="{{inputText}}" bindinput="bindInput" maxlength="50"/>
- <text style="font-size:medium;margin-top:10px">接收内容:</text>
- <input class="input" disabled value="{{receiveText}}" maxlength="50"/>
- <!-- <button type="primary" class="button" bindtap="SendButton">发送</button> -->
- <!-- </view> -->
- <view catchtap='hiddenShadow'>
- <view class='head'>
- <view class='selectBox'>
- <!-- 第一栏选择框标题位置 -->
- <view class='select' catchtap='selectCom'>
- <text class='select_text' style='color:{{proShow?"#008bff":"#4A4A4A"}}'>{{proData[proindex]}}</text>
- </view>
- <!-- 第一栏选择框底部可选择部分 -->
- <view class='option_box' style='height:{{proShow?(proData.length>3?210:proData.length*70):0}}rpx'>
- <text class='option' style='color:{{index==proindex?"#008bff":"#4A4A4A"}}' wx:for='{{proData}}' wx:key='*this' data-proindex='{{index}}' catchtap='optionUnit'>{{item}}</text>
- </view>
- <!-- 第二栏选择框标题位置 -->
- <view class='select' catchtap='selectFeature'>
- <text class='select_text' style='color:{{claShow?"#008bff":"#4A4A4A"}}'>{{claData[claindex]}}</text>
- </view>
- <!-- 第二栏选择框底部可选择部分 -->
- <view class='option_box' style='height:{{claShow?(claData.length>3?210:claData.length*70):0}}rpx'>
- <text class='option' style='color:{{index==claindex?"#008bff":"#4A4A4A"}}' wx:for='{{claData}}' wx:key='*this' data-claindex='{{index}}' catchtap='optionFeature'>{{item}}</text>
- </view>
- </view>
- <view class='option_box'
- style='height:{{claShow?(claData.length>3?210:claData.length*70):0}}rpx'>
- <text class='option' style='color:{{index==claindex?"#008bff":"#4A4A4A"}}' wx:for='{{claData}}' wx:key='*this' data-claindex='{{index}}' catchtap='optionFeature'>{{item}}</text>
- </view>
- </view>
- <!-- 下拉框遮罩层 -->
- <view class='shadow' style='display:{{display}}' catchtouchmove='true'></view>
- <view class='button_box'>
- <button type="primary" class="button" bindtap="GetSelectListInfo">{{"获取以上信息"}}</button>
- </view>
- <view class='log_area'>
- <textarea placeholder='日志显示区域' bindinput="getWords" disabled value="{{log_text_area}}" maxlength='-1'></textarea>
- </view>
- <!-- <text style="font-size:medium;margin-top:10px">接收内容:</text> -->
- <!-- <text> {{log_text}}</text> -->
- <!-- <textarea placeholder='日志显示区域' bindinput="getWords" disabled value="{{log_text_area}}" maxlength='-1'></textarea> -->
- <!-- <input class="input" disabled value="{{receiveText}}" maxlength="20"/> -->
- </view>
|