Commit 3dae7085d1821aef955a4c66f88f58f18729d5ac

Authored by taiyuan
2 parents cc8f2109 85fa9583

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

components/diy_picMax/diy_picMax.wxml
... ... @@ -2,15 +2,15 @@
2 2 <wxs module="g_filter" src="../diy_notice/g_filter.wxs"></wxs>
3 3 <!-- 如果有纵向合并的时候,要求要按照绝对布局来实现 -->
4 4 <block wx:if="{{is_yspan}}">
5   - <view class="picMax2" style="height: {{pic_height}}rpx;" >
6   - <view wx:for="{{object.data}}" class="pic_item2 width_{{item.x_span}} height_{{item.y_span}} mar_x{{item.fir.x}} mar_y{{item.fir.y}}">
  5 + <view class="picMax2" style="height: {{pic_height}}rpx; font-size: 0" >
  6 + <view wx:for="{{object.data}}" class="pic_item2 width_{{item.x_span}} height_{{item.y_span}} mar_x{{item.fir.x}} mar_y{{item.fir.y}} mgt2">
7 7 <block wx:if="{{g_filter.has_char(item.wxapp_url,'plugin')>=0}}" >
8 8 <navigator url="{{item.wxapp_url}}">
9   - <image src="{{item.src}}" style="display: block;" ></image>
  9 + <image src="{{item.src}}" style="display: block; height: 100%; width: 100%;" ></image>
10 10 </navigator>
11 11 </block>
12 12 <block wx:else>
13   - <image bindtap='gopage' data-url="{{item.wxapp_url}}" src="{{item.src}}" style="display: block;" ></image>
  13 + <image bindtap='gopage' data-url="{{item.wxapp_url}}" src="{{item.src}}" style="display: block; height: 100%; width: 100%;"></image>
14 14 </block>
15 15 </view>
16 16 </view>
... ...
components/diy_picMax/diy_picMax.wxss
... ... @@ -13,7 +13,7 @@
13 13 .picMax-clear{clear: both;}
14 14  
15 15 .mgt2 {
16   - margin-top: -2rpx;
  16 + margin-top: -2rpx !important;
17 17 }
18 18  
19 19 .picMax2{
... ... @@ -22,11 +22,16 @@
22 22 .pic_item2{
23 23 position:absolute;top:0; left:0;
24 24 }
25   -.pic_item2 image{}
  25 +.pic_item2 image{
  26 + vertical-align: top;
  27 + vertical-align: text-top;
  28 + vertical-align: bottom;
  29 + vertical-align: text-bottom;
  30 +}
26 31 /* .width_1{width: 187.5rpx}.width_2{width: 375rpx;}.width_3{width: 562.5rpx}.width_4{width:750rpx;} */
27 32 .width_1{width: 25%}.width_2{width: 50%}.width_3{width: 75%}.width_4{width:100%}
28 33  
29 34  
30   -.height_1{height: 187.5rpx;}.height_2{height: 375rpx;}.height_3{height: 562.5rpx}.height_4{height: 748rpx;}
31   -.mar_x1{margin-left:187.5rpx;}.mar_x2{margin-left:375rpx;}.mar_x3{margin-left:562.5rpx}.mar_x4{margin-left: 748rpx;}
32   -.mar_y1{margin-top: 187.5rpx;}.mar_y2{margin-top: 375rpx;}.mar_y3{margin-top: 562.5rpx}.mar_y4{margin-top: 748rpx;}
33 35 \ No newline at end of file
  36 +.height_1{height: 186rpx;}.height_2{height: 372rpx;}.height_3{height: 558rpx}.height_4{height: 744rpx;}
  37 +.mar_x1{left:187rpx;}.mar_x2{left:374rpx;}.mar_x3{left:561rpx}.mar_x4{left: 748rpx;}
  38 +.mar_y1{top: 186rpx;}.mar_y2{top: 372rpx;}.mar_y3{top: 558rpx}.mar_y4{top: 744rpx;}
34 39 \ No newline at end of file
... ...
packageA/pages/myGift/myGift.js
... ... @@ -35,6 +35,7 @@ Page({
35 35  
36 36 if(index == 0) {
37 37 url = '/api/weshop/libao/libaoForm/page';
  38 + data.timetype=1;
38 39 } else if(index == 1) {
39 40 url = '/api/weshop/libao/libaoFormvip/page';
40 41 };
... ... @@ -88,6 +89,7 @@ Page({
88 89  
89 90 if(index == 0) {
90 91 url = '/api/weshop/libao/libaoForm/page';
  92 + data.timetype=1;
91 93 } else if(index == 1) {
92 94 url = '/api/weshop/libao/libaoFormvip/page';
93 95 };
... ... @@ -125,17 +127,21 @@ Page({
125 127  
126 128 var url="";
127 129 var index=this.data.currentIndex;
  130 +
  131 + var req_data={
  132 + store_id: app.globalData.setting.stoid,
  133 + user_id: app.globalData.user_id,
  134 + }
  135 +
128 136 if(index == 0) {
129 137 url = '/api/weshop/libao/libaoForm/page';
  138 + req_data.timetype=1;
130 139 } else if(index == 1) {
131 140 url = '/api/weshop/libao/libaoFormvip/page';
132 141 };
133 142  
134 143  
135   - this.scrollToLower(url, {
136   - store_id: app.globalData.setting.stoid,
137   - user_id: app.globalData.user_id,
138   - });
  144 + this.scrollToLower(url, req_data);
139 145 },
140 146  
141 147 /**
... ...
packageA/pages/myGiftDetails/myGiftDetails.wxml
... ... @@ -86,9 +86,9 @@
86 86 <block wx:for="{{item.goods_num-0}}" wx:for-item="nitem" wx:for-index="idx">
87 87 <view class="lb_quan" style="background-image: url({{imghost}}/miniapp/images/yhq_{{index%2+1}}.png)">
88 88 <view class="flex fs28 fir_view">
89   - <view>满{{item.condition}}使用</view>
  89 + <view>满{{item.condition?item.condition:'0.00'}}使用</view>
90 90 <view wx:if="{{item.type==6}}" class="fs8" style="text-align: center; padding-right: 40rpx; font-size: 35rpx">包邮</view>
91   - <view wx:else class="fs8" style="text-align: right">¥{{item.money}}</view>
  91 + <view wx:else class="fs8" style="text-align: center; width: 140rpx">¥{{filter.toFix(item.money,2)}}</view>
92 92 </view>
93 93  
94 94  
... ...
packageB/pages/zuhegou/index/index.js
... ... @@ -938,7 +938,7 @@ Page({
938 938  
939 939 //让商品带上房间号
940 940 if (th.data.sys_switch.is_skuroom_id == 1) {
941   - if (th.data.data.goods_id == getApp().globalData.room_goods_id) {
  941 + if (th.data.sele_g.goods_id == getApp().globalData.room_goods_id) {
942 942 newd.room_id = getApp().globalData.room_id;
943 943 }
944 944 } else {
... ...