提交 6c71357f 编写于 作者: G gongfuxiang

微信小程序开发

上级 e57da33b
......@@ -59,8 +59,9 @@
]
},
"networkTimeout": {
"request": 10000,
"downloadFile": 10000
"request": 10000,
"downloadFile": 10000
},
"debug": true
}
"debug": true,
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
<view wx:if="{{data_list.length > 0}}" class="limitedtimediscount">
<view class="spacing-nav-title">
<image class="nav-icon" src="/components/limitedtimediscount/images/nav-icon.png" mode="aspectFit"></image>
<text class="text-wrapper">限时秒杀</text>
<view class="countdown">
<block wx:if="{{is_show_time}}">
......@@ -14,7 +15,7 @@
</view>
<view class="data-list">
<scroll-view scroll-x>
<view wx:for="{{data_list}}" key="key" class="item">
<view wx:for="{{data_list}}" wx:key="key" class="item">
<navigator url="/pages/goods-detail/goods-detail?id={{item.goods_id}}" hover-class="none">
<image src="{{item.images_url}}" mode="aspectFit"></image>
<view class="goods-base">
......
......@@ -11,6 +11,12 @@
overflow: hidden;
padding: 10rpx 0;
}
.spacing-nav-title .nav-icon {
width: 45rpx;
height: 45rpx;
vertical-align: top;
margin-right: 10rpx;
}
.text-wrapper {
color: #d2364c;
font-size: 36rpx;
......
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册