Parcourir la source

fix:公司未认证跳转公司认证

jianghaili il y a 7 mois
Parent
commit
b46795ab1d
1 fichiers modifiés avec 11 ajouts et 4 suppressions
  1. 11 4
      pages/index/index.vue

+ 11 - 4
pages/index/index.vue

@@ -391,9 +391,11 @@
 								<view class="qyList-box-item-box">
 									<view class="qyList-box-item-info flex justify-between align-center">
 										<view class="qyList-box-item-info-l">
-											<view class="online-name" style="color: #212121;font-size: 38rpx;font-weight: 800;">
+											<view class="online-name"
+												style="color: #212121;font-size: 38rpx;font-weight: 800;">
 												{{ item.userName }}
-												<view class="online-txt" :style="{ 'background': item.onlineStatus == 'ONLINE' ? 'rgba(29, 209, 104, 0.1)' : '#eee', 'color': item.onlineStatus == 'ONLINE' ? 'rgba(29, 209, 104, 1)' : '#999' }">
+												<view class="online-txt"
+													:style="{ 'background': item.onlineStatus == 'ONLINE' ? 'rgba(29, 209, 104, 0.1)' : '#eee', 'color': item.onlineStatus == 'ONLINE' ? 'rgba(29, 209, 104, 1)' : '#999' }">
 													<view class="dot-icon"
 														:style="{ 'background': item.onlineStatus == 'ONLINE' ? 'rgba(29, 209, 104, 1)' : '#999' }">
 													</view>
@@ -1210,7 +1212,9 @@ export default {
 					content: '还未完成企业认证,请完成企业认证后操作',
 					complete(ret) {
 						if (ret.confirm) {
-
+							uni.navigateTo({
+								url: '/pages/my/businessLicense'
+							})
 						}
 					}
 				})
@@ -1883,11 +1887,13 @@ export default {
 	align-items: center;
 	flex: 1;
 }
-.online-name{
+
+.online-name {
 	display: flex;
 	align-items: center;
 	gap: 12rpx;
 }
+
 .online-txt {
 	border-radius: 8rpx;
 	background: rgba(213, 255, 231, 1);
@@ -1903,6 +1909,7 @@ export default {
 	align-items: center;
 	gap: 8rpx;
 	border: 1rpx solid #fff;
+
 	.dot-icon {
 		width: 10rpx;
 		height: 10rpx;