f7adddd2 by simon

默认提交

1 parent c84a0a75
......@@ -39,7 +39,8 @@ button::after {
}
button {
background-color: #fff;
// background-color: #fff;
background-color: transparent;
border-radius: 0;
}
......
......@@ -20,6 +20,10 @@ Component({
pics: {
type: Array,
value: []
},
contact: {
type: Boolean,
value: true
}
},
data: {
......@@ -60,6 +64,12 @@ Component({
default:
break;
}
},
// 客服消息
handleContact(e) {
console.log("handleContact");
console.log(e.detail.path)
console.log(e.detail.query)
}
}
})
......
......@@ -28,4 +28,8 @@
.point{
background-color: rgba($color: #000000, $alpha: 0.6);
}
.contact{
color: #ffffff;
}
}
......
......@@ -5,4 +5,7 @@
<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" bindcontact="handleContact">
<span class="iconfont iconicon-test3 contact"></span>
</button>
</view>
......
......@@ -32,6 +32,7 @@
width: 100%;
margin: 0 auto;
// padding: 10px;
max-height: 800px;
.vid {
text-align: center;
......
......@@ -81,4 +81,4 @@
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<shortcut class="red-p" types="{{[]}}" pics="{{['red-package']}}"></shortcut>
<shortcut></shortcut>
<!-- <shortcut></shortcut> -->
......
......@@ -36,4 +36,4 @@
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<shortcut></shortcut>
<!-- <shortcut></shortcut> -->
......
......@@ -57,4 +57,4 @@
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<shortcut></shortcut>
<!-- <shortcut></shortcut> -->
......