f7adddd2 by simon

默认提交

1 parent c84a0a75
...@@ -39,7 +39,8 @@ button::after { ...@@ -39,7 +39,8 @@ button::after {
39 } 39 }
40 40
41 button { 41 button {
42 background-color: #fff; 42 // background-color: #fff;
43 background-color: transparent;
43 border-radius: 0; 44 border-radius: 0;
44 } 45 }
45 46
......
...@@ -20,6 +20,10 @@ Component({ ...@@ -20,6 +20,10 @@ Component({
20 pics: { 20 pics: {
21 type: Array, 21 type: Array,
22 value: [] 22 value: []
23 },
24 contact: {
25 type: Boolean,
26 value: true
23 } 27 }
24 }, 28 },
25 data: { 29 data: {
...@@ -60,6 +64,12 @@ Component({ ...@@ -60,6 +64,12 @@ Component({
60 default: 64 default:
61 break; 65 break;
62 } 66 }
67 },
68 // 客服消息
69 handleContact(e) {
70 console.log("handleContact");
71 console.log(e.detail.path)
72 console.log(e.detail.query)
63 } 73 }
64 } 74 }
65 }) 75 })
......
...@@ -28,4 +28,8 @@ ...@@ -28,4 +28,8 @@
28 .point{ 28 .point{
29 background-color: rgba($color: #000000, $alpha: 0.6); 29 background-color: rgba($color: #000000, $alpha: 0.6);
30 } 30 }
31
32 .contact{
33 color: #ffffff;
34 }
31 } 35 }
......
...@@ -5,4 +5,7 @@ ...@@ -5,4 +5,7 @@
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" bindcontact="handleContact">
9 <span class="iconfont iconicon-test3 contact"></span>
10 </button>
8 </view> 11 </view>
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
32 width: 100%; 32 width: 100%;
33 margin: 0 auto; 33 margin: 0 auto;
34 // padding: 10px; 34 // padding: 10px;
35 max-height: 800px;
35 36
36 .vid { 37 .vid {
37 text-align: center; 38 text-align: center;
......
...@@ -81,4 +81,4 @@ ...@@ -81,4 +81,4 @@
81 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp> 81 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
82 </van-popup> 82 </van-popup>
83 <shortcut class="red-p" types="{{[]}}" pics="{{['red-package']}}"></shortcut> 83 <shortcut class="red-p" types="{{[]}}" pics="{{['red-package']}}"></shortcut>
84 <shortcut></shortcut> 84 <!-- <shortcut></shortcut> -->
......
...@@ -36,4 +36,4 @@ ...@@ -36,4 +36,4 @@
36 <van-popup show="{{ authorizeVisible }}"> 36 <van-popup show="{{ authorizeVisible }}">
37 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp> 37 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
38 </van-popup> 38 </van-popup>
39 <shortcut></shortcut> 39 <!-- <shortcut></shortcut> -->
......
...@@ -57,4 +57,4 @@ ...@@ -57,4 +57,4 @@
57 <van-popup show="{{ authorizeVisible }}"> 57 <van-popup show="{{ authorizeVisible }}">
58 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp> 58 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
59 </van-popup> 59 </van-popup>
60 <shortcut></shortcut> 60 <!-- <shortcut></shortcut> -->
......