gjy 2 年之前
父節點
當前提交
7793476c58
共有 2 個文件被更改,包括 25 次插入14 次删除
  1. 15 9
      pages/erpbusiness/quality_testing.vue
  2. 10 5
      pages/task/my_task.vue

+ 15 - 9
pages/erpbusiness/quality_testing.vue

@@ -25,12 +25,16 @@
 				<u-picker @confirm="warehousechange" range-key='warehouseName' mode="selector" v-model="show"
 					:range="selector"></u-picker>
 			</view>
-			<view class="company">
-				<image class='icon' style='width:19px;height:19px;' src="../../static/img/icon_qiye@3x.png"
-					mode=""></image> {{compName}}
-			</view>
+			
 			<u-picker @confirm='compconfirm' mode="selector" v-model="show1" :range="companyList"
 				range-key="compName"></u-picker>
+			</view >
+			<view style='justify-content: space-between;' class='flex'>
+				<view ></view>
+				<view class="company">
+					<image class='icon' style='width:19px;height:19px;' src="../../static/img/icon_qiye@3x.png"
+							mode=""></image> {{compName}}
+				</view>	
 			</view>
 		</view>
 		<view class="content">
@@ -1158,14 +1162,16 @@
 		padding-bottom: 150rpx;
 	}
 	.company {
-	/* 	position: fixed;
+	/* 	position: fixed; */
 		right: 0;
-		top: 18%; */
-	/* 	background: url('../../static/img/qiyebeijing.png');
-		background-size: 100%; */
+		/* top: 17.5%; */
+		background: url('../../static/img/qiyebeijing.png') no-repeat;
+		background-size: 100% 100%;
+		width: 60%;
 		font-size: 11px;
 		padding-bottom: 5px;
-		padding-right: 20px;
+		padding-right: 10px;
+		text-align:right;
 		border-radius: 40rpx 0 0 40rpx;
 	}
 	

+ 10 - 5
pages/task/my_task.vue

@@ -6,9 +6,12 @@
 					placeholder="请输入任务日期或任务标题" v-model="keyword" @search="searchKeyWord()"
 					@custom="searchKeyWord()"></u-search>
 			</view>
-			<view class="company">
-				<image class='icon' style='width:19px;height:19px;' src="../../static/img/icon_qiye@3x.png"
-					mode=""></image> {{compName}}
+			<view style='justify-content: space-between;' class='flex'>
+				<view ></view>
+				<view class="company">
+					<image class='icon' style='width:19px;height:19px;' src="../../static/img/icon_qiye@3x.png"
+							mode=""></image> {{compName}}
+				</view>	
 			</view>
 			<view class="top2">
 				<view class="left">
@@ -925,12 +928,14 @@
 		// position: fixed;
 		// right: 0;
 		// top: 18%;
-		// background: url('../../static/img/qiyebeijing.png');
-		// background-size: 100% 100%;
+		background: url('../../static/img/qiyebeijing.png');
+		background-size: 100% 100%;
 		text-align:right;
 		font-size: 11px;
 		padding-bottom: 5px;
 		padding-right: 10px;
+		width:60%;
+		margin-right:-10px;
 		border-radius: 40rpx 0 0 40rpx;
 	}