| @@ -36,6 +36,10 @@ | |||||
| <image src="{{dingdanUrl}}" mode="widthFix"></image> | <image src="{{dingdanUrl}}" mode="widthFix"></image> | ||||
| <text>暂无交易明细</text> | <text>暂无交易明细</text> | ||||
| </view> | </view> | ||||
| <button type="primary" open-type="share" wx:if="{{supportTransfer==1}}" class='support-tansfer'><image src="{{weixinTitle}}" class='share' mode="widthFix"></image>转赠给微信好友</button> | |||||
| <button type="primary" wx:if="{{showIndexReuturn}}" class='support-tansfer' bindtap='gotoIndex'>返回首页</button> | |||||
| <view class='share-bottom'> | |||||
| <button class='goback' wx:if="{{supportTransfer==1}}" bindtap='gotoIndex'><image src='./../../../assets/images/home.png' mode="widthFix"></image></button> | |||||
| <button type="primary" open-type="share" wx:if="{{supportTransfer==1}}" class='support-tansfer'><image src="{{weixinTitle}}" class='share' mode="widthFix"></image>转赠给微信好友</button> | |||||
| </view> | |||||
| <!-- <button type="primary" class='support-tansfer' bindtap='gotoIndex'>返回首页</button> --> | |||||
| <!-- <button type="primary" wx:if="{{showIndexReuturn}}" class='support-tansfer' bindtap='gotoIndex'>返回首页</button> --> | |||||
| </view> | </view> | ||||
| @@ -200,13 +200,41 @@ | |||||
| font-size: 32rpx; | font-size: 32rpx; | ||||
| } | } | ||||
| .support-tansfer{ | .support-tansfer{ | ||||
| width: 690rpx; | |||||
| width: 540rpx; | |||||
| float: left; | |||||
| margin-left: 30rpx; | |||||
| border-radius: 50rpx; | border-radius: 50rpx; | ||||
| margin-top: 30rpx; | |||||
| background: #02C0FF!important; | background: #02C0FF!important; | ||||
| margin-top:4rpx; | |||||
| } | } | ||||
| .share{ | .share{ | ||||
| width: 40rpx; | width: 40rpx; | ||||
| height: 40rpx; | height: 40rpx; | ||||
| margin-right: 20rpx; | margin-right: 20rpx; | ||||
| } | |||||
| } | |||||
| .share-bottom{ | |||||
| width: 100%; | |||||
| /* overflow:hidden; */ | |||||
| margin-top:66rpx; | |||||
| } | |||||
| .goback { | |||||
| float:left; | |||||
| width:122rpx!important; | |||||
| height:95rpx; | |||||
| background:rgba(255,255,255,1); | |||||
| line-height:95rpx; | |||||
| border:1rpx solid rgba(227,227,227,1); | |||||
| box-shadow:0px 8px 8px 1px rgba(189,189,189,0.32); | |||||
| border-radius:48rpx; | |||||
| margin-left:25rpx; | |||||
| } | |||||
| .goback image{ | |||||
| position:absolute; | |||||
| width:60rpx; | |||||
| left:0; | |||||
| right:0; | |||||
| top:0; | |||||
| bottom:0; | |||||
| margin:auto; | |||||
| height: 80rpx; | |||||
| } | |||||
| @@ -80,7 +80,7 @@ Page({ | |||||
| getList(key, pageNum) { | getList(key, pageNum) { | ||||
| var that = this; | var that = this; | ||||
| // 根据 key == 0 区分全部或其它tab,决定是否传参数 business | // 根据 key == 0 区分全部或其它tab,决定是否传参数 business | ||||
| if (key == 0) { | |||||
| if (!key) { | |||||
| var param = { | var param = { | ||||
| pageNum: pageNum, | pageNum: pageNum, | ||||
| pageSize: 8, | pageSize: 8, | ||||