高敬炎 1 년 전
부모
커밋
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({