Browse Source

chore[litemall-wx]: 样式调整

Junling Bu 7 years ago
parent
commit
f5556232aa

+ 1 - 1
litemall-wx/pages/groupon/grouponList/grouponList.json

@@ -1,6 +1,6 @@
 {
   "navigationBarTitleText": "团购专区",
   "usingComponents": {
-    "zan-capsule": "../../../lib/zanui-weapp/capsule/index"
+    "zan-capsule": "/lib/zanui-weapp/capsule/index"
   }
 }

+ 3 - 9
litemall-wx/pages/groupon/grouponList/grouponList.wxss

@@ -11,17 +11,11 @@ page ,.container{
     background: #f4f4f4;
 }
 
-.groupon-list {
- width: 750rpx;
- height: auto;
- overflow: hidden;
-}
-
 .groupon-list .item {
- border-top: 1px solid #d9d9d9;
- margin: 0 20rpx;
  height: 244rpx;
- width: 710rpx;
+ width: 100%;
+ background: #fff;
+ margin-bottom: 20rpx;
 }
 
 .groupon-list .img {

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

@@ -137,9 +137,7 @@
  </view>
  <view class="good-grid" wx:for="{{floorGoods}}" wx:key="id">
   <view class="h">
-   <view>
-    <text>{{item.name}}</text>
-   </view>
+      <text>{{item.name}}</text>
   </view>
   <view class="b">
    <block wx:for="{{item.goodsList}}" wx:for-index="iindex" wx:for-item="iitem" wx:key="id">
@@ -151,12 +149,9 @@
      </navigator>
     </view>
    </block>
-   <view class="item item-b item-more">
-    <navigator url="/pages/category/category?id={{item.id}}" class="more-a">
-     <view class="txt">{{'更多'+item.name+'好物'}}</view>
-     <image class="icon" src="../../static/images/icon_go_more.png" background-size="cover"></image>
-    </navigator>
-   </view>
   </view>
+  <navigator url="/pages/category/category?id={{item.id}}" class="t">
+   <view class="txt">{{'更多'+item.name+'好物 >'}}</view>
+  </navigator>
  </view>
 </view>

+ 3 - 23
litemall-wx/pages/index/index.wxss

@@ -439,30 +439,10 @@
   color: #AB956D;
 }
 
-.good-grid .more-item{
-  height: 100%;
-  width: 100%;
-}
-
-.more-a{
-  height: 100%;
-  width: 100%;
+.good-grid .t {
+  height: 100rpx;
+  background: #fff;
   display: flex;
-  flex-direction: column;
   align-items: center;
   justify-content: center;
 }
-
-.good-grid .more-a .txt{
-  height: 33rpx;
-  width: 100%;
-  line-height: 33rpx;
-  color: #333;
-  font-size: 33rpx;
-}
-
-.good-grid .more-a .icon{
-  margin: 60rpx auto 0 auto;
-  width: 70rpx;
-  height: 70rpx;
-}

+ 3 - 9
renard-wx/pages/groupon/grouponList/grouponList.wxss

@@ -11,17 +11,11 @@ page ,.container{
     background: #f4f4f4;
 }
 
-.groupon-list {
- width: 750rpx;
- height: auto;
- overflow: hidden;
-}
-
 .groupon-list .item {
- border-top: 1px solid #d9d9d9;
- margin: 0 20rpx;
  height: 244rpx;
- width: 710rpx;
+ width: 100%;
+ background: #fff;
+ margin-bottom: 20rpx;
 }
 
 .groupon-list .img {