作者 乔蒙蒙

更改客服按钮

@@ -10,6 +10,9 @@ Page({ @@ -10,6 +10,9 @@ Page({
10 'http://pjq0ww1cj.bkt.clouddn.com/app_banner01.png', 10 'http://pjq0ww1cj.bkt.clouddn.com/app_banner01.png',
11 'http://pjq0ww1cj.bkt.clouddn.com/app_banner01.png', 11 'http://pjq0ww1cj.bkt.clouddn.com/app_banner01.png',
12 ], 12 ],
  13 + connectButton: [
  14 + { className: "", text: "在线客服", bindtap: "" }
  15 + ],
13 autoplay: true, 16 autoplay: true,
14 interval: 5000, 17 interval: 5000,
15 duration: 1000, 18 duration: 1000,
@@ -26,7 +26,9 @@ @@ -26,7 +26,9 @@
26 26
27 <!-- 客服 --> 27 <!-- 客服 -->
28 <view class='chat_peo' bindtap="jumpFun"> 28 <view class='chat_peo' bindtap="jumpFun">
29 - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> 29 + <button open-type="contact" class='contacButton'>
  30 + <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
  31 + </button>
30 </view> 32 </view>
31 33
32 </view> 34 </view>
@@ -11,6 +11,9 @@ Page({ @@ -11,6 +11,9 @@ Page({
11 // '../images/banner.png', 11 // '../images/banner.png',
12 // '../images/banner.png', 12 // '../images/banner.png',
13 ], 13 ],
  14 + connectButton: [
  15 + { className: "", text: "在线客服", bindtap: "" }
  16 + ],
14 currentSwiper: 0, 17 currentSwiper: 0,
15 autoplay: true, 18 autoplay: true,
16 interval: 5000, 19 interval: 5000,
@@ -62,7 +62,9 @@ @@ -62,7 +62,9 @@
62 <!-- 客服 --> 62 <!-- 客服 -->
63 <view class='chat_peo' > 63 <view class='chat_peo' >
64 <button open-type="contact" class='contacButton'> 64 <button open-type="contact" class='contacButton'>
65 - <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image> 65 + <button open-type="contact" class='contacButton'>
  66 + <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
  67 + </button>
66 </button> 68 </button>
67 </view> 69 </view>
68 70
@@ -12,6 +12,9 @@ Page({ @@ -12,6 +12,9 @@ Page({
12 'http://pjq0ww1cj.bkt.clouddn.com/detail01.png', 12 'http://pjq0ww1cj.bkt.clouddn.com/detail01.png',
13 'http://pjq0ww1cj.bkt.clouddn.com/detail01.png', 13 'http://pjq0ww1cj.bkt.clouddn.com/detail01.png',
14 ], 14 ],
  15 + connectButton: [
  16 + { className: "", text: "在线客服", bindtap: "" }
  17 + ],
15 currentSwiper: 0, 18 currentSwiper: 0,
16 autoplay: true, 19 autoplay: true,
17 interval: 5000, 20 interval: 5000,
@@ -57,11 +57,11 @@ @@ -57,11 +57,11 @@
57 <!-- 客服 --> 57 <!-- 客服 -->
58 <view class='chat_peo'> 58 <view class='chat_peo'>
59 <button open-type="contact" class='contacButton'> 59 <button open-type="contact" class='contacButton'>
60 - <image src='../images/chat_peo.png'></image> 60 + <image src='http://pjq0ww1cj.bkt.clouddn.com/chat_peo.png'></image>
61 </button> 61 </button>
62 </view> 62 </view>
63 <!-- 返回顶部 --> 63 <!-- 返回顶部 -->
64 <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" > 64 <view class='chat_peo return_top' wx:if="{{scrollTop>minscreenHeight}}" bindtap="goTop" >
65 - <image src='../images/dingbu.png'></image> 65 + <image src='http://pjq0ww1cj.bkt.clouddn.com/dingbu.png'></image>
66 </view> 66 </view>
67 </view> 67 </view>
@@ -5,7 +5,9 @@ Page({ @@ -5,7 +5,9 @@ Page({
5 * 页面的初始数据 5 * 页面的初始数据
6 */ 6 */
7 data: { 7 data: {
8 - 8 + connectButton: [
  9 + { className: "", text: "在线客服", bindtap: "" }
  10 + ],
9 }, 11 },
10 12
11 /** 13 /**