瀏覽代碼

更多适配 纠错

twt 1 月之前
父節點
當前提交
e0773bae67
共有 5 個文件被更改,包括 217 次插入0 次删除
  1. 15 0
      pages.json
  2. 69 0
      pages/index/adaptationsMore.vue
  3. 108 0
      pages/index/correction.vue
  4. 25 0
      pages/index/goodsList.vue
  5. 二進制
      static/img/scimg.png

+ 15 - 0
pages.json

@@ -137,7 +137,22 @@
 				"navigationBarTitleText": "搜索",
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path": "pages/index/adaptationsMore",
+			"style": {
+				"navigationBarTitleText": "更多适配",
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/index/correction",
+			"style": {
+				"navigationBarTitleText": "纠错",
+				"navigationStyle": "custom"
+			}
 		}
+		
 	],
 	/* "tabBar": {
 		"color": "#8a8a8a",

+ 69 - 0
pages/index/adaptationsMore.vue

@@ -0,0 +1,69 @@
+<template>
+	<view class="content">
+		<homenav :iStatusBarHeight="iStatusBarHeight" :title="'更多适配'"></homenav>
+		<view class="box">
+			<view class="lineBox" v-for="(item,index) in 4">
+				<view class="line" >
+					<view class="lineTitle">
+						<span>适用车型列表{{index}}</span>
+					</view>
+					<image class="jtImg" src="/static/img/icon_arrow.png" mode=""></image>
+				</view>
+				<view class="line2" v-for="(item,i) in 4">
+					适用车型列表二级{{i}}
+				</view>
+			</view>
+			
+
+
+		</view>
+
+	</view>
+</template>
+
+<script>
+	import nodata from '../../components/nodata/nodata.vue'
+	import homenav from "../../components/homenav/nav.vue"
+	export default {
+		components: {
+            nodata,homenav
+		},
+		data() {
+			return {
+              iStatusBarHeight:'',
+			  optdata:'',
+			}
+		},
+		onLoad(opt) {
+			  console.log(opt)
+			   this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
+              this.optdata=opt;
+			 
+		},
+		methods: {
+			
+			
+		}
+	}
+</script>
+
+<style scoped>
+.jtImg{
+	width: 26rpx;height: 26rpx;
+}
+.line{
+	font-size: 30rpx;
+	display: flex;
+	justify-content: space-between;
+	
+	
+	color: #22222;
+}
+.lineBox{
+	padding: 24rpx;
+	border-bottom: 1px solid #eaeaea;
+}
+.line2{
+	padding: 10rpx;color: #999;
+}
+</style>

+ 108 - 0
pages/index/correction.vue

@@ -0,0 +1,108 @@
+<template>
+	<view class="content">
+		<homenav :iStatusBarHeight="iStatusBarHeight" :title="'纠错'"></homenav>
+		<view class="box">
+			<view class="line">
+				<view class="lineTitle">纠错类型</view>
+				<view class="lineCont">VIN解析纠错</view>
+			</view>
+			<view class="line">
+				<view class="lineTitle">VIN</view>
+				<view class="lineCont">VIN222222222222</view>
+			</view>
+			<view class="line">
+				<view class="lineTitle">车型</view>
+				<view class="lineCont">奥迪奥迪奥迪奥迪奥迪奥迪奥迪奥迪CCCC奥迪奥迪奥迪奥迪奥迪奥迪奥迪奥迪1019</view>
+			</view>
+			<view class="line">
+				<view class="lineTitle">错误说明</view>
+				<view class="lineCont">
+					<textarea class="lineConttextarea" placeholder="请输入" name="" id=""></textarea>
+				</view>
+			</view>
+			<view class="line" style="border: none;">
+				<view class="lineTitle">上传图片</view>
+				<view class="lineCont lineImgBox">
+					<image class="lineImg" src="/static/img/noimg.png" mode=""></image>
+					<image class="lineImg" src="/static/img/scimg.png" mode=""></image>
+				</view>
+			</view>
+			
+
+        <view class="btnBox">
+			<view class="btn">提交</view>
+		</view>
+		</view>
+
+	</view>
+</template>
+
+<script>
+	import nodata from '../../components/nodata/nodata.vue'
+	import homenav from "../../components/homenav/nav.vue"
+	export default {
+		components: {
+            nodata,homenav
+		},
+		data() {
+			return {
+              iStatusBarHeight:'',
+			  optdata:'',
+			}
+		},
+		onLoad(opt) {
+			  console.log(opt)
+			   this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
+              this.optdata=opt;
+			 
+		},
+		methods: {
+			
+			
+		}
+	}
+</script>
+
+<style scoped>
+.jtImg{
+	width: 26rpx;height: 26rpx;
+}
+.line{
+	padding: 20rpx 24rpx;
+	border-bottom: 1px solid #eaeaea;
+	display: flex;font-size: 28rpx;
+	color: #333;
+}
+.lineTitle{
+	width: 150rpx;
+}
+.lineCont{
+	color: #666;
+	width: 550rpx;
+}
+.lineConttextarea{
+	height: 180rpx;width: 520rpx;
+	border: 1px solid #eaeaea;
+	padding: 16rpx;
+}
+.lineImg{
+	width: 160rpx;
+	height: 160rpx;
+	margin-right: 20rpx;
+}
+.btnBox{
+	padding-top: 200rpx;
+	display: flex;justify-content: center;
+}
+.btn{
+	width: 600rpx;
+	height: 80rpx;
+	text-align: center;
+	line-height: 80rpx;
+	color: #fff;
+	font-size: 32rpx;
+    background: #FF4F00;
+	border-radius: 16rpx;
+
+}
+</style>

+ 25 - 0
pages/index/goodsList.vue

@@ -69,6 +69,10 @@
 							<view class="goodsName">{{item.name}} </view>
 							<view class="goodsMs">型号:{{item.specificationModel}}<span class="factoryNumber" v-if="item.factoryNumber">{{item.factoryNumber}}</span></view>
 							<view class="goodsMs modelRemark" @click.stop="modelRemarkFn(item.carmodelremark)">适用车型:{{item.carmodelremark}}</view>
+						    <view class="lineBottom">
+								<view class="gengduosp" @click="goSp">更多适配</view>
+								<view class="correction" @click="gojc">纠错</view>
+							</view>
 						</view>
 						
 					</view>
@@ -162,6 +166,16 @@
 			  //this.queryOilInfoByGroupID()
 		},
 		methods: {
+			goSp(){
+			  uni.navigateTo({
+			  	url:'adaptationsMore'
+			  })	
+			},
+			gojc(){
+				uni.navigateTo({
+					url:'correction'
+				})	
+			},
 			copy(e){
 				uni.setClipboardData({
 								   data: e,
@@ -621,4 +635,15 @@ color: #E60006;
 		font-size: 26rpx;
 		color: #E60006;
 }
+.lineBottom{
+	display: flex;justify-content: space-between;
+	font-size: 26rpx;
+	padding-top: 10rpx;
+}
+.correction{
+	color: #999999;
+}
+.gengduosp{
+	color: #E60006;
+}
 </style>

二進制
static/img/scimg.png