ReedawFoodApp/unpackage/dist/dev/mp-weixin/components/foodIndex/bluetooth.wxml

1 line
2.3 KiB
Plaintext

<view class="weightPages data-v-50932108"><view class="table data-v-50932108"><view class="texttip data-v-50932108"><image src="/static/zhong.png" class="data-v-50932108"></image><text data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" bindtap="__e" class="data-v-50932108">{{bleTipsText}}</text></view><block wx:if="{{isShow&&isConnection==2}}"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="duan data-v-50932108" bindtap="__e">断开连接</view></block></view><view class="name data-v-50932108">{{name}}</view><view class="weight-wrap data-v-50932108"><view data-event-opts="{{[['tap',[['inputDialogToggle',['$event']]]]]}}" class="weight data-v-50932108" bindtap="__e"><text class="val data-v-50932108">{{weight==''?'0.0':weight}}</text><text class="unit data-v-50932108">{{unit}}</text></view><view class="weight data-v-50932108"><text class="val data-v-50932108">{{kcal?kcal:0}}</text><text class="unit data-v-50932108">kcal</text></view></view><view class="groupbtn data-v-50932108"><view class="btn danwei data-v-50932108"><view class="lan border-bottom data-v-50932108"><view class="right data-v-50932108"><picker mode="selector" range="{{unitA}}" value="{{unitListIndex}}" data-event-opts="{{[['change',[['changleUnits',['$event']]]]]}}" bindchange="__e" class="data-v-50932108"><view class="uni-input data-v-50932108">单位</view></picker></view></view></view><view data-event-opts="{{[['tap',[['handleDetailSub',['$event']]]]]}}" class="btn data-v-50932108" style="{{'width:'+(!stopblue?'20%':'45%')+';'}}" bindtap="__e">保存</view><block wx:if="{{!stopblue}}"><view data-event-opts="{{[['tap',[['handleDetailNext',['$event']]]]]}}" class="btn data-v-50932108" bindtap="__e">下一味</view></block><view data-event-opts="{{[['tap',[['handleqingling',['$event']]]]]}}" class="btn qingling data-v-50932108" bindtap="__e">清零</view></view><view class="data-v-50932108"><uni-popup vue-id="7c5cfe04-1" type="dialog" data-ref="popup" class="data-v-50932108 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><uni-popup-dialog vue-id="{{('7c5cfe04-2')+','+('7c5cfe04-1')}}" mode="input" title="重量" placeholder="请输入食物重量" data-event-opts="{{[['^close',[['close']]],['^confirm',[['confirm']]]]}}" bind:close="__e" bind:confirm="__e" class="data-v-50932108" bind:__l="__l"></uni-popup-dialog></uni-popup></view></view>