Commit 92278c3f5909a68355f60f1f5ecf8ec01de724e1

Authored by wangfan
1 parent 0770bbcd

400 & call

@@ -2,6 +2,6 @@ @@ -2,6 +2,6 @@
2 <view bindtap="showAs"> 2 <view bindtap="showAs">
3 <slot></slot> 3 <slot></slot>
4 </view> 4 </view>
5 -<as items="{{['029-88220780']}}" id="as" bindclick="click"> 5 +<as items="{{['400-000-9690']}}" id="as" bindclick="click">
6 <view>工作时间:周一至周五9:00-19:00</view> 6 <view>工作时间:周一至周五9:00-19:00</view>
7 </as> 7 </as>
@@ -78,4 +78,9 @@ Page({ @@ -78,4 +78,9 @@ Page({
78 sendoff(){ 78 sendoff(){
79 this.getInfo(this.data.id,true) 79 this.getInfo(this.data.id,true)
80 }, 80 },
  81 + callphone(){
  82 + wx.makePhoneCall({
  83 + phoneNumber:this.data.phone
  84 + })
  85 + },
81 }) 86 })
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 <view class="label">联系姓名</view> 18 <view class="label">联系姓名</view>
19 <view class="value Medium">{{name}}</view> 19 <view class="value Medium">{{name}}</view>
20 </view> 20 </view>
21 - <view class="rows flex-ll"> 21 + <view class="rows flex-ll" bindtap="callphone">
22 <view class="label">联系电话</view> 22 <view class="label">联系电话</view>
23 <view class="value Medium">{{phone}}</view> 23 <view class="value Medium">{{phone}}</view>
24 </view> 24 </view>