Ver código fonte

Signed-off-by: yukangzhe <382985154@qq.com>

yukangzhe 4 anos atrás
pai
commit
51fbda76a4
2 arquivos alterados com 7 adições e 1 exclusões
  1. 6 0
      pages/myself/myself.js
  2. 1 1
      pages/myself/myself.wxml

+ 6 - 0
pages/myself/myself.js

@@ -16,6 +16,12 @@ Page({
     })
   },
 
+  callPhone(){
+    wx.makePhoneCall({
+      phoneNumber: '13222222222'
+    })
+  },
+
   /**
    * 生命周期函数--监听页面加载
    */

+ 1 - 1
pages/myself/myself.wxml

@@ -76,7 +76,7 @@
 			<view class="list-item" catchtap="callPhone">
 				<view class="li-left">
 					<image lazy-load mode="aspectFill" class="li-icon" src="/images/my-about.png"></image>
-					<text>关于我们</text>
+					<text>联系我们</text>
 				</view>
 				<image lazy-load mode="aspectFill" class="li-arrow" src="{{imageUrl? imageUrl+'arrow0603.png' : ''}}"></image>
 			</view>