|
@@ -3,10 +3,10 @@
|
|
|
<van-swipe-cell right-width="40" wx:for="{{devices}}" wx:key="openNum">
|
|
|
<van-cell-group>
|
|
|
<van-cell title="{{item.deviceName}}" icon="/imgs/phone_icon.png" label="{{item.openNum}}" clickable data-opennum="{{item.openNum}}" bind:click="changeDevice">
|
|
|
- <van-radio slot="right-icon" name="{{item.isDefault}}" />
|
|
|
+ <van-radio slot="right-icon" name="{{item.isDefault}}" />
|
|
|
</van-cell>
|
|
|
</van-cell-group>
|
|
|
- <view class="delete" slot="right">删除</view>
|
|
|
+ <view class="delete" slot="right" bindtap="unbind" data-opennum="{{item.openNum}}">删除</view>
|
|
|
</van-swipe-cell>
|
|
|
|
|
|
</van-radio-group>
|