修改跳转问题
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
</view>
|
||||
</up-col>
|
||||
<up-col span="3">
|
||||
<view class="demo-layout bg-purple-light openClass">
|
||||
<view class="demo-layout bg-purple-light openClass" @click="payMentClick">
|
||||
<view class="iconClass">
|
||||
<image src="/static/首页/生活缴费.png" mode="" style="width: 70px;height: 70px;border-radius: 8px;"></image>
|
||||
</view>
|
||||
@@ -189,12 +189,13 @@ const activityList = ref([
|
||||
const currentCommunity = ref('碧桂园小区')
|
||||
const bannerList = ref([
|
||||
'/static/首页/banner.png',
|
||||
'/static/bannar2.png'
|
||||
|
||||
])
|
||||
const noticeText = ref('公告公告本小区今天安装了摄像头')
|
||||
|
||||
// =======方法=======
|
||||
const getNoticeMore = () =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:"/pages/notice-list/noticeList"
|
||||
})
|
||||
@@ -218,10 +219,18 @@ onUnload(() => {
|
||||
|
||||
// 方法逻辑
|
||||
const openDoorClick = () =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:"/pages/notice-list/oneClickOpen"
|
||||
})
|
||||
}
|
||||
// 生活缴费
|
||||
const payMentClick =() =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:"/pages/payment-list/paymentIndex"
|
||||
})
|
||||
}
|
||||
|
||||
const navigateToPage = () => {
|
||||
uni.navigateTo({
|
||||
@@ -229,18 +238,21 @@ const navigateToPage = () => {
|
||||
})
|
||||
}
|
||||
const onlineRepairClick = () =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:'/pages/online-repair/onlineRepair'
|
||||
})
|
||||
}
|
||||
// 访客邀请
|
||||
const visitorClick = () =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:"/pages/visitor/visitor-list"
|
||||
})
|
||||
}
|
||||
// 活动列表的查看更多
|
||||
const moreClick = () =>{
|
||||
uni.setStorageSync('sourcePage',"index")
|
||||
uni.navigateTo({
|
||||
url:"/pages/activity-list/activityList"
|
||||
})
|
||||
@@ -332,7 +344,7 @@ const moreClick = () =>{
|
||||
}
|
||||
.noticeClass{
|
||||
position: relative;
|
||||
top: 167rpx;
|
||||
top: 160rpx;
|
||||
left: 0;
|
||||
padding: 40rpx 36rpx;
|
||||
}
|
||||
@@ -349,7 +361,7 @@ const moreClick = () =>{
|
||||
}
|
||||
.bg-card-open{
|
||||
position: relative;
|
||||
top: 102rpx;
|
||||
top: 98rpx;
|
||||
left: 0;
|
||||
padding: 20rpx;
|
||||
background-color: #fff;
|
||||
@@ -382,7 +394,7 @@ const moreClick = () =>{
|
||||
// margin-top: 30rpx;
|
||||
border-radius: 28rpx;
|
||||
position: relative;
|
||||
top:50px;
|
||||
top:45px;
|
||||
left: 0;
|
||||
.titleLeft{
|
||||
text-align: left;
|
||||
@@ -400,7 +412,7 @@ const moreClick = () =>{
|
||||
}
|
||||
.activity-card{
|
||||
position: relative;
|
||||
top: 45px;
|
||||
top: 40px;
|
||||
left: 0;
|
||||
bottom: 20;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user