From 03e24712b3534ffacd58ac8237237eccd4a4dd02 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sun, 12 Nov 2023 11:02:49 +0800
Subject: [PATCH] 组件位置调整
---
subPackage/house/components/boxTitle/index2.vue | 76 +++++++++++++++++++-------------------
1 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/components/boxTitle/index2.vue b/subPackage/house/components/boxTitle/index2.vue
similarity index 99%
rename from components/boxTitle/index2.vue
rename to subPackage/house/components/boxTitle/index2.vue
index e325043..82822dd 100644
--- a/components/boxTitle/index2.vue
+++ b/subPackage/house/components/boxTitle/index2.vue
@@ -1,45 +1,45 @@
-<template>
- <view class="box-title">
- <view class="line">
-
- </view>
- <view class="text">
- {{ title }}
- </view>
- </view>
-</template>
-
-<script>
- export default {
- props: {
- title: {
- type: String,
- default: ''
- }
- },
-
- data() {
- return {
-
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .box-title {
+<template>
+ <view class="box-title">
+ <view class="line">
+
+ </view>
+ <view class="text">
+ {{ title }}
+ </view>
+ </view>
+</template>
+
+<script>
+ export default {
+ props: {
+ title: {
+ type: String,
+ default: ''
+ }
+ },
+
+ data() {
+ return {
+
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .box-title {
display: flex;
align-items: center;
color: #333;
- margin-bottom: 30rpx;
- .line {
- width: 6rpx;
- height: 30rpx;
- margin-right: 10rpx;
- background-color: #017BFC;
+ margin-bottom: 30rpx;
+ .line {
+ width: 6rpx;
+ height: 30rpx;
+ margin-right: 10rpx;
+ background-color: #017BFC;
}
.text {
font-size: 32rpx;
- }
- }
+ }
+ }
</style>
\ No newline at end of file
--
Gitblit v1.9.3