From f96694adb26db7a8d74a34139331f4e3ad59e0b5 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Tue, 19 Mar 2024 19:39:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=BB=BAcomponments=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/componments/Tabbar/index.jsx | 0 src/componments/Tabbar/index.scss | 0 src/pages/index/index.jsx | 44 ++++++++++++++++--------------- src/pages/index/index.scss | 4 +-- 4 files changed, 25 insertions(+), 23 deletions(-) create mode 100644 src/componments/Tabbar/index.jsx create mode 100644 src/componments/Tabbar/index.scss diff --git a/src/componments/Tabbar/index.jsx b/src/componments/Tabbar/index.jsx new file mode 100644 index 0000000..e69de29 diff --git a/src/componments/Tabbar/index.scss b/src/componments/Tabbar/index.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 924c0a9..8642ff3 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -57,36 +57,36 @@ export default function Index() { customCom: "test", }, // 双数插入 - { - cityName: "上海", - imagePath: shanghai, - isCustom: true, - customCom: , - }, + // { + // cityName: "上海", + // imagePath: shanghai, + // isCustom: true, + // customCom: , + // }, { cityName: "上海", imagePath: shanghai, isCustom: false, customCom: "test", }, - { - cityName: "上海", - imagePath: shanghai, - isCustom: true, - customCom: , - }, + // { + // cityName: "上海", + // imagePath: shanghai, + // isCustom: true, + // customCom: , + // }, { cityName: "广州", imagePath: guangzhou, isCustom: false, customCom: "test", }, - { - cityName: "上海", - imagePath: shanghai, - isCustom: true, - customCom: , - }, + // { + // cityName: "上海", + // imagePath: shanghai, + // isCustom: true, + // customCom: , + // }, { cityName: "深圳", imagePath: shenzhen, @@ -123,7 +123,7 @@ export default function Index() { }; const ProvinceTag = () => { - return ["北京", "上海", "广州", "深圳", "武汉"].map((item, index) => { + return ["北京", "上海", "广东", "浙江", "湖北"].map((item, index) => { return ( @@ -143,7 +143,9 @@ export default function Index() { {/* color="#F00" */} - { Taro.request({ @@ -163,7 +165,7 @@ export default function Index() { }} > 发起请求 - + */} {/* 省份标签 */} diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index 5e4429f..d4c53d0 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -2,7 +2,7 @@ .indexHome { padding-left: 20px; padding-right: 20px; - background-color: aquamarine; + // background-color: aquamarine; .indexHeader { margin-top: 10px; display: flex; @@ -32,7 +32,7 @@ height: 250px; display: flex; flex-direction: row; - background-color: aqua; + // background-color: aqua; // justify-content: space-between; // align-items: center; .homeCard {