浏览代码

perf[litemall-wx]: 继续删除网易图标链接

Junling Bu 6 年之前
父节点
当前提交
0a9735ba9c
共有 30 个文件被更改,包括 41 次插入122 次删除
  1. 1 1
      litemall-wx/pages/auth/accountLogin/accountLogin.wxml
  2. 1 9
      litemall-wx/pages/cart/cart.wxss
  3. 1 1
      litemall-wx/pages/catalog/catalog.wxml
  4. 2 5
      litemall-wx/pages/catalog/catalog.wxss
  5. 0 1
      litemall-wx/pages/checkout/checkout.wxss
  6. 1 1
      litemall-wx/pages/hotGoods/hotGoods.js
  7. 3 1
      litemall-wx/pages/hotGoods/hotGoods.wxml
  8. 3 16
      litemall-wx/pages/hotGoods/hotGoods.wxss
  9. 1 1
      litemall-wx/pages/newGoods/newGoods.js
  10. 3 1
      litemall-wx/pages/newGoods/newGoods.wxml
  11. 2 16
      litemall-wx/pages/newGoods/newGoods.wxss
  12. 3 2
      litemall-wx/pages/search/search.wxml
  13. 3 24
      litemall-wx/pages/search/search.wxss
  14. 1 4
      litemall-wx/pages/topicDetail/topicDetail.wxml
  15. 1 7
      litemall-wx/pages/topicDetail/topicDetail.wxss
  16. 1 2
      litemall-wx/pages/ucenter/address/address.wxml
  17. 1 7
      litemall-wx/pages/ucenter/address/address.wxss
  18. 1 1
      litemall-wx/pages/ucenter/addressAdd/addressAdd.wxml
  19. 4 16
      litemall-wx/pages/ucenter/addressAdd/addressAdd.wxss
  20. 4 1
      litemall-wx/pages/ucenter/couponList/couponList.wxml
  21. 0 1
      litemall-wx/pages/ucenter/couponList/couponList.wxss
  22. 1 2
      litemall-wx/pages/ucenter/feedback/feedback.wxml
  23. 1 1
      litemall-wx/pages/ucenter/index/index.js
  24. 1 0
      litemall-wx/pages/ucenter/index/index.wxml
  25. 1 1
      litemall-wx/pages/ucenter/index/index.wxss
  26. 二进制
      litemall-wx/static/images/about.png
  27. 二进制
      litemall-wx/static/images/address-bg-bd.png
  28. 二进制
      litemall-wx/static/images/hot.png
  29. 二进制
      litemall-wx/static/images/new.png
  30. 二进制
      litemall-wx/static/images/selnum.png

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

@@ -16,7 +16,7 @@
 				<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>
 			</view>
-			<image class="code-img" src="https://dl.reg.163.com/cp?pd=yanxuan_web&pkid=SkeBZeG&random=1489903563234"></image>
+			<image class="code-img" src="captcha.png"></image>
 		</view>  -->
 
     <button type="primary" class="login-btn" bindtap="accountLogin">账号登录</button>

+ 1 - 9
litemall-wx/pages/cart/cart.wxss

@@ -41,15 +41,7 @@ page {
 .no-login .c {
   width: 100%;
   height: auto;
-  margin-top: 200rpx;
-}
-
-.no-login .c image {
-  margin: 0 auto;
-  display: block;
-  text-align: center;
-  width: 258rpx;
-  height: 258rpx;
+  margin-top: 400rpx;
 }
 
 .no-login .c text {

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

@@ -1,7 +1,7 @@
 <view class="container">
   <view class="search">
     <navigator url="/pages/search/search" class="input">
-      <image class="icon"></image>
+      <van-icon name="search"/>
       <text class="txt">商品搜索, 共{{goodsCount}}款好物</text>
     </navigator>
   </view>

+ 2 - 5
litemall-wx/pages/catalog/catalog.wxss

@@ -29,11 +29,8 @@ page {
   justify-content: center;
 }
 
-.search .icon {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/search2-2fb94833aa.png) center no-repeat;
-  background-size: 100%;
-  width: 28rpx;
-  height: 28rpx;
+.search .van-icon-search {
+  line-height: 56rpx;
 }
 
 .search .txt {

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

@@ -6,7 +6,6 @@ page {
 .address-box {
   width: 100%;
   height: 166.55rpx;
-  background: url('http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/address-bg-bd30f2bfeb.png') 0 0 repeat-x;
   background-size: 62.5rpx 10.5rpx;
   margin-bottom: 20rpx;
   padding-top: 10.5rpx;

+ 1 - 1
litemall-wx/pages/hotGoods/hotGoods.js

@@ -5,7 +5,7 @@ var app = getApp();
 Page({
   data: {
     bannerInfo: {
-      'imgUrl': 'http://yanxuan.nosdn.127.net/8976116db321744084774643a933c5ce.png',
+      'imgUrl': '/static/images/hot.png',
       'name': '大家都在买的'
     },
     categoryFilter: false,

+ 3 - 1
litemall-wx/pages/hotGoods/hotGoods.wxml

@@ -15,8 +15,10 @@
       <view class="item {{currentSortType == 'default' ? 'active' : ''}}" bindtap="openSortFilter" id="defaultSort">
         <text class="txt">综合</text>
       </view>
-      <view class="item by-price {{currentSortType == 'price' ? 'active' : ''}} {{currentSortOrder == 'asc'  ? 'asc' : 'desc'}}" bindtap="openSortFilter" id="priceSort">
+      <view class="item {{currentSortType == 'price' ? 'active' : ''}}" bindtap="openSortFilter" id="priceSort">
         <text class="txt">价格</text>
+        <van-icon name="arrow-up" wx:if="{{ currentSortType == 'price' && currentSortOrder == 'asc' }}" />
+        <van-icon name="arrow-down" wx:elif="{{ currentSortType == 'price' && currentSortOrder == 'desc'}}" />
       </view>
       <view class="item {{currentSortType == 'category' ? 'active' : ''}}" bindtap="openSortFilter" id="categoryFilter">
         <text class="txt">分类</text>

+ 3 - 16
litemall-wx/pages/hotGoods/hotGoods.wxss

@@ -62,6 +62,7 @@ page {
   overflow: hidden;
   padding: 0 30rpx;
   display: flex;
+  align-items: center;
   border-bottom: 1px solid #d9d9d9;
 }
 
@@ -75,9 +76,6 @@ page {
 }
 
 .sort-box .item .txt {
-  display: block;
-  width: 100%;
-  height: 100%;
   color: #333;
 }
 
@@ -85,19 +83,8 @@ page {
   color: #b4282d;
 }
 
-.sort-box .item.by-price {
-  background: url(//yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/no-3127092a69.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
-}
-
-.sort-box .item.by-price.active.asc {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/up-636b92c0a5.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
-}
-
-.sort-box .item.by-price.active.desc {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/down-95e035f3e5.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
+.sort-box .item .van-icon {
+  margin-left: 6rpx;
 }
 
 .sort-box-category {

+ 1 - 1
litemall-wx/pages/newGoods/newGoods.js

@@ -5,7 +5,7 @@ var app = getApp();
 Page({
   data: {
     bannerInfo: {
-      'imgUrl': 'http://yanxuan.nosdn.127.net/8976116db321744084774643a933c5ce.png',
+      'imgUrl': '/static/images/new.png',
       'name': '大家都在买的'
     },
     categoryFilter: false,

+ 3 - 1
litemall-wx/pages/newGoods/newGoods.wxml

@@ -15,8 +15,10 @@
       <view class="item {{currentSortType == 'default' ? 'active' : ''}}" bindtap="openSortFilter" id="defaultSort">
         <text class="txt">综合</text>
       </view>
-      <view class="item by-price {{currentSortType == 'price' ? 'active' : ''}} {{currentSortOrder == 'asc'  ? 'asc' : 'desc'}}" bindtap="openSortFilter" id="priceSort">
+      <view class="item {{currentSortType == 'price' ? 'active' : ''}}" bindtap="openSortFilter" id="priceSort">
         <text class="txt">价格</text>
+        <van-icon name="arrow-up" wx:if="{{ currentSortType == 'price' && currentSortOrder == 'asc' }}" />
+        <van-icon name="arrow-down" wx:elif="{{ currentSortType == 'price' && currentSortOrder == 'desc'}}" />
       </view>
       <view class="item {{currentSortType == 'category' ? 'active' : ''}}" bindtap="openSortFilter" id="categoryFilter">
         <text class="txt">分类</text>

+ 2 - 16
litemall-wx/pages/newGoods/newGoods.wxss

@@ -75,9 +75,6 @@ page {
 }
 
 .sort-box .item .txt {
-  display: block;
-  width: 100%;
-  height: 100%;
   color: #333;
 }
 
@@ -85,19 +82,8 @@ page {
   color: #b4282d;
 }
 
-.sort-box .item.by-price {
-  background: url(//yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/no-3127092a69.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
-}
-
-.sort-box .item.by-price.active.asc {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/up-636b92c0a5.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
-}
-
-.sort-box .item.by-price.active.desc {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/down-95e035f3e5.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
+.sort-box .item .van-icon {
+  margin-left: 6rpx;
 }
 
 .sort-box-category {

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

@@ -36,8 +36,10 @@
         <view class="item {{currentSortType == 'default' ? 'active' : ''}}" bindtap="openSortFilter" id="defaultSort">
           <text class="txt">综合</text>
         </view>
-        <view class="item by-price {{currentSortType == 'price' ? 'active' : ''}} {{currentSortOrder == 'asc'  ? 'asc' : 'desc'}}" bindtap="openSortFilter" id="priceSort">
+        <view class="item {{currentSortType == 'price' ? 'active' : ''}}" bindtap="openSortFilter" id="priceSort">
           <text class="txt">价格</text>
+          <van-icon name="arrow-up" wx:if="{{ currentSortType == 'price' && currentSortOrder == 'asc' }}" />
+          <van-icon name="arrow-down" wx:elif="{{ currentSortType == 'price' && currentSortOrder == 'desc'}}" />
         </view>
         <view class="item {{currentSortType == 'category' ? 'active' : ''}}" bindtap="openSortFilter" id="categoryFilter">
           <text class="txt">分类</text>
@@ -59,7 +61,6 @@
   </view>
 
   <view class="search-result-empty" wx:if="{{!goodsList.length && searchStatus}}">
-    <image class="icon" src="http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/noSearchResult-7572a94f32.png"></image>
     <text class="text">您寻找的商品还未上架</text>
   </view>
 </scroll-view>

+ 3 - 24
litemall-wx/pages/search/search.wxss

@@ -180,9 +180,6 @@ page {
 }
 
 .sort-box .item .txt {
-  display: block;
-  width: 100%;
-  height: 100%;
   color: #333;
 }
 
@@ -190,19 +187,8 @@ page {
   color: #b4282d;
 }
 
-.sort-box .item.by-price {
-  background: url(//yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/no-3127092a69.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
-}
-
-.sort-box .item.by-price.active.asc {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/up-636b92c0a5.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
-}
-
-.sort-box .item.by-price.active.desc {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/down-95e035f3e5.png) 155rpx center no-repeat;
-  background-size: 15rpx 21rpx;
+.sort-box .item .van-icon {
+  margin-left: 6rpx;
 }
 
 .sort-box-category {
@@ -319,14 +305,7 @@ page {
 .search-result-empty {
   width: 100%;
   height: 100%;
-  padding-top: 300rpx;
-}
-
-.search-result-empty .icon {
-  margin: 0 auto;
-  display: block;
-  width: 240rpx;
-  height: 240rpx;
+  padding-top: 600rpx;
 }
 
 .search-result-empty .text {

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

@@ -49,10 +49,7 @@
       </view>
     </view>
     <view class="no-comments" wx:if="{{commentList.length <= 0}}">
-      <view class="b">
-        <image class="icon" src="http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/no-comment-560f87660a.png"></image>
-        <text class="txt">等你来留言</text>
-      </view>
+      <text class="txt">等你来留言</text>
     </view>
   </scroll-view>
   <scroll-view class="rec-box">

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

@@ -126,13 +126,7 @@
   text-align: center;
   font-size: 29rpx;
   color: #7f7f7f;
-}
-
-.no-comments .icon {
-  margin: 48rpx auto 18rpx auto;
-  height: 130rpx;
-  display: block;
-  width: 115rpx;
+  padding-top: 150rpx;
 }
 
 .sv-goods {

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

@@ -15,8 +15,7 @@
     </view>
   </view>
   <view class="empty-view" wx:if="{{ addressList.length <= 0 }}">
-    <image class="icon" src="http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/noAddress-26d570cefa.png"></image>
-    <text class="text">收货地址在哪里</text>
+    <text class="text">收货地址还没有~~~</text>
   </view>
   <view class="add-address" bindtap="addressAddOrUpdate" data-address-id="0">新建</view>
 </view>

+ 1 - 7
litemall-wx/pages/ucenter/address/address.wxss

@@ -11,7 +11,7 @@ page {
 
 .address-list {
   padding-left: 31.25rpx;
-  background: #fff url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/address-bg-bd30f2bfeb.png) 0 0 repeat-x;
+  background: #fff;
   background-size: auto 10.5rpx;
   margin-bottom: 90rpx;
 }
@@ -124,12 +124,6 @@ page {
   justify-content: center;
 }
 
-.empty-view .icon {
-  height: 248rpx;
-  width: 258rpx;
-  margin-bottom: 10rpx;
-}
-
 .empty-view .text {
   width: auto;
   font-size: 28rpx;

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

@@ -13,7 +13,7 @@
       <input class="input" bindinput="bindinputAddress" value="{{address.addressDetail}}" placeholder="详细地址, 如街道、楼盘号等" />
     </view>
     <view class="form-default">
-      <text bindtap="bindIsDefault" class="default-input {{address.isDefault == 1 ? 'selected' : ''}}">设为默认地址</text>
+      <van-checkbox value="{{ address.isDefault == 1 }}" bind:change="bindIsDefault">设为默认地址</van-checkbox>
     </view>
   </view>
 

+ 4 - 16
litemall-wx/pages/ucenter/addressAdd/addressAdd.wxss

@@ -29,26 +29,14 @@ page {
 .add-address .form-default {
   border-bottom: 1px solid #d9d9d9;
   height: 96rpx;
-  background: #fafafa;
+  background: #fff;
   padding-top: 28rpx;
   font-size: 28rpx;
+  padding-left: 31.25rpx;
 }
 
-.default-input {
-  margin: 0 auto;
-  display: block;
-  width: 240rpx;
-  height: 40rpx;
-  padding-left: 50rpx;
-  line-height: 40rpx;
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/checkbox-sed825af9d3-a6b8540d42.png) 1rpx -448rpx no-repeat;
-  background-size: 38rpx 486rpx;
-  font-size: 28rpx;
-}
-
-.default-input.selected {
-  background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/checkbox-sed825af9d3-a6b8540d42.png) 0 -192rpx no-repeat;
-  background-size: 38rpx 486rpx;
+.add-address .form-default .van-checkbox .van-icon {
+  color: #fff;
 }
 
 .add-address .btns {

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

@@ -22,7 +22,10 @@
       <view class="add-btn" bindtap='goExchange'>兑换</view>
     </view>
 
-    <view class="help" wx:if="{{status == 0}}">使用说明</view>
+    <view class="help" wx:if="{{status == 0}}">
+      <van-icon name="question-o" />
+      使用说明
+    </view>
 
     <scroll-view class="coupon-list" scroll-y="true" scroll-top="{{scrollTop}}">
 

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

@@ -114,7 +114,6 @@ page {
   line-height: 72rpx;
   text-align: right;
   padding-right: 30rpx;
-  background: url(https://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/couponHelp-4768607555.png) 590rpx center no-repeat;
   background-size: 28rpx;
   color: #999;
   font-size: 24rpx;

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

@@ -4,8 +4,7 @@
     <view class="picker">
       <view class="fb-type">
         <view class="type-label">{{array[index]}}</view>
-        <image class="type-icon" src="http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/pickerArrow-a8b918f05f.png"></image>
-
+        <image class="type-icon" src="/static/images/down.png"></image>
       </view>
     </view>
   </picker>

+ 1 - 1
litemall-wx/pages/ucenter/index/index.js

@@ -7,7 +7,7 @@ Page({
   data: {
     userInfo: {
       nickName: '点击登录',
-      avatarUrl: 'http://yanxuan.nosdn.127.net/8945ae63d940cc42406c3f67019c5cb6.png'
+      avatarUrl: '/static/images/my.png'
     },
     order: {
       unpaid: 0,

+ 1 - 0
litemall-wx/pages/ucenter/index/index.wxml

@@ -101,6 +101,7 @@
       <view class='user_column_item_text'>关于我们</view>
     </view>
   </view>
+  <view class='separate'></view>
 
   <view class="logout" wx:if="{{hasLogin}}" bindtap="exitLogin">退出登录</view>
 </view>

+ 1 - 1
litemall-wx/pages/ucenter/index/index.wxss

@@ -144,7 +144,7 @@ page {
   flex-wrap: wrap;
   float: left;
   background: #fff;
-  border-bottom: 1px solid #fafafa;
+  border-bottom: 6px solid #fafafa;
 }
 
 .user_column_item_phone::after {

二进制
litemall-wx/static/images/about.png


二进制
litemall-wx/static/images/address-bg-bd.png


二进制
litemall-wx/static/images/hot.png


二进制
litemall-wx/static/images/new.png


二进制
litemall-wx/static/images/selnum.png