修改页面样式
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import {onLoad,onUnload} from '@dcloudio/uni-app'
|
||||
import {getNoticeList} from "/pages/api/api.js"
|
||||
import {getNoticeList} from "/pageSubPack/api/api.js"
|
||||
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ const noticeText = ref('公告公告本小区今天安装了摄像头')
|
||||
const getNoticeMore = () =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:"/pages/notice-list/noticeList"
|
||||
url:"/pageSubPack/notice-list/noticeList"
|
||||
})
|
||||
}
|
||||
// 接收选择小区返回的参数
|
||||
@@ -249,7 +249,29 @@ const payMentClick =() =>{
|
||||
url:"/pages/payment-list/paymentIndex"
|
||||
})
|
||||
}
|
||||
|
||||
// 点击小区选择
|
||||
// const navigateToPage = () => {
|
||||
// // 获取登录状态 / token
|
||||
// const token = uni.getStorageSync('token') || '';
|
||||
// // 获取是否已经认证
|
||||
// const userInfo = uni.getStorageSync('userInfo') || {};
|
||||
// // 未登录 / 未认证 → 去我的页面(去认证)
|
||||
// // 已登录 / 已认证 → 去选择小区
|
||||
// if (!token || !userInfo.isAuth) {
|
||||
// uni.showToast({
|
||||
// title: '请先完成实名认证',
|
||||
// icon: 'none'
|
||||
// });
|
||||
// // 跳转到我的页面
|
||||
// uni.switchTab({
|
||||
// url: '/pages/myIndex/myIndex'
|
||||
// });
|
||||
// } else {
|
||||
// uni.navigateTo({
|
||||
// url: '/pageSubPack/notice-list/selectHome'
|
||||
// });
|
||||
// }
|
||||
// };
|
||||
const navigateToPage = () => {
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/notice-list/selectHome'
|
||||
|
||||
Reference in New Issue
Block a user