1 |
- <view class="shopDetail"><view class="collet"><u-icon class="collet" vue-id="e08f00be-1" id="collet" name="{{collet?'star-fill':'star'}}" color="{{collet?'#ffc107':'#fff'}}" size="40" data-event-opts="{{[['^click',[['handleCollet']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view><zs-lazy-load class="bg" vue-id="e08f00be-2" width="100%" height="300" image="https://picsum.photos/750?r111" bind:__l="__l"></zs-lazy-load><view class="shop-box"><zs-lazy-load class="shop-icon" vue-id="e08f00be-3" width="120" height="120" image="https://picsum.photos/750?r111" bind:__l="__l"></zs-lazy-load><view class="shop-info"><view class="title">{{shop.title||"店铺名称"}}</view><u-rate bind:input="__e" vue-id="e08f00be-4" active-color="#ffc107" allowHalf="{{true}}" count="{{count}}" value="{{shop.star}}" data-event-opts="{{[['^input',[['__set_model',['$0','star','$event',[]],['shop']]]]]}}" bind:__l="__l"></u-rate><text>{{shop.star+"分"}}</text></view></view><view class="tab-group"><view data-event-opts="{{[['tap',[['handleTab',[1]]]]]}}" class="{{(('tab')+' '+(active==1?'active':''))}}" bindtap="__e">点餐</view><view data-event-opts="{{[['tap',[['handleTab',[2]]]]]}}" class="{{(('tab')+' '+(active==2?'active':''))}}" bindtap="__e">评价</view><view data-event-opts="{{[['tap',[['handleTab',[3]]]]]}}" class="{{(('tab')+' '+(active==3?'active':''))}}" bindtap="__e">商家</view></view><view class="box"><view class="type-box"><view data-event-opts="{{[['tap',[['handleType',[1]]]]]}}" class="{{(('type-item')+' '+(type==1?'active':''))}}" bindtap="__e">挖到</view><view data-event-opts="{{[['tap',[['handleType',[2]]]]]}}" class="{{(('type-item')+' '+(type==2?'active':''))}}" bindtap="__e">挖到</view><view data-event-opts="{{[['tap',[['handleType',[3]]]]]}}" class="{{(('type-item')+' '+(type==3?'active':''))}}" bindtap="__e">挖到</view><view data-event-opts="{{[['tap',[['handleType',[4]]]]]}}" class="{{(('type-item')+' '+(type==4?'active':''))}}" bindtap="__e">挖到</view><view data-event-opts="{{[['tap',[['handleType',[5]]]]]}}" class="{{(('type-item')+' '+(type==5?'active':''))}}" bindtap="__e">挖到</view></view><view class="content">{{''+type+''}}</view></view></view>
|