<!--pages/qrCodeList/qrCodeList.wxml-->
|
<view wx:if="{{isShowRoomList}}">
|
<view class="container" >
|
<van-radio-group value="{{ radio }}">
|
<van-cell-group>
|
<block wx:for="{{roomList}}" wx:key="key">
|
<van-card
|
custom-class="van-card"
|
thumb-mode="aspectFill"
|
desc="主播: {{item.AnchorName}}"
|
desc-class="desc-class"
|
title="{{item.RoomName}}"
|
thumb="{{item.CoverImg}}"
|
>
|
<view slot="price" class="live-time">
|
开播时间: {{item.StartTime}}
|
</view>
|
<view slot="footer">
|
<van-cell
|
border="{{false}}"
|
custom-class="van-cell"
|
title=" "
|
clickable
|
title-class="title-class"
|
data-name="{{item.RoomId}}"
|
bind:click="radioOnClick"
|
>
|
<van-radio slot="right-icon" name="{{item.RoomId}}" />
|
</van-cell>
|
</view>
|
</van-card>
|
</block>
|
</van-cell-group>
|
</van-radio-group>
|
</view>
|
|
</view>
|
|
<view wx:else>
|
<view class="container" >
|
<van-radio-group value="{{ radio }}">
|
<van-cell-group>
|
<block wx:for="{{goodsList}}" wx:key="key">
|
<van-card
|
custom-class="van-card"
|
thumb-mode="aspectFill"
|
desc="{{item.MatCode}}"
|
desc-class="desc-class"
|
title="{{item.MatName}}"
|
thumb="{{item.PhotoPath}}"
|
>
|
<!-- <view slot="price" class="">
|
{{item.CurrencySign}}{{item.Price}}
|
</view> -->
|
<view slot="footer">
|
<van-cell
|
border="{{false}}"
|
custom-class="van-cell"
|
title=" "
|
clickable
|
title-class="title-class"
|
data-name="{{item.MatCode}}"
|
bind:click="radioOnClick"
|
>
|
<van-radio slot="right-icon" name="{{item.MatCode}}" />
|
</van-cell>
|
</view>
|
</van-card>
|
</block>
|
</van-cell-group>
|
</van-radio-group>
|
</view>
|
|
</view>
|
|
|
<view class="footer-btn">
|
<van-button
|
type="default"
|
bind:click="cancle"
|
custom-class="btn"
|
>
|
取消
|
</van-button>
|
<van-button
|
type="info"
|
disabled="{{!radio}}"
|
bind:click="enter"
|
custom-class="btn"
|
>
|
确定({{!radio?0:1}})
|
</van-button>
|
</view>
|