Browse Source

chore[litemall-wx]: 清理图片资源,尽可能使用vant-weapp图标

Junling Bu 6 years ago
parent
commit
77f889826b
43 changed files with 67 additions and 101 deletions
  1. 3 3
      litemall-wx/pages/about/about.wxml
  2. 3 3
      litemall-wx/pages/auth/accountLogin/accountLogin.wxml
  3. 1 3
      litemall-wx/pages/auth/accountLogin/accountLogin.wxss
  4. 5 5
      litemall-wx/pages/auth/register/register.wxml
  5. 1 3
      litemall-wx/pages/auth/register/register.wxss
  6. 4 4
      litemall-wx/pages/auth/reset/reset.wxml
  7. 1 3
      litemall-wx/pages/auth/reset/reset.wxss
  8. 3 3
      litemall-wx/pages/checkout/checkout.wxml
  9. 2 2
      litemall-wx/pages/commentPost/commentPost.wxml
  10. 15 43
      litemall-wx/pages/goods/goods.js
  11. 6 5
      litemall-wx/pages/goods/goods.wxml
  12. 8 6
      litemall-wx/pages/goods/goods.wxss
  13. 2 2
      litemall-wx/pages/search/search.wxml
  14. 2 2
      litemall-wx/pages/topicCommentPost/topicCommentPost.wxml
  15. 1 1
      litemall-wx/pages/topicDetail/topicDetail.wxml
  16. 0 1
      litemall-wx/pages/topicDetail/topicDetail.wxss
  17. 1 1
      litemall-wx/pages/ucenter/address/address.wxml
  18. 1 1
      litemall-wx/pages/ucenter/couponList/couponList.wxml
  19. 1 3
      litemall-wx/pages/ucenter/couponList/couponList.wxss
  20. 2 2
      litemall-wx/pages/ucenter/feedback/feedback.wxml
  21. 4 4
      litemall-wx/pages/ucenter/index/index.wxml
  22. 1 1
      litemall-wx/pages/ucenter/orderDetail/orderDetail.wxml
  23. 0 0
      litemall-wx/static/images/about.png
  24. BIN
      litemall-wx/static/images/address_right.png
  25. BIN
      litemall-wx/static/images/clear_input.png
  26. 0 0
      litemall-wx/static/images/collect.png
  27. BIN
      litemall-wx/static/images/complete.png
  28. BIN
      litemall-wx/static/images/delete.png
  29. BIN
      litemall-wx/static/images/detail_back.png
  30. BIN
      litemall-wx/static/images/down.png
  31. BIN
      litemall-wx/static/images/edit.png
  32. BIN
      litemall-wx/static/images/go.png
  33. BIN
      litemall-wx/static/images/goright.png
  34. 0 0
      litemall-wx/static/images/help.png
  35. BIN
      litemall-wx/static/images/ic_menu_shoping_nor.png
  36. BIN
      litemall-wx/static/images/ic_menu_topic_pressed.png
  37. BIN
      litemall-wx/static/images/ico-addr.png
  38. BIN
      litemall-wx/static/images/icon_close.png
  39. BIN
      litemall-wx/static/images/icon_collect_checked.png
  40. BIN
      litemall-wx/static/images/icon_go_more.png
  41. BIN
      litemall-wx/static/images/share.png
  42. BIN
      litemall-wx/static/images/telephone.png
  43. BIN
      litemall-wx/static/images/wxpay.png

+ 3 - 3
litemall-wx/pages/about/about.wxml

@@ -13,7 +13,7 @@
       <text>{{address}}</text> 
     </view>
     <view class="item-right" bindtap="showLocation">
-      <image src="/static/images/ico-addr.png" class="right-icon"></image>
+      <van-icon class="right-icon" name="location-o" />    
     </view>
   </view>
 
@@ -23,7 +23,7 @@
       <text>{{phone}}</text> 
     </view>
     <view class="item-right" bindtap="callPhone">
-      <image src="/static/images/telephone.png" class="right-icon"></image>
+      <van-icon class="right-icon" name="phone-o" />
     </view>
   </view>
 
@@ -33,7 +33,7 @@
       <text>{{qq}}</text> 
     </view>
     <view class="item-right">
-      <image src="/static/images/mobile.png" class="right-icon"></image>
+      <van-icon class="right-icon" name="friends-o" />
     </view>
   </view>
 

+ 3 - 3
litemall-wx/pages/auth/accountLogin/accountLogin.wxml

@@ -3,18 +3,18 @@
 
     	<view class="form-item">
     		<input class="username" value="{{username}}" bindinput="bindUsernameInput" placeholder="账号"/>
-    		<image wx:if="{{ username.length > 0 }}" id="clear-username" class="clear" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+        <van-icon name="close" wx:if="{{ username.length > 0 }}" id="clear-username" class="clear" catchtap="clearInput"/>
     	</view>
 
     	<view class="form-item">
     		<input class="password" value="{{password}}" password bindinput="bindPasswordInput" placeholder="密码"/>
-    		<image class="clear" id="clear-password" wx:if="{{ password.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+        <van-icon class="clear" id="clear-password" wx:if="{{ password.length > 0 }}" name="close" catchtap="clearInput"/>      
     	</view>
 
 		 <!-- <view class="form-item-code" wx-if="{{loginErrorCount >= 3}}">
 			<view class="form-item code-item">
 				<input class="code" value="{{code}}" bindinput="bindCodeInput" placeholder="验证码"/>
-				<image class="clear" id="clear-code" wx:if="{{ code.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+        <van-icon class="clear" id="clear-code" wx:if="{{ code.length > 0 }}" name="close" catchtap="clearInput"/>        
 			</view>
 			<image class="code-img" src="captcha.png"></image>
 		</view>  -->

+ 1 - 3
litemall-wx/pages/auth/accountLogin/accountLogin.wxss

@@ -47,13 +47,11 @@
 
 .form-item .clear {
   position: absolute;
-  top: 26rpx;
+  top: 32rpx;
   right: 18rpx;
   z-index: 2;
   display: block;
   background: #fff;
-  height: 44rpx;
-  width: 44rpx;
 }
 
 .login-btn {

+ 5 - 5
litemall-wx/pages/auth/register/register.wxml

@@ -3,28 +3,28 @@
 
     <view class="form-item">
       <input class="username" value="{{username}}" bindinput="bindUsernameInput" placeholder="用户名" auto-focus/>
-      <image wx:if="{{ username.length > 0 }}" id="clear-username" class="clear" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon  wx:if="{{ username.length > 0 }}" id="clear-username" class="clear" name="close" catchtap="clearInput"/>      
     </view>
 
     <view class="form-item">
       <input class="password" value="{{password}}" password bindinput="bindPasswordInput" placeholder="密码" />
-      <image class="clear" id="clear-password" wx:if="{{ password.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon class="clear" id="clear-password" wx:if="{{ password.length > 0 }}" name="close" catchtap="clearInput"/>      
     </view>
 
     <view class="form-item">
       <input class="password" value="{{confirmPassword}}" password bindinput="bindConfirmPasswordInput" placeholder="确认密码" />
-      <image class="clear" id="clear-confirm-password" wx:if="{{ confirmPassword.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon class="clear" id="clear-confirm-password" wx:if="{{ confirmPassword.length > 0 }}" name="close" catchtap="clearInput"/>
     </view>
 
     <view class="form-item">
       <input class="mobile" value="{{mobile}}" bindinput="bindMobileInput" placeholder="手机号" />
-      <image wx:if="{{ mobile.length > 0 }}" id="clear-mobile" class="clear" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon class="clear" id="clear-mobile" wx:if="{{ mobile.length > 0 }}" name="close" catchtap="clearInput"/>      
     </view>
 
     <view class="form-item-code">
       <view class="form-item code-item">
         <input class="code" value="{{code}}" bindinput="bindCodeInput" placeholder="验证码" />
-        <image class="clear" id="clear-code" wx:if="{{ code.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+        <van-icon class="clear" id="clear-code" wx:if="{{ code.length > 0 }}" name="close" catchtap="clearInput"/>      
       </view>
       <view class="code-btn" bindtap="sendCode">获取验证码</view>
     </view>

+ 1 - 3
litemall-wx/pages/auth/register/register.wxss

@@ -49,13 +49,11 @@
 
 .form-item .clear {
   position: absolute;
-  top: 26rpx;
+  top: 32rpx;
   right: 18rpx;
   z-index: 2;
   display: block;
   background: #fff;
-  height: 44rpx;
-  width: 44rpx;
 }
 
 .register-btn {

+ 4 - 4
litemall-wx/pages/auth/reset/reset.wxml

@@ -3,25 +3,25 @@
 
     <view class="form-item">
       <input class="mobile" value="{{mobile}}" bindinput="bindMobileInput" placeholder="手机号" />
-      <image wx:if="{{ mobile.length > 0 }}" id="clear-mobile" class="clear" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon  wx:if="{{ mobile.length > 0 }}" id="clear-mobile" class="clear" catchtap="clearInput" name="close" />      
     </view>
 
     <view class="form-item-code">
       <view class="form-item code-item">
         <input class="code" value="{{code}}" bindinput="bindCodeInput" placeholder="验证码" />
-        <image class="clear" id="clear-code" wx:if="{{ code.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+        <van-icon  wx:if="{{ code.length > 0 }}" id="clear-code" class="clear" catchtap="clearInput" name="close" />      
       </view>
       <view class="code-btn" bindtap="sendCode">获取验证码</view>
     </view>
 
     <view class="form-item">
       <input class="password" value="{{password}}" password bindinput="bindPasswordInput" placeholder="密码" />
-      <image class="clear" id="clear-password" wx:if="{{ password.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon  wx:if="{{ password.length > 0 }}" id="clear-password" class="clear" catchtap="clearInput" name="close" />      
     </view>
 
     <view class="form-item">
       <input class="password" value="{{confirmPassword}}" password bindinput="bindConfirmPasswordInput" placeholder="确认密码" />
-      <image class="clear" id="clear-confirm-password" wx:if="{{ confirmPassword.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearInput"></image>
+      <van-icon  wx:if="{{ confirmPassword.length > 0 }}" id="clear-confirm-password" class="clear" catchtap="clearInput" name="close" />
     </view>
 
     <button type="default" class="reset-btn" bindtap="startReset">密码重置</button>

+ 1 - 3
litemall-wx/pages/auth/reset/reset.wxss

@@ -47,13 +47,11 @@
 
 .form-item .clear {
   position: absolute;
-  top: 26rpx;
+  top: 32rpx;
   right: 18rpx;
   z-index: 2;
   display: block;
   background: #fff;
-  height: 44rpx;
-  width: 44rpx;
 }
 
 .reset-btn {

+ 3 - 3
litemall-wx/pages/checkout/checkout.wxml

@@ -10,7 +10,7 @@
         <text class="address">{{checkedAddress.addressDetail}}</text>
       </view>
       <view class="r">
-        <image src="/static/images/address_right.png"></image>
+        <van-icon name="arrow" />
       </view>
     </view>
     <view class="address-item address-empty" bindtap="selectAddress" wx:else>
@@ -18,7 +18,7 @@
         还没有收货地址,去添加
       </view>
       <view class="r">
-        <image src="/static/images/address_right.png"></image>
+        <van-icon name="arrow" />      
       </view>
     </view>
   </view>
@@ -38,7 +38,7 @@
         <text class="txt">-¥{{couponPrice}}元</text>
       </view>      
       <view class="r">
-        <image src="/static/images/address_right.png"></image>
+        <van-icon name="arrow" />      
       </view>
     </view>
   </view>

+ 2 - 2
litemall-wx/pages/commentPost/commentPost.wxml

@@ -14,8 +14,8 @@
     <view class="rater">
       <text class="rater-title">评分</text>
       <block wx:for="{{stars}}" wx:key="*this" wx:for-item="item">
-        <image src="/static/images/icon_collect_checked.png" bindtap="selectRater" data-star="{{item}}" wx:if="{{item < star}}"></image>
-        <image src="/static/images/icon_collect.png" bindtap="selectRater" data-star="{{item}}" wx:else></image>
+        <van-icon name="star" bindtap="selectRater" color="#ab956d" data-star="{{item}}" wx:if="{{item < star}}"/>
+        <van-icon name="star-o" bindtap="selectRater" data-star="{{item}}" wx:else/>
       </block>
       <text class="rater-desc">{{starText}}</text>
     </view>

+ 15 - 43
litemall-wx/pages/goods/goods.js

@@ -26,9 +26,7 @@ Page({
     checkedSpecPrice: 0,
     openAttr: false,
     openShare: false,
-    noCollectImage: '/static/images/icon_collect.png',
-    hasCollectImage: '/static/images/icon_collect_checked.png',
-    collectImage: '/static/images/icon_collect.png',
+    collect: false,
     shareImage: '',
     isGroupon: false, //标识是否是一个参团购买
     soldout: false,
@@ -189,11 +187,11 @@ Page({
 
         if (res.data.userHasCollect == 1) {
           that.setData({
-            collectImage: that.data.hasCollectImage
+            collect: true
           });
         } else {
           that.setData({
-            collectImage: that.data.noCollectImage
+            collect: false
           });
         }
 
@@ -471,12 +469,12 @@ Page({
       .then(function(res) {
         if (that.data.userHasCollect == 1) {
           that.setData({
-            collectImage: that.data.noCollectImage,
+            collect: false,
             userHasCollect: 0
           });
         } else {
           that.setData({
-            collectImage: that.data.hasCollectImage,
+            collect: true,
             userHasCollect: 1
           });
         }
@@ -497,10 +495,7 @@ Page({
 
       //提示选择完整规格
       if (!this.isCheckedAllSpec()) {
-        wx.showToast({
-          image: '/static/images/icon_error.png',
-          title: '请选择完整规格'
-        });
+        util.showErrorToast('请选择完整规格');
         return false;
       }
 
@@ -508,20 +503,14 @@ Page({
       let checkedProductArray = this.getCheckedProductItem(this.getCheckedSpecKey());
       if (!checkedProductArray || checkedProductArray.length <= 0) {
         //找不到对应的product信息,提示没有库存
-        wx.showToast({
-          image: '/static/images/icon_error.png',
-          title: '没有库存'
-        });
+        util.showErrorToast('没有库存');
         return false;
       }
 
       let checkedProduct = checkedProductArray[0];
       //验证库存
       if (checkedProduct.number <= 0) {
-        wx.showToast({
-          image: '/static/images/icon_error.png',
-          title: '没有库存'
-        });
+        util.showErrorToast('没有库存');
         return false;
       }
 
@@ -548,11 +537,7 @@ Page({
             } catch (e) {}
 
           } else {
-            wx.showToast({
-              image: '/static/images/icon_error.png',
-              title: res.errmsg,
-              mask: true
-            });
+            util.showErrorToast(res.errmsg);
           }
         });
     }
@@ -572,10 +557,7 @@ Page({
 
       //提示选择完整规格
       if (!this.isCheckedAllSpec()) {
-        wx.showToast({
-          image: '/static/images/icon_error.png',
-          title: '请选择完整规格'
-        });
+        util.showErrorToast('请选择完整规格');
         return false;
       }
 
@@ -583,20 +565,14 @@ Page({
       let checkedProductArray = this.getCheckedProductItem(this.getCheckedSpecKey());
       if (!checkedProductArray || checkedProductArray.length <= 0) {
         //找不到对应的product信息,提示没有库存
-        wx.showToast({
-          image: '/static/images/icon_error.png',
-          title: '没有库存'
-        });
+        util.showErrorToast('没有库存');
         return false;
       }
 
       let checkedProduct = checkedProductArray[0];
       //验证库存
       if (checkedProduct.number <= 0) {
-        wx.showToast({
-          image: '/static/images/icon_error.png',
-          title: '没有库存'
-        });
+        util.showErrorToast('没有库存');
         return false;
       }
 
@@ -618,19 +594,15 @@ Page({
             });
             if (that.data.userHasCollect == 1) {
               that.setData({
-                collectImage: that.data.hasCollectImage
+                collect: true
               });
             } else {
               that.setData({
-                collectImage: that.data.noCollectImage
+                collect: false
               });
             }
           } else {
-            wx.showToast({
-              image: '/static/images/icon_error.png',
-              title: _res.errmsg,
-              mask: true
-            });
+            util.showErrorToast(_res.errmsg);
           }
 
         });

+ 6 - 5
litemall-wx/pages/goods/goods.wxml

@@ -12,7 +12,7 @@
   <view class="share-pop-box" hidden="{{!openShare}}">
     <view class="share-pop">
       <view class="close" bindtap="closeShare">
-        <image class="icon" src="/static/images/icon_close.png"></image>
+        <van-icon class="icon" name="cross" />      
       </view>
       <view class='share-info'>
         <button class="sharebtn" open-type="share" wx:if="{{!isGroupon}}">
@@ -48,7 +48,7 @@
   </view>
   <view class="section-nav section-attr" bindtap="switchAttrPop">
     <view class="t">{{checkedSpecText}}</view>
-    <image class="i" src="/static/images/address_right.png" background-size="cover"></image>
+    <van-icon class="i" name="arrow" />
   </view>
   <view class="comments" wx:if="{{comment.count > 0}}">
     <view class="h">
@@ -132,7 +132,7 @@
 <view class="attr-pop-box" hidden="{{!openAttr}}">
   <view class="attr-pop">
     <view class="close" bindtap="closeAttr">
-      <image class="icon" src="/static/images/icon_close.png"></image>
+      <van-icon  class="icon" name="cross" />      
     </view>
     <view class="img-info">
       <image class="img" src="{{goods.picUrl}}"></image>
@@ -184,12 +184,13 @@
 <!-- 底部按钮 -->
 <view class="bottom-btn">
   <view class="l l-collect" bindtap="addCollectOrNot" wx:if="{{!isGroupon}}">
-    <image class="icon" src="{{ collectImage }}"></image>
+    <van-icon class="icon" name="star" color="#ab956d" wx:if="{{collect}}"/>
+    <van-icon class="icon" name="star-o" wx:else/>
   </view>
   <view class="l l-cart" wx:if="{{!isGroupon}}">
     <view class="box">
       <text class="cart-count">{{cartGoodsCount}}</text>
-      <image bindtap="openCartPage" class="icon" src="/static/images/ic_menu_shoping_nor.png"></image>
+      <van-icon bindtap="openCartPage" class="icon" name="cart-o" />
     </view>
   </view>
   <view class="r" bindtap="addToCart" wx:if="{{!soldout}}" wx:if="{{!isGroupon}}">加入购物车</view>

+ 8 - 6
litemall-wx/pages/goods/goods.wxss

@@ -569,6 +569,13 @@
   width: 90rpx;
 }
 
+.bottom-btn .l.l-collect .icon {
+  position: absolute;
+  top: 28rpx;
+  left: 20rpx;
+  font-size: 44rpx;
+}
+
 .bottom-btn .l.l-kefu {
   position: relative;
   height: 54rpx;
@@ -600,12 +607,7 @@
   position: absolute;
   top: 10rpx;
   left: 0;
-}
-
-.bottom-btn .l .icon {
-  display: block;
-  height: 44rpx;
-  width: 44rpx;
+  font-size: 44rpx;
 }
 
 .bottom-btn .c {

+ 2 - 2
litemall-wx/pages/search/search.wxml

@@ -3,7 +3,7 @@
     <view class="input-box">
       <van-icon name="search"/>
       <input name="input" class="keywrod" focus="true" value="{{keyword}}" confirm-type="search" bindinput="inputChange" bindfocus="inputFocus" bindconfirm="onKeywordConfirm" placeholder="{{defaultKeyword.keyword}}" />
-      <image class="del" wx:if="{{keyword}}" bindtap="clearKeyword" src="/static/images/icon_close.png"></image>
+      <van-icon class="del" wx:if="{{keyword}}" bindtap="clearKeyword" name="cross" />
     </view>
     <view class="right" bindtap="closeSearch">取消</view>
   </view>
@@ -11,7 +11,7 @@
     <view class="search-keywords search-history" wx:if="{{!keyword  && historyKeyword.length}}">
       <view class="h">
         <text class="title">历史记录</text>
-        <image class="icon" bindtap="clearHistory" src="/static/images/delete.png"></image>
+        <van-icon bindtap="clearHistory" name="delete" class="icon"/>
       </view>
       <view class="b">
         <view class="item" bindtap="onKeywordTap" data-keyword="{{item.keyword}}" wx:for="{{historyKeyword}}" wx:key="keyword" hover-class="navigator-hover">{{item.keyword}}</view>

+ 2 - 2
litemall-wx/pages/topicCommentPost/topicCommentPost.wxml

@@ -14,8 +14,8 @@
     <view class="rater">
       <text class="rater-title">评分</text>
       <block wx:for="{{stars}}" wx:key="*this" wx:for-item="item">
-        <image src="/static/images/icon_collect_checked.png" bindtap="selectRater" data-star="{{item}}" wx:if="{{item < star}}"></image>
-        <image src="/static/images/icon_collect.png" bindtap="selectRater" data-star="{{item}}" wx:else></image>
+        <van-icon name="star" bindtap="selectRater" color="#ab956d" data-star="{{item}}" wx:if="{{item < star}}"/>
+        <van-icon name="star-o" bindtap="selectRater" data-star="{{item}}" wx:else/>
       </block>
       <text class="rater-desc">{{starText}}</text>
     </view>

+ 1 - 1
litemall-wx/pages/topicDetail/topicDetail.wxml

@@ -27,7 +27,7 @@
   <scroll-view class="comments">
     <view class="h">
       <text class="t">精选留言</text>
-      <image bindtap="postComment" class="i" src="/static/images/edit.png"></image>
+      <van-icon bindtap="postComment" class="i" name="comment-o" />      
     </view>
     <view class="has-comments" wx:if="{{commentList.length > 0 }}">
       <view class="b">

+ 0 - 1
litemall-wx/pages/topicDetail/topicDetail.wxss

@@ -36,7 +36,6 @@
 .comments .h .i {
   display: block;
   float: right;
-  margin-top: 30rpx;
   width: 33rpx;
   height: 33rpx;
 }

+ 1 - 1
litemall-wx/pages/ucenter/address/address.wxml

@@ -10,7 +10,7 @@
         <view class="address">{{item.addressDetail}}</view>
       </view>
       <view class="r">
-        <image catchtap="deleteAddress" data-address-id="{{item.id}}" class="del" src="/static/images/delete.png"></image>
+        <van-icon catchtap="deleteAddress" data-address-id="{{item.id}}" class="del" name="delete"/>
       </view>
     </view>
   </view>

+ 1 - 1
litemall-wx/pages/ucenter/couponList/couponList.wxml

@@ -17,7 +17,7 @@
     <view class="coupon-form" wx:if="{{status == 0}}">
       <view class="input-box">
         <input class="coupon-sn" placeholder="请输入优惠码" value="{{code}}" bindinput="bindExchange"/>
-        <image class="clear-icon" wx:if="{{ code.length > 0 }}" src="/static/images/clear_input.png" catchtap="clearExchange"></image>
+        <van-icon name="close" class="clear-icon" wx:if="{{ code.length > 0 }}" catchtap="clearExchange"/>        
       </view>
       <view class="add-btn" bindtap='goExchange'>兑换</view>
     </view>

+ 1 - 3
litemall-wx/pages/ucenter/couponList/couponList.wxss

@@ -84,13 +84,11 @@ page {
 
 .container .b .clear-icon {
   position: absolute;
-  top: 10rpx;
+  top: 25rpx;
   right: 18rpx;
   z-index: 2;
   display: block;
   background: #fff;
-  height: 44rpx;
-  width: 44rpx;
 }
 
 .container .b .add-btn {

+ 2 - 2
litemall-wx/pages/ucenter/feedback/feedback.wxml

@@ -4,7 +4,7 @@
     <view class="picker">
       <view class="fb-type">
         <view class="type-label">{{array[index]}}</view>
-        <image class="type-icon" src="/static/images/down.png"></image>
+        <van-icon class="type-icon" name="arrow-down" />        
       </view>
     </view>
   </picker>
@@ -26,7 +26,7 @@
     <view class="label">手机号码</view>
     <view class="mobile-box">
       <input class="mobile" maxlength="11" type="number" placeholder="方便我们与你联系" bindinput="mobileInput" value="{{mobile}}" />
-      <image class="clear-icon" src="/static/images/clear_input.png" wx:if="{{ mobile.length > 0 }}" catchtap="clearMobile"></image>
+      <van-icon class="clear-icon" name="close" wx:if="{{ mobile.length > 0 }}" catchtap="clearMobile"/>
     </view>
   </view>
 

+ 4 - 4
litemall-wx/pages/ucenter/index/index.wxml

@@ -11,7 +11,7 @@
   <view class='user_area'>
     <view class='user_row' bindtap='goOrder'>
       <view class='user_row_left'>我的订单</view>
-      <image class='user_row_right' src='/static/images/goright.png'></image>
+      <van-icon class='user_row_right' name="arrow" />      
     </view>
     <view class='user_column'>
       <view class='user_column_item' bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
@@ -54,7 +54,7 @@
       <view class='user_column_item_text'>优惠卷</view>
     </view>
     <view class='user_column_item' bindtap='goCollect'>
-      <image class='user_column_item_image' src='/static/images/icon_collect.png'></image>
+      <image class='user_column_item_image' src='/static/images/collect.png'></image>
       <view class='user_column_item_text'>商品收藏</view>
     </view>
     <view class='user_column_item' bindtap='goFootprint'>
@@ -83,7 +83,7 @@
       <view class='user_column_item_text'>绑定手机</view>
     </button>
     <view class='user_column_item' bindtap='goHelp'>
-      <image class='user_column_item_image' src='/static/images/ic_menu_topic_nor.png'></image>
+      <image class='user_column_item_image' src='/static/images/help.png'></image>
       <view class='user_column_item_text'>帮助中心</view>
     </view>
     <view class='user_column_item' bindtap='goFeedback'>
@@ -97,7 +97,7 @@
       <view class='user_column_item_text'>联系客服</view>
     </view>
     <view class='user_column_item' bindtap='aboutUs'>
-      <image class='user_column_item_image' src='/static/images/about_us.png'></image>
+      <image class='user_column_item_image' src='/static/images/about.png'></image>
       <view class='user_column_item_text'>关于我们</view>
     </view>
   </view>

+ 1 - 1
litemall-wx/pages/ucenter/orderDetail/orderDetail.wxml

@@ -79,7 +79,7 @@
         <view class="t">快递公司:{{orderInfo.expName}}</view>
         <view class="b">物流单号:{{orderInfo.expNo}}</view>
       </view>
-      <image class="ti" src="/static/images/address_right.png" background-size="cover"></image>
+      <van-icon class="ti" name="arrow" />      
     </view>
     <view class="traces" wx:for="{{expressInfo.Traces}}" wx:key="item" wx:for-item="iitem" wx:if="{{ flag }}">
       <view class="trace">

litemall-wx/static/images/about_us.png → litemall-wx/static/images/about.png


BIN
litemall-wx/static/images/address_right.png


BIN
litemall-wx/static/images/clear_input.png


litemall-wx/static/images/icon_collect.png → litemall-wx/static/images/collect.png


BIN
litemall-wx/static/images/complete.png


BIN
litemall-wx/static/images/delete.png


BIN
litemall-wx/static/images/detail_back.png


BIN
litemall-wx/static/images/down.png


BIN
litemall-wx/static/images/edit.png


BIN
litemall-wx/static/images/go.png


BIN
litemall-wx/static/images/goright.png


litemall-wx/static/images/ic_menu_topic_nor.png → litemall-wx/static/images/help.png


BIN
litemall-wx/static/images/ic_menu_shoping_nor.png


BIN
litemall-wx/static/images/ic_menu_topic_pressed.png


BIN
litemall-wx/static/images/ico-addr.png


BIN
litemall-wx/static/images/icon_close.png


BIN
litemall-wx/static/images/icon_collect_checked.png


BIN
litemall-wx/static/images/icon_go_more.png


BIN
litemall-wx/static/images/share.png


BIN
litemall-wx/static/images/telephone.png


BIN
litemall-wx/static/images/wxpay.png