Browse Source

update[litemall-wx}: 修改购物车未登录时登录按钮样式。

Junling Bu 7 years ago
parent
commit
398f183059
2 changed files with 6 additions and 1 deletions
  1. 1 1
      litemall-wx/pages/cart/cart.wxml
  2. 5 0
      litemall-wx/pages/cart/cart.wxss

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

@@ -3,7 +3,7 @@
     <view class="c">
       <image src="http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/noCart-a8fe3f12e5.png" />
       <text>还没有登录</text>
-      <button type="primary" bindtap="goLogin">去登录</button>
+      <button type="primary" plain="true" bindtap="goLogin">去登录</button>
     </view>
   </view>
   <view class='login' wx:else>

+ 5 - 0
litemall-wx/pages/cart/cart.wxss

@@ -63,6 +63,11 @@ page{
     color: #999;
 }
 
+.no-login button{
+    width: 60%;
+    margin: 0 auto;
+}
+
 .no-cart{
     width: 100%;
     height: auto;