瀏覽代碼

修复bug

yanjie 4 年之前
父節點
當前提交
f384c1eea0

+ 14 - 14
pages/archives/add_archives.vue

xqd xqd
@@ -307,13 +307,13 @@
 					})
 					return false
 				}
-				if (this.jianhuname == "") {
-					uni.showToast({
-						title: "请输入监护人姓名",
-						icon: "none"
-					})
-					return false
-				}
+				// if (this.jianhuname == "") {
+				// 	uni.showToast({
+				// 		title: "请输入监护人姓名",
+				// 		icon: "none"
+				// 	})
+				// 	return false
+				// }
 				if (!this.$util.isPhoneNumber(this.phone)) {
 					uni.showToast({
 						title: "请输入正确手机号",
@@ -411,13 +411,13 @@
 					})
 					return false
 				}
-				if (this.jianhuname == "") {
-					uni.showToast({
-						title: "请输入监护人姓名",
-						icon: "none"
-					})
-					return false
-				}
+				// if (this.jianhuname == "") {
+				// 	uni.showToast({
+				// 		title: "请输入监护人姓名",
+				// 		icon: "none"
+				// 	})
+				// 	return false
+				// }
 				if (!this.$util.isPhoneNumber(this.phone)) {
 					uni.showToast({
 						title: "请输入正确手机号",

+ 12 - 12
pages/archives/archives_info.vue

xqd xqd
@@ -22,8 +22,8 @@
 									<text class="text-grey">证件照</text>
 								</view>
 								<view class="action">
-									<text v-if="infodata.patient.card_img_url==''" class="text-grey text-sm">未上传</text>
-									<text v-else class="text-grey text-sm">已上传</text>
+									<!-- <text v-if="infodata.patient.card_img_url==''" class="text-grey text-sm">未上传</text>
+									<text v-else class="text-grey text-sm">已上传</text> -->
 								</view>
 							</view>
 						</view>
@@ -151,16 +151,16 @@
 					this.show = false
 				}
 			},
-			gotoupcard(item) {
-				let imglist = [{
-					url: item.card_img_url
-				}, {
-					url: item.card_back_img_url
-				}]
-				uni.navigateTo({
-					url: "upcard?id=" + item.id + "&data=" + JSON.stringify(imglist)
-				})
-			}
+			// gotoupcard(item) {
+			// 	let imglist = [{
+			// 		url: item.card_img_url
+			// 	}, {
+			// 		url: item.card_back_img_url
+			// 	}]
+			// 	uni.navigateTo({
+			// 		url: "upcard?id=" + item.id + "&data=" + JSON.stringify(imglist)
+			// 	})
+			// }
 		}
 	};
 </script>

+ 113 - 7
pages/common_tools/my_consulting/my_consulting.vue

xqd xqd xqd xqd xqd xqd xqd xqd xqd
@@ -5,8 +5,8 @@
 			<u-dropdown-item v-model="value2" :title="options2[value2].label" @change="paychange" :options="options2"></u-dropdown-item>
 			<u-dropdown-item v-model="value3" :title="options3[value3].label" @change="timechange" :options="options3"></u-dropdown-item>
 		</u-dropdown>
-		<load-refresh ref="loadRefresh" :isRefresh="true" refreshType="loader" refreshTime="2000" heightReduce="10"
-		 backgroundCover="#fff" :pageNo="pageindex" :totalPageNo="totalPage" @loadMore="loadMore" @refresh="refresh">
+		<load-refresh ref="loadRefresh" :isRefresh="true" :isPaging="false" refreshType="loader" refreshTime="2000"
+		 heightReduce="10" backgroundCover="#fff" :pageNo="pageindex" :totalPageNo="totalPage" @loadMore="loadMore" @refresh="refresh">
 			<view slot="content-list">
 				<view class="margin-top-sm margin-lr-sm padding-lr-xs" v-for="(item,index) in ordersList" @click="goinfoorder"
 				 :data-id="item.id" :key="index" style="border-radius: 16rpx;box-shadow:0px 0px 10px rgba(0,0,0,.2);">
@@ -32,7 +32,8 @@
 						<view class="textstyle margin-top-xs flex align-center justify-between">
 							<text style="color: #333333;">科室:{{item.docter.office.name||'暂无'}} {{item.docter.qualification.name||'暂无'}}</text>
 							<text v-if="item.order_status==4&&item.product_type==2" class="text-blue" @click.stop="gosuggest(item)">意见单</text>
-							<text v-else-if="item.order_status==1" class="text-blue">去支付</text>
+							<text v-else-if="item.order_status==1" @click.stop="payorder(item.id,item.payment_amount,item.product_type)"
+							 class="text-blue">去支付</text>
 							<text v-else class="text-blue">查看详情</text>
 						</view>
 						<view class="textstyle margin-top-xs flex align-center justify-between">
@@ -50,6 +51,7 @@
 						<u-button shape="circle" size="mini" @click="cancelOrder(item,index)" :ripple="true">取消订单</u-button>
 					</view>
 				</view>
+				<u-empty text="暂无数据" mode="order" :show="show" margin-top="250"></u-empty>
 			</view>
 		</load-refresh>
 		<!-- <view class="margin-lr-sm bg-white">
@@ -107,9 +109,24 @@
 				</view>
 			</view>
 		</u-popup>
-		<u-empty text="暂无数据" mode="order" :show="show" margin-top="250"></u-empty>
 		<!-- <view class="cu-tabbar-height"></view>
 		<view class="cu-tabbar-height"></view> -->
+		<u-keyboard default="" ref="uKeyboard" mode="number" :mask="true" :mask-close-able="false" :dot-enabled="false"
+		 v-model="showpay" :safe-area-inset-bottom="true" :tooltip="false" @change="onChange" @backspace="onBackspace">
+			<view>
+				<view class="u-text-center u-padding-20 money">
+					<text>{{payment_amount/100}}</text>
+					<text class="u-font-20 u-padding-left-10">元</text>
+					<view class="u-padding-10 close" data-flag="false" @tap="showPop(false)">
+						<u-icon name="close" color="#333333" size="28"></u-icon>
+					</view>
+				</view>
+				<view class="u-flex u-row-center">
+					<u-message-input mode="box" :maxlength="6" :dot-fill="true" v-model="password" :disabled-keyboard="true" @finish="finish"></u-message-input>
+				</view>
+				<view class="u-text-center u-padding-top-10 u-padding-bottom-20 tips">请输入密码</view>
+			</view>
+		</u-keyboard>
 	</view>
 </template>
 
@@ -138,9 +155,12 @@
 					getApp().globalData.imService.connectIM();
 				}
 			}
+			this.ordersList = []
+			this.pageindex = 1
+			this.getordersList()
 		},
 		mounted() {
-			this.getordersList()
+
 		},
 		data() {
 			return {
@@ -203,7 +223,12 @@
 				content: "",
 				currentorder: "",
 				evaluateindex: "",
-				totalPage: ""
+				totalPage: "",
+				showpay: false,
+				payment_amount: "",
+				password: "",
+				payid: "",
+				paytype: ""
 			}
 		},
 		// onReachBottom() {
@@ -216,6 +241,69 @@
 		// 	uni.stopPullDownRefresh()
 		// },
 		methods: {
+			payorder(id, price, type) {
+				this.showpay = true
+				this.payment_amount = price
+				this.payid = id
+				this.paytype = type
+			},
+			showPop(flag = true) {
+				this.password = '';
+				this.showpay = flag;
+			},
+			onChange(val) {
+				if (this.password.length < 6) {
+					this.password += val;
+				}
+
+				if (this.password.length >= 6) {
+					this.paymoney()
+					return false
+				}
+			},
+			paymoney: async function() {
+				uni.showLoading({
+					title: '支付中'
+				})
+				let res = await this.$request.post("/api/v1/order/orderPay", {
+					order_id: this.payid,
+					pay_password: this.password
+				})
+				if (res.status == 0) {
+					uni.hideLoading();
+					this.showpay = false;
+					this.password = ""
+					uni.showToast({
+						icon: 'success',
+						title: '支付成功',
+						duration: 1000
+					})
+					setTimeout(() => {
+						uni.navigateTo({
+							url: "../../order/order?type=" + this.paytype
+						})
+					}, 1000)
+				} else {
+					uni.hideLoading();
+					this.password = ""
+					uni.showModal({
+						title: "提示",
+						content: res.message,
+						confirmText: "确定",
+						showCancel: false,
+						success: (rr) => {
+							if (rr.confirm) {
+								this.showpay = false;
+							}
+						}
+					})
+				}
+			},
+			onBackspace(e) {
+				if (this.password.length > 0) {
+					this.password = this.password.substring(0, this.password.length - 1);
+				}
+			},
 			cancelOrder: async function(item, index) {
 				uni.showModal({
 					title: "提示",
@@ -259,7 +347,7 @@
 			},
 			refresh() {
 				this.pageindex = 1
-				// this.ordersList = []
+				this.ordersList = []
 				this.getordersList()
 			},
 			evaluate(item, index) {
@@ -390,6 +478,24 @@
 		background-color: #fff;
 	}
 
+	.money {
+		font-size: 80rpx;
+		color: #fa3534;
+		position: relative;
+
+		.close {
+			position: absolute;
+			top: 20rpx;
+			right: 20rpx;
+			line-height: 28rpx;
+			font-size: 28rpx;
+		}
+	}
+
+	.tips {
+		color: $u-tips-color;
+	}
+
 	.cancel {
 		width: 240rpx;
 		height: 78rpx;

+ 11 - 4
pages/index/book.vue

xqd xqd
@@ -1,7 +1,13 @@
 <template>
 	<view class="main">
 		<view class="indexswiper" style="margin-top: 10rpx;">
-			<u-swiper :list="configInfo.banners" mode="none"></u-swiper>
+			<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" style="height: 250rpx;">
+				<swiper-item v-for="(item,index) in configInfo" :key="index">
+					<view class="swiper-item">
+						<image :src="item.image" mode="widthFix"></image>
+					</view>
+				</swiper-item>
+			</swiper>
 		</view>
 		<view class="tltleStyle">
 			推荐文章
@@ -80,9 +86,10 @@
 				})
 			},
 			getconfigLsit: async function() {
-				let res = await this.$request.post("/api/v1/common/configList", {}, false)
-				console.log(res)
-				if (res.status == 0) {
+				let res = await this.$request.post("/api/v1/common/icons", {
+					type: 2
+				}, false)
+				if (res.status == 200) {
 					this.configInfo = res.data
 				}
 			}

+ 4 - 5
pages/index/editinfo.vue

xqd
@@ -17,19 +17,18 @@
 					<text class="text-grey text-sm">{{phone!=''?phone:'未绑定手机号'}}</text>
 				</view>
 			</view>
-			<view class="cu-item arrow" @click="switchNum">
+			<view class="cu-item arrow" @click="gotopwd">
 				<view class="content">
-					<text class="text-grey">切换账号</text>
+					<text class="text-grey">支付密码</text>
 				</view>
 				<view class="action">
 				</view>
 			</view>
-			<view class="cu-item arrow" @click="gotopwd">
+			<view class="cu-item arrow" @click="switchNum">
 				<view class="content">
-					<text class="text-grey">支付密码</text>
+					<text class="text-grey">退出登录</text>
 				</view>
 				<view class="action">
-
 				</view>
 			</view>
 		</view>

+ 13 - 7
pages/index/index.vue

xqd xqd xqd xqd xqd
@@ -8,7 +8,7 @@
 			<official-account></official-account>
 		</view>
 		<view class="indexswiper" style="margin-top: 10rpx;">
-			<u-swiper :list="configInfo.banners" mode="dot"></u-swiper>
+			<u-swiper :list="ordinary" :imghos="imghos" mode="dot"></u-swiper>
 		</view>
 		<view class="tltleStyle">
 			<u-section title="精选服务" font-size="40" line-color="#0B73BA" :bold="true" :right="false"></u-section>
@@ -67,19 +67,19 @@
 		<view class="cu-card case" style="margin-top: 20rpx;background-color: transparent;border-radius: 16rpx;position: relative;">
 			<swiper @change="swiperChange" :indicator-dots="false" style="height: 426rpx;border-radius:16rpx;background-color: transparent;"
 			 :autoplay="true" :interval="3000" :duration="1000" :current="itemcurrent">
-				<swiper-item style="background-color: transparent;" v-for="(item,index) in configInfo.banners" :key="index">
+				<swiper-item style="background-color: transparent;" v-for="(item,index) in hotlist" :key="index">
 					<view class="cu-item shadow" style="margin: 0;background-color: transparent;height: 100%;">
 						<view class="image">
-							<image :src="item" style="height: 426rpx;" mode="heightFix"></image>
-							<view class="cu-bar bg-shadeBottom" style="background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0));bottom:44rpx ;">
+							<image :src="imghos+item.image" style="height: 426rpx;" mode="heightFix"></image>
+							<!-- <view class="cu-bar bg-shadeBottom" style="background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0));bottom:44rpx ;">
 								<text class="text-cut">我已天理为凭,踏入这片荒芜,不再受凡人的枷锁遏制。我已天理为凭,踏入这片荒芜,不再受凡人的枷锁遏制。</text>
-							</view>
+							</view> -->
 						</view>
 					</view>
 				</swiper-item>
 			</swiper>
 			<view class="dots">
-				<view :class="index==itemcurrent?'dot active':'dot'" v-for="(item,index) in configInfo.banners" :key="index"></view>
+				<view :class="index==itemcurrent?'dot active':'dot'" v-for="(item,index) in hotlist" :key="index"></view>
 			</view>
 		</view>
 		<view class="tltleStyle">
@@ -192,6 +192,7 @@
 		},
 		onLoad(options) {
 			this.getconfigData()
+			this.imghos = this.$imgHost
 		},
 		data() {
 			return {
@@ -206,7 +207,10 @@
 				longitude: 0,
 				pageindex: 1,
 				configInfo: {},
-				icons: []
+				icons: [],
+				imghos: "",
+				hotlist: [],
+				ordinary: []
 			}
 		},
 		onHide() {
@@ -407,6 +411,8 @@
 				console.log(res)
 				if (res.status == 0) {
 					this.configInfo = res.data
+					this.hotlist = res.data.banners.filter(item => item.type == 1)
+					this.ordinary = res.data.banners.filter(item => item.type == 2)
 				}
 			},
 			//获取当前地址

+ 13 - 5
pages/index/mine.vue

xqd xqd xqd xqd xqd xqd
@@ -10,11 +10,11 @@
 						<view class="m-dpflex m-justify-start m-align-center" style="height: 165rpx;">
 							<!-- <image binderror="_binderror" mode="scaleToFill" :src="info.avatar||" style="width: 120rpx;height: 120rpx;border-radius: 50%;"></image> -->
 							<u-avatar :src="info.avatar" mode="circle" size="120"></u-avatar>
-							<text class="line1 f20 fb plr15 text-white">{{info.nickname||'用户02958472'}}</text>
+							<text class="line1 f20 fb plr15 text-white" style="width: 220rpx;">{{info.nickname||'用户02958472'}}</text>
 							<navigator hoverClass="none" :url="'editinfo?name='+info.nickname+'&phone='+info.phone">
 								<image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myedit.png"></image>
 							</navigator>
-							<view class="pr tr m-flex" style="display: flex; justify-content: flex-end;">
+							<view class="pr tr m-flex" style="display: flex; justify-content: flex-end; ">
 								<!-- <view class="tip msg" v-if="true"></view> -->
 								<navigator hoverClass="none" url="message" style="width: 50rpx;">
 									<image style="width: 50rpx;height: 50rpx;" class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myinfo.png"></image>
@@ -142,7 +142,8 @@
 				</view>
 			</view>
 			<view class="footer">
-				<image style="width: 200rpx;height: 72rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/logo.png" mode=""></image>
+				<image style="width: 200rpx;height: 72rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/logo.png"
+				 mode=""></image>
 				<text style="font-size: 24rpx;color: rgba(0,0,0,.3);margin-top: 15rpx;">宝宝少生病 / 妈妈更省心 / 家人更安心</text>
 			</view>
 		</view>
@@ -159,6 +160,11 @@
 	export default {
 		onLoad(options) {
 			this.getindexImg()
+			this.$util.getAgreement().then(res => {
+				this.phone = res.data.phone
+			}).catch(err => {
+
+			})
 		},
 		onShow() {
 			this.getUserInfo()
@@ -259,7 +265,7 @@
 			},
 			customer() {
 				uni.makePhoneCall({
-					phoneNumber: "12345"
+					phoneNumber: this.phone
 				})
 			},
 			swiperChange(e) {
@@ -320,7 +326,8 @@
 
 <style scoped>
 	@import url("./mine.css");
-	.footer{
+
+	.footer {
 		text-align: center;
 		padding-top: 15rpx;
 		padding-bottom: 15rpx;
@@ -332,6 +339,7 @@
 		align-items: center;
 		flex-direction: column;
 	}
+
 	.header-content {
 		position: absolute;
 		top: 0;

+ 0 - 1
pages/login/login.vue

xqd
@@ -213,7 +213,6 @@
 							phone: this.phoneData,
 							verify_code: this.verCode
 						}).then(res => {
-							console.log(res)
 							if (res.status == 0) {
 								if (res.data.token) {
 									store.commit('setJwt', res.data.token);

+ 8 - 7
pages/order/payment.vue

xqd xqd xqd xqd xqd xqd
@@ -486,7 +486,7 @@
 				if (res.status == 0) {
 					this.order_id = res.data.order_id
 					console.log(res)
-				}else{
+				} else {
 					uni.showModal({
 						title: "提示",
 						content: res.message,
@@ -519,12 +519,13 @@
 					payment_type: this.infodata.payment_type,
 					pay_password: this.password,
 					user_coupon_id: this.couponid,
-					is_need_insurance: num
+					is_need_insurance: num,
+					team_id: this.infodata.team_id
 				})
 				console.log(res)
 				if (res.status == 0) {
 					this.order_id = res.data.order_id
-				}else{
+				} else {
 					uni.showModal({
 						title: "提示",
 						content: res.message,
@@ -556,7 +557,7 @@
 				if (res.status == 0) {
 					this.order_id = res.data.order_id
 					console.log(res)
-				}else{
+				} else {
 					uni.showModal({
 						title: "提示",
 						content: res.message,
@@ -587,7 +588,7 @@
 				})
 				if (res.status == 0) {
 					this.order_id = res.data.order_id
-				}else{
+				} else {
 					uni.showModal({
 						title: "提示",
 						content: res.message,
@@ -619,7 +620,7 @@
 				})
 				if (res.status == 0) {
 					this.order_id = res.data.order_id
-				}else{
+				} else {
 					uni.showModal({
 						title: "提示",
 						content: res.message,
@@ -653,7 +654,7 @@
 				console.log(res)
 				if (res.status == 0) {
 					this.order_id = res.data.order_id
-				}else{
+				} else {
 					uni.showModal({
 						title: "提示",
 						content: res.message,

+ 8 - 6
pages/service_box/box_details.vue

xqd xqd xqd xqd
@@ -5,7 +5,7 @@
 			<view style="width: 100%;height: 100%;">
 				<view v-for="(item,index) in serviceList" :key="index">
 					<view class="card flex justify-center">
-						<view class="taocan" :data-id="item.order_pack.id" @click="details(item.order_pack)">
+						<view class="taocan" :data-id="item.order_pack.id" @click="details(item.order_pack,item.id)">
 							<view class="tc_left">
 								<text>{{item.order_pack.pack_name}}</text>
 							</view>
@@ -56,7 +56,9 @@
 					name: '服务中服务包'
 				}, {
 					name: '历史服务包'
-				},{name:'失效服务包'} ],
+				}, {
+					name: '失效服务包'
+				}],
 				current: 0,
 				serviceList: [],
 				miao: "",
@@ -75,9 +77,9 @@
 				let num = 0
 				if (this.current == 0) {
 					num = 2
-				} else if(this.current == 1){
+				} else if (this.current == 1) {
 					num = 1
-				}else{
+				} else {
 					num = 3
 				}
 				console.log(num)
@@ -105,9 +107,9 @@
 					this.show = false
 				}
 			},
-			details(data) {
+			details(data, id) {
 				let obj = {
-					service_pack_id: data.service_pack_id,
+					service_pack_id: id,
 					guardian_name: data.guardian_name
 				}
 				console.log(data)

+ 6 - 7
pages/service_box/choiceBox.vue

xqd xqd xqd
@@ -6,7 +6,7 @@
 				<!-- 放图片 标题 -->
 				<view class="title">
 					<view class="">
-						{{packs.name}}
+						{{packs.pack_name}}
 					</view>
 					<view class="">
 
@@ -14,12 +14,12 @@
 				</view>
 				<!-- 放描述 -->
 				<view class="describe">
-					<view style="font-size: 40rpx;font-weight: bold;">{{packs.name}}</view>
+					<view style="font-size: 40rpx;font-weight: bold;">{{packs.pack_name}}</view>
 					<view style="font-size: 28rpx;font-weight: bold;padding-top: 60rpx;">有效期</view>
 					<view style="font-size: 26rpx;color: #999999;padding-top: 30rpx;">自购买服务起{{packs.effective_days}}天</view>
 					<view style="font-size: 28rpx;font-weight: bold;padding-top: 50rpx;">服务包内容介绍</view>
 					<view style="font-size: 26rpx;color: #999999;">
-						<view style="padding: 27rpx 0 12rpx 0;">{{packs.intro}}</view>
+						<view style="padding: 27rpx 0 12rpx 0;">{{packs.pack_intro}}</view>
 						<rich-text style="padding: 12rpx 0;" :nodes="packs.desc"></rich-text>
 					</view>
 					<view style="font-size: 28rpx;font-weight: bold;padding-top: 60rpx;">服务包绑定者</view>
@@ -123,13 +123,12 @@
 				}
 			},
 			getservice: async function() {
-				console.log(this.service)
-				let res = await this.$request.post("/api/v1/ServicePack/servicePackDetail", {
-					service_pack_id: this.service.service_pack_id
+				let res = await this.$request.post("/api/v1/order/orderDetail", {
+					order_id: this.service.service_pack_id
 				})
 				console.log(res)
 				if (res.status == 0) {
-					this.packs = res.data
+					this.packs = res.data.order_pack
 				}
 			}
 		}

+ 22 - 4
pages/service_packs/packs_details.vue

xqd xqd xqd xqd xqd
@@ -17,8 +17,13 @@
 						<view style="padding: 27rpx 0 12rpx 0;">{{packs.intro}}</view>
 						<rich-text style="padding: 12rpx 0;" :nodes="packs.desc"></rich-text>
 					</view>
-					<view class="" v-for="(item,index) in packs.team" :key="index">
-						<view style="font-size: 28rpx;font-weight: bold;padding-top: 48rpx;">{{item.name}}</view>
+					<view class="margin-top-sm" v-for="(item,index) in packs.team" :key="index">
+						<u-radio-group v-model="value" @change="radioGroupChange">
+							<u-radio :name="item.id" style="font-weight: bold;">
+								{{item.name}}
+							</u-radio>
+						</u-radio-group>
+						<!-- <view style="font-size: 28rpx;font-weight: bold;padding-top: 48rpx;">{{item.name}}</view> -->
 						<view class="list" v-for="(ite,idx) in item.docter" :key="idx">
 							<!-- 头像 -->
 							<view class="portrait">
@@ -119,7 +124,8 @@
 				},
 				service_protocol: "",
 				phone: "",
-				imghos: ""
+				imghos: "",
+				value: ""
 			}
 		},
 		methods: {
@@ -134,6 +140,10 @@
 				})
 				this.show = false
 			},
+			radioGroupChange(e) {
+				console.log(e)
+				this.value = e
+			},
 			//关注
 			submitCollect: async function(e) {
 				console.log(e)
@@ -178,6 +188,13 @@
 				}
 			},
 			next(e) {
+				if (this.value == '') {
+					uni.showToast({
+						title: "请先选择服务团队",
+						icon: "none"
+					})
+					return false
+				}
 				if (!this.imgitem.istrue) {
 					uni.showToast({
 						icon: 'none',
@@ -189,7 +206,8 @@
 						id: this.packs.id,
 						price: this.packs.price,
 						is_need_insure: this.packs.is_need_insure,
-						service_pack_protocol: this.packs.service_pack_protocol
+						service_pack_protocol: this.packs.service_pack_protocol,
+						team_id: this.value
 					}
 					uni.navigateTo({
 						url: '/pages/service_packs/packs_information?data=' + JSON.stringify(obj)

+ 2 - 1
pages/service_packs/packs_information.vue

xqd
@@ -405,7 +405,8 @@
 					guardian_name: this.guardianName,
 					relationship_type: this.nRelationship.value,
 					is_need_insurance: this.checked,
-					payment_type: 2
+					payment_type: 2,
+					team_id: this.packs.team_id
 				}
 				console.log(obj)
 				uni.navigateTo({

+ 6 - 2
uview-ui/components/u-swiper/u-swiper.vue

xqd xqd xqd xqd
@@ -14,7 +14,7 @@
 						transform: effect3d && uCurrent != index ? 'scaleY(0.9)' : 'scaleY(1)',
 						margin: effect3d && uCurrent != index ? '0 20rpx' : 0,
 					}">
-					<image class="u-swiper-image" :src="item[name] || item" :mode="imgMode"></image>
+					<image class="u-swiper-image" :src="imghos+item[name] || imghos+item" :mode="imgMode"></image>
 					<view v-if="title && item.title" class="u-swiper-title u-line-1" :style="[{
 							'padding-bottom': titlePaddingBottom
 						}, titleStyle]">
@@ -70,6 +70,7 @@
 	 * @event {Function} click 点击轮播图时触发
 	 * @example <u-swiper :list="list" mode="dot" indicator-pos="bottomRight"></u-swiper>
 	 */
+	
 	export default {
 		name: "u-swiper",
 		props: {
@@ -168,6 +169,9 @@
 				default() {
 					return {}
 				}
+			},
+			imghos:{
+				type:String
 			}
 		},
 		watch: {
@@ -183,7 +187,7 @@
 		},
 		data() {
 			return {
-				uCurrent: this.current // 当前活跃的swiper-item的index
+				uCurrent: this.current// 当前活跃的swiper-item的index
 			};
 		},
 		computed: {