feat: 更新icon
This commit is contained in:
@@ -18,6 +18,8 @@ import Taro from "@tarojs/taro";
|
||||
import { Tabbar, TabbarItem } from "@antmjs/vantui";
|
||||
import TabbarCom from "../components/TabbarCom";
|
||||
import { getTable, getTableid } from "../../utils/index";
|
||||
import { Icon } from "@antmjs/vantui";
|
||||
import './index.scss'
|
||||
|
||||
const Home = () => {
|
||||
// const { images } = COMMON
|
||||
@@ -56,6 +58,8 @@ const Home = () => {
|
||||
|
||||
return (
|
||||
<View>
|
||||
|
||||
|
||||
{/* 通知条 */}
|
||||
<NoticeBar
|
||||
leftIcon="volume-o"
|
||||
@@ -96,8 +100,9 @@ const Home = () => {
|
||||
{/* 模块 */}
|
||||
<Grid>
|
||||
<GridItem
|
||||
icon="photo-o"
|
||||
icon="star"
|
||||
text="打卡"
|
||||
className="iconStyle"
|
||||
onClick={() => {
|
||||
Toast.success({
|
||||
message: "打卡成功",
|
||||
@@ -106,7 +111,8 @@ const Home = () => {
|
||||
}}
|
||||
/>
|
||||
<GridItem
|
||||
icon="photo-o"
|
||||
icon="like"
|
||||
className="iconStyle"
|
||||
text="十峰"
|
||||
onClick={() => {
|
||||
// 跳转到目的页面,打开新页面
|
||||
@@ -116,7 +122,8 @@ const Home = () => {
|
||||
}}
|
||||
/>
|
||||
<GridItem
|
||||
icon="photo-o"
|
||||
icon="eye"
|
||||
className="iconStyle"
|
||||
text="活动"
|
||||
onClick={() => {
|
||||
// 跳转到目的页面,打开新页面
|
||||
@@ -127,13 +134,14 @@ const Home = () => {
|
||||
/>
|
||||
|
||||
<GridItem
|
||||
icon="photo-o"
|
||||
icon="manager"
|
||||
className="iconStyle"
|
||||
text="招募"
|
||||
onClick={() => {
|
||||
// 跳转到目的页面,打开新页面
|
||||
Taro.navigateTo({
|
||||
url: "/pages/formSubmit/index",
|
||||
});
|
||||
// 跳转到目的页面,打开新页面
|
||||
Taro.navigateTo({
|
||||
url: "/pages/formSubmit/index",
|
||||
});
|
||||
}}
|
||||
/>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user