From 74a63a2c641ab1d718173da1f949b17316a8d810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=BD=B3=E5=AE=87?= <17601616548@163.com> Date: Tue, 8 Oct 2024 12:37:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2=E5=8D=A1?= =?UTF-8?q?=E6=AD=BB=E7=9A=84=E9=97=AE=E9=A2=98=202.=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E9=BB=98=E8=AE=A4=E7=9A=84unocss=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/pages/main/tj/choose.vue | 1 + h5/pages/main/tj/tjxq.vue | 995 ++++++++++++++++++++---------------- h5/unocss.config.js | 4 + 3 files changed, 568 insertions(+), 432 deletions(-) diff --git a/h5/pages/main/tj/choose.vue b/h5/pages/main/tj/choose.vue index 2281bf1..52d2b06 100644 --- a/h5/pages/main/tj/choose.vue +++ b/h5/pages/main/tj/choose.vue @@ -65,6 +65,7 @@ const getGroupCombo = async (info) => { data.phone = info.phone; data.phone = info.married; $store.setGroupInfo(data); + popup.value.close(); if (!data.items.length && data.tongshou_xiane > 0) { // 跳转到选择类似上 uni.navigateTo({ diff --git a/h5/pages/main/tj/tjxq.vue b/h5/pages/main/tj/tjxq.vue index e2e9ee7..1bd1d15 100644 --- a/h5/pages/main/tj/tjxq.vue +++ b/h5/pages/main/tj/tjxq.vue @@ -1,212 +1,215 @@ \ No newline at end of file + &::after { + content: ""; + width: 26rpx; + height: 3rpx; + background-color: #239ea3; + position: absolute; + left: 50%; + bottom: -10rpx; + transform: translateX(-50%); + } + } +} + diff --git a/h5/unocss.config.js b/h5/unocss.config.js index 46cb890..07a9a06 100644 --- a/h5/unocss.config.js +++ b/h5/unocss.config.js @@ -16,6 +16,10 @@ export default { 'center': 'flex justify-center items-center', 'between': 'flex justify-between items-center', 'around': 'flex justify-around items-center', + 'evenly': 'flex justify-evenly items-center', + 'col': 'flex flex-col', + 'row': 'flex flex-row', + 'bs': 'b-0 b-solid', // 边框样式 用的时候加上 b-color 和某个方向的宽度 比如 b-l-1 }, ],