修复bug,添加我的积分页面
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<scroll-view class="page" scroll-y>
|
||||
<view class="topBox">
|
||||
<view class="name">
|
||||
<image src="https://wuyeadmin.bugtc.com/images/logo-app.png" class="img" />
|
||||
<image src="https://wuye.ckdzkj.com/images/logo-app.png" class="img" />
|
||||
<span style="padding: 5rpx 5rpx;display: flex;flex-direction: column;line-height: 60rpx;">
|
||||
<span style="font-size: 36rpx;font-weight: 600;">
|
||||
{{loginName}}
|
||||
@@ -25,7 +25,7 @@
|
||||
style="align-self: flex-end;font-size: 24rpx;vertical-align: baseline;">{{ item.desc }}</span></span>
|
||||
</view>
|
||||
<view class="item-arrow"></view>
|
||||
<!-- <image src="https://wuyeadmin.bugtc.com/images/propertyImgs/arrow-right.png" class="arrow-icon" /> -->
|
||||
<!-- <image src="https://wuye.ckdzkj.com/images/propertyImgs/arrow-right.png" class="arrow-icon" /> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -51,25 +51,26 @@
|
||||
import { requireLogin } from '@/common/checkLogin.js'
|
||||
|
||||
|
||||
const list = ref([{
|
||||
icon:'https://wuyeadmin.bugtc.com/images/propertyImgs/house.png',
|
||||
const list = ref([
|
||||
{
|
||||
icon:'https://wuye.ckdzkj.com/images/propertyImgs/points.png',
|
||||
title: "我的积分",
|
||||
desc:'999'
|
||||
},
|
||||
{
|
||||
icon:'https://wuye.ckdzkj.com/images/propertyImgs/house.png',
|
||||
title: "我的房屋"
|
||||
},
|
||||
// {
|
||||
// icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/user.png",
|
||||
// title: "住户管理",
|
||||
// // desc: "您可以在这里添加家人、朋友、租客~"
|
||||
// },
|
||||
{
|
||||
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/parking.png",
|
||||
icon: "https://wuye.ckdzkj.com/images/propertyImgs/parking.png",
|
||||
title: "我的车位"
|
||||
},
|
||||
{
|
||||
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/car.png",
|
||||
icon: "https://wuye.ckdzkj.com/images/propertyImgs/car.png",
|
||||
title: "我的车辆"
|
||||
},
|
||||
{
|
||||
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/setting.png",
|
||||
icon: "https://wuye.ckdzkj.com/images/propertyImgs/setting.png",
|
||||
title: "设置"
|
||||
}
|
||||
])
|
||||
@@ -101,7 +102,7 @@
|
||||
if (!requireLogin()) return
|
||||
const cachedVillageId = uni.getStorageSync('currentVillageId')
|
||||
// 设置和我的房屋不需要绑定小区(我的房屋用于首次绑定)
|
||||
if (item.title !== '设置' && item.title !== '我的房屋') {
|
||||
if (item.title !== '设置' && item.title !== '我的房屋' && item.title !== '我的积分') {
|
||||
if (!cachedVillageId || cachedVillageId === '0' || cachedVillageId === 0) {
|
||||
uni.showToast({ title: '未绑定小区,没有权限', icon: 'none', duration: 2000 })
|
||||
return
|
||||
@@ -129,7 +130,11 @@
|
||||
url: '/pageSubPack/my/myCarIndex',
|
||||
|
||||
});
|
||||
} else if (item.title == '设置') {
|
||||
} else if (item.title == '我的积分') {
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/my/myPointsIndex'
|
||||
});
|
||||
} else if (item.title == '设置') {
|
||||
goSetting()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user