feat: 新增更新日志页面
This commit is contained in:
@@ -2,6 +2,8 @@ export default defineAppConfig({
|
||||
pages: [
|
||||
'pages/index/index',
|
||||
'pages/my/index',
|
||||
'pages/my/componments/Log/index',
|
||||
|
||||
|
||||
],
|
||||
permission: {
|
||||
|
||||
3
src/componments/Model/index.config.js
Normal file
3
src/componments/Model/index.config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '导航栏'
|
||||
})
|
||||
3
src/pages/my/componments/Log/index.config.js
Normal file
3
src/pages/my/componments/Log/index.config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '更新日志'
|
||||
})
|
||||
28
src/pages/my/componments/Log/index.jsx
Normal file
28
src/pages/my/componments/Log/index.jsx
Normal file
@@ -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 <View className="Log">Log</View>;
|
||||
};
|
||||
|
||||
export default Log;
|
||||
0
src/pages/my/componments/Log/index.scss
Normal file
0
src/pages/my/componments/Log/index.scss
Normal file
3
src/pages/my/index.config.js
Normal file
3
src/pages/my/index.config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '个人中心'
|
||||
})
|
||||
@@ -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',
|
||||
})
|
||||
}}
|
||||
/>
|
||||
<AtListItem
|
||||
title="联系客服"
|
||||
|
||||
Reference in New Issue
Block a user