Bläddra i källkod

下载app 地址有变更
绑定公司码更改
舌苔报告icon修改
中药打折券相关修改

XSLu08042 1 månad sedan
förälder
incheckning
9a73044b49

+ 1 - 1
components/CustomCamera/WeChat/index.vue

@@ -18,7 +18,7 @@
 				<cover-view class="title">请拍摄舌面</cover-view>
 				<cover-view class="tips">舌尖放松,舌面平展,舌尖略向下,口张大不要太用力</cover-view>
 				<cover-view class="imagebox">
-					<cover-image class="tongue" src="https://cos.his.cdwjyyh.com/fs/20250417/58846208f8e84fe7840f5d0521eefa2f.png"  mode="aspectFill"></cover-image>
+					<cover-image class="tongue" :src="baseUrl+'/images/tongue.png'" mode="aspectFill"></cover-image>
 				</cover-view>
 			</cover-view>
 			<!-- <cover-image v-if="coverImage" :src="coverImage" style="width: 100%;height: 100%;"></cover-image> -->

+ 1 - 1
pages/user/index.vue

@@ -101,7 +101,7 @@
 							<view class="title">健康档案</view>
 						</view>
 						<view class="menu"  @click="loginNavTo('/pages_user/tongue/tongueList')">
-							<image class="min-image" src="../../static/images/icon_visitor_management.png"></image>
+							<image class="min-image" src="../../static/images/icon_company_3.png"></image>
 							<view class="title">舌苔报告</view>
 						</view>
 						 

+ 12 - 9
pages_company/packageDetails.vue

@@ -224,7 +224,7 @@
 							}))
 							
 							this.getText()
-							this.timer = setInterval(this.scroll, 1400);
+							this.timer = setInterval(this.scroll, 1200);
 						}
 					} else {
 						this.notics = []
@@ -244,11 +244,11 @@
 				query
 				  .select(".buy-txtbox")
 				  .boundingClientRect((data) => {
-					this.marginTop = data.height + uni.upx2px(14)
+					this.marginTop = data.height + 7
 					if(this.notics.length>2) {
-						this.boxHeight = this.marginTop * 3 + uni.upx2px(8)
+						this.boxHeight = this.marginTop * 3 + 4
 					} else {
-						this.boxHeight = this.marginTop * this.notics.length + uni.upx2px(8)
+						this.boxHeight = this.marginTop * this.notics.length + 4
 					}
 				  })
 				  .exec();
@@ -383,7 +383,7 @@
 		text-overflow: ellipsis;
 	}
 	.buy-lists{
-		height: 188rpx;
+		height: 94px;
 		background-color:transparent;
 		overflow: hidden;
 		width: 60%;
@@ -393,20 +393,23 @@
 		left: 20rpx;
 	}
 	.buy-list{
-		height: 46rpx;
+		height: 23px;
 		font-size: 26rpx;
-		margin-top: 14rpx;
+		margin-top: 7px;
 		overflow: hidden;
 		color: #fff;
 		.buy-item {
 			display: inline-flex;
 			align-items: center;
 			height: 100%;
+			line-height: 100%;
 			overflow: hidden;
 			background-color: rgba(0, 0, 0, 0.35);
 			border-radius: 10rpx;
 			padding: 0 20rpx;
 			box-sizing: border-box;
+			word-break: break-all;
+			white-space: nowrap;
 		}
 		.buy-name {
 			width: 50%;
@@ -418,8 +421,8 @@
 		}
 	}
 	.buy-top {
-	    transition: all 1.5s ease-in;
-	    margin-top: -60rpx;
+	    transition: all 0.8s ease-in;
+	    margin-top: -30px;
 	  }
 	.content{
 		height: 100%;

+ 12 - 9
pages_index/packageDetails.vue

@@ -296,7 +296,7 @@
 							}))
 							
 							this.getText()
-							this.timer = setInterval(this.scroll, 1400);
+							this.timer = setInterval(this.scroll, 1200);
 						}
 					} else {
 						this.notics = []
@@ -316,11 +316,11 @@
 				query
 				  .select(".buy-txtbox")
 				  .boundingClientRect((data) => {
-					this.marginTop = data.height + uni.upx2px(14)
+					this.marginTop = data.height + 7
 					if(this.notics.length>2) {
-						this.boxHeight = this.marginTop * 3 + uni.upx2px(8)
+						this.boxHeight = this.marginTop * 3 + 4
 					} else {
-						this.boxHeight = this.marginTop * this.notics.length + uni.upx2px(8)
+						this.boxHeight = this.marginTop * this.notics.length + 4
 					}
 				  })
 				  .exec();
@@ -509,7 +509,7 @@
 		text-overflow: ellipsis;
 	}
 	.buy-lists{
-		height: 188rpx;
+		height: 94px;
 		background-color:transparent;
 		overflow: hidden;
 		width: 60%;
@@ -519,20 +519,23 @@
 		left: 20rpx;
 	}
 	.buy-list{
-		height: 46rpx;
+		height: 23px;
 		font-size: 26rpx;
-		margin-top: 14rpx;
+		margin-top: 7px;
 		overflow: hidden;
 		color: #fff;
 		.buy-item {
 			display: inline-flex;
 			align-items: center;
 			height: 100%;
+			line-height: 100%;
 			overflow: hidden;
 			background-color: rgba(0, 0, 0, 0.35);
 			border-radius: 10rpx;
 			padding: 0 20rpx;
 			box-sizing: border-box;
+			word-break: break-all;
+			white-space: nowrap;
 		}
 		.buy-name {
 			width: 50%;
@@ -544,8 +547,8 @@
 		}
 	}
 	.buy-top {
-	    transition: all 1.5s ease-in;
-	    margin-top: -60rpx;
+	    transition: all 0.8s ease-in;
+	    margin-top: -30px;
 	  }
 	.content{
 		height: 100%;

+ 2 - 1
pages_order/storeOrderPay.vue

@@ -200,7 +200,8 @@
 				//计算金额
 				this.userCouponId=item.id;
 				console.log(item)
-				this.couponText=item.price+"元优惠券"
+				// this.couponText=item.price+"元优惠券"
+				this.couponText= item.title
 				this.compute()
 			},
 			open() {

+ 32 - 16
pages_user/bindCompanyUser.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content">
-		<image v-show="isBind" src="https://cos.his.cdwjyyh.com/fs/20250414/3da41caccf8346b188809fac656ba834.jpg" mode="widthFix"></image>
-		<view v-show="!isBind" class="bindbox">{{msg}}</view>
+		<image v-if="isBind" src="https://cos.his.cdwjyyh.com/fs/20250414/3da41caccf8346b188809fac656ba834.jpg" mode="widthFix"></image>
+		<view v-if="!isBind" class="bindbox">{{msg}}</view>
 		<!-- <view class="bindbox">
 			<image :src="baseUrl + '/images/bindComUser.png'" mode="aspectFill"></image>
 			<view>立即绑定,享受更多权益</view>
@@ -24,16 +24,24 @@
 			}
 		},
 		onLoad(option) {
-			let q = {}
+			let obj = {}
 			if(option.q) {
-				q = decodeURIComponent(option.q) // 获取到二维码原始链接内容
+				let url = decodeURIComponent(option.q) // 获取到二维码原始链接内容
+				// // 对url中携带的参数提取处理
+				obj = this.$urlToObj(url)
 			}
-			this.companyUserId = q.companyUserId || option.companyUserId
-			const historyApp = uni.getStorageSync('historyApp') || '';
-			if(historyApp) {
-				this.handleBind()
+			this.companyUserId = obj.companyUserId || option.companyUserId
+		},
+		onShow() {
+			if(!this.isBind) {
+				const historyApp = uni.getStorageSync('historyApp') || '';
+				if(historyApp) {
+					this.handleBind()
+				} else {
+					this.getUser()
+				}
 			} else {
-				this.getUser()
+				this.msg = '已绑定或已经存在绑定关系'
 			}
 		},
 		methods: {
@@ -111,12 +119,21 @@
 							icon: 'none'
 						})
 					}else {
-						this.msg = res.msg
-						this.isBind = false
-						uni.showToast({
-							title: res.msg,
-							icon: 'none'
-						})
+						if(res.msg=="已存在绑定关系") {
+							this.isBind = true
+							this.msg = '绑定成功'
+							uni.showToast({
+								title: '绑定成功',
+								icon: 'none'
+							})
+						} else {
+							this.msg = res.msg
+							this.isBind = false
+							uni.showToast({
+								title: res.msg,
+								icon: 'none'
+							})
+						}
 					}
 				}).catch(()=>{
 					this.msg = '绑定失败'
@@ -151,7 +168,6 @@
 		display: flex;
 		flex-direction: column;
 		align-items: center;
-		padding-bottom: calc(var(--window-bottom) + 150rpx);
 		
 	}
 	.bind-btn {

+ 2 - 1
pages_user/downApp.vue

@@ -1,5 +1,6 @@
 <template>
-	<web-view src="https://h5vips.cdwjyyh.com/pages/index/appDownload?source=weixin"></web-view>
+	<!-- <web-view src="https://h5vips.cdwjyyh.com/pages/index/appDownload?source=weixin"></web-view> -->
+	<web-view src="https://m.malink.cn/s/BFNFFz"></web-view>
 </template>
 
 <script>