feat: 新建componments文件夹
This commit is contained in:
0
src/componments/Tabbar/index.jsx
Normal file
0
src/componments/Tabbar/index.jsx
Normal file
0
src/componments/Tabbar/index.scss
Normal file
0
src/componments/Tabbar/index.scss
Normal file
@@ -57,36 +57,36 @@ export default function Index() {
|
||||
customCom: "test",
|
||||
},
|
||||
// 双数插入
|
||||
{
|
||||
cityName: "上海",
|
||||
imagePath: shanghai,
|
||||
isCustom: true,
|
||||
customCom: <CustomTest />,
|
||||
},
|
||||
// {
|
||||
// cityName: "上海",
|
||||
// imagePath: shanghai,
|
||||
// isCustom: true,
|
||||
// customCom: <CustomTest />,
|
||||
// },
|
||||
{
|
||||
cityName: "上海",
|
||||
imagePath: shanghai,
|
||||
isCustom: false,
|
||||
customCom: "test",
|
||||
},
|
||||
{
|
||||
cityName: "上海",
|
||||
imagePath: shanghai,
|
||||
isCustom: true,
|
||||
customCom: <CustomTest />,
|
||||
},
|
||||
// {
|
||||
// cityName: "上海",
|
||||
// imagePath: shanghai,
|
||||
// isCustom: true,
|
||||
// customCom: <CustomTest />,
|
||||
// },
|
||||
{
|
||||
cityName: "广州",
|
||||
imagePath: guangzhou,
|
||||
isCustom: false,
|
||||
customCom: "test",
|
||||
},
|
||||
{
|
||||
cityName: "上海",
|
||||
imagePath: shanghai,
|
||||
isCustom: true,
|
||||
customCom: <CustomTest />,
|
||||
},
|
||||
// {
|
||||
// cityName: "上海",
|
||||
// imagePath: shanghai,
|
||||
// isCustom: true,
|
||||
// customCom: <CustomTest />,
|
||||
// },
|
||||
{
|
||||
cityName: "深圳",
|
||||
imagePath: shenzhen,
|
||||
@@ -123,7 +123,7 @@ export default function Index() {
|
||||
};
|
||||
|
||||
const ProvinceTag = () => {
|
||||
return ["北京", "上海", "广州", "深圳", "武汉"].map((item, index) => {
|
||||
return ["北京", "上海", "广东", "浙江", "湖北"].map((item, index) => {
|
||||
return (
|
||||
<View>
|
||||
<AtTag type="primary" circle>
|
||||
@@ -143,7 +143,9 @@ export default function Index() {
|
||||
<AtAvatar circle image={touxiang}></AtAvatar>
|
||||
{/* color="#F00" */}
|
||||
<AtIcon value="chevron-down" size="30"></AtIcon>
|
||||
<AtButton
|
||||
|
||||
|
||||
{/* <AtButton
|
||||
type="primary"
|
||||
onClick={() => {
|
||||
Taro.request({
|
||||
@@ -163,7 +165,7 @@ export default function Index() {
|
||||
}}
|
||||
>
|
||||
发起请求
|
||||
</AtButton>
|
||||
</AtButton> */}
|
||||
</View>
|
||||
|
||||
{/* 省份标签 */}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user