Browse Source

样式优化

twt 1 month ago
parent
commit
6f717f58b9
4 changed files with 8 additions and 7 deletions
  1. 2 2
      pages/index/goodsList.vue
  2. 4 3
      pages/index/index.vue
  3. BIN
      static/img/index.png
  4. 2 2
      utils/request.js

+ 2 - 2
pages/index/goodsList.vue

@@ -42,7 +42,7 @@
 					<view class="glName">{{item.name}}</view>
 				</view>
 			</view>
-			<view class="jiyouBox" v-if="loading">
+			<view class="jiyouBox">
 				
 				<view class="brandBox">
 					<!-- <view class="brandBtn" :class="{brandActive:type==1}" @click="ckBrand(1)">阿诺德</view>
@@ -54,7 +54,7 @@
 				<view class="ckName">
 					{{componentName}}
 				</view>
-				<view class="jylineBox">
+				<view class="jylineBox"  v-if="loading">
 					<view class="jyline" v-for="(item,index) in MaintainPartList" @click="godetail(item)"><!-- MaintainPartList -->
 						<view class="jyimgBox">
 						    <image v-if="item.imgs.split(',')[0]" :src="item.imgs.split(',')[0]" mode="aspectFit" class="jyimg"></image>

+ 4 - 3
pages/index/index.vue

@@ -2,17 +2,18 @@
 	<view class="content">
 		
 		<view class="bigBox">
-			<image class="bigImg" src="http://dmsphoto.66km.com.cn/thFiles/A9157023-4939-48B7-BB49-D9D8113EF953.jpg" mode=""></image>
+			<!-- <image class="bigImg" src="http://dmsphoto.66km.com.cn/thFiles/A9157023-4939-48B7-BB49-D9D8113EF953.jpg" mode=""></image> -->
+			<image class="bigImg" src="/static/img/index.png" mode="widthFix"></image>
 		    <view class="ssBox"  v-if="bIndex==2">
 		    	<view class="ssView" @click="goSearch">
 					<image class="newSImg" src="/static/img/newS.png" mode=""></image>
-					<input type="text" class="sInput" placeholder-style="color:#C4C4C4" placeholder="请输入车辆品牌、车系或VIN码"/>
+					<input type="text" class="sInput" placeholder-style="color:#C4C4C4" placeholder="请输入车辆品牌、车系"/>
 				</view>
 		    </view>
 			<view class="ssBox"  v-if="bIndex==3">
 				<view class="ssView" >
 					<image @click="goSearch" class="newSImg" src="/static/img/newS.png" mode=""></image>
-					<input @click="goSearch" type="text" class="sInput" placeholder-style="color:#C4C4C4" placeholder="请输入车辆品牌、车系或VIN码"/>
+					<input @click="goSearch" type="text" class="sInput" placeholder-style="color:#C4C4C4" placeholder="请输入VIN码"/>
 				    <image @click="stBtn" class="newSbImg" src="/static/img/newSb.png" mode=""></image>
 				</view>
 			</view>

BIN
static/img/index.png


+ 2 - 2
utils/request.js

@@ -1,7 +1,7 @@
  //测试地址
- const baseURL = 'http://192.168.1.10:19001/' 
+ //const baseURL = 'http://192.168.1.10:19001/' 
  //正式
-//const baseURL='https://jujiang.66km.cn/' 
+const baseURL='https://jujiang.66km.cn/' 
 //66正式
 /* const baseURL = 'https://apidms.66km.com/' 
  const burl2='https://apidms.66km.com/' */