diff --git a/src/app.config.js b/src/app.config.js index 485ffe6..982d2fc 100644 --- a/src/app.config.js +++ b/src/app.config.js @@ -2,6 +2,8 @@ export default defineAppConfig({ pages: [ 'pages/index/index', 'pages/my/index', + 'pages/my/componments/Log/index', + ], permission: { diff --git a/src/componments/Model/index.config.js b/src/componments/Model/index.config.js new file mode 100644 index 0000000..e1c3f96 --- /dev/null +++ b/src/componments/Model/index.config.js @@ -0,0 +1,3 @@ +export default definePageConfig({ + navigationBarTitleText: '导航栏' +}) diff --git a/src/pages/my/componments/Log/index.config.js b/src/pages/my/componments/Log/index.config.js new file mode 100644 index 0000000..0ee044b --- /dev/null +++ b/src/pages/my/componments/Log/index.config.js @@ -0,0 +1,3 @@ +export default definePageConfig({ + navigationBarTitleText: '更新日志' +}) diff --git a/src/pages/my/componments/Log/index.jsx b/src/pages/my/componments/Log/index.jsx new file mode 100644 index 0000000..31157f3 --- /dev/null +++ b/src/pages/my/componments/Log/index.jsx @@ -0,0 +1,28 @@ +import { View, Text, Image, Button, Icon } from "@tarojs/components"; +import { useLoad } from "@tarojs/taro"; +import Taro from "@tarojs/taro"; +import { + AtAvatar, + AtTag, + AtIcon, + AtTabBar, + AtButton, + AtAccordion, + AtList, + AtListItem, +} from "taro-ui"; +import "./index.scss"; +import beijing from "@/images/city/beijing.jpg"; +import guangzhou from "@/images/city/guangzhou.jpg"; +import shanghai from "@/images/city/shanghai.jpg"; +import shenzhen from "@/images/city/shenzhen.jpg"; +import touxiang from "@/images/index/touxiang.jpg"; +import TabbarCom from "@/componments/TabbarCom"; +import { useEffect, useState } from "react"; +const Log = () => { + const [open, setopen] = useState(false); + + return Log; +}; + +export default Log; diff --git a/src/pages/my/componments/Log/index.scss b/src/pages/my/componments/Log/index.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/my/index.config.js b/src/pages/my/index.config.js new file mode 100644 index 0000000..d724fda --- /dev/null +++ b/src/pages/my/index.config.js @@ -0,0 +1,3 @@ +export default definePageConfig({ + navigationBarTitleText: '个人中心' +}) diff --git a/src/pages/my/index.jsx b/src/pages/my/index.jsx index aee067d..7d75ee0 100644 --- a/src/pages/my/index.jsx +++ b/src/pages/my/index.jsx @@ -54,6 +54,12 @@ const my = () => { // note="描述信息" arrow="right" thumb="http://img10.360buyimg.com/jdphoto/s72x72_jfs/t5872/209/5240187906/2872/8fa98cd/595c3b2aN4155b931.png" + onClick={()=>{ + // 跳转到目的页面,打开新页面 +Taro.navigateTo({ + url: '/pages/my/componments/Log/index', +}) + }} />