Commit a79aa6a354c7e0e45df36741bfd208bff1f91423

Authored by 后端研发-倪永富
1 parent cc87c251

首页添加签到入口

pages/index/index/index.wxml
@@ -44,36 +44,57 @@ @@ -44,36 +44,57 @@
44 </view> 44 </view>
45 </view> 45 </view>
46 <view class="pd-view" wx:else></view> 46 <view class="pd-view" wx:else></view>
  47 +
  48 + <view class="flex-center-around {{banner==null?'mar-top':'mar-tops'}}">
  49 + <view class="flex-vertical">
  50 + <image class="xc-hook" src="{{url}}/miniapp/images/index/youxuan.png">
  51 + </image>
  52 + <text bindtap='go_test' class="yellow-co fs26 margin-left" data-url="../../../packageA/pages/prom_list/prom_list">人工优先</text>
  53 + </view>
  54 +
  55 +
  56 + <view class="flex-vertical">
  57 + <image class="xc-hook" src="{{url}}/miniapp/images/index/zhengpin.png">
  58 + </image>
  59 + <text class="yellow-co fs26 margin-left">正品保证</text>
  60 + </view>
  61 +
  62 + <view class="flex-vertical">
  63 + <image class="xc-hook" src="{{url}}/miniapp/images/index/shouhou.png">
  64 + </image>
  65 + <text class="yellow-co fs26 margin-left">售后无忧</text>
  66 + </view>
  67 + </view>
47 68
48 <!---导航--> 69 <!---导航-->
49 - <view class="venues_box" hidden='true'> 70 + <view class="venues_box">
50 <view class="venues_list"> 71 <view class="venues_list">
51 - <view class="venues_item"> 72 + <!-- <view class="venues_item">
52 <navigator url="/pages/activity/group_list/group_list"> 73 <navigator url="/pages/activity/group_list/group_list">
53 <image src="{{url}}/miniapp/images/index/tuangou.png"></image> 74 <image src="{{url}}/miniapp/images/index/tuangou.png"></image>
54 <view>团购</view> 75 <view>团购</view>
55 </navigator> 76 </navigator>
56 - </view> 77 + </view> -->
57 <view class="venues_item"> 78 <view class="venues_item">
58 - <navigator url="/pages/goods/integralMall/integralMall"> 79 + <navigator url="/packageA/pages/jfbuy/jfbuy">
59 <image src="{{url}}/miniapp/images/index/jifen.png"></image> 80 <image src="{{url}}/miniapp/images/index/jifen.png"></image>
60 <view>积分购</view> 81 <view>积分购</view>
61 </navigator> 82 </navigator>
62 </view> 83 </view>
63 <view class="venues_item"> 84 <view class="venues_item">
64 - <navigator url="/pages/goods/brandstreet/brandstreet"> 85 + <navigator url="packageA/pages/quan_list/quan_list">
65 <image src="{{url}}/miniapp/images/index/youhui.png"></image> 86 <image src="{{url}}/miniapp/images/index/youhui.png"></image>
66 <view>优惠券</view> 87 <view>优惠券</view>
67 </navigator> 88 </navigator>
68 </view> 89 </view>
69 <view class="venues_item"> 90 <view class="venues_item">
70 - <navigator url="/pages/activity/coupon_list/coupon_list"> 91 + <navigator url="/packageA/pages/checkin/checkin">
71 <image src="{{url}}/miniapp/images/index/qiandao.png"></image> 92 <image src="{{url}}/miniapp/images/index/qiandao.png"></image>
72 <view>签到</view> 93 <view>签到</view>
73 </navigator> 94 </navigator>
74 </view> 95 </view>
75 <view class="venues_item"> 96 <view class="venues_item">
76 - <navigator url="/pages/goods/categoryList/categoryList"> 97 + <navigator url="/pages/goods/categoryList/categoryList">
77 <image src="{{url}}/miniapp/images/index/fenlei.png"></image> 98 <image src="{{url}}/miniapp/images/index/fenlei.png"></image>
78 <view>全部分类</view> 99 <view>全部分类</view>
79 </navigator> 100 </navigator>
@@ -82,26 +103,7 @@ @@ -82,26 +103,7 @@
82 </view> 103 </view>
83 104
84 105
85 - <view class="flex-center-around {{banner==null?'mar-top':'mar-tops'}}">  
86 - <view class="flex-vertical">  
87 - <image class="xc-hook" src="{{url}}/miniapp/images/index/youxuan.png">  
88 - </image>  
89 - <text bindtap='go_test' class="yellow-co fs26 margin-left" data-url="../../../packageA/pages/prom_list/prom_list">人工优先</text>  
90 - </view>  
91 -  
92 -  
93 - <view class="flex-vertical">  
94 - <image class="xc-hook" src="{{url}}/miniapp/images/index/zhengpin.png">  
95 - </image>  
96 - <text class="yellow-co fs26 margin-left">正品保证</text>  
97 - </view>  
98 -  
99 - <view class="flex-vertical">  
100 - <image class="xc-hook" src="{{url}}/miniapp/images/index/shouhou.png">  
101 - </image>  
102 - <text class="yellow-co fs26 margin-left">售后无忧</text>  
103 - </view>  
104 - </view> 106 +
105 107
106 <!---大分类---> 108 <!---大分类--->
107 <view class="flex-center-around"> 109 <view class="flex-center-around">
pages/index/index/index.wxss
@@ -90,7 +90,12 @@ @@ -90,7 +90,12 @@
90 90
91 .venues_box { 91 .venues_box {
92 background-color: #fff; 92 background-color: #fff;
93 - padding: 20rpx 10rpx; 93 + padding: 20rpx 10rpx 0;
  94 +}
  95 +
  96 +.venues_list {
  97 + display: flex;
  98 + justify-content: space-around;
94 } 99 }
95 100
96 .venues_item { 101 .venues_item {
@@ -450,7 +455,7 @@ @@ -450,7 +455,7 @@
450 455
451 .xc-class-frame { 456 .xc-class-frame {
452 line-height: 40rpx; 457 line-height: 40rpx;
453 - margin-top: 40rpx; 458 + margin-top: 20rpx;
454 margin-bottom: 20rpx; 459 margin-bottom: 20rpx;
455 } 460 }
456 461