Kaynağa Gözat

修改登录名称

zhaogongxue 3 hafta önce
ebeveyn
işleme
e012e20824
2 değiştirilmiş dosya ile 12 ekleme ve 1 silme
  1. 11 0
      pages/index/index.vue
  2. 1 1
      pages/login/login.vue

+ 11 - 0
pages/index/index.vue

@@ -137,6 +137,17 @@
 			this.$refs.kjTabbar.getNumber();
 		},
 		methods: {
+			//分享
+			onShareAppMessage(res) {
+				if (res.from === "button") {
+					// 来自页面内分享按钮
+					console.log(res.target);
+				}
+				return {
+					title: "自定义分享标题",
+					path: "/pages/index/index.vue"
+				};
+			},
 			//左右切换
 			swipertotabs(e) {
 				this.current = e.detail.current

+ 1 - 1
pages/login/login.vue

@@ -10,7 +10,7 @@
 			<image src="../../static/images/logo.png" style="width: 350rpx; height: 350rpx" mode=""></image>
 		</view>
 		<button open-type="getPhoneNumber" class="login-btn" @getphonenumber="tologin">
-			微信授权登录
+			手机号快捷登录
 		</button>
 
 <!--