Your Name 4 years ago
parent
commit
dcb9733859

+ 430 - 0
pages/packageOne/service/user/store_manage/add_my_serve/add_my_serve.vue

@@ -0,0 +1,430 @@
+<template>
+	<view class="select">
+		<view class="select_item clear">
+		    <view class="select_item_lf">项目类别</view>
+		    <navigator open-type="navigate" hover-class="none" url="../serve_class/serve_class" class="select_item_rg" v-if="from.serviceName == ''">添加项目类别 <text class="iconfont more"></text></navigator>
+		    <navigator open-type="navigate" hover-class="none" url="../serve_class/serve_class" class="select_item_rg black" v-else>{{from.serviceName}} <text class="iconfont more"></text></navigator>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">项目标题</view>
+		    <view class="select_item_rg">
+		        <input v-model="from.name" class="select_item_rg1" placeholder="输入您的项目标题" placeholder-class="select_item_rg_place1"></input>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">原价</view>
+		    <view class="select_item_rg">
+		        <view class="price_icon">元</view>
+		        <input v-model="from.price" type="number" class="select_item_rg2" placeholder="输入价格" placeholder-class="select_item_rg_place"></input>
+		        <view class="price_icon">¥</view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">优惠价</view>
+		    <view class="select_item_rg">
+		        <view class="price_icon">元</view>
+		        <input v-model="from.disPrice" type="number" class="select_item_rg2" placeholder="输入价格" placeholder-class="select_item_rg_place"></input>
+		        <view class="price_icon">¥</view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">服务有效期</view>
+		    <view class="select_item_rg" style="display: flex;">
+		        <view class="radio1" style="margin-right: 20rpx;" @tap="changeTime">
+					<image :src="timeStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/select.png':'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png'"></image>
+					<view class="radio1_text">长期有效</view>
+		        </view>
+		        <view class="radio1">
+					<image :src="timeStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png':'https://wx.fujinyangche.com/nvrnetwork/images/select.png'"></image>
+					<picker mode="date" @change="changeTime2">
+						<view class="radio1_text">{{time}}</view>
+					</picker>
+		        </view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">服务预约</view>
+		    <view class="select_item_rg" style="display: flex;">
+		        <view class="radio1" style="margin-right: 20rpx;" @tap="changeDay">
+					<image :src="dayStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/select.png':'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png'"></image>
+					<view class="radio1_text">无需预约</view>
+		        </view>
+		        <view class="radio1" >
+					<image :src="dayStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png':'https://wx.fujinyangche.com/nvrnetwork/images/select.png'"></image>
+					<view class="radio1_text" style="display: flex; align-items: center">提前<input type="number" @input="changeDay2" :value="from.aheadDays" class="day"/>天预约</view>
+		        </view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">服务单位</view>
+		    <view class="select_item_rg" >
+		        <view class="danwei">
+					<picker @change="PickerChange" mode = "selector" :value="index" :range="fuwu_danwei">
+						<view class="danwei_text">{{fuwu_danwei[index]}}</view>
+					</picker>
+		        </view>
+		        <input v-model="from.serviceTime" type="number" class="select_item_rg1" style="width:18%;text-align: center;" placeholder-class="select_item_rg_place1"></input>
+		    </view>
+		</view>
+		<!-- 项目介绍 -->
+		<view class="content">
+		    <view class="content_title">项目介绍</view>
+		    <textarea v-model="from.serviceIntroduce"  maxlength="500" placeholder="输入您的项目介绍内容…" class="content_text" placeholder-class="content_text_place"></textarea> 
+		</view>
+		<!-- 上传图片 -->
+		<view class="content choseimg">
+		    <view class="content_title">上传图片</view>
+		    <view class="fengmian">
+		          <view class="faceImgWrap" v-for="item,index in from.faceImg" :key="index">
+					   <image mode="aspectFill" :src="url + item"></image>
+					   <view class="iconfont delate_icon" @tap="deleteImg(index)"></view>
+		          </view>
+		        <image mode="aspectFill" :src="img" @tap="chooseImg"></image>
+		    </view>
+		</view>
+		<view class="footer">
+		    <button class="submit" @tap="submit">保存</button>
+		</view>
+	</view>
+</template>
+
+<script>
+	import api from "../../../../../../api.js";
+	import schema from 'async-validator';
+	let app = getApp();
+	export default {
+		data() {
+			return {
+				url:app.globalData.url,
+				img:'https://wx.fujinyangche.com/nvrnetwork/images/choseimg.png',//图片临时路径
+				timeStatus:1,
+				dayStatus:1,
+				time:'截止日期',
+				from:{
+					serviceName:'',//项目类别
+					name:'',//项目标题
+					price:'',//原价
+					disPrice:'',//优惠价
+					validityDateFormat:'',//服务有效期
+					aheadDays:'',//服务预约
+					serviceTime:1,//服务单位
+					serviceIntroduce:'',//项目介绍
+					faceImg:[],//服务器返回路径
+				},//表单数据
+				fuwu_danwei:['次','套','个','台','瓶','桶','件','箱','面','袋'],//服务单位
+				index:0,
+				descriptor:{
+				  serviceName: {
+				    type: "string",
+				    required: true,
+				    message:'请选择项目类别'
+				  },
+				  name: {
+				    type: "string",
+				    required: true,
+				    message:'请输入项目标题'
+				  },
+				  price:{
+					type: "string",
+					required: true,
+					message:'请输入价格'  
+				  },
+				 //  validityDateFormat:{
+					// type: "string",
+					// required: true,
+					// message:'请选择服务有效期'   
+				 //  },
+				 //  aheadDays:{
+				 //  	type: "string",
+				 //  	required: true,
+				 //  	message:'请选择服务预约'   
+				 //  },
+				  serviceIntroduce:{
+				  	type: "string",
+				  	required: true,
+				  	message:'请输入服务介绍'   
+				  },
+				  faceImg:{
+					type: "string",
+					required: true,
+					message:'请上传封面图'    
+				  }
+				},//表单验证协议
+			}
+		},
+		onShow() {
+			// 然后在onshow里面
+			const pages = getCurrentPages();
+			const currPage = pages[pages.length - 1];  // 当前页
+			if(currPage.serviceName !== undefined){
+				this.from.serviceName = currPage.serviceName;
+			}
+			
+		},
+		methods: {
+			//服务有效期
+			changeTime(){
+				this.timeStatus = 1;
+				this.time = '截止日期';
+				this.from.validityDateFormat = '';
+			},
+			changeTime2(e){
+			    let value = e.detail.value;
+				this.timeStatus = 0;
+				this.time = value;
+				this.from.validityDateFormat = value;
+			},
+			//服务预约
+			changeDay(e) {
+				this.dayStatus = 1;
+				this.from.aheadDays = '';
+			},
+			changeDay2(e) {
+			    let value = e.detail.value;
+				this.dayStatus = 0;
+				this.from.aheadDays = value;
+			},
+			//服务单位
+			PickerChange(e){
+				let index = e.detail.value;
+				this.index = index;
+			},
+			// 上传封面图
+			chooseImg(e){
+			    uni.chooseImage({
+			      count: 1,
+			      sizeType: ['original', 'compressed'],
+			      sourceType: ['album', 'camera'],
+			      success:res=> {
+			        let tempFilePaths = res.tempFilePaths[0];
+			        uni.uploadFile({
+			          url: this.url + '/nvrnetwork/service_item/save_img',
+			          filePath: tempFilePaths,
+			          name: 'img',
+			          header: {
+			            "Content-Type": "multipart/form-data"
+			          },
+			          success:res=>{
+						  console.log(res)
+						  let data = JSON.parse(res.data);
+						  console.log(data)
+			              this.from.faceImg.push(data.data);
+			          }
+			        })
+			
+			      },
+			    })
+			},
+			//删除图片
+			deleteImg(index){
+				this.from.faceImg.splice(index,1);
+			},
+			submit(){
+				let obj = Object.assign({},this.from);
+				obj.serviceTime = obj.serviceTime + this.fuwu_danwei[this.index];
+				obj.faceImg = obj.faceImg.join(",")
+				let data = {
+					token:app.globalData.token,
+					...obj
+				}
+				let validator = new schema(this.descriptor);
+				validator.validate(data).then(() => {
+					api.submitUserMyServe(data).then((res)=>{
+						console.log(res);
+					})
+				}).catch(({ errors, fields }) => {
+					uni.showToast({
+						icon: 'none',
+						duration:2000,
+						title:errors[0].message
+					})
+				})
+			}
+		}
+	}
+</script>
+
+<style>
+	page{
+	  width: 100%;
+	  height:100%;
+	  background-color: #f7f7f7;
+	}
+	.select{
+	  width:100%;
+	  overflow: hidden;
+	  /* padding:0 30rpx; */
+	  box-sizing: border-box;
+	  background-color: #ffffff;
+	  margin-top:20rpx;
+	  padding: 0 30rpx 200rpx 30rpx;
+	}
+	.select_item{
+	  width:100%;
+	  height:100rpx;
+	  display: flex;
+	  line-height: 100rpx;
+	  border-bottom: 1px solid #f2f2f2;
+	}
+	.select_item_lf{
+	  font-size: 30rpx;
+	  color:#555555;
+	}
+	.select_item_rg{
+	  margin-left: auto;
+	  font-size: 30rpx;
+	  color:#999999;
+	  height:100%;
+	}
+	.price_icon{
+	  float:right;
+	  color:#222222;
+	}
+	.select_item_rg1{
+	  width:88%;
+	  height:100%;
+	  float:right;
+	  text-align: right;
+	  color:#222222;
+	}
+	.select_item_rg2{
+	  width:36%;
+	  height:100%;
+	  float:right;
+	  text-align: center;
+	  color:#222222;
+	}
+	.select_item_rg_place{
+	  font-size: 30rpx;
+	  color:#999999;
+	  text-align: center;
+	}
+	.select_item_rg_place1{
+	  font-size: 30rpx;
+	  color:#999999;
+	  text-align: right;
+	}
+	.more{
+	  font-size: 26rpx;
+	  color:#999999;
+	}
+	.content{
+	  width:100%;
+	  padding-bottom:28rpx;
+	  border-bottom: 1px solid #f2f2f2;
+	  margin-top:28rpx;
+	}
+	.content_title{
+	  font-size: 30rpx;
+	  color:#555555;
+	}
+	.content_text{
+	  width:100%;
+	  height:200rpx;
+	  padding:14rpx 20rpx;
+	  box-sizing: border-box;
+	  background:rgba(249,249,249,1);
+	  border-radius:6rpx;
+	  border:1px solid rgba(202,202,202,1);
+	  margin-top:20rpx;
+	  position: relative;
+	}
+	.content_text_place{
+	  font-size: 26rpx;
+	  color:#999999;
+	}
+	.content_text_num{
+	  position: absolute;
+	  bottom:10rpx;
+	  right:12rpx;
+	  font-size: 24rpx;
+	  color:#999999;
+	}
+	.faceImgWrap{
+	  display: inline-block;
+	  width:148rpx;
+	  height:148rpx;
+	  margin-right: 20rpx;
+	  position: relative;
+	}
+	.fengmian image{
+	  width:148rpx;
+	  height:148rpx;
+	  border-radius: 6rpx;
+	}
+	.delate_icon{
+	  font-size:36rpx;
+	  color:#999999;
+	  position: absolute;
+	  top:0;
+	  right:0;
+	}
+	.choseimg{
+	  border-bottom:none;
+	}
+	.footer{
+	  width:100%;
+	  height:100rpx;
+	  background:rgba(255,255,255,1);
+	  box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.5);
+	  position: fixed;
+	  bottom:0;
+	  left:0;
+	  z-index:100;
+	}
+	.submit{
+	  width:690rpx;
+	  height:80rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  border-radius:40rpx;
+	  text-align: center;
+	  font-size: 32rpx;
+	  color:#ffffff;
+	  position: absolute;
+	  top:10rpx;
+	  left:50%;
+	  transform: translateX(-50%)
+	}
+	.black{
+	  color:#222222;
+	}
+	.fengmian{
+	  margin-top: 30rpx;
+	  position: relative;
+	}
+	.danwei{
+	  float:right;
+	  margin-top:18rpx;
+	}
+	.danwei_text{
+	  width:64rpx;
+	  height:64rpx;
+	  text-align: center;
+	  line-height: 64rpx;
+	  color:#222222;
+	  background-color: rgba(249,249,249,1);
+	  border-radius: 8rpx;
+	}
+	.radio1{
+	  display: flex;
+	  height:100%;
+	  align-items: center;
+	}
+	.radio1 image{
+	  display: block;
+	  width:28rpx;
+	  height:28rpx;
+	}
+	.radio1_text{
+	  font-size: 30rpx;
+	  color:#555555;
+	  margin-left: 10rpx;
+	}
+	.day{
+	  width:50rpx;
+	  height:100%;
+	  border:1px solid #CCCCCC;
+	  text-align: center;
+	  margin:0 10rpx;
+	}
+</style>

+ 110 - 0
pages/packageOne/service/user/store_manage/introduce/introduce.vue

@@ -0,0 +1,110 @@
+<template>
+	<view class="wrap">
+		<view class="title">公司介绍</view>
+		<view class="backimg">
+			<image src="https://wx.fujinyangche.com/nvrnetwork/images/business_instoduce.png"></image>
+		</view>
+		<view class="content">
+			<view class="content_wrap">
+				<textarea maxlength="-1"  class="content_text" v-model="businessIntroduce"></textarea>
+			</view>
+		</view>
+		<view class="footer">
+			<button class="submit" @tap="save">保存</button>
+		</view>
+	</view>
+</template>
+
+<script>
+	import api from "../../../../../../api.js";
+	let app = getApp();
+	export default {
+		data() {
+			return {
+				businessIntroduce:'',//公司介绍
+			}
+		},
+		onLoad(options) {
+			console.log(options);
+			uni.setNavigationBarTitle({
+			    title: options.name
+			})
+			this.getData();
+		},
+		methods: {
+			//加载数据
+			getData(){
+				let data = {
+					token:app.globalData.token
+				}
+				api.getUserStoreMessage(data).then((res)=>{
+					this.businessIntroduce = res.data.data.businessIntroduce;
+				})
+			}
+		}
+	}
+</script>
+
+<style>
+	.title{
+	  font-size: 32rpx;
+	  color:#222222;
+	  font-weight: bold;
+	  text-align: center;
+	  padding-top:36rpx;
+	  border-top:1px solid #f2f2f2;
+	}
+	.backimg{
+	  width:100%;
+	  padding:0 204rpx;
+	  margin-top:4rpx;
+	  box-sizing: border-box;
+	}
+	.backimg image{
+	  display: block;
+	  width:100%;
+	  height:32rpx;
+	}
+	.content{
+	  width:100%;
+	  margin-top:30rpx;
+	  padding:0 30rpx;
+	  box-sizing: border-box;
+	}
+	.content_wrap{
+	  width:100%;
+	  padding:42rpx 36rpx 26rpx 34rpx;
+	  box-sizing: border-box;
+	  background-color: #F9F9F9;
+	}
+	.content_text{
+	  width:100%;
+	  font-size: 28rpx;
+	  color:#666666;
+	  line-height: 52rpx;
+	  height:800rpx;
+	}
+	.footer{
+	  width:100%;
+	  height:100rpx;
+	  background:rgba(255,255,255,1);
+	  box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.5);
+	  position: fixed;
+	  bottom:0;
+	  left:0;
+	  z-index:100;
+	}
+	.submit{
+	  width:690rpx;
+	  height:80rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  border-radius:40rpx;
+	  text-align: center;
+	  font-size: 32rpx;
+	  color:#ffffff;
+	  position: absolute;
+	  top:10rpx;
+	  left:50%;
+	  transform: translateX(-50%)
+	}
+</style>

+ 396 - 0
pages/packageOne/service/user/store_manage/my_serve/my_serve.vue

@@ -0,0 +1,396 @@
+<template>
+	<view class="wrap">
+		<view v-if="length == 0">
+			<view class="image">
+				<image src="https://wx.fujinyangche.com/nvrnetwork/images/my_serve.png"></image>
+			</view>
+			<view class="title">您还未创建服务项目,去添加您的服务项目</view>
+			<navigator open-type="redirect" hover-class="none" url="" class="add_btn"> <text class="iconfont nav_ul_add"></text>添加服务项目</navigator>
+		</view>
+		<view class="serve_list" v-else>
+			<view class="serve_list_header">
+				<scroll-view scroll-x>
+					<view   :class="['header_item', active === index?'active':'']" 
+							v-for="item,index in header" 
+							:key="index" 
+							@tap="changeActive(item,index)">{{item.pServiceName}}
+						<view class="line"></view>
+					</view>
+				</scroll-view>
+			</view>
+			<view class="serve_list_content">
+				<view class="item" v-for="item,index in contentArr" :key="index">
+					<view class="serve_list_content_item clear" >
+						<view class="serve_list_content_item_lf"><image :src="url + item.faceImg" mode="widthFix"></image></view>
+						<view class="serve_list_content_item_middle">
+							<view class="middle_title">{{item.name}}</view>
+							<view class="middle_price">
+								<view class="price_now">¥ {{item.disPrice}}</view>
+								<view class="price_old">¥ {{item.price}}</view>
+							</view>
+							<view class="middle_bom clear">
+								<view class="middle_time">服务单位:{{item.serviceTime}}</view>
+								<view class="write" @tap="write(item)">编辑</view>
+								<view class="delete" @tap="del(item)">删除</view>
+							</view>
+						</view>
+					</view>
+					<view class="back"></view>
+				</view>  
+			</view>
+			<view class="footer">
+				<view class="submit1" @tap="toIndex">返回首页</view>
+				<view class="submit" @tap="add">继续添加</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	import api from "../../../../../../api.js";
+	let app = getApp();
+	export default {
+		data() {
+			return {
+				url:app.globalData.url,
+				length:0,//服务项目长度
+				header:[],//头部导航
+				active:0,//导航栏默认选中
+				contentArr:[],//服务项目
+			}
+		},
+		onLoad() {
+			this.getData();
+		},
+		methods: {
+			//加载数据
+			getData(){
+				let data = {
+					token:app.globalData.token
+				}
+				api.getUserStoreMyServe(data).then((res)=>{
+					console.log(res);
+					if(res.data.data == null){
+						this.length = 0;
+					}else{
+						let contentArr = res.data.data.contentArr;
+						contentArr.map(function (item,index,contentArr) {
+						  if(contentArr[index].disPrice == null){
+							contentArr[index].disPrice = contentArr[index].price   //当没有优惠价时,等于原价
+						  }
+						})
+						this.length = contentArr.length;
+						this.contentArr = contentArr;
+						this.header = res.data.data.titleArr;
+					}
+				})
+			},
+			//导航栏点击切换
+			changeActive(item,index){
+				this.active = index;
+				let data = {
+					storeId: item.storeId,
+					pName:item.pServiceName
+				}
+				api.getUserStoreServeItem(data).then((res)=>{
+					console.log(res);
+					let contentArr = res.data.data;
+					contentArr.map(function (item,index,contentArr) {
+					  if(contentArr[index].disPrice == null){
+						contentArr[index].disPrice = contentArr[index].price   //当没有优惠价时,等于原价
+					  }
+					})
+					this.contentArr = contentArr;
+				})
+			},
+			//删除服务项目
+			del(item){
+				let data = {
+					id:item.id
+				}
+				uni.showModal({
+					title:'删除',
+					content:"确定删除此项目?",
+					success:(res) =>{
+						if(res.confirm){
+							api.delUserMyServe(data).then((res)=>{
+								console.log(res);
+								if(res.data.is){
+									uni.showToast({
+										title:res.data.msg,
+										icon:"none",
+										duration:2000
+									})
+									this.getData();
+								}else{
+									uni.showToast({
+										title:res.data.msg,
+										icon:"none",
+										duration:2000
+									})
+								}
+							})
+						}
+					}
+				})
+			},
+			//返回首页
+			toIndex(){
+				uni.reLaunch({
+					url:"../../../serviceView/serviceView"
+				})
+			}
+		}
+	}
+</script>
+
+<style>
+	page{
+	  width:100%;
+	  height:100%;
+	}
+	.image{
+	  width:260rpx;
+	  height:214rpx;
+	  margin:214rpx auto 0;
+	}
+	.image image{
+	  display: block;
+	  width:100%;
+	  height:100%;
+	}
+	.title{
+	  font-size: 28rpx;
+	  color:#666666;
+	  text-align: center;
+	  margin-top:30rpx;
+	}
+	.add_btn{
+	  width:320rpx;
+	  height:80rpx;
+	  background:rgba(231,120,23,1);
+	  border-radius:6rpx;
+	  text-align: center;
+	  line-height: 80rpx;
+	  font-size: 30rpx;
+	  color:#ffffff;
+	  margin:50rpx auto 0;
+	}
+	.nav_ul_add{
+	  font-size: 26rpx;
+	  margin-right: 4rpx;
+	}
+	.serve_list_header{
+	  height:88rpx;
+	  line-height: 88rpx;
+	  border-top:1px solid #f2f2f2;
+	  border-bottom:1px solid #f2f2f2;
+	  box-sizing: border-box;
+	  padding-left: 30rpx;
+	  white-space: nowrap;
+	}
+	.header_item{
+	  font-size: 30rpx;
+	  color:#222222;
+	  margin-right: 50rpx;
+	  position: relative;
+	  display: inline-block;
+	}
+	.line{
+	  width:38rpx;
+	  height:4rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  position: absolute;
+	  bottom:0rpx;
+	  left:50%;
+	  transform: translateX(-50%);
+	  display: none;
+	}
+	.active{
+	  font-size:34rpx;
+	  font-weight:600;
+	  background:linear-gradient(270deg, rgba(254,107,21,1) 0%, rgba(254,163,48,1) 100%);
+	  -webkit-background-clip:text;
+	  -webkit-text-fill-color:transparent;
+	}
+	.active .line{
+	  display: block;
+	}
+	.serve_list_content{
+	  width:100%;
+	  overflow: hidden;
+	}
+	.serve_list_content_item{
+	  width:100%;
+	  padding:0 30rpx 30rpx;
+	  box-sizing: border-box;
+	}
+	.serve_list_content_item_lf{
+	  width:170rpx;
+	  height:100rpx;
+	  border-radius: 6rpx;
+	  float:left;
+	  margin-top:38rpx;
+	  position: relative;
+	  overflow: hidden;
+	}
+	.serve_list_content_item_lf image{
+	  display: block;
+	  width:100%;
+	  height:100%;
+	  border-radius: 6rpx;
+	  position: absolute;
+	  top:50%;
+	  left:50%;
+	  transform: translate(-50%,-50%)
+	}
+	.serve_list_content_item_middle{
+	  width:calc(100% - 188rpx);
+	  float:left;
+	  margin-left: 18rpx;
+	  margin-top:34rpx;
+	  overflow: hidden;
+	}
+	.middle_title{
+	  font-size: 28rpx;
+	  color:#222222;
+	  margin-top:4rpx;
+	}
+	.price_now{
+	  display: inline-block;
+	  font-size: 26rpx;
+	  color:#E11521;
+	}
+	.price_old{
+	  font-size: 20rpx;
+	  color:#999999;
+	  display: inline-block;
+	  margin-left: 20rpx;
+	  text-decoration: line-through;
+	}
+	.middle_bom{
+	  margin-top:12rpx;
+	}
+	.middle_time{
+	  font-size: 24rpx;
+	  color:#999999;
+	  margin-top:4rpx;
+	  float:left;
+	}
+	.write{
+	  width:96rpx;
+	  height:44rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  border-radius:2rpx;
+	  text-align: center;
+	  line-height: 44rpx;
+	  font-size: 22rpx;
+	  color:#ffffff;
+	  float:right;
+	}
+	.delete{
+	  float:right;
+	  width:96rpx;
+	  height:44rpx;
+	  border-radius:2rpx;
+	  border:1px solid rgba(231,120,23,1);
+	  text-align: center;
+	  line-height: 44rpx;
+	  font-size: 22rpx;
+	  color:#E77817;
+	  box-sizing: border-box;
+	  margin-right: 20rpx;
+	}
+	.masking{
+	  width:100%;
+	  height:100%;
+	  background:rgba(0,0,0,0.5);
+	  position: absolute;
+	  top:0;
+	  left:0;
+	  z-index:100;
+	  display: none;
+	}
+	.showMask{
+	  display: block;
+	}
+	.delete_wrap{
+	  width:600rpx;
+	  height:260rpx;
+	  background:rgba(255,255,255,1);
+	  border-radius:10rpx;
+	  position: absolute;
+	  top:50%;
+	  left:50%;
+	  transform: translate(-50%,-50%);
+	}
+	.wrap_top{
+	  font-size: 32rpx;
+	  color:#000000;
+	  font-weight: bold;
+	  text-align: center;
+	  height:152rpx;
+	  line-height: 152rpx;
+	  border-bottom:1px solid #F2F2F2;
+	  box-sizing: border-box;
+	}
+	.wrap_bom_lf{
+	  width:50%;
+	  border-right: 1px solid #f2f2f2;
+	  box-sizing: border-box;
+	  font-size: 32rpx;
+	  color:#222222;
+	  font-weight: bold;
+	  text-align: center;
+	  line-height: 106rpx;
+	  display: inline-block;
+	}
+	.confirm{
+	  width:50%;
+	  display: inline-block;
+	  text-align: center;
+	  line-height: 106rpx;
+	  font-size: 32rpx;
+	  color:#E77817;
+	  font-weight: bold;
+	}
+	.footer{
+	  width:100%;
+	  height:100rpx;
+	  padding:0 30rpx;
+	  box-sizing: border-box;
+	  display: flex;
+	  background:rgba(255,255,255,1);
+	  box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.5);
+	  position: fixed;
+	  bottom:0;
+	  left:0;
+	  z-index:100;
+	}
+	.submit{
+	  flex:1;
+	  height:80rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  border-radius:16rpx;
+	  text-align: center;
+	  font-size: 32rpx;
+	  color:#ffffff;
+	  line-height: 80rpx;
+	  margin-top:10rpx;
+	}
+	.submit1{
+	  flex:1;
+	  height:80rpx;
+	  border:1px solid rgba(254,163,48,1);
+	  border-radius:16rpx;
+	  text-align: center;
+	  font-size: 32rpx;
+	  background:linear-gradient(270deg, rgba(254,107,21,1) 0%, rgba(254,163,48,1) 100%);
+	  -webkit-background-clip:text;
+	  -webkit-text-fill-color:transparent;
+	  margin-top:10rpx;
+	  margin-right: 20rpx;
+	  line-height: 80rpx;
+	  box-sizing: border-box;
+	}
+</style>

+ 238 - 0
pages/packageOne/service/user/store_manage/serve_class/serve_class.vue

@@ -0,0 +1,238 @@
+<template>
+	<view class="content">
+		<view class="content_item" v-for="item,index in list" :key="index">
+		    <view class="header clear" @tap="changeCurrent(item,index)">
+		        <view class="header_lf">
+					<view class="header_title">{{item.title}}</view>
+		        </view>
+		        <view class="header_rg">
+					<text :class="['iconfont', item.current === 0?'header_bottom':'top']"></text>
+		        </view>
+		    </view>
+		    <!-- 隐藏二级菜单 -->
+		    <view :class="['content_list',item.current == 0?'':'show']">
+		        <view :class="['content_list_wrap', item.flodStatus == 1?'flod':'']">
+		            <view :class="['content_list_item', value === item.title?'active':'']" v-for="item,cindex in item.arr" :key="cindex" @tap="getItem(item)">
+						<view class="content_list_item_text">{{item.title}}</view>
+		            </view>
+		        </view>
+		        <!--折叠-->
+		        <view class="news_more" @tap="changeFlod(item,index)">{{flod}} <view class="iconfont header_bottom"></view></view>
+		    </view>
+		</view>
+		<view class="footer">
+			<button class="submit" @tap="save">确定</button>
+		</view>
+	</view>
+</template>
+
+<script>
+	import api from "../../../../../../api.js";
+	let app = getApp();
+	export default {
+		data() {
+			return {
+				list:[],
+				value:'',//选中小分类
+				flod:'展开更多',
+				flodStatus:0,
+			}
+		},
+		onLoad() {
+			this.getData();
+		},
+		methods: {
+			//加载数据
+			getData(){
+				let data = {
+					token:app.globalData.token
+				}
+				api.getUserMyServeClass(data).then((res)=>{
+					console.log(res);
+					let contain_rh_item_list = res.data.data.contain_rh_item_list;
+					for (let i = 0; i < contain_rh_item_list.length; i++){
+						contain_rh_item_list[i].current = 0;
+						contain_rh_item_list[i].flodStatus = 0;
+					}
+					this.list = contain_rh_item_list;
+				})
+			},
+			// 点击出现下滑菜单
+			changeCurrent(item,index){
+				if(this.list[index].current == 0){
+					this.list[index].current = 1;
+				}else{
+					this.list[index].current = 0;
+				}
+			},
+			//展开更多
+			changeFlod(item,index){
+				if(this.list[index].flodStatus == 0){
+					this.list[index].flodStatus = 1;
+					this.flod = '点击收起';
+				}else{
+					this.list[index].flodStatus = 0;
+					this.flod = '查看更多';
+				}
+			},
+			//点击添加
+			getItem(item){
+				console.log(item);
+				this.value = item.title;
+			},
+			//确定按钮
+			save(){
+				// 将参数传回上一页
+				const pages = getCurrentPages()
+				const prevPage = pages[pages.length - 2] // 上一页
+				// 调用上一个页面的setData 方法,将数据存储
+				prevPage.serviceName = this.value;
+				uni.navigateBack({
+					delta:1
+				})
+			}
+		}
+	}
+</script>
+
+<style>
+	page{
+	  width: 100%;
+	  height:100%;
+	  background-color: #f9f9f9;
+	}
+	.content{
+	  width:100%;
+	  margin-top:20rpx;
+	  overflow: hidden;
+	  padding-bottom: 120rpx;
+	}
+	.content_item{
+	  width:100%;
+	  background-color: #ffffff;
+	  padding:0 30rpx;
+	  box-sizing: border-box;
+	  margin-bottom: 20rpx;
+	}
+	.header{
+	  height:100rpx;
+	  line-height: 100rpx;
+	  position: relative;
+	}
+	.header_lf image{
+	  float:left;
+	  width:26rpx;
+	  height:36rpx;
+	  margin-top:32rpx;
+	}
+	.content_item:nth-child(2) image{
+	  width:34rpx;
+	  height:28rpx;
+	}
+	.content_item:nth-child(3) image{
+	  width:30rpx;
+	  height:36rpx;
+	}
+	.content_item:nth-child(4) image{
+	  width:34rpx;
+	  height:26rpx;
+	  margin-top:36rpx;
+	}
+	.header_title{
+	  font-size: 30rpx;
+	  color:#222222;
+	  float:left;
+	}
+	.header_rg{
+	  float:right;
+	}
+	.header_bottom{
+	  font-size: 26rpx;
+	  color:#999999;
+	}
+	.top{
+	  font-size: 26rpx;
+	  color:#999999;
+	}
+	.content_list{
+	  width:100%;
+	  overflow: hidden;
+	  display: none;
+	}
+	.show{
+	  display: block;
+	}
+	.content_list_item{
+	  width:150rpx;
+	  height:78rpx;
+	  background:rgba(249,249,249,1);
+	  border-radius:6rpx;
+	  border:1px solid rgba(232,232,232,1);
+	  text-align: center;
+	  box-sizing: border-box;
+	  font-size: 26rpx;
+	  color:#333333;
+	  margin:0 30rpx 30rpx 0;
+	  display: table;
+	  float: left;
+	}
+	.content_list_item_text{
+	  width: 100%;
+	  height: 100%;
+	  display: table-cell;
+	  vertical-align: middle;
+	}
+	.active{
+	  border-color:#F67100;
+	  color:#F67100;
+	  background:rgba(231,120,23,0.1); 
+	}
+	.content_list_item:nth-child(4n){
+	  margin-right: 0;
+	}
+	.footer{
+	  width:100%;
+	  height:100rpx;
+	  background:rgba(255,255,255,1);
+	  box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.5);
+	  position: fixed;
+	  bottom:0;
+	  left:0;
+	  z-index:100;
+	}
+	.submit{
+	  width:690rpx;
+	  height:80rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  border-radius:40rpx;
+	  text-align: center;
+	  font-size: 32rpx;
+	  color:#ffffff;
+	  position: absolute;
+	  top:10rpx;
+	  left:50%;
+	  transform: translateX(-50%)
+	}
+	.content_list_wrap{
+	  height:200rpx;
+	  overflow: hidden;
+	  padding-top:20rpx;
+	}
+	.flod{
+	  height:auto;
+	}
+	.news_more{
+	  text-align: center;
+	  margin-top:16rpx;
+	  font-size: 24rpx;
+	  color:#E77817;
+	  margin-bottom: 30rpx;
+	  background-color: #ffffff
+	}
+	.header_bottom{
+	  display: inline-block;
+	  font-size:24rpx;
+	  margin-left: 10rpx;
+	  box-sizing: border-box;
+	}
+</style>

+ 465 - 0
pages/packageOne/service/user/store_manage/write_serve/write_serve.vue

@@ -0,0 +1,465 @@
+<template>
+	<view class="select">
+		<view class="select_item clear">
+		    <view class="select_item_lf">项目类别</view>
+		    <navigator open-type="navigate" hover-class="none" url="../serve_class/serve_class" class="select_item_rg" v-if="from.serviceName == ''">添加项目类别 <text class="iconfont more"></text></navigator>
+		    <navigator open-type="navigate" hover-class="none" url="../serve_class/serve_class" class="select_item_rg black" v-else>{{from.serviceName}} <text class="iconfont more"></text></navigator>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">项目标题</view>
+		    <view class="select_item_rg">
+		        <input v-model="from.name" class="select_item_rg1" placeholder="输入您的项目标题" placeholder-class="select_item_rg_place1"></input>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">原价</view>
+		    <view class="select_item_rg">
+		        <view class="price_icon">元</view>
+		        <input v-model="from.price" type="number" class="select_item_rg2" placeholder="输入价格" placeholder-class="select_item_rg_place"></input>
+		        <view class="price_icon">¥</view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">优惠价</view>
+		    <view class="select_item_rg">
+		        <view class="price_icon">元</view>
+		        <input v-model="from.disPrice" type="number" class="select_item_rg2" placeholder="输入价格" placeholder-class="select_item_rg_place"></input>
+		        <view class="price_icon">¥</view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">服务有效期</view>
+		    <view class="select_item_rg" style="display: flex;">
+		        <view class="radio1" style="margin-right: 20rpx;" @tap="changeTime">
+					<image :src="timeStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/select.png':'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png'"></image>
+					<view class="radio1_text">长期有效</view>
+		        </view>
+		        <view class="radio1">
+					<image :src="timeStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png':'https://wx.fujinyangche.com/nvrnetwork/images/select.png'"></image>
+					<picker mode="date" @change="changeTime2">
+						<view class="radio1_text">{{time}}</view>
+					</picker>
+		        </view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">服务预约</view>
+		    <view class="select_item_rg" style="display: flex;">
+		        <view class="radio1" style="margin-right: 20rpx;" @tap="changeDay">
+					<image :src="dayStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/select.png':'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png'"></image>
+					<view class="radio1_text">无需预约</view>
+		        </view>
+		        <view class="radio1" >
+					<image :src="dayStatus == 1?'https://wx.fujinyangche.com/nvrnetwork/images/no_select.png':'https://wx.fujinyangche.com/nvrnetwork/images/select.png'"></image>
+					<view class="radio1_text" style="display: flex; align-items: center">提前<input type="number" @input="changeDay2" :value="from.aheadDays" class="day"/>天预约</view>
+		        </view>
+		    </view>
+		</view>
+		<view class="select_item clear">
+		    <view class="select_item_lf">服务单位</view>
+		    <view class="select_item_rg" >
+		        <view class="danwei">
+					<picker @change="PickerChange" mode = "selector" :value="index" :range="fuwu_danwei">
+						<view class="danwei_text">{{fuwu_danwei[index]}}</view>
+					</picker>
+		        </view>
+		        <input v-model="from.serviceTime" type="number" class="select_item_rg1" style="width:18%;text-align: center;" placeholder-class="select_item_rg_place1"></input>
+		    </view>
+		</view>
+		<!-- 项目介绍 -->
+		<view class="content">
+		    <view class="content_title">项目介绍</view>
+		    <textarea v-model="from.serviceIntroduce"  maxlength="500" placeholder="输入您的项目介绍内容…" class="content_text" placeholder-class="content_text_place"></textarea> 
+		</view>
+		<!-- 上传图片 -->
+		<view class="content choseimg">
+		    <view class="content_title">上传图片</view>
+		    <view class="fengmian">
+		          <view class="faceImgWrap" v-for="item,index in from.faceImg" :key="index">
+					   <image mode="aspectFill" :src="url + item"></image>
+					   <view class="iconfont delate_icon" @tap="deleteImg(index)"></view>
+		          </view>
+		        <image mode="aspectFill" :src="img" @tap="chooseImg"></image>
+		    </view>
+		</view>
+		<view class="footer">
+		    <button class="submit" @tap="submit">保存</button>
+		</view>
+	</view>
+</template>
+
+<script>
+	import api from "../../../../../../api.js";
+	import schema from 'async-validator';
+	let app = getApp();
+	export default {
+		data() {
+			return {
+				id:'',//服务项目id
+				url:app.globalData.url,
+				img:'https://wx.fujinyangche.com/nvrnetwork/images/choseimg.png',//图片临时路径
+				timeStatus:1,
+				dayStatus:1,
+				time:'截止日期',
+				from:{
+					serviceName:'',//项目类别
+					name:'',//项目标题
+					price:'',//原价
+					disPrice:'',//优惠价
+					validityDateFormat:'',//服务有效期
+					aheadDays:'',//服务预约
+					serviceTime:1,//服务单位
+					serviceIntroduce:'',//项目介绍
+					faceImg:[],//服务器返回路径
+				},//表单数据
+				fuwu_danwei:['次','套','个','台','瓶','桶','件','箱','面','袋'],//服务单位
+				index:0,
+				descriptor:{
+				  serviceName: {
+				    type: "string",
+				    required: true,
+				    message:'请选择项目类别'
+				  },
+				  name: {
+				    type: "string",
+				    required: true,
+				    message:'请输入项目标题'
+				  },
+				  price:{
+					type: "string",
+					required: true,
+					message:'请输入价格'  
+				  },
+				  serviceIntroduce:{
+				  	type: "string",
+				  	required: true,
+				  	message:'请输入服务介绍'   
+				  },
+				  faceImg:{
+					type: "string",
+					required: true,
+					message:'请上传封面图'    
+				  }
+				},//表单验证协议
+			}
+		},
+		onLoad(options) {
+			this.id = options.id;
+			this.getData();
+		},
+		onShow() {
+			// 然后在onshow里面
+			const pages = getCurrentPages();
+			const currPage = pages[pages.length - 1];  // 当前页
+			if(currPage.serviceName !== undefined){
+				this.from.serviceName = currPage.serviceName;
+			}
+			
+		},
+		methods: {
+			//回显信息
+			getData(){
+				let data = {
+					id:this.id
+				}
+				api.getUserMyServrWrite(data).then((res)=>{
+					console.log(res);
+					let serviceTime = res.data.data.serviceTime;
+					let danwei = serviceTime.charAt(serviceTime.length-1)
+					let index = this.fuwu_danwei.indexOf(danwei);
+					serviceTime = serviceTime.substring(0,serviceTime.length-1);
+					let validityDateFormat = res.data.data.validityDateFormat;
+					let aheadDays = res.data.data.aheadDays;
+					if(validityDateFormat == ""){
+						this.time = '截止日期',
+						this.timeStatus = 1;
+						this.from.validityDateFormat = "";
+					}else{
+						this.time = validityDateFormat,
+						this.timeStatus = 0;
+						this.from.validityDateFormat = validityDateFormat;
+					}
+					if(aheadDays == ""){
+						this.dayStatus = 1;
+						this.from.aheadDays = "";
+					}else{
+						this.dayStatus = 0;
+						this.from.aheadDays = aheadDays;
+					}
+					this.from.serviceName = res.data.data.serviceName;
+					this.from.name = res.data.data.name;
+					this.from.price = res.data.data.price;
+					this.from.disPrice = res.data.data.disPrice;
+					this.from.serviceTime = serviceTime;
+					this.index = index;
+					this.from.serviceIntroduce = res.data.data.serviceIntroduce;
+					this.from.faceImg = res.data.data.imgList;
+				})
+			},
+			//服务有效期
+			changeTime(){
+				this.timeStatus = 1;
+				this.time = '截止日期';
+				this.from.validityDateFormat = '';
+			},
+			changeTime2(e){
+			    let value = e.detail.value;
+				this.timeStatus = 0;
+				this.time = value;
+				this.from.validityDateFormat = value;
+			},
+			//服务预约
+			changeDay(e) {
+				this.dayStatus = 1;
+				this.from.aheadDays = '';
+			},
+			changeDay2(e) {
+			    let value = e.detail.value;
+				this.dayStatus = 0;
+				this.from.aheadDays = value;
+			},
+			//服务单位
+			PickerChange(e){
+				let index = e.detail.value;
+				this.index = index;
+			},
+			// 上传封面图
+			chooseImg(e){
+			    uni.chooseImage({
+			      count: 1,
+			      sizeType: ['original', 'compressed'],
+			      sourceType: ['album', 'camera'],
+			      success:res=> {
+			        let tempFilePaths = res.tempFilePaths[0];
+			        uni.uploadFile({
+			          url: this.url + '/nvrnetwork/service_item/save_img',
+			          filePath: tempFilePaths,
+			          name: 'img',
+			          header: {
+			            "Content-Type": "multipart/form-data"
+			          },
+			          success:res=>{
+						  console.log(res)
+						  let data = JSON.parse(res.data);
+						  console.log(data)
+			              this.from.faceImg.push(data.data);
+			          }
+			        })
+			
+			      },
+			    })
+			},
+			//删除图片
+			deleteImg(index){
+				this.from.faceImg.splice(index,1);
+			},
+			submit(){
+				let obj = Object.assign({},this.from);
+				obj.serviceTime = obj.serviceTime + this.fuwu_danwei[this.index];
+				obj.faceImg = obj.faceImg.join(",")
+				let data = {
+					token:app.globalData.token,
+					id:this.id,
+					...obj
+				}
+				let validator = new schema(this.descriptor);
+				validator.validate(data).then(() => {
+					api.submitUserMyServe(data).then((res)=>{
+						console.log(res);
+					})
+				}).catch(({ errors, fields }) => {
+					uni.showToast({
+						icon: 'none',
+						duration:2000,
+						title:errors[0].message
+					})
+				})
+			}
+		}
+	}
+</script>
+
+<style>
+	page{
+	  width: 100%;
+	  height:100%;
+	  background-color: #f7f7f7;
+	}
+	.select{
+	  width:100%;
+	  overflow: hidden;
+	  /* padding:0 30rpx; */
+	  box-sizing: border-box;
+	  background-color: #ffffff;
+	  margin-top:20rpx;
+	  padding: 0 30rpx 200rpx 30rpx;
+	}
+	.select_item{
+	  width:100%;
+	  height:100rpx;
+	  display: flex;
+	  line-height: 100rpx;
+	  border-bottom: 1px solid #f2f2f2;
+	}
+	.select_item_lf{
+	  font-size: 30rpx;
+	  color:#555555;
+	}
+	.select_item_rg{
+	  margin-left: auto;
+	  font-size: 30rpx;
+	  color:#999999;
+	  height:100%;
+	}
+	.price_icon{
+	  float:right;
+	  color:#222222;
+	}
+	.select_item_rg1{
+	  width:88%;
+	  height:100%;
+	  float:right;
+	  text-align: right;
+	  color:#222222;
+	}
+	.select_item_rg2{
+	  width:36%;
+	  height:100%;
+	  float:right;
+	  text-align: center;
+	  color:#222222;
+	}
+	.select_item_rg_place{
+	  font-size: 30rpx;
+	  color:#999999;
+	  text-align: center;
+	}
+	.select_item_rg_place1{
+	  font-size: 30rpx;
+	  color:#999999;
+	  text-align: right;
+	}
+	.more{
+	  font-size: 26rpx;
+	  color:#999999;
+	}
+	.content{
+	  width:100%;
+	  padding-bottom:28rpx;
+	  border-bottom: 1px solid #f2f2f2;
+	  margin-top:28rpx;
+	}
+	.content_title{
+	  font-size: 30rpx;
+	  color:#555555;
+	}
+	.content_text{
+	  width:100%;
+	  height:200rpx;
+	  padding:14rpx 20rpx;
+	  box-sizing: border-box;
+	  background:rgba(249,249,249,1);
+	  border-radius:6rpx;
+	  border:1px solid rgba(202,202,202,1);
+	  margin-top:20rpx;
+	  position: relative;
+	}
+	.content_text_place{
+	  font-size: 26rpx;
+	  color:#999999;
+	}
+	.content_text_num{
+	  position: absolute;
+	  bottom:10rpx;
+	  right:12rpx;
+	  font-size: 24rpx;
+	  color:#999999;
+	}
+	.faceImgWrap{
+	  display: inline-block;
+	  width:148rpx;
+	  height:148rpx;
+	  margin-right: 20rpx;
+	  position: relative;
+	}
+	.fengmian image{
+	  width:148rpx;
+	  height:148rpx;
+	  border-radius: 6rpx;
+	}
+	.delate_icon{
+	  font-size:36rpx;
+	  color:#999999;
+	  position: absolute;
+	  top:0;
+	  right:0;
+	}
+	.choseimg{
+	  border-bottom:none;
+	}
+	.footer{
+	  width:100%;
+	  height:100rpx;
+	  background:rgba(255,255,255,1);
+	  box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.5);
+	  position: fixed;
+	  bottom:0;
+	  left:0;
+	  z-index:100;
+	}
+	.submit{
+	  width:690rpx;
+	  height:80rpx;
+	  background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
+	  border-radius:40rpx;
+	  text-align: center;
+	  font-size: 32rpx;
+	  color:#ffffff;
+	  position: absolute;
+	  top:10rpx;
+	  left:50%;
+	  transform: translateX(-50%)
+	}
+	.black{
+	  color:#222222;
+	}
+	.fengmian{
+	  margin-top: 30rpx;
+	  position: relative;
+	}
+	.danwei{
+	  float:right;
+	  margin-top:18rpx;
+	}
+	.danwei_text{
+	  width:64rpx;
+	  height:64rpx;
+	  text-align: center;
+	  line-height: 64rpx;
+	  color:#222222;
+	  background-color: rgba(249,249,249,1);
+	  border-radius: 8rpx;
+	}
+	.radio1{
+	  display: flex;
+	  height:100%;
+	  align-items: center;
+	}
+	.radio1 image{
+	  display: block;
+	  width:28rpx;
+	  height:28rpx;
+	}
+	.radio1_text{
+	  font-size: 30rpx;
+	  color:#555555;
+	  margin-left: 10rpx;
+	}
+	.day{
+	  width:50rpx;
+	  height:100%;
+	  border:1px solid #CCCCCC;
+	  text-align: center;
+	  margin:0 10rpx;
+	}
+</style>