使用新的图标,包装改为管到

wechat_user_type
Ge Hao 8 years ago
parent 964de9f233
commit 2ed04581af
  1. BIN
      images/asset.png
  2. BIN
      images/direct_sale.png
  3. BIN
      images/icon-new-list1.png
  4. BIN
      images/icon-new-list2.png
  5. BIN
      images/icon-new-list3.png
  6. BIN
      images/icon-new-list4.png
  7. BIN
      images/our_select.png
  8. BIN
      images/packing.png
  9. 42
      pages/category/category.wxml
  10. 14
      pages/category/category.wxss
  11. 8
      pages/index/index.js

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

@ -1,22 +1,28 @@
<scroll-view scroll-y="true" height="100%"> <view wx:if="{{items.length > 0}}">
<view class="item-container"> <scroll-view scroll-y="true" height="100%">
<block wx:for="{{items}}" wx:for-item="item" wx:key="id"> <view class="item-container">
<view class="item"> <block wx:for="{{items}}" wx:for-item="item" wx:key="id">
<view class="item-block" bindtap="bindTapProduct" data-id="{{item.id}}"> <view class="item">
<image class="head-img" src="{{item['image-url']}}" mode="aspectFit"></image> <view class="item-block" bindtap="bindTapProduct" data-id="{{item.id}}">
<view class="first-line"> <image class="head-img" src="{{item['image-url']}}" mode="aspectFit"></image>
<text class="name">{{item.name}}</text> <view class="first-line">
</view> <text class="name">{{item.name}}</text>
<view class="second-line">
<view wx:if="{{ accountType === '巴爷' }}">
<text>¥{{item['baye-price']}}</text>
</view> </view>
<view wx:else> <view class="second-line">
<text>¥{{item['member-price']}}</text> <view wx:if="{{ accountType === '巴爷' }}">
<text>¥{{item['baye-price']}}</text>
</view>
<view wx:else>
<text>¥{{item['member-price']}}</text>
</view>
</view> </view>
</view> </view>
</view> </view>
</view> </block>
</block> </view>
</view> </scroll-view>
</scroll-view> </view>
<view wx:else>
<view class="offline-notice">本功能即将上线,请耐心等待</view>
</view>

@ -12,9 +12,10 @@
.item-block { .item-block {
display: block; display: block;
background-color: white; background-color: white;
margin: 1px 1px 0 0; border-right: 1px solid #f1f1f1;
border-bottom: 1px solid #f1f1f1;
padding: 15rpx 15rpx 15rpx; padding: 15rpx 15rpx 15rpx;
height: 485rpx; min-height: 485rpx;
} }
.item image { .item image {
@ -37,6 +38,15 @@
color: red; color: red;
} }
.offline-notice {
margin: 60rpx 10rpx 0 10rpx;
padding: 40rpx 0 40rpx 0;
border-radius: 5rpx;
text-align: center;
background-color: white;
font-size: 33rpx;
}
page { page {
background-color: #f1f1f1; background-color: #f1f1f1;
} }

@ -5,10 +5,10 @@ Page({
data: { data: {
items: [], items: [],
slides: [], slides: [],
navs: [{icon: "../../images/asset.png", name: "资产"}, navs: [{icon: "../../images/icon-new-list1.png", name: "资产"},
{icon: "../../images/direct_sale.png", name: "直销"}, {icon: "../../images/icon-new-list2.png", name: "直销"},
{icon: "../../images/our_select.png", name: "甄选"}, {icon: "../../images/icon-new-list3.png", name: "甄选"},
{icon: "../../images/packing.png", name: "包装"}], {icon: "../../images/icon-new-list4.png", name: "管到"}],
popularity_products: [], popularity_products: [],
new_products: [], new_products: [],

Loading…
Cancel
Save