高敬炎 1 год назад
Родитель
Сommit
6d88a8ac94
2 измененных файлов с 9 добавлено и 3 удалено
  1. 8 2
      uni_applet/pageA/login/index.vue
  2. 1 1
      uni_applet/pageA/my/mypublish.vue

+ 8 - 2
uni_applet/pageA/login/index.vue

@@ -4,7 +4,8 @@
 			<u--image width='80' height='80' src="/static/logo.png" radius='10' shape="square"></u--image>
 		</view>
 		<view style='width:80%;margin:0 auto;'>
-			<u-button :customStyle="customStyleOk" open-type="getPhoneNumber"
+			<u-button v-if='!value' :customStyle="customStyleOk"> 微信用户一键登录</u-button>
+			<u-button v-else :customStyle="customStyleOk" open-type="getPhoneNumber"
 				@getphonenumber="getPhoneNumber"> 微信用户一键登录</u-button>
 		</view>
 		<!-- <view><u-button :customStyle="customStyleUnOk" @click="showAuthorizePhone=false" :plain="true">
@@ -12,7 +13,11 @@
 		<view style='margin:40rpx 0;'>
 			<view style='width: 77%;margin: 0 auto;' class='flex'>
 				<view style='margin-right:5rpx;'>
-					<u--image @click='value= !value' width='16' height='16' :src="value?'/static/image/login/checked.png':'/static/image/login/no-checked.png'" radius='10' shape="square"></u--image>
+					<zb-tooltip :content="content" placement="top" ref="tooltip2"  :visible.sync="isShow" >
+						<view >
+							<u--image @click='value= !value' width='16' height='16' :src="value?'/static/image/login/checked.png':'/static/image/login/no-checked.png'" radius='10' shape="square"></u--image>
+						</view>
+					</zb-tooltip>
 				</view>
 				登录代表您已同意<navigator
 							url="/pageA/webview?can_share=false&url=liangxin.zthymaoyi.com/youyuquan.html"
@@ -71,6 +76,7 @@
 	 			nickname: '',
 	 			phone: '',
 	 		},
+			isShow:false,
 			showAuthorizeUser:false,
 			value:false,
 	 		customStyleUnOk: {

+ 1 - 1
uni_applet/pageA/my/mypublish.vue

@@ -182,7 +182,7 @@
 						limit: page.size,
 						searchKeyWord: this.searchVal,
 						myFlag:1,
-						compId:uni.getStorageSync("userInfo").id
+						commonId:uni.getStorageSync("userInfo").id
 						// classify: this.typeName
 					}, failres => {
 						uni.showToast({