默认提交
Showing
5 changed files
with
35 additions
and
9 deletions
1 | @import '../../assets/scss/mixins'; | ||
2 | @import '../../assets/scss/utils'; | ||
3 | |||
1 | .comp { | 4 | .comp { |
2 | position: fixed; | 5 | position: fixed; |
3 | bottom: 20%; | 6 | bottom: 20%; |
... | @@ -21,15 +24,29 @@ | ... | @@ -21,15 +24,29 @@ |
21 | font-size: 64px; | 24 | font-size: 64px; |
22 | } | 25 | } |
23 | 26 | ||
24 | .pics{ | 27 | .pics { |
25 | height: $btnSize; | 28 | height: $btnSize; |
26 | } | 29 | } |
27 | 30 | ||
28 | .point{ | 31 | .point { |
29 | background-color: rgba($color: #000000, $alpha: 0.6); | 32 | background-color: rgba($color: #000000, $alpha: 0.6); |
30 | } | 33 | } |
31 | 34 | ||
32 | .contact{ | 35 | $contactWidth:140px; |
36 | .contact { | ||
37 | background-color: transparent; | ||
38 | @extend .fcc; | ||
39 | |||
33 | color: #ffffff; | 40 | color: #ffffff; |
41 | width: $contactWidth; | ||
42 | height: $contactWidth; | ||
43 | margin-left: -18px; | ||
44 | margin-top: -8px; | ||
45 | |||
46 | .img { | ||
47 | width: $contactWidth; | ||
48 | height: $contactWidth; | ||
49 | border-radius: 8px; | ||
50 | } | ||
34 | } | 51 | } |
35 | } | 52 | } | ... | ... |
... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
5 | <view wx:for="{{pics}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn"> | 5 | <view wx:for="{{pics}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn"> |
6 | <image mode="aspectFit" src="{{'../../image/shortcut/'+item+'.png'}}" class="pics ani-tada" /> | 6 | <image mode="aspectFit" src="{{'../../image/shortcut/'+item+'.png'}}" class="pics ani-tada" /> |
7 | </view> | 7 | </view> |
8 | <button class="btn point" wx:if="{{contact}}" open-type="contact" show-message-card="true" send-message-title="家有儿孙" end-message-path="/pages/index/index" send-message-img="https://kdcdn.oss-cn-shenzhen.aliyuncs.com/weapp/jyes/assets/logo.jpeg" bindcontact="handleContact"> | 8 | <button class="contact" wx:if="{{contact}}" open-type="contact" show-message-card="true" send-message-title="家有儿孙" end-message-path="/pages/index/index" send-message-img="https://kdcdn.oss-cn-shenzhen.aliyuncs.com/weapp/jyes/assets/logo.jpg" bindcontact="handleContact"> |
9 | <span class="iconfont iconicon-test3 contact"></span> | 9 | <!-- <span class="iconfont iconicon-test3 contact"></span> --> |
10 | <image class="img" mode="widthFix" src="../../image/shortcut/contact.jpg" /> | ||
10 | </button> | 11 | </button> |
11 | </view> | 12 | </view> | ... | ... |
src/image/shortcut/contact.jpg
0 → 100644
2.69 KB
... | @@ -107,12 +107,20 @@ Page({ | ... | @@ -107,12 +107,20 @@ Page({ |
107 | signType: 'MD5', | 107 | signType: 'MD5', |
108 | success(res) { | 108 | success(res) { |
109 | // console.log("success:", res); | 109 | // console.log("success:", res); |
110 | |||
111 | // 支付成功 | 110 | // 支付成功 |
111 | // app.router.push({ | ||
112 | // path: "rewardCompleted", | ||
113 | // query: { | ||
114 | // c: res2.orderCode // orderCode | ||
115 | // } | ||
116 | // }) | ||
117 | wx.showModal({ | ||
118 | content: '赞赏成功', | ||
119 | showCancel: false, | ||
120 | success(res) { | ||
112 | app.router.push({ | 121 | app.router.push({ |
113 | path: "rewardCompleted", | 122 | openType: "back", |
114 | query: { | 123 | }) |
115 | c: res2.orderCode // orderCode | ||
116 | } | 124 | } |
117 | }) | 125 | }) |
118 | }, | 126 | }, | ... | ... |
-
Please register or sign in to post a comment