ccjgmwz 3 tahun lalu
induk
melakukan
422a4ec690

+ 1 - 1
components/swiperup.vue

@@ -11,7 +11,7 @@
 					<image class='gb' src='https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/new.png'></image>
 					<image class='gb' src='https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/new.png'></image>
 					最新价格:<{{item.goodsName}}> 
 					最新价格:<{{item.goodsName}}> 
 					<text style="margin-right: 10px;margin-left: 10px;" :class="item.newPrice > item.openPrice ? 'text-red':'text-green'">{{item.newPrice}}</text>
 					<text style="margin-right: 10px;margin-left: 10px;" :class="item.newPrice > item.openPrice ? 'text-red':'text-green'">{{item.newPrice}}</text>
-					元/
+					元/
 				</view>
 				</view>
 			</view>
 			</view>
 	    </swiper-item>
 	    </swiper-item>

+ 6 - 8
pages/business/business.vue

@@ -26,8 +26,8 @@
 			</view>
 			</view>
 		</view>
 		</view>
 		<view style='background:#fff;padding:0 15px;'>
 		<view style='background:#fff;padding:0 15px;'>
-			<view @click='tabcarchange(0)' class='line' :class='TabCur==0?"active":""'>采购</view>
-			<view @click='tabcarchange(1)' class='line' :class='TabCur==1?"active":""'>销售</view>
+			<view @click='tabcarchange(0)' class='line' :class='TabCur==0?"active":""'>我要卖</view>
+			<view @click='tabcarchange(1)' class='line' :class='TabCur==1?"active":""'>我要买</view>
 		</view>
 		</view>
 		<view v-if='buyInfo.length>0' class="introduce-section">
 		<view v-if='buyInfo.length>0' class="introduce-section">
 			<view v-for="(item, index) in buyInfo" :key="index" class="guess-item" @click="navToDetailPage(item)">
 			<view v-for="(item, index) in buyInfo" :key="index" class="guess-item" @click="navToDetailPage(item)">
@@ -351,7 +351,7 @@
 		content: '';
 		content: '';
 		display: block;
 		display: block;
 		position: absolute;
 		position: absolute;
-		width: 18px;
+		width: 38px;
 		left: 50%;
 		left: 50%;
 		transform: translateX(-50%);
 		transform: translateX(-50%);
 		bottom: 0;
 		bottom: 0;
@@ -676,7 +676,7 @@
 	.introduce-section .address {
 	.introduce-section .address {
 		color: #878C9C;
 		color: #878C9C;
 		font-size: 12px;
 		font-size: 12px;
-		padding: 15px 0 10px;
+		padding: 10px 0 10px;
 	}
 	}
 
 
 	.introduce-section .price {
 	.introduce-section .price {
@@ -687,11 +687,10 @@
 	}
 	}
 
 
 	.introduce-section .guess-item {
 	.introduce-section .guess-item {
-		border-radius: 4px;
+		border-radius: 10px;
 		background: #fff;
 		background: #fff;
 		padding: 0upx 30upx 20upx;
 		padding: 0upx 30upx 20upx;
-		margin: 10px;
-		padding-bottom: 20upx;
+		margin: 8px;
 		border-bottom: 1px solid #ccc;
 		border-bottom: 1px solid #ccc;
 	}
 	}
 
 
@@ -704,7 +703,6 @@
 		.price-box {
 		.price-box {
 			display: flex;
 			display: flex;
 			align-items: baseline;
 			align-items: baseline;
-			padding: 10upx 0;
 			font-size: 26upx;
 			font-size: 26upx;
 		}
 		}
 
 

+ 46 - 42
pages/sale/information.vue

@@ -37,53 +37,57 @@
 				<view class='title'>工厂价格</view>
 				<view class='title'>工厂价格</view>
 				<view style='color:#B2B3BB;' @click='more("/pages/sale/plant")'>更多</view>
 				<view style='color:#B2B3BB;' @click='more("/pages/sale/plant")'>更多</view>
 			</view>
 			</view>
-			<view class='guess-section-wrap-content'>
-				<view class='guess-section-wrap-item clearfix' v-for='item in plantList'>
-					<view class='factory'>{{item.factory}}</view>
-					<view class='wrap'>{{item.city}} {{item.factoryType}}</view>
-					<view class='price'>
-						<text class='currectprice'>{{item.price}}</text>
-						较昨日
-						<image v-if='item.comparePrice>0' style="width:7.5px;height:9px;" src='../../static/img/homepage/shangsheng.png'></image>
-						<image v-if='item.comparePrice<0'  style="width:7.5px;height:9px;" src='../../static/img/homepage/xiajiang.png'></image>
-						<text v-if='item.comparePrice>0' class='yesterday up'>{{item.comparePrice}}</text>
-						<text v-if='item.comparePrice<0' class='yesterday down'>{{-item.comparePrice}}</text>
-						<text v-if='item.comparePrice==0' class='yesterday'>-</text>
+			<scroll-view :scroll-x="true">
+				<view class='guess-section-wrap-content'>
+					<view class='guess-section-wrap-item clearfix' v-for='item in plantList'>
+						<view class='factory'>{{item.factory}}</view>
+						<view class='wrap'>{{item.city}} {{item.factoryType}}</view>
+						<view class='price'>
+							<text class='currectprice'>{{item.price}}</text>
+							较昨日
+							<image v-if='item.comparePrice>0' style="width:7.5px;height:9px;" src='../../static/img/homepage/shangsheng.png'></image>
+							<image v-if='item.comparePrice<0'  style="width:7.5px;height:9px;" src='../../static/img/homepage/xiajiang.png'></image>
+							<text v-if='item.comparePrice>0' class='yesterday up'>{{item.comparePrice}}</text>
+							<text v-if='item.comparePrice<0' class='yesterday down'>{{-item.comparePrice}}</text>
+							<text v-if='item.comparePrice==0' class='yesterday'>-</text>
+						</view>
 					</view>
 					</view>
 				</view>
 				</view>
-			</view>
+			</scroll-view>
 		</view>
 		</view>
 		<view class="guess-section-wrap">
 		<view class="guess-section-wrap">
 			<view class='flex justify-between'>
 			<view class='flex justify-between'>
 				<view class='title'>港口价格</view>
 				<view class='title'>港口价格</view>
 				<view style='color:#B2B3BB;'  @click='more("/pages/sale/portprice")'>更多</view>
 				<view style='color:#B2B3BB;'  @click='more("/pages/sale/portprice")'>更多</view>
 			</view>
 			</view>
-			<view class='guess-section-wrap-content port'>
-				<view class='guess-section-wrap-item clearfix' v-for='item in portList'>
-					<view class='factory'>{{item.port}}</view>
-					<view class='wrap'>{{item.goodsName}}</view>
-					<view class='price'>
-						<text class='currectprice'>{{item.price}}</text>
-						较昨日
-						<image v-if='item.comparePrice>0' style="width:7.5px;height:9px;" src='../../static/img/homepage/shangsheng.png'></image>
-						<image v-if='item.comparePrice<0'  style="width:7.5px;height:9px;" src='../../static/img/homepage/xiajiang.png'></image>
-						<text v-if='item.comparePrice>0' class='yesterday up'>{{item.comparePrice}}</text>
-						<text v-if='item.comparePrice<0' class='yesterday down'>{{-item.comparePrice}}</text>
-						<text v-if='item.comparePrice==0' class='yesterday'>-</text>
-					</view>
-					<view style='color:#B2B3BB;' class='flex'>
-						<view style='margin-right:10px;'>
-							<image style='width:11px;height:11px;' src='../../static/img/homepage/water@3x.png'></image>
-							<={{item.waterContent}}
+			
+			<scroll-view :scroll-x="true">
+				<view class='guess-section-wrap-content port'>
+					<view class='guess-section-wrap-item clearfix' v-for='item in portList'>
+						<view class='factory'>{{item.port}}</view>
+						<view class='wrap'>{{item.goodsName}}</view>
+						<view class='price'>
+							<text class='currectprice'>{{item.price}}</text>
+							较昨日
+							<image v-if='item.comparePrice>0' style="width:7.5px;height:9px;" src='../../static/img/homepage/shangsheng.png'></image>
+							<image v-if='item.comparePrice<0'  style="width:7.5px;height:9px;" src='../../static/img/homepage/xiajiang.png'></image>
+							<text v-if='item.comparePrice>0' class='yesterday up'>{{item.comparePrice}}</text>
+							<text v-if='item.comparePrice<0' class='yesterday down'>{{-item.comparePrice}}</text>
+							<text v-if='item.comparePrice==0' class='yesterday'>-</text>
 						</view>
 						</view>
-						<view>
-							<image  style='width:11px;height:11px;' src='../../static/img/homepage/unitweight@3x.png'></image>
-						>={{item.bulkDensity}}
+						<view style='color:#B2B3BB;' class='flex'>
+							<view style='margin-right:10px;'>
+								<image style='width:11px;height:11px;' src='../../static/img/homepage/water@3x.png'></image>
+								<={{item.waterContent}}
+							</view>
+							<view>
+								<image  style='width:11px;height:11px;' src='../../static/img/homepage/unitweight@3x.png'></image>
+							>={{item.bulkDensity}}
+							</view>
 						</view>
 						</view>
 					</view>
 					</view>
 				</view>
 				</view>
-				
-			</view>
+			</scroll-view>
 		</view>
 		</view>
 		<view class="guess-section-wrap1">
 		<view class="guess-section-wrap1">
 			<view style='padding:15px;' class='flex justify-between'>
 			<view style='padding:15px;' class='flex justify-between'>
@@ -204,11 +208,11 @@
 			this.scrollTop = e.scrollTop;
 			this.scrollTop = e.scrollTop;
 		},
 		},
 		onReachBottom() { //上拉触底函数
 		onReachBottom() { //上拉触底函数
-			if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
-				this.isLoadMore = true
-				this.pages += 1
-				this.getIndexSaleData()
-			}
+			// if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
+			// 	this.isLoadMore = true
+			// 	this.pages += 1
+			// 	this.getIndexSaleData()
+			// }
 		},
 		},
 		onPullDownRefresh() {
 		onPullDownRefresh() {
 			this.pages = 1
 			this.pages = 1
@@ -471,8 +475,8 @@
 					uni.hideLoading()
 					uni.hideLoading()
 				}).then(res => {
 				}).then(res => {
 					let data = res.data
 					let data = res.data
-						that.newsInfo = data
-						that.isLoadMore=false
+					that.newsInfo = data
+					that.isLoadMore=false
 					uni.hideLoading()
 					uni.hideLoading()
 				})
 				})
 			}
 			}

+ 6 - 6
pages/tran/car_detail.vue

@@ -24,7 +24,7 @@
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>
-			<view class="d-header">
+			<!-- <view class="d-header">
 				<text>货源信息</text>
 				<text>货源信息</text>
 			</view>
 			</view>
 			<view class="c-list">
 			<view class="c-list">
@@ -53,9 +53,9 @@
 						<input placeholder="请填写" type="mobile" name="input" @input="tranCountInput"></input>
 						<input placeholder="请填写" type="mobile" name="input" @input="tranCountInput"></input>
 					</view>
 					</view>
 				</view>
 				</view>
-			</view> 
+			</view> -->
 		</view>
 		</view>
-		<view class="cu-modal" :class="modalName=='RadioModal'?'show':''" @tap="hideModal">
+		<!-- <view class="cu-modal" :class="modalName=='RadioModal'?'show':''" @tap="hideModal">
 			<scroll-view scroll-y class="cu-dialog" style="height: 800rpx;" @tap.stop="">
 			<scroll-view scroll-y class="cu-dialog" style="height: 800rpx;" @tap.stop="">
 				<radio-group class="block" @change="RadioChange">
 				<radio-group class="block" @change="RadioChange">
 					<view class="cu-list menu text-left">
 					<view class="cu-list menu text-left">
@@ -70,15 +70,15 @@
 					</view>
 					</view>
 				</radio-group>
 				</radio-group>
 			</scroll-view>
 			</scroll-view>
-		</view>
+		</view> -->
 		<!-- 底部操作菜单 -->
 		<!-- 底部操作菜单 -->
-		<view class="page-bottom">
+		<!-- <view class="page-bottom">
 			<view class="action-btn-group">
 			<view class="action-btn-group">
 				<button type="primary" class=" action-btn no-border buy-now-btn" @click="contactUs">联系我们</button>
 				<button type="primary" class=" action-btn no-border buy-now-btn" @click="contactUs">联系我们</button>
 				<button v-if="car.status == 2" type="primary" class=" action-btn no-border add-cart-btn" @click="tranNow">立即委派</button>
 				<button v-if="car.status == 2" type="primary" class=" action-btn no-border add-cart-btn" @click="tranNow">立即委派</button>
 				<button v-else type="primary" class=" action-btn no-border add-cart-btn" >正在承运</button>
 				<button v-else type="primary" class=" action-btn no-border add-cart-btn" >正在承运</button>
 			</view>
 			</view>
-		</view>
+		</view> -->
 	</view>
 	</view>
 </template>
 </template>
 
 

+ 9 - 9
pages/tran/tran_detail.vue

@@ -80,7 +80,7 @@
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>
-			<view class="d-header">
+			<!-- <view class="d-header">
 				<text>承运信息</text>
 				<text>承运信息</text>
 			</view>
 			</view>
 			<view class="c-list">
 			<view class="c-list">
@@ -90,7 +90,7 @@
 						<input placeholder="请填写" name="input" v-model="carNo" @input="carNoInput"></input>
 						<input placeholder="请填写" name="input" v-model="carNo" @input="carNoInput"></input>
 					</view>
 					</view>
 					<button class='cu-btn bg-green shadow' @click="getHistoryCar">选择车辆</button>
 					<button class='cu-btn bg-green shadow' @click="getHistoryCar">选择车辆</button>
-				</view>
+				</view> -->
 	<!-- 			<view class="cu-bar bg-white">
 	<!-- 			<view class="cu-bar bg-white">
 					<view class="action">
 					<view class="action">
 						司机身份证(正、反面)上传
 						司机身份证(正、反面)上传
@@ -133,7 +133,7 @@
 						<input placeholder="请填写" name="input" v-model="driverAddress" @input="driverAddressInput"></input>
 						<input placeholder="请填写" name="input" v-model="driverAddress" @input="driverAddressInput"></input>
 					</view>
 					</view>
 				</view> -->
 				</view> -->
-				<view class="c-row b-b">
+				<!-- <view class="c-row b-b">
 					<text class="tit">承运人微信号</text>
 					<text class="tit">承运人微信号</text>
 					<view class="con-list">
 					<view class="con-list">
 						<input placeholder="请填写" name="input" v-model="wechatNo" @input="wechatNoInput"></input>
 						<input placeholder="请填写" name="input" v-model="wechatNo" @input="wechatNoInput"></input>
@@ -152,7 +152,7 @@
 							 data-key="verifyCode" @input="verifyCodeInput" style="width: 60%;"></input>
 							 data-key="verifyCode" @input="verifyCodeInput" style="width: 60%;"></input>
 					</view>
 					</view>
 					<button class='cu-btn bg-green shadow':disabled="sendDisabled" @click="doGetVerify">{{sendText}}</button>
 					<button class='cu-btn bg-green shadow':disabled="sendDisabled" @click="doGetVerify">{{sendText}}</button>
-				</view>
+				</view> -->
 				
 				
 				<!-- <view class="c-row b-b">
 				<!-- <view class="c-row b-b">
 					<text class="tit">承运吨数</text>
 					<text class="tit">承运吨数</text>
@@ -210,7 +210,7 @@
 						</view>
 						</view>
 					</view>
 					</view>
 				</view> -->
 				</view> -->
-			</view> 
+		<!-- 	</view> 
 		</view>
 		</view>
 		
 		
 		<view class="cu-modal" :class="modalName=='MycarModal'?'show':''" @tap="hideModal">
 		<view class="cu-modal" :class="modalName=='MycarModal'?'show':''" @tap="hideModal">
@@ -223,15 +223,15 @@
 					</view>
 					</view>
 				</view>
 				</view>
 			</scroll-view>
 			</scroll-view>
-		</view>
+		</view> -->
 		<!-- 底部操作菜单 -->
 		<!-- 底部操作菜单 -->
-		<view class="page-bottom">
+		<!-- <view class="page-bottom">
 			<view class="action-btn-group">
 			<view class="action-btn-group">
 				<button type="primary" class=" action-btn no-border buy-now-btn" @click="contactUs">联系我们</button>
 				<button type="primary" class=" action-btn no-border buy-now-btn" @click="contactUs">联系我们</button>
 				<button v-if="tran.status == 30" type="primary" class=" action-btn no-border add-cart-btn" @click="tranNow">立即承运</button>
 				<button v-if="tran.status == 30" type="primary" class=" action-btn no-border add-cart-btn" @click="tranNow">立即承运</button>
 				<button v-else type="primary" class=" action-btn no-border add-cart-btn" >承运结束</button>
 				<button v-else type="primary" class=" action-btn no-border add-cart-btn" >承运结束</button>
-			</view>
-		</view>
+			</view>-->
+		</view> 
 	</view>
 	</view>
 </template>
 </template>
 
 

+ 8 - 8
pages/user/user.vue

@@ -207,14 +207,14 @@
 							url:`/pages/user/task`,
 							url:`/pages/user/task`,
 							show:true
 							show:true
 						},
 						},
-						{
-							num:5,
-							name: '退出登录',
-							icon:'cuIcon-exit',
-							tips: 0,
-							url:'',
-							show:true
-						},
+						// {
+						// 	num:5,
+						// 	name: '退出登录',
+						// 	icon:'cuIcon-exit',
+						// 	tips: 0,
+						// 	url:'',
+						// 	show:true
+						// },
 					],
 					],
 					showTran:true,
 					showTran:true,
 					companyId:1,
 					companyId:1,