feat(WechatSmallProject): 新增 微信小程序 课程(包含实验1-4)
This commit is contained in:
12
WechatSmallProject/test4/pages/shoplist/shoplist.wxml
Normal file
12
WechatSmallProject/test4/pages/shoplist/shoplist.wxml
Normal file
@@ -0,0 +1,12 @@
|
||||
<view class="shop-item" wx:for="{{ shopList}}" wx:key="id">
|
||||
<view class="thumb">
|
||||
<image src="{{ item.image }}" mode="aspectFill" />
|
||||
</view>
|
||||
<view class="info">
|
||||
<text class="shop-title">{{item.name}}</text>
|
||||
<text>电话:{{tools.splitPhone(item.phone)}}</text>
|
||||
<text>地址:{{item.address}}</text>
|
||||
<text>营业时间:{{item.businessHours}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<wxs src="../../utils/tools.wxs" module="tools" />
|
||||
Reference in New Issue
Block a user