android添加银行插件
diff --git a/pages/sub_medical/appointment.vue b/pages/sub_medical/appointment.vue
index a80132d..5b530a5 100644
--- a/pages/sub_medical/appointment.vue
+++ b/pages/sub_medical/appointment.vue
@@ -89,7 +89,7 @@
 		onLoad() {
 			uni.setNavigationBarTitle({title:'医院查询'})
 			this.get_hospital_list()
-			this.getLocal()
+			//this.getLocal()
 		},
 		methods: {
 			getLocal() {
@@ -123,7 +123,7 @@
 						item.icon = url + '/' + item.picid
 					})
 					that.hospital_list = list
-					console.log(list)
+					// console.log(list)
 				})
 			}
 		}
diff --git a/pages/sub_medical/cashFlow.vue b/pages/sub_medical/cashFlow.vue
index c1030de..406018c 100644
--- a/pages/sub_medical/cashFlow.vue
+++ b/pages/sub_medical/cashFlow.vue
@@ -9,6 +9,7 @@
 		<view v-if="leftOright">
 			<scroll-view scroll-y :enable-back-to-top="true" @scrolltolower="" class="scrollView">
 				<view class="cashFlow-ul">
+					<u-empty text="暂无待缴费订单" mode="order" v-if="unpay_list.length==0"  margin-top="120"></u-empty>
 					<view class="cashFlow-ul-item" v-for='(v,i) in unpay_list' :key='i' @click="toPath('/pages/sub_medical/pay?msg=' + JSON.stringify(v)+'&id=unpay')">
 						<view class="cashFlow-ul-item-left">
 							<view class="cashFlow-ul-item-left-top">
@@ -33,6 +34,7 @@
 		<view v-if="!leftOright">
 			<scroll-view scroll-y :enable-back-to-top="true" @scrolltolower="" class="scrollView">
 				<view class="cashFlow-ul">
+					<u-empty text="暂无已缴费订单" mode="order" v-if="payed_list.length==0" margin-top="120"></u-empty>
 					<view class="cashFlow-ul-item" v-for='(v,i) in payed_list' :key='i' @click="toPath('/pages/sub_medical/pay?msg=' + JSON.stringify(v) +'&id=payed')">
 						<view class="cashFlow-ul-item-left">
 							<view class="cashFlow-ul-item-left-top">
@@ -67,14 +69,17 @@
 		},
 		onLoad(options) {
 			let hospitalcode = options.hospitalcode
+			let cardno = options.cardno
 			this.hospitalcode = hospitalcode
-			// this.get_unpay_list(hospitalcode)
+			this.cardno = cardno
+			//this.get_unpay_list(hospitalcode,cardno)
 		},
 		methods: {
-			get_unpay_list(code) {
+			get_unpay_list(code,no) {
 				let that = this
 				let param = {
-					hospitalcode: code
+					hospitalcode: code,
+					cardno:no?no:''
 				}
 				that.$u.post('/medicalapi/unpayed/list', param).then(res => {
 					that.unpay_list = res.data
@@ -101,19 +106,24 @@
 			changeTurnoverList(e) {
 				this.leftOright = e
 				if (e) {
-					this.get_unpay_list(this.hospitalcode)
+					this.get_unpay_list(this.hospitalcode,this.cardno)
 				} else {
 					this.get_payed_list(this.hospitalcode)
 				}
 			},
 		},
 		onShow() {
-			let e = this.leftOright
-			if (e) {
-				this.get_unpay_list(this.hospitalcode)
-			} else {
-				this.get_payed_list(this.hospitalcode)
-			}
+			let list = [{mergingName:'西药',subjectName:'骨科',doctorName:'张三',mergingSubtotal:'0.01',status:'init',medicalDate:'20210315143000',
+			hospitalName:'大理市第一人民医院',hospitalcode:'532901107',billNo:'20210407160526000105'},
+			{mergingName:'感冒药',subjectName:'儿科',doctorName:'李武',mergingSubtotal:'0.01',status:'init',medicalDate:'20210315143000',
+			hospitalName:'大理市第一人民医院',hospitalcode:'530602999',billNo:'20210407160526000106',}]
+			this.unpay_list = list
+			// let e = this.leftOright
+			// if (e) {
+			// 	this.get_unpay_list(this.hospitalcode)
+			// } else {
+			// 	this.get_payed_list(this.hospitalcode)
+			// }
 		}
 	}
 </script>
diff --git a/pages/sub_medical/z_components/calendar/calendar.vue b/pages/sub_medical/components/calendar/calendar.vue
similarity index 100%
rename from pages/sub_medical/z_components/calendar/calendar.vue
rename to pages/sub_medical/components/calendar/calendar.vue
diff --git a/pages/sub_medical/z_components/keyboard-package/keyboard-package.vue b/pages/sub_medical/components/keyboard-package/keyboard-package.vue
similarity index 100%
rename from pages/sub_medical/z_components/keyboard-package/keyboard-package.vue
rename to pages/sub_medical/components/keyboard-package/keyboard-package.vue
diff --git a/pages/sub_medical/z_components/password-input/password-input.vue b/pages/sub_medical/components/password-input/password-input.vue
similarity index 100%
rename from pages/sub_medical/z_components/password-input/password-input.vue
rename to pages/sub_medical/components/password-input/password-input.vue
diff --git a/pages/sub_medical/z_components/uni-popup/message.js b/pages/sub_medical/components/uni-popup/message.js
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/message.js
rename to pages/sub_medical/components/uni-popup/message.js
diff --git a/pages/sub_medical/z_components/uni-popup/popup.js b/pages/sub_medical/components/uni-popup/popup.js
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/popup.js
rename to pages/sub_medical/components/uni-popup/popup.js
diff --git a/pages/sub_medical/z_components/uni-popup/popup.vue b/pages/sub_medical/components/uni-popup/popup.vue
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/popup.vue
rename to pages/sub_medical/components/uni-popup/popup.vue
diff --git a/pages/sub_medical/z_components/uni-popup/uni-popup-dialog.vue b/pages/sub_medical/components/uni-popup/uni-popup-dialog.vue
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/uni-popup-dialog.vue
rename to pages/sub_medical/components/uni-popup/uni-popup-dialog.vue
diff --git a/pages/sub_medical/z_components/uni-popup/uni-popup-message.vue b/pages/sub_medical/components/uni-popup/uni-popup-message.vue
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/uni-popup-message.vue
rename to pages/sub_medical/components/uni-popup/uni-popup-message.vue
diff --git a/pages/sub_medical/z_components/uni-popup/uni-popup-share.vue b/pages/sub_medical/components/uni-popup/uni-popup-share.vue
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/uni-popup-share.vue
rename to pages/sub_medical/components/uni-popup/uni-popup-share.vue
diff --git a/pages/sub_medical/z_components/uni-popup/uni-popup.vue b/pages/sub_medical/components/uni-popup/uni-popup.vue
similarity index 100%
rename from pages/sub_medical/z_components/uni-popup/uni-popup.vue
rename to pages/sub_medical/components/uni-popup/uni-popup.vue
diff --git a/pages/sub_medical/hospital.vue b/pages/sub_medical/hospital.vue
index 7cf850d..3bd99f2 100644
--- a/pages/sub_medical/hospital.vue
+++ b/pages/sub_medical/hospital.vue
@@ -14,8 +14,8 @@
 			<view class="hospital-ul-noitem" v-if="hospital_list.length == 0">
 				<text>{{notice}}</text>
 			</view>
-			<view class="hospital-ul-item" v-else >
-				<view class="hospital-ul-item-box" v-for="(v,i) in hospital_list" :key="i">
+			<view class="hospital-ul-item" v-else>
+				<view class="hospital-ul-item-box" v-for="(v,i) in hospital_list" :key="i" @click="get(v.hospitalcode)">
 					<view class="hospital-ul-item-left">
 						<u-image :src="v.src" width="100" mode="widthFix"></u-image>
 					</view>
@@ -35,7 +35,6 @@
 					</view>
 				</view>
 			</view>
-			
 		</view>
 	</view>
 </template>
@@ -52,11 +51,13 @@
 					value: 1,
 				}],
 				hospital_list: [],
-				notice:'暂无数据'
+				notice: '暂无医院',
+
 			}
 		},
-		onLoad() {
-
+		onLoad(options) {
+			this.kind = options.id
+			this.get_hospital_list()
 		},
 		methods: {
 			get_hospital_list() {
@@ -64,14 +65,29 @@
 				let name = that.hospial
 				let params = {
 					pageno: 1,
-					pagesize: 10,
+					pagesize: 100,
 					name: name
 				}
 				that.$u.get('/medicalapi/hospital/list', params).then(res => {
-					that.hospital_list = res.data.list
-					that.notice = '没有搜索到此关键词'
-					console.log(res.data.list)
+					let list = res.data.list
+					if (!list.length) {
+						that.notice = '没有搜索到此关键词'
+						return
+					}
+					that.hospital_list = list
 				})
+			},
+			get(e) {
+				let kind = this.kind
+				if (kind == 'toReports') {
+					uni.navigateTo({
+						url: '/pages/sub_medical/report?code=' + e
+					})
+				} else if (kind == 'toBills') {
+					uni.navigateTo({
+						url: '/pages/sub_medical/queryBills?code=' + e
+					})
+				}
 			}
 		}
 	}
diff --git a/pages/sub_medical/pay.vue b/pages/sub_medical/pay.vue
index 5c9ebe5..52266e6 100644
--- a/pages/sub_medical/pay.vue
+++ b/pages/sub_medical/pay.vue
@@ -15,10 +15,11 @@
 			<u-cell-item title="退款状态" :arrow="false" :value="msg.refundflag_ok" :value-style="msg.refundflag=='refund'?status_style:vstyle"
 			 v-if="msg.refundflag == 'wip' || msg.refundflag == 'refund'"></u-cell-item>
 		</u-cell-group>
-		<u-button @click="msg.status=='wip'?query():open()" :custom-style="payBtn" v-if="kind =='unpay'">{{msg.status=='wip'?'查询订单状态':'立即支付'}}</u-button>
+		<u-button @click="msg.status=='wip'?query():payInit()" :custom-style="payBtn" v-if="kind =='unpay'">{{msg.status=='wip'?'查询订单状态':'立即支付'}}</u-button>
 		<u-button @click="notify_hosiptal" :custom-style="payBtn" v-if="kind =='payed'&& msg.notifyStatus == false">通知医院</u-button>
+		<u-button @click="refund" :custom-style="payBtn" v-if="kind =='payed'">申请退款</u-button>
 		<!-- 支付密码弹框 -->
-		<uni-popup ref="showPassword" class="pwd-wrapper">
+		<!-- <uni-popup ref="showPassword" class="pwd-wrapper">
 			<view class="uni-tip uni-pwd">
 				<text class="uni-tip-title">请输入支付密码</text>
 				<view class="pwd-text-wrap">
@@ -26,25 +27,29 @@
 				</view>
 			</view>
 		</uni-popup>
-		<keyboard-package ref="number" @onInput="onInput" @onDelete="onDelete" @onConfirm="onConfirm" :disableDot="true" />
+		<keyboard-package ref="number" @onInput="onInput" @onDelete="onDelete" @onConfirm="onConfirm" :disableDot="true" /> -->
 	</view>
 </template>
 
 <script>
-	import keyboardPackage from "./z_components/keyboard-package/keyboard-package.vue"
-	import passwordInput from "./z_components/password-input/password-input.vue"
-	import uniPopup from './z_components/uni-popup/uni-popup.vue'
+	// import keyboardPackage from "./components/keyboard-package/keyboard-package.vue"
+	// import passwordInput from "./components/password-input/password-input.vue"
+	// import uniPopup from './components/uni-popup/uni-popup.vue'
+	// #ifdef APP-PLUS
+	const Ynrcc = uni.requireNativePlugin('ynrcc-pay')
+	// console.log(Ynrcc)
+	// #endif
 	export default {
-		components: {
-			uniPopup,
-			keyboardPackage,
-			passwordInput
-		},
+		// components: {
+		// 	uniPopup,
+		// 	keyboardPackage,
+		// 	passwordInput
+		// },
 		data() {
 			return {
-				numberList: [],
-				length: 6,
-				type: 'number',
+				// numberList: [],
+				// length: 6,
+				// type: 'number',
 				tstyle: {
 					marginLeft: '10rpx',
 					fontWeight: 'bold'
@@ -71,56 +76,112 @@
 			}
 		},
 		methods: {
-			// 呼起键盘
-			openKeyBoard(key) {
-				this.type = key;
-				this.$refs[key].open();
-			},
-			// 输入密码
-			onInput(val) {
-				this.numberList.push(val)
-				if (this.numberList.length == this.length) {
-					this.$refs.showPassword.close()
-					this.$refs[this.type].close()
-					this.pay()
-				}
-			},
-			//完成输入点击完成
-			onConfirm() {
-				let length = this.numberList.length
-				if (length == this.length) {
-					this.$refs.showPassword.close()
-					this.$refs[this.type].close()
-				} else {
-					this.numberList = []
-					uni.showToast({
-						title: '密码错误',
-						icon: 'none'
-					})
-				}
-			},
-			//删除密码
-			onDelete(val) {
-				this.numberList.pop(val)
-			},
-			//打开密码输入框
-			open() {
-				this.numberList = []
-				this.$refs.showPassword.open()
-				this.openKeyBoard('number')
-			},
-			pay() {
+			// // 呼起键盘
+			// openKeyBoard(key) {
+			// 	this.type = key;
+			// 	this.$refs[key].open();
+			// },
+			// // 输入密码
+			// onInput(val) {
+			// 	this.numberList.push(val)
+			// 	if (this.numberList.length == this.length) {
+			// 		this.$refs.showPassword.close()
+			// 		this.$refs[this.type].close()
+			// 		this.payInit()
+			// 	}
+			// },
+			// //完成输入点击完成
+			// onConfirm() {
+			// 	let length = this.numberList.length
+			// 	if (length == this.length) {
+			// 		this.$refs.showPassword.close()
+			// 		this.$refs[this.type].close()
+			// 	} else {
+			// 		this.numberList = []
+			// 		uni.showToast({
+			// 			title: '密码错误',
+			// 			icon: 'none'
+			// 		})
+			// 	}
+			// },
+			// //删除密码
+			// onDelete(val) {
+			// 	this.numberList.pop(val)
+			// },
+			// //打开密码输入框
+			// open() {
+			// 	this.numberList = []
+			// 	this.$refs.showPassword.open()
+			// 	this.openKeyBoard('number')
+			// },
+			payInit() {
 				let that = this
-				let pwd = ''
+				// let pwd = ''
 				let billno = that.msg.billNo
-				that.numberList.forEach(item => {
-					pwd += item + ''
-				})
+				// that.numberList.forEach(item => {
+				// 	pwd += item + ''
+				// })
 				let param = {
-					paypwd: pwd,
+					// paypwd: pwd,
 					billno
 				}
-				that.$u.post('/medicalapi/pay', param).then(res => {
+				that.$u.post('/medicalapi/quickpay/payinit', param).then(res => {
+					let code = res.code
+					console.log(res)
+					if(code == 501){
+						uni.showModal({
+							title:'提示',
+							content:'您还未与银行进行签约,暂时无法支付',
+							confirmText:'去签约',
+							success(res) {
+								if(res.confirm){
+									that.getCardsiInfor()
+								}
+							}
+						})
+					}else{
+						let plain_payInit = res.data.plain
+						let signature_payInit = res.data.signature
+						let billno = res.data.billno
+						that.pay(billno,plain_payInit,signature_payInit)
+					}
+				})
+			},
+			pay(billno,plain,signature) {
+				let that = this
+				let params = {
+					plain,
+					signature
+				}
+				console.log(params)
+				Ynrcc.pay(params, res => {
+					console.log(res)
+					let plain_payConfirm = res.plain
+					let signature_payConfirm = res.signature
+					if(!plain_payConfirm && !signature_payConfirm){
+						let obj = res ,code,msg
+						for(let key in obj){
+							code = key
+							msg = obj[key]
+						}
+						uni.showModal({
+							title:'提示',
+							content:code + ':' +msg,
+							showCancel:false
+						})
+						return
+					}
+					that.pay_confirm(billno,plain_payConfirm,signature_payConfirm)
+				})
+			},
+			pay_confirm(billno,plain,signature){
+				let that = this
+				let params = {
+					billno,
+					plain,
+					signature
+				}
+				that.$u.post('/medicalapi/quickpay/confirm',params).then(res=>{
 					let status = res.status
 					let obj = that.msg
 					let date = res.transdate.substr(0, 4) +
@@ -133,6 +194,112 @@
 					}, 1500)
 				})
 			},
+			getCardsiInfor() {
+				let that = this
+				that.$u.post("/medicalapi/quickpay/signinfo").then((res) => {
+					console.log(res)
+					console.log(that.msg.hospitalcode)
+					let bankno = res.bankcardno
+					that.sign_init(bankno,that.msg.hospitalcode)
+				})
+			},
+			sign_init(bankcardno,hospitalcode){
+				let that = this
+				let params = {
+					hospitalcode,
+					bankcardno
+				}
+				that.$u.post('/medicalapi/quickpay/signinit',params).then(res=>{
+					console.log(res)
+					let authsign = res.data.authSign
+					let signature = res.data.signature
+					let user = res.data.signUserData
+					let plain = res.data.plain
+					let signno = res.data.signNo
+					if(!!!authsign){
+						that.sign(plain,signature,user,signno)
+					}else{
+						that.auth_sign(plain,signature,signno)
+					}
+				})
+			},
+			sign(plain,signature,user,signno) {
+				let that = this
+				let params = {
+					plain,
+					signature,
+					name: user.name,
+					id_type: user.idType,
+					id_no: user.idNo,
+					ac_no: user.acNo
+				}
+				Ynrcc.sign(params, res => {
+					let plain_sign = res.plain
+					let signature_sign = res.signature
+					if(!plain_sign && !signature_sign){
+						let obj = res ,code,msg
+						for(let key in obj){
+							code = key
+							msg = obj[key]
+						}
+						uni.showModal({
+							title:'提示',
+							content:code + ':' +msg,
+							showCancel:false
+						})
+						return
+					}
+					that.sign_confirm(plain_sign,signature_sign,signno)
+				})
+			},
+			auth_sign(plain,signature,signno) {
+				let that = this
+				let params = {
+					plain,
+					signature,
+				}
+				Ynrcc.authSign(params, res => {
+					console.log(res)
+					let plain_authSign = res.plain
+					let signature_authSign = res.signature
+					if(!plain_authSign && !signature_authSign){
+						let obj = res ,code,msg
+						for(let key in obj){
+							code = key
+							msg = obj[key]
+						}
+						uni.showModal({
+							title:'提示',
+							content:code + ':' +msg,
+							showCancel:false
+						})
+						return
+					}
+					that.sign_confirm(plain_authSign,signature_authSign,signno)
+				})
+			},
+			sign_confirm(plain,signature,signno){
+				let that = this
+				let params = {
+					signno,
+					plain,
+					signature
+				}
+				that.$u.post('/medicalapi/quickpay/signconfirm',params).then(res=>{
+					uni.showModal({
+						title:'提示',
+						content:'签约成功',
+						showCancel:false,
+						confirmText:'继续支付',
+						success(res){
+							if(res.confirm){
+								// that.open()
+								that.payInit()
+							}
+						}
+					})
+				})
+			},
 			query() {
 				let that = this
 				let billno = that.msg.billNo
@@ -174,10 +341,25 @@
 						}
 					})
 				})
-			}
+			},
+			refund(){
+				let that = this
+				let billno = that.msg.billno
+				let param = {
+					billno
+				}
+				that.$u.post('/medicalapi/medical/quickpay/refund/test',param).then(res=>{
+					uni.showModal({
+						title:'提示',
+						content:'退款成功',
+						showCancel:false,
+					})
+				})
+			},
 		},
 		onLoad(options) {
 			let msg = JSON.parse(options.msg)
+			//console.log(msg)
 			let id = options.id
 			this.kind = id
 			if (id == 'unpay') {
diff --git a/pages/sub_medical/payResult.vue b/pages/sub_medical/payResult.vue
index 08d8185..402df41 100644
--- a/pages/sub_medical/payResult.vue
+++ b/pages/sub_medical/payResult.vue
@@ -91,7 +91,7 @@
 		&-money{
 			padding: 30rpx;
 			font-size: 50rpx;
-			text-align: right;
+			text-align: center;
 			color: #2FA8E1;
 		}
 		&-msg{
diff --git a/pages/sub_medical/queryBills.vue b/pages/sub_medical/queryBills.vue
new file mode 100644
index 0000000..f56c678
--- /dev/null
+++ b/pages/sub_medical/queryBills.vue
@@ -0,0 +1,82 @@
+<template>
+	<view class="queryBills">
+		<view class="queryBills-con">
+			<u-field @click="showPicker" v-model="cardtype" :disabled="true" label="查询方式" input-align="right"></u-field>
+		</view>
+		<!-- <view class="queryBills-id">
+			<u-field v-model="idno" :disabled="true" label="身份证号" clear-size="40" input-align="right" placeholder="请输入需要查询订单人的身份证号"></u-field>
+		</view> -->
+		<view class="queryBills-card" v-show="index">
+			<u-field v-model="cardno" label="诊疗卡号" clear-size="40" input-align="right" placeholder="请输入需要查询订单人的诊疗卡号"></u-field>
+		</view>
+		<u-button :custom-style="btn_style" @click="to_bills">查询</u-button>
+		<u-picker mode="selector" v-model="isShowPicker" :default-selector="[0]" :range="query_bills_list" @confirm="get"></u-picker>
+	</view>
+
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				cardtype: '请选择',
+				query_bills_list: ['本人查询', '诊疗卡查询'],
+				isShowPicker: false,
+				cardno: '',
+				btn_style: {
+					width: '600rpx',
+					backgroundColor: '#2FA8E1',
+					color: '#FFFFFF',
+					fontFamily: "PingFang-SC-Medium",
+					fontSize: '30rpx',
+					marginTop: '100rpx',
+					padding: '50rpx 0'
+				},
+				index: 0
+
+			}
+		},
+		methods: {
+			get(e) {
+				let index = e[0]
+				this.cardtype = this.query_bills_list[index]
+				this.index = index
+			},
+			showPicker() {
+				this.isShowPicker = !this.isShowPicker
+			},
+			to_bills() {
+				let {
+					index,cardno,hospitalcode
+				} = this
+				if (index == 1 && cardno == '') {
+					uni.showModal({
+						title: '提示',
+						content: '请填写诊疗卡号或更改查询方式',
+						showCancel: false,
+					})
+					return
+				}else {
+					uni.navigateTo({
+						url:`/pages/sub_medical/cashFlow?hospitalcode=${hospitalcode}&cardno=${cardno}`
+					})
+				}
+			}
+		},
+		onLoad(options) {
+			this.hospitalcode = options.code
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.u-field {
+		background-color: #FFFFFF;
+	}
+
+	.queryBills {
+		&-con {
+			margin-top: 30rpx;
+		}
+	}
+</style>
diff --git a/pages/sub_medical/queryDate.vue b/pages/sub_medical/queryDate.vue
index d2ff8d8..ffd4601 100644
--- a/pages/sub_medical/queryDate.vue
+++ b/pages/sub_medical/queryDate.vue
@@ -46,7 +46,7 @@
 </template>
 
 <script>
-	import myCalendar from './z_components/calendar/calendar.vue'
+	import myCalendar from './components/calendar/calendar.vue'
 	export default {
 		components: {
 			myCalendar,
diff --git a/pages/sub_medical/report.vue b/pages/sub_medical/report.vue
index 95a5bd7..0ba4e12 100644
--- a/pages/sub_medical/report.vue
+++ b/pages/sub_medical/report.vue
@@ -1,20 +1,10 @@
 <template>
 	<view class="report">
 		<view class="report-title">
-			<u-icon name="login" custom-prefix="custom-icon" size="40" color="#666666" label="李小明【3213232423】"></u-icon>
+			<u-icon name="login" custom-prefix="custom-icon" size="40" color="#666666" :label="name"></u-icon>
 		</view>
-		<view class="report-item">
-			<u-cell-item title="体测报告" :title-style="tstyle">
-				<u-image slot="icon" src="./images/report.png" width="70" height="70" mode="aspectFit"></u-image>
-			</u-cell-item>
-		</view>
-		<view class="report-item">
-			<u-cell-item title="肝功能报告" :title-style="tstyle">
-				<u-image slot="icon" src="./images/report.png" width="70" height="70" mode="aspectFit"></u-image>
-			</u-cell-item>
-		</view>
-		<view class="report-item">
-			<u-cell-item title="肝功能报告" :title-style="tstyle">
+		<view class="report-item" v-for="(v,i) in report_list" :key='i'>
+			<u-cell-item :title="v.title" :title-style="tstyle">
 				<u-image slot="icon" src="./images/report.png" width="70" height="70" mode="aspectFit"></u-image>
 			</u-cell-item>
 		</view>
@@ -27,7 +17,12 @@
 			return {
 				tstyle: {
 					marginLeft: '20rpx'
-				}
+				},
+				name:'李小明【3213232423】',
+				report_list:[
+					{title:'检验报告单'},
+					{title:'检查报告单'}
+				]
 			}
 		}
 	}
diff --git a/pages/sub_medical/result.vue b/pages/sub_medical/result.vue
index a68ab85..414582b 100644
--- a/pages/sub_medical/result.vue
+++ b/pages/sub_medical/result.vue
@@ -1,7 +1,7 @@
 <template>
 	<view class="result">
 		<view class="result-header">
-			<u-image src="./images//success.png" width="500" height="300"></u-image>
+			<u-image src="./images/success.png" width="500" height="300"></u-image>
 			<text class="result-header-text">预约成功</text>
 		</view>
 		<view class="result-member">