瀏覽代碼

no message

zpj 2 年之前
父節點
當前提交
6abd1d8604

+ 3 - 0
common/css/common.css

@@ -255,6 +255,9 @@ image {
 .fc-65420c{
 	color: #65420c;
 }
+.fc-FE9E11{
+	color: #FE9E11;
+}
 /* 背景颜色 */
 .bgc-f{
 	background-color: #fff;

+ 1 - 1
pages-address/address.vue

@@ -55,7 +55,7 @@
 			to(type,item){
 				if(type === 1){
 					uni.navigateTo({
-						url:"pages-address/edit-ad?id=" + item.id
+						url:"pages-address/edit-add?id=" + item.id
 					})
 				}else{
 					uni.navigateTo({

+ 17 - 0
pages-buy/dry-clean.vue

@@ -0,0 +1,17 @@
+<template>
+	<view class="dry-clean-box">
+
+	</view>
+</template>
+
+<script>
+	export default {
+		
+	}
+</script>
+
+<style scoped lang="scss">
+	.dry-clean-box{
+		
+	}
+</style>

+ 205 - 0
pages-takeout/confirm-mod/coupon.vue

@@ -0,0 +1,205 @@
+<template>
+	<view>
+		<uni-popup ref="popupCoupon" type="bottom">
+			<view class="pop-coupon box-border-box p-24">
+				<view class="text-align-center fs-36 fw-600 box-title mb-32">
+					选择优惠券
+					<uni-icons @click="closeCoupon" class="box-close" type="closeempty" size="20"></uni-icons>
+				</view>
+				
+				<view class="flex-justify-around">
+					<view @click="setType(1)" class="fs-28 fw-600 mb-24" :class="type == 1?'fc-41ABF5':''">可用优惠券(1)</view>
+					<view @click="setType(2)" class="fs-28 fw-600 mb-24" :class="type == 2?'fc-41ABF5':''">可领优惠券(2)</view>
+				</view>
+				
+				
+				<view class="scroll-view-css" v-if="type == 1">
+					<scroll-view :scroll-y="true" class="scroll-view-css">
+						<view class="item-box display-flex mb-20" v-for="(item,i) in 10" :key="i">
+							<view class="item-left flex-direction align-items-center flex-justify-center bgc-FCE7E2">
+								<view class="align-items-center">
+									<view class="fs-30 fw-600 fc-FB3D03">¥</view>
+									<view class="fs-48 fw-600 fc-FB3D03">10</view>
+								</view>
+								<view class="fs-24" :class="item.type == 0?'fc-6':'fc-9'">
+									满90元可用
+								</view>
+								<view class="ball"></view>
+								<view class="ball-two"></view>
+							</view>
+							<view class="item-hr"></view>
+							<view class="item-right flex-1 bgc-f">
+								<view class="fs-28 fw-600 mb-12 ticket-name text-overflow-ellipsis w382">
+									优惠券名称优惠券名称惠券名优惠券名称优惠券名称惠券名优惠券名称优惠券名称惠券名
+								</view>
+								<view class="fs-24 mb-12 fc-FB3D03">
+									2024.05.08-2024.05.24
+								</view>
+								<view class="flex-justify-space">
+									<view class="fs-24 fc-6">
+										券类型:外卖券
+									</view>
+								</view>
+							</view>
+							
+							<image v-if="id==i" class="s-icon" src="@/static/img/common/y-select.png" mode=""></image>
+							<image v-else class="s-icon"src="@/static/img/common/n-select.png" mode=""></image>
+						</view>
+					</scroll-view>
+				</view>
+				
+				<view class="scroll-view-css" v-else>
+					<view class="scroll-view-css">
+						<view class=" display-flex mb-20" v-for="(item,index) in 10" :key="index">
+							<view class="item-right flex-direction flex-justify-center flex-1 bgc-f">
+								<view class="fs-28 mb-12 ticket-name text-overflow-ellipsis fc-3 fw-600">
+									优惠券名称优惠券名称优惠券名称优惠券名称优
+								</view>
+								<view class="fs-24 fc-6 mb-12">
+									有效时间:2024.05.08-2024.05.24
+								</view>
+								<view class="flex-justify-space">
+									<view class="fs-24 fc-6">
+										券类型:外卖券
+									</view>
+								</view>
+							</view>
+							<view class="item-hr"></view>
+							<view class="item-left flex-direction align-items-center flex-justify-center bgc-FCE7E2">
+								<view class="align-items-center">
+									<view class="fs-30 fw-600 fc-FB3D03">¥</view>
+									<view class="fs-48 fw-600 fc-FB3D03">10</view>
+								</view>
+								<view class="fs-24 mb-18 fc-6">
+									满90元可用
+								</view>
+								<view class="but-box fs-28 fc-f">
+									立即领取
+								</view>
+								<view class="ball"></view>
+								<view class="ball-two"></view>
+							</view>
+						</view>
+					</view>
+				</view>
+				
+			</view>
+		</uni-popup>
+	</view>
+</template>
+
+<script>
+	export default {
+		data(){
+			return{
+				type:1,//1可用 2可领
+				id:1,
+			}
+		},
+		methods:{
+			getList(){
+				this.openPop();
+			},
+			setType(type){
+				if(type != this.type){
+					this.type = type
+				}
+			},
+			openPop(){
+				this.$refs.popupCoupon.open();
+			},
+			closeCoupon(){
+				this.$refs.popupCoupon.close();
+			},
+		},
+	}
+</script>
+
+<style scoped lang="scss">
+	.w382{
+		width: 382rpx;
+	}
+	.item-box{
+		position: relative;
+		.s-icon{
+			width: 32rpx;
+			height: 32rpx;
+			position: absolute;
+			top: 45%;
+			right: 24rpx;
+		}
+	}
+	
+	
+	.pop-coupon{
+		width: 100%;
+		height: 70vh;
+		background-color: #F5F4F9;
+		border-radius: 24rpx 24rpx 0rpx 0rpx;
+		padding-top: 32rpx !important;
+		display: flex;
+		flex-direction: column;
+		.box-title{
+			position: relative;
+			.box-close{
+				position: absolute;
+				right: 22rpx;
+			}
+		}
+		.item-right {
+			padding: 24rpx;
+			box-sizing: border-box;
+			border-radius: 20rpx 0 0 20rpx;
+			position: relative;
+		}
+		.item-hr {
+			width: 0px;
+			height: auto;
+			border-right: 1rpx dashed #FB7850;
+		}
+		
+		.item-hr-two {
+			width: 0px;
+			height: auto;
+			border-right: 1rpx dashed #999;
+		}
+		
+		.item-left {
+			width: 200rpx;
+			height: auto;
+			padding: 20rpx 24rpx;
+			box-sizing: border-box;
+			position: relative;
+			border-radius: 0 20rpx 20rpx 0;
+		}
+		.but-box {
+			width: 152rpx;
+			height: 52rpx;
+			line-height: 52rpx;
+			text-align: center;
+			background: linear-gradient(225deg, #FB3D03 0%, #FF6901 100%);
+			border-radius: 200rpx;
+		}
+		.ball {
+			width: 24rpx;
+			height: 24rpx;
+			border-radius: 50%;
+			position: absolute;
+			top: -12rpx;
+			left: -12rpx;
+			background: #F5F5F5;
+			z-index: 2;
+		}
+		
+		.ball-two {
+			width: 24rpx;
+			height: 24rpx;
+			border-radius: 50%;
+			position: absolute;
+			background: #F5F5F5;
+			z-index: 10;
+			bottom: -12rpx;
+			left: -12rpx;
+		}
+	}
+</style>

+ 80 - 0
pages-takeout/confirm-mod/edit-code.vue

@@ -0,0 +1,80 @@
+<template>
+	<view>
+		<uni-popup ref="popupCode" type="bottom">
+			<view class="pop-address box-border-box p-24">
+				<view class="text-align-center fs-36 fw-600 box-title mb-32">
+					取件码
+					<uni-icons @click="closeCoupon" class="box-close" type="closeempty" size="20"></uni-icons>
+					<view class="box-save fs-30 fc-41ABF5" @click="save">确认</view>
+				</view>
+				
+				<view class="scroll-view-css">
+					<view class="" v-for="(item,i) in value" :key="i">
+						<input type="text" v-model="value[i]">
+					</view>
+				</view>
+			</view>
+		</uni-popup>
+	</view>
+</template>
+
+<script>
+	export default {
+		props:['value'],
+		data(){
+			return{
+				list:[],
+			}
+		},
+		methods:{
+			getList(){
+				this.openPop();
+			},
+			openPop(){
+				this.$refs.popupCode.open();
+			},
+			closeCoupon(){
+				this.$refs.popupCode.close();
+			},
+			save(){
+				this.$emit('input',this.value);
+				this.$refs.popupCode.close();
+			},
+		},
+	}
+</script>
+
+<style scoped lang="scss">
+	.pop-address{
+		width: 100%;
+		height: 50vh;
+		background-color: #fff;
+		border-radius: 24rpx 24rpx 0rpx 0rpx;
+		padding-top: 32rpx !important;
+		display: flex;
+		flex-direction: column;
+		.box-title{
+			position: relative;
+			.box-close{
+				position: absolute;
+				left: 22rpx;
+			}
+			.box-save{
+				position: absolute;
+				right: 22rpx;
+				top: 0;
+			}
+		}
+		
+		input{
+			width: 100%;
+			height: 92rpx;
+			background: #F6F6F6;
+			border-radius: 20rpx 20rpx 20rpx 20rpx;
+			margin-bottom: 20rpx;
+			font-size: 32rpx;
+			box-sizing: border-box;
+			padding: 0 24rpx;
+		}
+	}
+</style>

+ 120 - 0
pages-takeout/confirm-mod/select-address.vue

@@ -0,0 +1,120 @@
+<template>
+	<view>
+		<uni-popup ref="popupAddress" type="bottom">
+			<view class="pop-address box-border-box p-24">
+				<view class="text-align-center fs-36 fw-600 box-title mb-32">
+					选择收获地址
+					<uni-icons @click="closeCoupon" class="box-close" type="closeempty" size="20"></uni-icons>
+				</view>
+				
+				<view class="scroll-view-css">
+					<view class="item-box flex-justify-space align-items-center mb-20" v-for="(item,index) in 10" :key="index">
+						<image v-if="id==i" class="s-icon" src="@/static/img/common/y-select.png" mode=""></image>
+						<image v-else class="s-icon"src="@/static/img/common/n-select.png" mode=""></image>
+						
+						
+						<view class="">
+							<view class="fs-34 fw-600 w556 mb-12">
+								<span class="list-box-only fs-24 fc-FE9E11 text-align-center mr-8">默认</span>
+								重庆工商职业学校3栋1楼503重1重庆工商职业学校3栋1楼503重1重庆工商职业学校3栋1楼503重1
+							</view>
+							<view class="p-b-20">
+								<span class="mr-24 fs-28 fc-9">张晓鹏</span><span class="fs-28 fc-9">18883660721</span>
+							</view>
+						</view>
+						
+						<image class="edit-img" src="@/static/img/common/edit.png" mode="" @click="toEdit(1)"></image>
+					</view>
+				</view>
+				
+				<view class="box-border-box p-24 bgc-f" @click="toEdit(2)">
+					<view class="add-box text-align-center fs-34 fc-f">新增地址</view>
+				</view>
+			</view>
+			
+			
+		</uni-popup>
+	</view>
+</template>
+
+<script>
+	export default {
+		data(){
+			return{
+				
+			}
+		},
+		methods:{
+			getList(){
+				this.openPop();
+			},
+			openPop(){
+				this.$refs.popupAddress.open();
+			},
+			closeCoupon(){
+				this.$refs.popupAddress.close();
+			},
+			toEdit(type,item){
+				if(type === 1){
+					uni.navigateTo({
+						url:"pages-address/edit-add?id=" + item.id
+					})
+				}else{
+					uni.navigateTo({
+						url:"pages-address/edit-add"
+					})
+				}
+			},
+		},
+	}
+</script>
+
+<style scoped lang="scss">
+	.add-box{
+		width: 100%;
+		height: 80rpx;
+		line-height: 80rpx;
+		background-color: #2F80ED;
+		border-radius: 200rpx;
+		
+	}
+	.w556{
+		width: 556rpx;
+	}
+	.list-box-only{
+		width: 64rpx;
+		height: 34rpx;
+		line-height: 34rpx;
+		border-radius: 8rpx;
+		border: 2rpx solid #FE9E11;
+	}
+	
+	.item-box{
+		border-bottom: 1rpx solid #f9f9f9;
+		.s-icon{
+			width: 32rpx;
+			height: 32rpx;
+		}
+		.edit-img{
+			width: 48rpx;
+			height: 48rpx;
+		}
+	}
+	
+	.pop-address{
+		width: 100%;
+		height: 50vh;
+		background-color: #fff;
+		border-radius: 24rpx 24rpx 0rpx 0rpx;
+		padding-top: 32rpx !important;
+		display: flex;
+		flex-direction: column;
+		.box-title{
+			position: relative;
+			.box-close{
+				position: absolute;
+				right: 22rpx;
+			}
+		}
+	}
+</style>

+ 118 - 0
pages-takeout/confirm-mod/time.vue

@@ -0,0 +1,118 @@
+<template>
+	<view>
+		<uni-popup ref="popupTime" type="bottom">
+			<view class="pop-address box-border-box p-24">
+				<view class="text-align-center fs-36 fw-600 box-title mb-32">
+					选择预计送达时间
+					<uni-icons @click="closeCoupon" class="box-close" type="closeempty" size="20"></uni-icons>
+				</view>
+				
+				<view class="scroll-view-css flex-justify-space">
+					<view class="time-left">
+						<view class="item-box" :class="type == item.type?'bgc-f':''"
+						v-for="(item,i) in list" :key="i" @click="select(1,item)">
+							{{item.name}}
+						</view>
+					</view>
+					<view class="time-right flex-1">
+						<view class="item-box b-b-F9F9F9" :class="time == item.name?'fc-41ABF5':''"
+						v-for="(item,i) in timeList" :key="i" @click="select(2,item)">
+							{{item.name}}
+						</view>
+					</view>
+				</view>
+				
+			</view>
+		</uni-popup>
+	</view>
+</template>
+
+<script>
+	export default {
+		data(){
+			return{
+				list:[
+					{
+						type:1,
+						name:'今日',
+						timeList:[
+							{name:'10:30'},{name:'11:00'},{name:'11:30'},{name:'12:00'},
+							{name:'12:30'},{name:'13:00'},{name:'13:30'},{name:'14:00'},
+							{name:'14:30'},{name:'15:00'},{name:'15:30'},{name:'16:00'},
+						]
+					},
+					{
+						type:2,
+						name:'明日',
+						timeList:[
+							{name:'10:00'},{name:'10:30'},{name:'11:00'},{name:'11:30'},{name:'12:00'},
+						]
+					}
+				],
+				timeList:[],
+				type:'',
+				time:'',
+			}
+		},
+		methods:{
+			getList(){
+				this.openPop();
+				this.timeList = this.list[0].timeList;
+				this.type = this.list[0].type;
+				this.time = this.timeList[0].name;
+			},
+			openPop(){
+				this.$refs.popupTime.open();
+			},
+			closeCoupon(){
+				this.$refs.popupTime.close();
+			},
+			select(type,item){
+				if(type === 1){
+					if(this.type != item.type){
+						this.type = item.type;
+						this.time = '';
+					}
+				}else{
+					this.time = item.name
+				}
+			}
+		},
+	}
+</script>
+
+<style scoped lang="scss">
+	.pop-address{
+		width: 100%;
+		height: 50vh;
+		background-color: #fff;
+		border-radius: 24rpx 24rpx 0rpx 0rpx;
+		padding-top: 32rpx !important;
+		display: flex;
+		flex-direction: column;
+		.box-title{
+			position: relative;
+			.box-close{
+				position: absolute;
+				right: 22rpx;
+			}
+		}
+		
+		.time-left{
+			width: 240rpx;
+			height: auto;
+			background-color: #F7F8FA;
+		}
+		.time-right{
+			overflow-y: scroll;
+		}
+		.item-box{
+			width: 1005;
+			height: 104rpx;
+			line-height: 104rpx;
+			font-size: 28rpx;
+			font-weight: 400;
+			text-align: center;
+		}
+	}
+</style>

+ 193 - 3
pages-takeout/confirm-order.vue

@@ -5,7 +5,7 @@
 		
 		<view class="scroll-view-css box-border-box p-24">
 			<view class="box-card box-border-box mb-20 bgc-f">
-				<view class="box-input box-border-box p-b-20 mb-20">
+				<view class="box-input box-border-box p-b-20 mb-20" @click="selectFun(2)">
 					<view class="flex-justify-space mb-12">
 						<view class="fs-36 fw-600 text-overflow-ellipsis w570">
 							重庆工商职业学校3栋1楼503重庆工 商职业学校3栋1楼503重庆工商职业学校3栋1楼503重庆工 商职业学校3栋1楼503
@@ -16,10 +16,90 @@
 						<span class="mr-24 fs-28 fc-9">张晓鹏</span><span class="fs-28 fc-9">18883660721</span>
 					</view>
 				</view>
-				<view class="box-input flex-justify-space box-border-box p-b-20 mb-20">
+				<view class="box-input flex-justify-space align-items-center box-border-box p-b-20 mb-20" @click="selectFun(3)">
+					<view class="fs-28 fw-600">预计送达</view>
+					<view class="align-items-center">
+						<view class="fs-28 fw-400 fc-41ABF5">预计 12:30 送达</view>
+						<image class="right-icon" src="@/static/img/toRight.png" mode=""></image>
+					</view>
+				</view>
+				
+				<view v-if="false" class="box-input flex-justify-space box-border-box p-b-20 mb-20">
 					<view class="fs-28 fw-600">配送方式</view>
 					<view class="fs-24 fw-400 sd-box fc-FB3D03">送达宿舍</view>
 				</view>
+				
+				<view class="p-b-20">
+					<view class=" flex-justify-space box-border-box p-b-20">
+						<view class="fs-28 fw-600">取件码</view>
+						<view class="align-items-center" @click="selectFun(4)">
+							<view class="fs-24 fw-400 fc-9">修改</view>
+							<image class="right-icon" src="@/static/img/toRight.png" mode=""></image>
+						</view>
+					</view>
+					<view class="code-box box-border-box flex-wrap-wrap">
+						<view class="code-item fs-28" v-for="(item,i) in codeList" :key="i">{{item}}</view>
+					</view>
+				</view>
+				
+			</view>
+			
+			
+			<view class="box-card box-border-box bgc-f mb-20">
+				<view class="mb-32 b-b-F9F9F9">
+					<view class="fs-28 fw-600 mb-24">宋氏重庆鸡公煲(重工业店)宋氏重庆鸡公煲(重工业店)宋氏重庆鸡公煲(重工业店)</view>
+					<view class="flex-justify-space mb-28" v-for="(item,i) in 3" :key="i">
+						<image class="goods-img" src="@/static/img/my/lqzx-bg.png" mode="scaleToFill"></image>
+						<view class="w376">
+							<view class="fs-28 fw-400 mb-4">
+								鸡公煲单人豪华D套餐(含米饭)鸡公煲单人豪华D套
+							</view>
+							<view class="fs-24 fc-9 mb-4">微辣</view>
+							<view class="fs-24 fc-9">x1</view>
+						</view>
+						<view class="fs-32 fw-600">¥59.97</view>
+					</view>
+				</view>
+				<view class="flex-justify-space mb-24">
+					<view class="fs-28 fw-400">打包费</view>
+					<view class="fs-32 fw-600">¥3</view>
+				</view>
+				<view class="flex-justify-space mb-24">
+					<view class="fs-28 fw-400">配送费</view>
+					<view class="fs-32 fw-600">¥3</view>
+				</view>
+				<view class="flex-justify-space mb-24 p-b-20 b-b-F9F9F9" @click="selectFun(1)">
+					<view class="fs-28 fw-400">优惠券</view>
+					<view class="align-items-center">
+						<view class="fs-32 fc-FB3D03 fw-600">-¥3</view>
+						<image class="right-icon" src="@/static/img/toRight.png" mode=""></image>
+					</view>
+				</view>
+				<view class="text-align-right p-b-20">
+					<span class="fc-9 fs-28">共3件,</span>
+					<span class="fw-400 fc-0 fs-28">合计¥</span>
+					<span class="fw-600 fc-0 fs-44">179.1</span>
+				</view>
+			</view>
+			
+			
+			<view class="box-card box-border-box bgc-f mb-20">
+				<view class="flex-justify-space b-b-F9F9F9 p-b-20 mb-24">
+					<view class="fs-28 fw-600 w158">备注</view>
+					<input class="text-align-right fs-28" type="text" placeholder="请填写你的需求">
+				</view>
+				<view class="fs-28 fw-600 mb-16">平台将通过服务通知向你推送最新动态</view>
+				<view class="p-16 bgc-F3F4F6 b-rad-12 tz-an-f">
+					<view class="fc-0 fw-400 fs-24 mb-4">是否电话通知</view>
+					<view class="fc-9 fw-400 fs-24">若开启,则订单送达系统自动曝光(电话)通知</view>
+					<view class="tz-an">
+						<view class="r-right" @click="fromData.is_default == 1?fromData.is_default=0:fromData.is_default=1"
+						:class="fromData.is_default == 0?'n-r':'s-r'">
+							<view class="r-y"></view>
+						</view>
+					</view>
+				</view>
+				<view class="p-b-20"></view>
 			</view>
 			
 			
@@ -42,26 +122,136 @@
 				<view class="text-align-center box-2 fs-32 fc-f fw-600" @click="toSave()">立即支付</view>
 			</view>
 		</view>
+		
+		
+		<Coupon ref="coupon" @giveCouPon='giveCouPon'></Coupon>
+		<SelectAddress ref="selectAddress" @giveAddress='giveAddress'></SelectAddress>
+		<Time ref="selectTime" @giveTime='giveTime'></Time>
+		<EditCode ref='editCode' v-model="codeList"></EditCode>
 	</view>
 </template>
 
 <script>
+	import Coupon from './confirm-mod/coupon.vue';
+	import SelectAddress from './confirm-mod/select-address.vue';
+	import Time from './confirm-mod/time.vue';
+	import EditCode from './confirm-mod/edit-code.vue';
+	
 	export default {
-		
+		components:{Coupon,SelectAddress,Time,EditCode},
+		data(){
+			return{
+				fromData:{
+					is_default:0,
+				},
+				codeList:['1-3-3344','1-1-3344','12-11-3344','11-11-3344','1-3-3344','1-1-3344','12-11-3344','11-11-3344'],
+			}
+		},
+		onLoad(e) {
+			
+		},
+		methods:{
+			selectFun(type){
+				if(type === 1){
+					this.$refs.coupon.getList();
+				}else if(type === 2){
+					this.$refs.selectAddress.getList();
+				}else if(type === 3){
+					this.$refs.selectTime.getList();
+				}else if(type === 4){
+					this.$refs.editCode.getList();
+				}
+			},
+			giveCouPon(e){
+				console.log(e);
+			},
+			giveAddress(e){
+				console.log(e);
+			},
+			giveTime(e){
+				console.log(e);
+			},
+			toSave(){
+				console.log(this.codeList);
+			},
+		},
 	}
 </script>
 
 <style scoped lang="scss">
+	.code-box{
+		min-height: 100rpx;
+		background-color: #F3F4F6;
+		border-radius: 12rpx;
+		padding: 24rpx 24rpx 0 24rpx;
+		.code-item{
+			width: 156rpx;
+			margin-right: 52rpx;
+			margin-bottom: 16rpx;
+		}
+		.code-item:nth-child(3n){
+			margin-right: 0 !important;
+		}
+	}
+	.tz-an-f{
+		position: relative;
+		.tz-an{
+			position: absolute;
+			right: 16rpx;
+			top: 0;
+		}
+	}
+	.r-right{
+		margin-top: 24rpx;
+		width: 88rpx;
+		height: 52rpx;
+		border-radius: 200rpx;
+		position: relative;
+		.r-y{
+			width: 44rpx;
+			height: 44rpx;
+			background: #FFFFFF;
+			border-radius: 200rpx;
+			position: absolute;
+			top: 4rpx;
+		}
+	}
+	.s-r{
+		background-color: #41ABF5;
+		transition:  all 1s; 
+		.r-y{
+			right: 4rpx !important;
+			transition:  all 1s; 
+		}
+	}
+	.n-r{
+		background-color: #ccc;
+		transition:  all 1s; 
+		.r-y{
+			left: 4rpx !important;
+			transition:  all 1s; 
+		}
+	}
+	.goods-img{
+		width: 108rpx;
+		height: 108rpx;
+		border-radius: 8rpx;
+		margin-right: 16rpx;
+	}
 	.right-icon{
 		width: 32rpx;
 		height: 32rpx;
 	}
+	.w376{
+		width: 376rpx;
+	}
 	.w570{
 		width: 570rpx;
 	}
 	.sd-box{
 		padding: 3rpx 16rpx;
 		height: 40rpx;
+		line-height: 40rpx;
 		background: rgba(251,61,3,0.1);
 		border-radius: 8rpx 8rpx 8rpx 8rpx;
 	}

+ 6 - 0
pages.json

@@ -122,6 +122,12 @@
 					"style": {
 						"navigationBarTitleText": "提交订单"
 					}
+				},
+				{
+					"path": "dry-clean",
+					"style": {
+						"navigationBarTitleText": "干洗"
+					}
 				}
 			]
 		},

+ 6 - 1
pages/index/index.vue

@@ -140,7 +140,7 @@
 					{name:"校友圈",img:require('@/static/img/index/index-xyq.png'),},
 					{name:"团购",img:require('@/static/img/index/index-tg.png'),type:5},
 					{name:"票务",img:require('@/static/img/index/index-pw.png'),type:4},
-					{name:"干洗",img:require('@/static/img/index/index-gx.png'),},
+					{name:"干洗",img:require('@/static/img/index/index-gx.png'),type:6},
 					{name:"租凭",img:require('@/static/img/index/index-zp.png'),},
 					{name:"二手市场",img:require('@/static/img/index/index-esss.png'),},
 					{name:"回收",img:require('@/static/img/index/index-hs.png'),},
@@ -219,6 +219,11 @@
 					uni.navigateTo({
 						url:'/pages-buy/group'
 					})
+				}else if(type === 6){
+					// 去干洗
+					uni.navigateTo({
+						url:'/pages-buy/dry-clean'
+					})
 				}else{
 					tools.error('暂未开放')
 				}