hookehuyr

fix 幼儿园名称过长问题优化

1 { 1 {
2 "name": "tjws", 2 "name": "tjws",
3 + "description": "项目, 编译上传直接执行publish, 不需要其他额外操作。",
3 "version": "1.0.0", 4 "version": "1.0.0",
4 "scripts": { 5 "scripts": {
5 "dev": "vite", 6 "dev": "vite",
......
...@@ -14,19 +14,8 @@ ...@@ -14,19 +14,8 @@
14 <template v-slot:error>加载失败</template> 14 <template v-slot:error>加载失败</template>
15 </van-image> 15 </van-image>
16 </div> 16 </div>
17 - <!-- <van-image
18 - class="van-hairline--surround"
19 - round
20 - width="4rem"
21 - height="4rem"
22 - lazy-load
23 - :src="avatar"
24 - style="position: absolute; left: -2rem;"
25 - >
26 - <template v-slot:error>加载失败</template>
27 - </van-image> -->
28 <div class="text-wrapper" @click="handle"> 17 <div class="text-wrapper" @click="handle">
29 - <van-row> 18 + <van-row align="center" justify="center" style="position: relative; top: 50%; transform: translateY(-50%);">
30 <van-col span="20" style="color: #713610;"><slot></slot></van-col> 19 <van-col span="20" style="color: #713610;"><slot></slot></van-col>
31 <van-col span="4"><van-icon name="arrow" color="#c5c5c5" size="1.25rem" /></van-col> 20 <van-col span="4"><van-icon name="arrow" color="#c5c5c5" size="1.25rem" /></van-col>
32 </van-row> 21 </van-row>
...@@ -75,9 +64,10 @@ export default { ...@@ -75,9 +64,10 @@ export default {
75 height: 4rem; 64 height: 4rem;
76 box-shadow: 0px 0px 4px 0px rgba(73, 156, 255, 0.2); 65 box-shadow: 0px 0px 4px 0px rgba(73, 156, 255, 0.2);
77 .text-wrapper { 66 .text-wrapper {
67 + height: 100%;
78 text-align: left; 68 text-align: left;
79 - line-height: 4rem; 69 + // line-height: 4rem;
80 padding-left: 3rem; 70 padding-left: 3rem;
81 } 71 }
82 } 72 }
83 -</style>
...\ No newline at end of file ...\ No newline at end of file
73 +</style>
......