From 38de059c83720527d3813448153390da3e6453dc Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期日, 02 七月 2023 13:52:25 +0800
Subject: [PATCH] 验质替换页面,称重判断修改

---
 components/combined-title/combined-title.vue |  123 ++++++++++++++++++++++------------------
 1 files changed, 68 insertions(+), 55 deletions(-)

diff --git a/components/combined-title/combined-title.vue b/components/combined-title/combined-title.vue
index 4266d16..973185d 100644
--- a/components/combined-title/combined-title.vue
+++ b/components/combined-title/combined-title.vue
@@ -8,10 +8,15 @@
 			</view>
 
 			<!-- 缁撳熬 -->
-			<view class="title_end" v-if="$slots.rightText">
-				<view class="title_end_text" @click="rightTextClick">
-					<image src="https://mx.jzeg.cn:9095/appimg/image/banner/add.png" mode=""></image>
-					<text><slot name="rightText"></slot></text>
+			<view class="title_end"
+				v-if="$slots.rightText">
+				<view class="title_end_text"
+					@click="rightTextClick">
+					<image src="https://mx.jzeg.cn:9095/appimg/image/banner/add.png"
+						mode=""></image>
+					<text>
+						<slot name="rightText"></slot>
+					</text>
 				</view>
 			</view>
 		</view>
@@ -19,63 +24,71 @@
 </template>
 
 <script>
-export default {
-	name: 'combined-title',
-	data() {
-		return {};
-	},
-	props: {
-		title: {
-			type: String,
-			default: ''
+	import { onlineurl } from '../../api/request.js'
+	export default {
+		name: 'combined-title',
+		data() {
+			return {};
+		},
+		props: {
+			title: {
+				type: String,
+				default: ''
+			}
+		},
+		methods: {
+			rightTextClick() {
+				this.$emit('rightText');
+			}
 		}
-	},
-	methods: {
-		rightTextClick() {
-			this.$emit('rightText');
-		}
-	}
-};
+	};
 </script>
 
-<style lang="scss" scope>
-.title {
-	width: 100%;
-	margin: vww(16) auto;
-	.title_wrapper {
-		height: vww(14);
-		display: flex;
-		justify-content: space-between;
-		align-items: center;
-		box-sizing: border-box;
-		.title_start {
-			.icon {
-				display: inline-block;
-				width: vww(4);
-				height: vww(12);
-				background-color: #007aff;
-				border-radius: vww(2);
-			}
-			.text {
-				display: inline-block;
-				margin-left: vww(8);
-				font-size: vww(16);
-			}
-		}
-		.title_end {
-			.title_end_text {
-				display: flex;
-				align-items: center;
-				image {
-					margin-right: vww(8);
-					width: vww(21);
-					height: vww(21);
+<style lang="scss"
+	scope>
+	.title {
+		width: 100%;
+		margin: vww(16) auto;
+
+		.title_wrapper {
+			height: vww(14);
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			box-sizing: border-box;
+
+			.title_start {
+				.icon {
+					display: inline-block;
+					width: vww(4);
+					height: vww(12);
+					background-color: #007aff;
+					border-radius: vww(2);
 				}
-				text {
+
+				.text {
+					display: inline-block;
+					margin-left: vww(8);
 					font-size: vww(16);
 				}
 			}
+
+			.title_end {
+				.title_end_text {
+					display: flex;
+					align-items: center;
+
+					image {
+						margin-right: vww(8);
+						width: vww(21);
+						height: vww(21);
+					}
+
+					text {
+						font-size: vww(16);
+					}
+				}
+			}
 		}
 	}
-}
-</style>
+</style>
\ No newline at end of file

--
Gitblit v1.9.1