Showing
7 changed files
with
14 additions
and
25 deletions
@@ -95,7 +95,7 @@ Page(extend({},Toast,{ | @@ -95,7 +95,7 @@ Page(extend({},Toast,{ | ||
95 | GET(API_HOST +'/smart/way', param) | 95 | GET(API_HOST +'/smart/way', param) |
96 | .then(data => { | 96 | .then(data => { |
97 | let graphicsCodeSwitch = data.data; | 97 | let graphicsCodeSwitch = data.data; |
98 | - let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=miniapp' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp; | 98 | + let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=minappLuck' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp; |
99 | 99 | ||
100 | that.setData({ | 100 | that.setData({ |
101 | graphicsCodeSwitch, | 101 | graphicsCodeSwitch, |
@@ -131,7 +131,7 @@ Page(extend({},Toast,{ | @@ -131,7 +131,7 @@ Page(extend({},Toast,{ | ||
131 | update: function (event) { | 131 | update: function (event) { |
132 | var timeStamp = Date.parse(new Date()); | 132 | var timeStamp = Date.parse(new Date()); |
133 | let udid = app && app.globalData && app.globalData.udid ? app.globalData.udid : ''; | 133 | let udid = app && app.globalData && app.globalData.udid ? app.globalData.udid : ''; |
134 | - let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=miniapp' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp; | 134 | + let graphicsCodeUrl = API_HOST + '/passport/img-check' + '?business_line=minappLuck' + '&udid=' + udid + '&fromPage=' + 'bindPhoneNumber' + '&timeStamp=' + timeStamp; |
135 | this.setData({ | 135 | this.setData({ |
136 | graphicsCodeUrl, | 136 | graphicsCodeUrl, |
137 | }) | 137 | }) |
@@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
5 | </view> | 5 | </view> |
6 | 6 | ||
7 | <view class="desc-content"> | 7 | <view class="desc-content"> |
8 | - <view class="banner" bindtap="_jumpBanner" wx:if="{{bannerSrc != null && bannerSrc !== ''}}"> | ||
9 | - <image class="banner-img" src="{{bannerSrc}}"></image> | 8 | + <view class="banner" bindtap="jumpUrl" wx:if="{{bannerSrc != null && bannerSrc !== ''}}"> |
9 | + <image class="banner-img" src="{{bannerSrc}}" mode="widthFix"></image> | ||
10 | </view> | 10 | </view> |
11 | <block wx:for="{{list}}"> | 11 | <block wx:for="{{list}}"> |
12 | <block wx:if="{{item.floor_type === 1}}"> | 12 | <block wx:if="{{item.floor_type === 1}}"> |
@@ -447,7 +447,7 @@ Page(Object.assign({ | @@ -447,7 +447,7 @@ Page(Object.assign({ | ||
447 | if (this.data.bannerUrl == null) { | 447 | if (this.data.bannerUrl == null) { |
448 | return; | 448 | return; |
449 | } | 449 | } |
450 | - jumpByUrl(that.data.bannerUrl); | 450 | + jumpByUrl(this.data.bannerUrl); |
451 | }, | 451 | }, |
452 | _getDetailBanner() { | 452 | _getDetailBanner() { |
453 | let commonService = this.commonService; | 453 | let commonService = this.commonService; |
@@ -455,7 +455,7 @@ Page(Object.assign({ | @@ -455,7 +455,7 @@ Page(Object.assign({ | ||
455 | .then(data => { | 455 | .then(data => { |
456 | // console.log(data) | 456 | // console.log(data) |
457 | this.setData({ | 457 | this.setData({ |
458 | - bannerSrc: formatImageUrl(data.src, 340 * app.globalData.systemInfo.pixelRatio, 340 * app.globalData.systemInfo.pixelRatio, 2), | 458 | + bannerSrc: formatImageUrl(data.src, 750, 140, 2), |
459 | bannerUrl: data.url | 459 | bannerUrl: data.url |
460 | }) | 460 | }) |
461 | }) | 461 | }) |
@@ -249,7 +249,7 @@ Page(Object.assign({ | @@ -249,7 +249,7 @@ Page(Object.assign({ | ||
249 | .then(data => { | 249 | .then(data => { |
250 | // console.log(data) | 250 | // console.log(data) |
251 | this.setData({ | 251 | this.setData({ |
252 | - bannerSrc: formatImageUrl(data.src, app.globalData.systemInfo.screenWidth, 70, 2), | 252 | + bannerSrc: formatImageUrl(data.src, 750, 234, 2), |
253 | bannerUrl: data.url | 253 | bannerUrl: data.url |
254 | }) | 254 | }) |
255 | }) | 255 | }) |
@@ -73,17 +73,6 @@ | @@ -73,17 +73,6 @@ | ||
73 | <image class="bottom-banner-img" src="{{bannerSrc}}"></image> | 73 | <image class="bottom-banner-img" src="{{bannerSrc}}"></image> |
74 | </view> | 74 | </view> |
75 | </block> | 75 | </block> |
76 | - | ||
77 | -<!-- <view class="bottom-bar"> | ||
78 | - <block wx:if="{{isLogin}}"> | ||
79 | - <view bindtap="goMyList">我的抽奖码</view> | ||
80 | - </block> | ||
81 | - | ||
82 | - <block wx:else> | ||
83 | - <button class="bottom-btn" plain="true" hover-class="none" open-type="{{!hasUnionID ? 'getUserInfo':'getPhoneNumber'}}" bindgetphonenumber="getPhoneNumber" bindgetuserinfo='getUserInfo'>我的抽奖码</button> | ||
84 | - </block> | ||
85 | -</view> --> | ||
86 | - | ||
87 | <import src="../../../../vendors/zanui/toast/index.wxml"/> | 76 | <import src="../../../../vendors/zanui/toast/index.wxml"/> |
88 | <template is="zan-toast" data="{{zanToast}}"/> | 77 | <template is="zan-toast" data="{{zanToast}}"/> |
89 | 78 | ||
@@ -96,4 +85,3 @@ url="{{dialogUrl}}" | @@ -96,4 +85,3 @@ url="{{dialogUrl}}" | ||
96 | ></dialog> | 85 | ></dialog> |
97 | <import src="../../vendors/zanui/actionsheet/index.wxml" /> | 86 | <import src="../../vendors/zanui/actionsheet/index.wxml" /> |
98 | <template is="zan-actionsheet" data="{{...actionsheet}}" /> | 87 | <template is="zan-actionsheet" data="{{...actionsheet}}" /> |
99 | -<!-- <quickNavigation id="quickNavigation" isShowIndicator="{{false}}" isShowShopCart="{{false}}" marginBottom="{{190}}"></quickNavigation> --> |
1 | @import '../../vendors/zanui/actionsheet/index.wxss'; | 1 | @import '../../vendors/zanui/actionsheet/index.wxss'; |
2 | 2 | ||
3 | +page { | ||
4 | + font-size: 0; | ||
5 | +} | ||
6 | + | ||
3 | .product { | 7 | .product { |
4 | display: block; | 8 | display: block; |
5 | width: 100%; | 9 | width: 100%; |
@@ -24,14 +28,12 @@ | @@ -24,14 +28,12 @@ | ||
24 | } | 28 | } |
25 | 29 | ||
26 | .bottom-banner { | 30 | .bottom-banner { |
27 | - /* position: fixed; */ | ||
28 | - /* padding-bottom: 88rpx; */ | ||
29 | height: 234rpx; | 31 | height: 234rpx; |
30 | - width: 100%; | 32 | + width: 750rpx; |
31 | } | 33 | } |
32 | 34 | ||
33 | .bottom-banner-img { | 35 | .bottom-banner-img { |
34 | - width: 100%; | 36 | + width: 750rpx; |
35 | height: 234rpx; | 37 | height: 234rpx; |
36 | } | 38 | } |
37 | 39 |
-
Please register or login to post a comment