feat:调整目录结构
This commit is contained in:
1 parent
48954225b5
commit
24202cd2f1
11 files changed
+20
-16
No files matched your search
+9
-9
@@ -104,28 +104,28 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/home/home",
|
||||
"path": "pages/tabbar/home",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/moments/moments",
|
||||
"path": "pages/tabbar/moments",
|
||||
"style": {
|
||||
"navigationBarTitleText": "动态",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/message/message",
|
||||
"path": "pages/tabbar/message",
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/profile/profile",
|
||||
"path": "pages/tabbar/profile",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationStyle": "custom"
|
||||
@@ -993,25 +993,25 @@
|
||||
/* #ifndef MP-WEIXIN */
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/home",
|
||||
"pagePath": "pages/tabbar/home",
|
||||
"text": "首页",
|
||||
"iconPath": "static/tabbar/home.png",
|
||||
"selectedIconPath": "static/tabbar/home-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/moments/moments",
|
||||
"pagePath": "pages/tabbar/moments",
|
||||
"text": "动态",
|
||||
"iconPath": "static/tabbar/moments.png",
|
||||
"selectedIconPath": "static/tabbar/moments-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/message/message",
|
||||
"pagePath": "pages/tabbar/message",
|
||||
"text": "消息",
|
||||
"iconPath": "static/tabbar/message.png",
|
||||
"selectedIconPath": "static/tabbar/message-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/profile/profile",
|
||||
"pagePath": "pages/tabbar/profile",
|
||||
"text": "我的",
|
||||
"iconPath": "static/tabbar/profile.png",
|
||||
"selectedIconPath": "static/tabbar/profile-active.png"
|
||||
@@ -1019,4 +1019,4 @@
|
||||
]
|
||||
/* #endif MP-WEIXIN */
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
const { code } = await AuthUtil.smsRegister({ mobile: phone.value, code: smsCode.value });
|
||||
if (code === 0) {
|
||||
uni.reLaunch({ url: '/pages/home/home' });
|
||||
uni.reLaunch({ url: '/pages/tabbar/home' });
|
||||
getApp().$vm.init();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
},
|
||||
methods: {
|
||||
onAddNewFriends() {
|
||||
uni.switchTab({ url: '/pages/home/home' });
|
||||
uni.switchTab({ url: '/pages/tabbar/home' });
|
||||
},
|
||||
firstLetter(strText) {
|
||||
// 使用pinyin-pro库将中文转换为拼音
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
await sheep.$store('user').getInfo();
|
||||
sheep.$helper.toast('保存成功');
|
||||
setTimeout(() => {
|
||||
uni.reLaunch({ url: '/pages/home/home' });
|
||||
uni.reLaunch({ url: '/pages/tabbar/home' });
|
||||
}, 300);
|
||||
};
|
||||
</script>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -27,7 +27,7 @@
|
||||
</swiper>
|
||||
</wd-config-provider>
|
||||
|
||||
<navigator url="/pages/wechat/index" open-type="navigate" hover-class="navigator-hover">
|
||||
<navigator url="/pages/wechat-tabbar/index" open-type="navigate" hover-class="navigator-hover">
|
||||
<image
|
||||
class="size-120rpx fixed right-0 bottom-160"
|
||||
src="@/static/invitation-activity.png"
|
||||
File renamed without changes.
File renamed without changes.
@@ -110,7 +110,11 @@
|
||||
<text class="text-xs ml-2">邀请福利</text>
|
||||
<text class="text-20rpx ml-4 mt-2rpx">邀请用户领会员</text>
|
||||
</view>
|
||||
<navigator url="/pages/wechat/index" open-type="navigate" hover-class="navigator-hover">
|
||||
<navigator
|
||||
url="/pages/wechat-tabbar/index"
|
||||
open-type="navigate"
|
||||
hover-class="navigator-hover"
|
||||
>
|
||||
<view class="bg-color-theme text-xs rounded-full py-1 px-3">查看福利</view>
|
||||
</navigator>
|
||||
</view>
|
||||
@@ -186,7 +190,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, reactive, ref } from 'vue';
|
||||
import UserAblum from './components/user-ablum.vue';
|
||||
import useAblum from './use-ablum';
|
||||
import useAblum from '../profile/use-ablum';
|
||||
// @ts-ignore
|
||||
import sheep from '@/sheep';
|
||||
import RecentApi from '@/sheep/api/member/recent';
|
||||
@@ -269,7 +273,7 @@
|
||||
|
||||
// 菜单
|
||||
const MenuCellList = [
|
||||
{ title: '我的收益', value: '', icon: 'wallet', to: '/pages/wechat/index' },
|
||||
{ title: '我的收益', value: '', icon: 'wallet', to: '/pages/wechat-tabbar/index' },
|
||||
{ title: '访客记录√', value: '', icon: 'browse', to: '/pages/profile/view-record' },
|
||||
{ title: '认证中心', value: '', icon: 'user', to: '/pages/profile/verify-status' },
|
||||
{ title: '我的动态√', value: '', icon: 'star', to: '/pages/profile/my-moment' },
|
||||
Reference in new issue
Block a user