5d388639 by simon

默认提交

1 parent 23e73af5
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';
.comp {
position: fixed;
bottom: 20%;
......@@ -21,15 +24,29 @@
font-size: 64px;
}
.pics{
.pics {
height: $btnSize;
}
.point{
.point {
background-color: rgba($color: #000000, $alpha: 0.6);
}
.contact{
$contactWidth:140px;
.contact {
background-color: transparent;
@extend .fcc;
color: #ffffff;
width: $contactWidth;
height: $contactWidth;
margin-left: -18px;
margin-top: -8px;
.img {
width: $contactWidth;
height: $contactWidth;
border-radius: 8px;
}
}
}
......
......@@ -5,7 +5,8 @@
<view wx:for="{{pics}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn">
<image mode="aspectFit" src="{{'../../image/shortcut/'+item+'.png'}}" class="pics ani-tada" />
</view>
<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">
<span class="iconfont iconicon-test3 contact"></span>
<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">
<!-- <span class="iconfont iconicon-test3 contact"></span> -->
<image class="img" mode="widthFix" src="../../image/shortcut/contact.jpg" />
</button>
</view>
......
......@@ -163,7 +163,7 @@ Page({
},
/**
* 返回首页
* 返回首页
*/
toIndex() {
app.router.push({
......
......@@ -107,12 +107,20 @@ Page({
signType: 'MD5',
success(res) {
// console.log("success:", res);
// 支付成功
app.router.push({
path: "rewardCompleted",
query: {
c: res2.orderCode // orderCode
// app.router.push({
// path: "rewardCompleted",
// query: {
// c: res2.orderCode // orderCode
// }
// })
wx.showModal({
content: '赞赏成功',
showCancel: false,
success(res) {
app.router.push({
openType: "back",
})
}
})
},
......