wineList-MiniApp/miniprogram/pages/home/home.wxml
2023-04-28 18:04:49 +08:00

29 lines
1.1 KiB
Plaintext

<view class="container" style="padding: 10px;">
<view class="introduce-part c-part">
<view class="title">Make My Drink</view>
<view class="desc">
{{introduce}}
</view>
</view>
<view class="operation-part c-part">
<view class="star-btn btn" bindtap="toStarFunc" style="width: 50%;"> 我喜欢的鸡尾酒</view>
<view class="question-btn btn">
<image src="../../assets/question.png" mode="widthFix"/>
</view>
</view>
<view class="list-part c-part">
<view class="lp-card" wx:for="{{list}}" bindtap="toDetailFunc" data-item="{{item}}" wx:for-item="item" wx:key="id">
<view class="lpc-name-box">
<view class="lpc-name text-ellipsis-1" style="margin-bottom: 5px;"> {{item.name}}</view>
<view class="small-text text-ellipsis-1"> {{item.desc}}</view>
</view>
<view class="lpc-tag std-small-text text-ellipsis-1">
{{item.tag}}
</view>
</view>
</view>
<view class="search-part">
<image bindtap="toSearchFunc" class="search-btn" src="../../assets/search.png" mode="widthFix"/>
</view>
</view>