From 7ae4e27a487e282b60dc65d7836d1bcd86e7a464 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 27 十月 2025 16:51:43 +0800
Subject: [PATCH] 主页页面,活动弹窗,图片适配
---
App.vue | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/App.vue b/App.vue
index cb6fe29..ce6063d 100644
--- a/App.vue
+++ b/App.vue
@@ -42,7 +42,7 @@
let curRoute = routes[routes.length - 1].options;
routes.forEach((item) => {
if (
- item.route == "pages/tabbar/cart/cartList" ||
+ item.route == "pages/cusbar/cart/cartList" ||
item.route.indexOf("pages/product/goods") != -1
) {
uni.redirectTo({
@@ -53,7 +53,7 @@
if (curRoute.addId) {
uni.reLaunch({
- url: "/pages/tabbar/cart/cartList",
+ url: "/pages/cusbar/cart/cartList",
});
} else {
uni.navigateBack();
@@ -90,7 +90,7 @@
if (storage.getShow()) {
if (uni.getSystemInfoSync().platform == 'ios') {
- this.$u.route("/pages/tabbar/screen/fullScreen");
+ this.$u.route("/pages/cusbar/screen/fullScreen");
}
}
@@ -124,7 +124,7 @@
});
},
- // TODO 寮�灞忓箍鍛� 鍚庣画浼樺寲娣诲姞
+/* // TODO 寮�灞忓箍鍛� 鍚庣画浼樺寲娣诲姞
launch() {
try {
// 鑾峰彇鏈湴瀛樺偍涓璴aunchFlag鏍囪瘑 寮�灞忓箍鍛�
@@ -159,7 +159,7 @@
},
});
}
- },
+ }, */
/**
* 鑾峰彇绮樿创鏉挎暟鎹�
@@ -223,7 +223,7 @@
</script>
<style lang="scss">
- @import "uview-ui/index.scss";
+ @import '@/components/uview-components/uview-ui/index.scss';
// -------閫傞厤搴曢儴瀹夊叏鍖� 鑻规灉x绯诲垪鍒樻捣灞�
@@ -250,4 +250,22 @@
.flex1 {
flex: 1; //蹇呴』鐖剁骇璁剧疆flex
}
+
+ /* 鍦ㄧ嚎閾炬帴鏈嶅姟浠呬緵骞冲彴浣撻獙鍜岃皟璇曚娇鐢紝骞冲彴涓嶆壙璇烘湇鍔$殑绋冲畾鎬э紝浼佷笟瀹㈡埛闇�涓嬭浇瀛椾綋鍖呰嚜琛屽彂甯冧娇鐢ㄥ苟鍋氬ソ澶囦唤銆� */
+/* 鍦ㄧ嚎閾炬帴鏈嶅姟浠呬緵骞冲彴浣撻獙鍜岃皟璇曚娇鐢紝骞冲彴涓嶆壙璇烘湇鍔$殑绋冲畾鎬э紝浼佷笟瀹㈡埛闇�涓嬭浇瀛椾綋鍖呰嚜琛屽彂甯冧娇鐢ㄥ苟鍋氬ソ澶囦唤銆� */
+@font-face {
+ font-family: 'iconfont'; /* Project id 4921691 */
+ src:
+ url('//at.alicdn.com/t/c/font_4921691_hqfbvw9iyo8.woff2?t=1754532325642') format('woff2'),
+ url('//at.alicdn.com/t/c/font_4921691_hqfbvw9iyo8.woff?t=1754532325642') format('woff'),
+ url('//at.alicdn.com/t/c/font_4921691_hqfbvw9iyo8.ttf?t=1754532325642') format('truetype');
+}
+ .iconfont {
+ /* font-family闇�瑕佸拰鑷畾涔夌殑鐩稿悓 */
+ font-family: "iconfont" !important;
+ font-size: 2em;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ }
</style>
--
Gitblit v1.8.0