优化图标显示

This commit is contained in:
wuxw 2022-10-27 14:23:37 +08:00
parent 4fd72eef2e
commit 90a681ae09
2 changed files with 145 additions and 143 deletions

View File

@ -76,16 +76,16 @@
callPropertyModal: false,
property: {},
new_list: [{
src: this.imgUrl+'/h5/images/serve/new1.png',
name: '新手指引',
desc: '新手指引',
href:''
src: this.imgUrl + '/h5/images/serve/new1.png',
name: '报事报修',
desc: '一键维修',
href: '/pages/repair/repair'
},
{
src: this.imgUrl+'/h5/images/serve/new2.png',
src: this.imgUrl + '/h5/images/serve/new2.png',
name: '联系物业',
desc: '一键搞定',
href:'_callPropertyTel'
href: '_callPropertyTel'
},
],
};
@ -93,47 +93,47 @@
created() {
this._loadFunc();
},
methods:{
_loadFunc:function(){
methods: {
_loadFunc: function() {
this.home_list = [{
name: '生活缴费',
src: this.imgUrl+'/h5/images/serve/1.png',
href: '/pages/oweFee/oweFee'
name: '社区公告',
src: this.imgUrl + '/h5/images/serve/7.png',
href: '/pages/notice/index'
},
{
name: '家庭成员',
src: this.imgUrl+'/h5/images/serve/2.png',
src: this.imgUrl + '/h5/images/serve/2.png',
href: '/pages/familyList/familyList'
},
{
name: '报事维修',
src: this.imgUrl+'/h5/images/serve/6.png',
href: '/pages/repair/repair'
name: '访客通行',
src: this.imgUrl + '/h5/images/serve/3.png',
href: '/pages/visit/visitList'
},
],
this.serve_list = [{
name: '生活缴费',
src: this.imgUrl + '/h5/images/serve/1.png',
href: '/pages/oweFee/oweFee'
},
{
name: '房屋费',
src: this.imgUrl + '/h5/images/serve/5.png',
href: '/pages/roomFeeListNew/roomFeeListNew'
},
{
name: '停车费',
src: this.imgUrl + '/h5/images/serve/9.png',
href: '/pages/payParkingFeeList/payParkingFeeList'
},
{
name: '一键开门',
src: this.imgUrl+'/h5/images/serve/8.png',
src: this.imgUrl + '/h5/images/serve/8.png',
href: '/pages/openDoor/openDoor'
},
{
name: '装修报备',
src: this.imgUrl+'/h5/images/serve/10.png',
href: '/pages/roomRenovation/roomRenovation'
},
{
name: '访客通行',
src: this.imgUrl+'/h5/images/serve/3.png',
href: '/pages/visit/visitList'
},
{
name: '社区公告',
src: this.imgUrl+'/h5/images/serve/7.png',
href: '/pages/notice/index'
},
]
},
to:function(v) {
to: function(v) {
if (v.href == '_callPropertyTel') {
this.callPropertyTel();
} else {
@ -178,7 +178,7 @@
_cancleCall: function() {
this.callPropertyModal = false;
},
more:function() {
more: function() {
uni.switchTab({
url: '/pages/homemaking/homemaking'
})
@ -263,6 +263,7 @@
}
}
.new_box {
background: #fff;
padding: 20upx;
@ -310,5 +311,4 @@
margin-right: 0;
}
}
</style>

View File

@ -56,11 +56,13 @@
name: '生活缴费',
src: this.imgUrl+'/h5/images/serve/1.png',
href: '/pages/oweFee/oweFee'
},{
name: '临时车费',
src: this.imgUrl+'/h5/images/serve/1.png',
href: '/pages/tempParkingFee/tempParkingFee?paId=102022101773780027&communityId=2022081539020475&appId=123&aliAppId=12345'
}, {
},
// {
// name: '',
// src: this.imgUrl+'/h5/images/serve/1.png',
// href: '/pages/tempParkingFee/tempParkingFee?paId=102022101773780027&communityId=2022081539020475&appId=123&aliAppId=12345'
// },
{
name: '房屋费',
src: this.imgUrl+'/h5/images/serve/5.png',
href: '/pages/roomFeeListNew/roomFeeListNew'