This commit is contained in:
SelfRidicule 2024-02-23 09:56:56 +08:00
parent 4a0909bb7f
commit f2de81dfdb
13 changed files with 471 additions and 413 deletions

View File

@ -67,12 +67,6 @@
"selectedIconPath": "/images/tabbar/home-select.png",
"text": "首页"
},
{
"pagePath": "pages/parkRepair/parkRepair",
"iconPath": "/images/tabbar/openDoor.png",
"selectedIconPath": "/images/tabbar/openDoor.png",
"text": "开门"
},
{
"pagePath": "pages/my/my",
"iconPath": "/images/tabbar/my.png",

View File

@ -12,6 +12,10 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
// 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({
title: options.name
})
switch (options.name) {
case "项目入孵":
this.setData({

View File

@ -10,6 +10,12 @@ Page({
homelist: [],
IMG_NAME: app.IMG_NAME
},
onLoad(options) {
// 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({
title: options.name
})
},
onShow(e) {
let that = this
// wx.setStorageSync('token', '535e73059d2f4301b78d05326e1a55d8')

View File

@ -1,4 +1,3 @@
{
"usingComponents": {},
"navigationBarTitleText": "活动"
"usingComponents": {}
}

View File

@ -4,6 +4,13 @@ Page({
currentTab: 0
},
onLoad(options) {
// 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({
title: options.name
})
},
onShow() {
this.getList()
},

View File

@ -1,4 +1,3 @@
{
"usingComponents": {},
"navigationBarTitleText": "园区建议"
"usingComponents": {}
}

View File

@ -39,52 +39,52 @@ Page({
bannerList: [{
bannerImg: ''
}],
menuList: [{
name: "创业活动",
img: "/images/hicon/chuangyehuodong.png",
path: "/pages/community/community"
},
{
name: "政策信息",
img: "/images/hicon/zhengcexinxi.png",
path: "/pages/notice/notice"
},
{
name: "党建园地",
img: "/images/hicon/zhaozhengce.png",
//img: "/images/hicon/yuanqugonggao.png",
path: "/pages/party/party"
},
{
name: "租办公室",
img: "/images/hicon/zubangongshi.png",
path: "/pages/office/office"
},
{
name: "项目入孵",
img: "/images/hicon/xiangmurufu.png",
path: "/pages/applyType/applyType"
},
{
name: "企业入驻",
img: "/images/hicon/qiyeruzhu.png",
path: "/pages/applyType/applyType"
},
{
name: "厂房申请",
img: "/images/hicon/qianrushenqing.png",
path: "/pages/applyType/applyType"
},
{
name: "园区建议",
img: "/images/hicon/yuanqujianyi.png",
path: "/pages/complaint/complaint"
},
{
name: "商业计划书",
img: "/images/hicon/wenjuandiaocha.png",
path: "/pages/outer/outer"
},
menuList: [
// {
// name: "创业活动",
// img: "/images/hicon/chuangyehuodong.png",
// path: "/pages/community/community"
// },
// {
// name: "政策信息",
// img: "/images/hicon/zhengcexinxi.png",
// path: "/pages/notice/notice"
// },
// {
// name: "党建园地",
// img: "/images/hicon/zhaozhengce.png",
// path: "/pages/party/party"
// },
// {
// name: "租办公室",
// img: "/images/hicon/zubangongshi.png",
// path: "/pages/office/office"
// },
// {
// name: "项目入孵",
// img: "/images/hicon/xiangmurufu.png",
// path: "/pages/applyType/applyType"
// },
// {
// name: "企业入驻",
// img: "/images/hicon/qiyeruzhu.png",
// path: "/pages/applyType/applyType"
// },
// {
// name: "厂房申请",
// img: "/images/hicon/qianrushenqing.png",
// path: "/pages/applyType/applyType"
// },
// {
// name: "园区建议",
// img: "/images/hicon/yuanqujianyi.png",
// path: "/pages/complaint/complaint"
// },
// {
// name: "商业计划书",
// img: "/images/hicon/wenjuandiaocha.png",
// path: "/pages/outer/outer"
// },
/*
{
name: "园区报修",
@ -97,6 +97,51 @@ Page({
img: "/profile/static/index/menu-hyyy.png",
path: ""
},
{
name: "预约记录",
img: "/profile/static/index/menu-yyjl.png",
path: ""
},
{
name: "访客邀约",
img: "/profile/static/index/menu-fkyy.png",
path: ""
},
{
name: "远程门禁",
img: "/profile/static/index/menu-ycmj.png",
path: ""
},
{
name: "报修服务",
img: "/profile/static/index/menu-bxfw.png",
path: "/pages/parkRepair/parkRepair"
},
{
name: "投诉建议",
img: "/profile/static/index/menu-tsjy.png",
path: "/pages/complaint/complaint"
},
{
name: "社区活动",
img: "/profile/static/index/menu-sqhd.png",
path: "/pages/community/community"
},
{
name: "政策中心",
img: "/profile/static/index/menu-zczx.png",
path: "/pages/notice/notice"
},
{
name: "入住申请",
img: "/profile/static/index/menu-rzsq.png",
path: "/pages/applyType/applyType"
},
{
name: "展厅预约",
img: "/profile/static/index/menu-ztyy.png",
path: ""
},
],
homelist: [],
background: [{
@ -171,15 +216,9 @@ Page({
navapply(e) {
if (wx.getStorageSync('token')) {
if (e.currentTarget.dataset.path) {
if (e.currentTarget.dataset.path == '/pages/parkRepair/parkRepair') {
wx.switchTab({
url: e.currentTarget.dataset.path,
})
} else {
wx.navigateTo({
url: e.currentTarget.dataset.path + '?name=' + e.currentTarget.dataset.name,
})
}
} else {
wx.showModal({
content: '模块暂未开放,敬请期待',

View File

@ -16,7 +16,7 @@
<view class="fixed">
<view class="fixedbox" wx:for='{{menuList}}' wx:key='index' data-path="{{item.path}}" data-name="{{item.name}}" bindtap="navapply">
<image class="menuImg" src="{{IMG_NAME + item.img}}"></image>
<view style="font-size:26rpx;margin-top:18rpx;">{{item.name}}</view>
<view class="menuTitle">{{item.name}}</view>
</view>
</view>

View File

@ -51,7 +51,7 @@ page {
.fixed {
background: white;
padding: 0 30rpx 40rpx 30rpx;
padding: 0 30rpx 240rpx 30rpx;
display: flex;
flex-wrap: wrap;
/* border-radius: 20rpx; */
@ -130,4 +130,10 @@ page {
.menuImg{
width: 132rpx;
height: 134rpx;
margin-left: 15rpx;
}
.menuTitle{
font-size: 24rpx;
color: #646466;
}

View File

@ -9,7 +9,11 @@ Page({
interval: 3000,
duration: 1000,
},
onLoad() {
onLoad(options) {
// 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({
title: options.name
})
let that = this
app.AjaxRequest('get', {
'content-type': 'application/json',

View File

@ -1,4 +1,3 @@
{
"usingComponents": {},
"navigationBarTitleText": "园区公告"
"usingComponents": {}
}

View File

@ -5,9 +5,11 @@ Page({
repairList: []
},
onLoad: function (options) {
onLoad(options) {
// 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({
title: options.name
})
},
onShow() {

View File

@ -1,4 +1,3 @@
{
"usingComponents": {},
"navigationBarTitleText": "园区报修"
"usingComponents": {}
}