tanxue пре 1 месец
родитељ
комит
c6e95ac423
2 измењених фајлова са 14 додато и 4 уклоњено
  1. 4 1
      common/styles/global/components.scss
  2. 10 3
      pages/admin/Jiazheng/banzhengXinxi.vue

+ 4 - 1
common/styles/global/components.scss

@@ -361,12 +361,15 @@ margin-right: 18rpx;display: inline-block;vertical-align: middle;}
 	.uni-input-placeholder{overflow: unset;}
 	.uni-easyinput__placeholder-class{font-size: 30rpx!important;}
 	.content-clear-icon{color: rgb(192, 196, 204)!important;}
-	icon{width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
+	icon{width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;flex-shrink: 0;
 		background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
 		transform: rotate(270deg);margin-left: 4rpx;}
 		
 		// 文字行
 		.input-text-row{height:60rpx;display: flex;align-items: center;flex: 1;justify-content: flex-end;}
+		// 文字 超出省略
+		.text-ellipsis-row{overflow: hidden;}
+		.text-ellipsis{@include single-line-ellipsis();margin-left: 24rpx;}
 }
 
 // label-radio

+ 10 - 3
pages/admin/Jiazheng/banzhengXinxi.vue

@@ -79,14 +79,21 @@
 						</label>
 					</radio-group>
 				</view>
-				<view>
-					<button type="default" @click="selectZy" class="phone-green-btn">选择职业名称等级</button>
+				<view class="form-label-input">
+					<view class="phone-form-label"><text class="form-label-require"></text>职业名称等级</view>
+					<view @click="selectZy" class="input-text-row text-ellipsis-row">
+						<!-- wgy看这  v-for去掉换成一个数组或字符串 -->
+						<view class="text-ellipsis" v-for="(item,index) in piliangArray" :key="index">{{item.name}} {{item.zyLevelName}}</view>
+						<icon></icon>
+					</view>
 				</view>
+				
+				<!-- 
 				<view v-if="piliangArray.length>0" v-for="(item,index) in piliangArray" :key="index"
 					class="bzsm-tip-box form-top-margin">
 					<view class="tip-content-box">{{item.name}} {{item.zyLevelName}}</view>
 
-				</view>
+				</view> -->
 				<view v-if="isZijiazheng !='true'" class="page-btn-box">
 					<button type="default" v-if="isZijiazheng !='true'" @click="goBack"
 						class="phone-white-btn">返回</button>