diff --git a/App.vue b/App.vue
index 053c3cd..683d082 100644
--- a/App.vue
+++ b/App.vue
@@ -5,32 +5,32 @@ import { goLogin } from "@/hooks/useGoLogin";
import { goHome } from "@/hooks/useGoHome";
onLaunch(async () => {
- console.log("App Launch");
+ console.log("App Launch");
- const token = uni.getStorageSync("token");
+ const token = uni.getStorageSync("token");
- // 检测是否绑定手机号和token
- if (!token) {
- goLogin();
+ // 检测是否绑定手机号和token
+ if (!token) {
+ goLogin();
- return;
- }
-
- if (token) {
- const res = await checkPhone();
-
- if (res.data) {
- goHome();
+ return;
+ }
+
+ if (token) {
+ const res = await checkPhone();
+
+ if (res.data) {
+ goHome();
+ }
}
- }
});
onShow(() => {
- console.log("App Show");
+ console.log("App Show");
});
onHide(() => {
- console.log("App Hide");
+ console.log("App Hide");
});
@@ -41,13 +41,18 @@ onHide(() => {
page,
body,
#app {
- font-family: PingFang SC, PingFang SC;
- background-color: #e9f3f7;
- height: 100vh;
- width: 100vw;
+ font-family: PingFang SC, PingFang SC;
+ background-color: #e9f3f7;
+ height: 100vh;
+ width: 100vw;
+}
+
+/*每个页面公共css */
+::-webkit-scrollbar {
+ display: none;
}
.mb12 {
- margin-bottom: 12px;
+ margin-bottom: 12px;
}
diff --git a/pages/chat/ChatMoreTips.vue b/pages/chat/ChatMoreTips.vue
index a18fb5a..2f1fed8 100644
--- a/pages/chat/ChatMoreTips.vue
+++ b/pages/chat/ChatMoreTips.vue
@@ -50,12 +50,6 @@ const sendReply = (text) => {
-webkit-overflow-scrolling: touch;
padding-bottom: 12px;
box-sizing: border-box;
-
- /* 隐藏滚动条 */
- scrollbar-width: none;
- &::-webkit-scrollbar {
- display: none;
- }
}
.more-tips-item {
diff --git a/pages/chat/ChatQuickAccess.vue b/pages/chat/ChatQuickAccess.vue
index 9e2de9a..aec1d59 100644
--- a/pages/chat/ChatQuickAccess.vue
+++ b/pages/chat/ChatQuickAccess.vue
@@ -1,140 +1,143 @@
-
-
-
-
-
-
- {{ item.title }}
-
- {{ item.content }}
-
-
-
+
+
+
+
+
+
+ {{ item.title }}
+
+ {{
+ item.content
+ }}
+
+
+
diff --git a/pages/chat/styles/ChatMainList.scss b/pages/chat/styles/ChatMainList.scss
index 73f10bf..603a8f0 100644
--- a/pages/chat/styles/ChatMainList.scss
+++ b/pages/chat/styles/ChatMainList.scss
@@ -49,14 +49,6 @@
display: flex;
flex-direction: column;
- .area-msg-list-content {
- /* 隐藏滚动条 */
- scrollbar-width: none;
- &::-webkit-scrollbar {
- display: none;
- }
- }
-
.message-item-ai {
display: flex;
justify-content: flex-start;
@@ -140,15 +132,6 @@
align-items: center;
}
}
-
- ::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- background: transparent;
- color: transparent;
- }
// 打字机光标闪烁动画
.typing-cursor {
diff --git a/pages/module/booking/QuickBookingContentList.vue b/pages/module/booking/QuickBookingContentList.vue
index 7e6d937..48c3456 100644
--- a/pages/module/booking/QuickBookingContentList.vue
+++ b/pages/module/booking/QuickBookingContentList.vue
@@ -1,201 +1,214 @@
-
-
-
-
+
+
+
+
-
-
-
-
- {{ item.commodityName }}
-
- {{ tag }}
-
-
-
- · {{ serviceItem.serviceTitle }}
-
-
-
- ¥
- {{ item.commodityPrice }}
- /人
-
+
+
+
+
+ {{
+ item.commodityName
+ }}
+
+ {{ tag }}
+
+
+
+ · {{ serviceItem.serviceTitle }}
+
+
+
+ ¥
+ {{
+ item.commodityPrice
+ }}
+ /人
+
- 下单
-
-
+ 下单
+
+
-
-
+
+
diff --git a/pages/module/detail/DetailCardGoodsContentList.vue b/pages/module/detail/DetailCardGoodsContentList.vue
index 6cf2729..4807e16 100644
--- a/pages/module/detail/DetailCardGoodsContentList.vue
+++ b/pages/module/detail/DetailCardGoodsContentList.vue
@@ -1,200 +1,214 @@
-
-
-
-
-
-
-
-
- {{ item.commodityName }}
-
- {{ tag }}
-
-
-
- · {{ serviceItem.serviceTitle }}
-
-
-
- ¥
- {{ item.specificationPrice }}
- /人
-
- 下单
-
-
+
+
+
+
+
+
+
+
+ {{
+ item.commodityName
+ }}
+
+ {{ tag }}
+
+
+
+ · {{ serviceItem.serviceTitle }}
+
+
+
+ ¥
+ {{
+ item.specificationPrice
+ }}
+ /人
+
+ 下单
+
+
-
-
+
+
diff --git a/pages/module/discovery/DiscoveryCradContentList.vue b/pages/module/discovery/DiscoveryCradContentList.vue
index 7fccad3..b7a3789 100644
--- a/pages/module/discovery/DiscoveryCradContentList.vue
+++ b/pages/module/discovery/DiscoveryCradContentList.vue
@@ -1,72 +1,67 @@
-
-
-
-
+
+
+
+
-
- {{ item.topic }}
+
+ {{ item.topic }}
-
-
+
+
diff --git a/pages/module/recommend/RecommendPostsList.vue b/pages/module/recommend/RecommendPostsList.vue
index a39586a..c22021a 100644
--- a/pages/module/recommend/RecommendPostsList.vue
+++ b/pages/module/recommend/RecommendPostsList.vue
@@ -44,12 +44,6 @@
overflow-x: auto;
margin-top: 4px;
- /* 隐藏滚动条 */
- scrollbar-width: none;
- &::-webkit-scrollbar {
- display: none;
- }
-
.mk-card-item {
flex-shrink: 0; /* 关键:防止 flex 布局压缩子元素宽度 */
width: 142px;