commit bc247b2a10e1d76c3a1b586cf5a6fa3c3636c661 Author: SelfRidicule Date: Wed Feb 21 17:43:11 2024 +0800 first commit diff --git a/miniprogram/app.js b/miniprogram/app.js new file mode 100644 index 0000000..54563f4 --- /dev/null +++ b/miniprogram/app.js @@ -0,0 +1,281 @@ +App({ + APPID: 'wx22f0f66d57ce48f7', + // 本地测试时不用加/api + // DOMAIN_NAME: 'http://localhost:9227', //接口域名 + // IMG_NAME: 'http://localhost:9227', + DOMAIN_NAME: 'https://demo.metasoft.vip/api', + IMG_NAME: 'https://demo.metasoft.vip/api', + globals: { + refreshMyPages: false, + homedata: {}, + editPro: { + projectId: 0, //项目ID + isedit: 0, //是否编辑 + json: {} //项目编辑后的详细数据 + }, + trainBeginCity: '' + }, + + onLaunch(res) { + var that = this + }, + /////////////////////////////////////////////////////////////////////////// + //获取当前用户的openid + Getopenid: function () { + var token = wx.getStorageSync('token'); + return token; + }, + + /** + * 对象转URL + */ + urlEncode(data) { + var _result = []; + for (var key in data) { + var value = data[key]; + if (value.constructor == Array) { + value.forEach(_value => { + _result.push(key + "=" + _value); + }); + } else { + _result.push(key + '=' + value); + } + } + return _result.join('&'); + }, + + /** + * 显示失败提示框 + */ + showError(msg, callback) { + wx.showModal({ + title: '友情提示', + content: msg, + showCancel: false, + success(res) { + // callback && (setTimeout(() => { + // callback(); + // }, 1500)); + callback && callback(); + } + }); + }, + + /** + * 显示成功提示框 + */ + showSuccess(msg, callback) { + wx.showToast({ + title: msg, + icon: 'success', + success() { + callback && (setTimeout(() => { + callback(); + }, 1500)); + } + }); + }, + + // 根据出生日期计算年龄周岁 传参格式为1996-06-08 + getAge: function (strBirthday) { + var returnAge = ''; + var mouthAge = ''; + var strBirthdayArr = strBirthday.split("-"); + var birthYear = strBirthdayArr[0]; + var birthMonth = strBirthdayArr[1]; + var birthDay = strBirthdayArr[2]; + var d = new Date(); + var nowYear = d.getFullYear(); + var nowMonth = d.getMonth() + 1; + var nowDay = d.getDate(); + if (nowYear == birthYear) { + // returnAge = 0; //同年 则为0岁 + var monthDiff = nowMonth - birthMonth; //月之差 + if (monthDiff < 0) {} else { + mouthAge = monthDiff + '个月'; + } + } else { + var ageDiff = nowYear - birthYear; //年之差 + if (ageDiff > 0) { + if (nowMonth == birthMonth) { + var dayDiff = nowDay - birthDay; //日之差 + if (dayDiff < 0) { + returnAge = ageDiff - 1 + '岁'; + } else { + returnAge = ageDiff + '岁'; + } + } else { + var monthDiff = nowMonth - birthMonth; //月之差 + if (monthDiff < 0) { + returnAge = ageDiff - 1 + '岁'; + } else { + mouthAge = monthDiff + '个月'; + returnAge = ageDiff + '岁'; + } + } + } else { + returnAge = -1; //返回-1 表示出生日期输入错误 晚于今天 + } + } + return returnAge + mouthAge; //返回周岁年龄+月份 + }, + + Upload: function (tempFilePaths, call) { + wx.showLoading({ + mask: true, + title: '正在上传' + }); + var that = this + wx.uploadFile({ + url: that.DOMAIN_NAME + '/dfs/upload', + header: { + 'Authorization': 'Bearer ' + that.Getopenid() + }, + filePath: tempFilePaths, + name: 'file', + success(res) { + var deta = JSON.parse(res.data) + if (call) call(deta); + if (deta.code == 401) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '身份已过期,需重登录', + success: res => { + wx.reLaunch({ + url: '/pages/login/login', + }) + } + }); + } else if (deta.code != 0) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: '服务器开小差去了,请重试', + showCancel: false + }) + } else if (deta.code == 0) { + wx.hideLoading() + } + }, + fail: function (ret) { + wx.hideLoading() + wx.showModal({ + confirmText: '再试一次', + content: '无法连接网络', + showCancel: false, + success: function () { + if (res.confirm) { + that.Upload(tempFilePaths, call); + } else if (res.cancel) { + console.log('用户点击取消') + } + } + }) + } + }) + }, + + getParkid() { + var token = wx.getStorageSync('token'); + return token + }, + + getlogin() { + wx.showModal({ + confirmText: '好的', + content: '请先登录后再点击查看', + success: res => { + wx.reLaunch({ + url: '/pages/login/login', + }) + } + }) + }, + + + //统一请求封装 + //mandate 接口值 + //data 传值,已自动转换为JSON + //call 请求成功后回调的方法 + AjaxRequest: function (methods, header, url, data, call) { + var token = wx.getStorageSync('token'); + if (wx.getStorageSync('parkId')) { + data.parkId = wx.getStorageSync('parkId') + } + wx.showLoading({ + mask: true, + title: '正在加载' + }) + var that = this + //发送请求 + wx.request({ + header: header, + method: methods, + url: that.DOMAIN_NAME + url, + data: data, + success: function (ret) { + if (call) call(ret.data); + if (ret.data.code == 402 || ret.data.code == 401) { + wx.hideLoading() + wx.showModal({ + confirmText: '确认', + content: '身份已过期,需重登录', + success(res) { + wx.removeStorageSync('MemberInfo') + wx.removeStorageSync('token') + if (res.confirm) { + wx.reLaunch({ + url: '/pages/login/login', + }) + } + } + }) + } else if (ret.data.code != 0) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: ret.data.msg || '服务器开小差去了,请重试', + showCancel: false, + success(res) { + if (res.confirm) { + if (!wx.getStorageSync('parkId')) { + if (ret.data.msg == '请选择园区!!') { + wx.reLaunch({ + url: '../index/parkList/parkList' + }) + } + } + } + } + }) + } else if (ret.data.code == 0) { + wx.hideLoading() + } + }, + fail: function (ret) { + wx.hideLoading(); + wx.showModal({ + confirmText: '再试一次', + content: '无法连接网络', + success(res) { + if (res.confirm) { + that.AjaxRequest(methods, header, url, data, call); + } else if (res.cancel) { + console.log('用户点击取消') + } + } + }) + } + }) + }, + + ToWebURL(url){ + wx.navigateTo({ + url: pages/outer/outer,//要跳转的页面(需要新建立一个page页面) + success: () => { + + } + }) + }, +}) \ No newline at end of file diff --git a/miniprogram/app.json b/miniprogram/app.json new file mode 100644 index 0000000..b1431ac --- /dev/null +++ b/miniprogram/app.json @@ -0,0 +1,96 @@ +{ + "pages": [ + "pages/index/index", + "pages/login/wxlogin/wxlogin", + "pages/login/login", + "pages/my/my", + "pages/community/community", + "pages/news/news", + "pages/index/detail/detail", + "pages/community/eventDetails/eventDetails", + "pages/enterpriseServices/enterpriseServices", + "pages/parkRepair/parkRepair", + "pages/enterpriseServices/serviceList/serviceList", + "pages/enterpriseServices/serviceDetail/serviceDetail", + "pages/community/registration/registration", + "pages/enterpriseServices/serviceApply/serviceApply", + "pages/parkRepair/repairDetail/repairDetail", + "pages/parkRepair/repairInApply/repairInApply", + "pages/enterpriseSelect/enterpriseSelect", + "pages/myActivities/myActivities", + "pages/parkRepair/evaluate/evaluate", + "pages/notice/notice", + "pages/notice/detail/detail", + "pages/complaint/complaint", + "pages/complaint/newComplaint/newComplaint", + "pages/my/personalData/personalData", + "pages/my/cropper/cropper", + "pages/party/party", + "pages/party/detail/detail", + "pages/my/accountSetting/accountSetting", + "pages/my/changePassword/changePassword", + "pages/my/retrievePassword/retrievePassword", + "pages/my/companyInformation/companyInformation", + "pages/my/editCompanyProfile/editCompanyProfile", + "pages/my/order/order", + "pages/my/order/detail/detail", + "pages/my/order/applyRefund/applyRefund", + "pages/index/office/office", + "pages/index/office/detail/detail", + "pages/index/office/apply/apply", + "pages/index/parkList/parkList", + "pages/enterpriseServices/myServiceList/myServiceList", + "pages/applyType/settledIn/settledIn", + "pages/applyType/applyType", + "pages/applyType/settledInApproval/settledInApproval", + "pages/applyType/moveInApply/moveInApply", + "pages/my/serviceApply/serviceApply", + "pages/complaint/complaintDetail/complaintDetail", + "pages/outer/outer" + ], + "window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "Weixin", + "navigationBarTextStyle": "black" + }, + "tabBar": { + "backgroundColor": "#ffffff", + "borderStyle": "black", + "selectedColor": "#5C8EFF", + "color": "#333333", + "list": [ + { + "pagePath": "pages/index/index", + "iconPath": "/images/icon/shouye-3861.png", + "selectedIconPath": "/images/icon/shouye-386.png", + "text": "首页" + }, + { + "pagePath": "pages/enterpriseServices/enterpriseServices", + "iconPath": "/images/icon/fuwu_11.png", + "selectedIconPath": "/images/icon/fuwu_1.png", + "text": "服务" + }, + { + "pagePath": "pages/parkRepair/parkRepair", + "iconPath": "/images/icon/wodebaoxiu1.png", + "selectedIconPath": "/images/icon/wodebaoxiu.png", + "text": "维修" + }, + { + "pagePath": "pages/my/my", + "iconPath": "/images/icon/wode1.png", + "selectedIconPath": "/images/icon/wode.png", + "text": "我的" + } + ] + }, + "style": "v2", + "sitemapLocation": "sitemap.json", + "permission": { + "scope.userLocation": { + "desc": "为便于为您定位附近园区" + } + } +} \ No newline at end of file diff --git a/miniprogram/app.wxss b/miniprogram/app.wxss new file mode 100644 index 0000000..6bc4c8b --- /dev/null +++ b/miniprogram/app.wxss @@ -0,0 +1,347 @@ +@import "/utils/common.wxss"; + +page { + width: 100%; + height: 100%; + /* overflow: hidden; */ + font-size: 24rpx; + /* color: #F3F3F3; */ + background-color: #F5F5F5; +} + +.flow-checkout-header { + padding: 28rpx 0; + background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAANCAYAAADVGpDCAAAAGXRFW…GxrGBUn2PZ4lyoTdIsST0FQj0UDSLUak6ot3gcBLVY3wQYAJoVXxmNERajAAAAAElFTkSuQmCC) bottom left repeat-x; + background-size: 120rpx auto; + position: relative; +} + +.flow-header-left { + flex: 14; +} + +.flow-fixed-footer { + position: fixed; + bottom: 0; + width: 100%; + background: #fff; + border-top: 1px solid #eee; + z-index: 11; +} + +.flow-shopList { + padding: 20rpx 0; +} + +.flow-shopList .flow-list-left { + flex: 2; +} + +.flow-btn { + background-color: #ff495e; + color: #fff; + text-align: center; + line-height: 46px; + display: block; +} + +.flow-num-box { + font-size: 30rpx; + color: #777; + padding: 15rpx 12px; + text-align: right; +} + +.flow-checkout-header .flow-checkout-address { + font-size: 26rpx; + color: #777; + margin-top: 6rpx; +} + +.goods-detail-box { + padding: 0; + min-height: 150px; +} + +.flow-shopList .flow-list-right .small { + float: right; + font-size: 26rpx; + color: #777; +} + +.flow-shopList .flow-list-right .flow-cont { + font-size: 30rpx; + color: #ff495e; +} + +.flow-shopList .flow-list-right .flow-list-cont { + padding-top: 10rpx; +} + +.flow-shopList .flow-list-left { + flex: 2; +} + +.flow-shopList .flow-list-right { + flex: 4; +} + +.flow-shopList .flow-list-left image { + width: 200rpx; + height: 200rpx; + border: 1rpx solid #eee; + background: #fff; +} + +.flow-list custom-li, .addres-list custom-li { + margin-top: 25rpx; + display: block; +} + +.flow-list custom-li:first-child, .addres-list custom-li:first-child { + margin-top: 0; +} + +.index-cont-search { + width: 100%; + font-size: 28rpx; + position: relative; + background: #f1f1f1; +} + +.selectNumber { + height: 34px; + flex-direction: row; + border: 1rpx solid #eee; + border-radius: 10rpx; + display: inline-block; +} + +.selectNumber .default-active { + background: #f7f7f7 !important; + color: #ddd !important; +} + +.selectNumber .default { + width: 34px; + height: 34px; + float: left; + line-height: 32px; + padding: 0; + background: #fff; + color: #444; + font-size: 48rpx; +} + +.selectNumber input { + float: left; + width: 50px; + height: 34px; + line-height: 34px; + border-right: 1rpx solid #eee; + border-left: 1rpx solid #eee; + text-align: center; + font-size: 28rpx; + color: #444; +} + +.order-bt { + width: 50%; + background-color: #ff495e; + color: #fff; + text-align: center; + line-height: 46px; +} + +.profile-btn button { + background: #ff495e; + color: white; + margin-bottom: 20rpx; +} + +.yoshop-notcont { + margin: 130rpx 100rpx; +} + +.yoshop-notcont .iconfont { + font-size: 150rpx; + color: #ccc; + text-align: center; + display: block; + margin-bottom: 24rpx; +} + +.yoshop-notcont .cont { + display: block; + text-align: center; + font-size: 30rpx; + color: #999; + margin-top: 20rpx; +} + +.footer-fixed { + position: fixed; + display: flex; + bottom: 0px; + left: 0px; + right: 0px; + height: 46px; + z-index: 18; + box-shadow: 1px 5px 15px rgba(50, 50, 50, 0.3); + background: #fff; +} + +.order-bt { + background-color: #ff495e; + color: #fff; + text-align: center; + line-height: 46px; +} + +.container { + height: 100%; + align-items: center; + justify-content: space-between; + box-sizing: border-box; + font-family: PingFang-Medium, + PingFangSC-Regular, + Heiti, + Heiti SC, + DroidSans, + DroidSansFallback, + "Microsoft YaHei", + sans-serif; + -webkit-font-smoothing: antialiased; +} + +.bold { + font-weight: 600; +} + +.next { + width: 100% !important; + height: 100rpx !important; + font-size: 28rpx; + color: white; + text-align: center; + line-height: 100rpx !important; + background: #4C84FF; + /* position: absolute !important; + bottom: 30rpx; + left: 50% !important; */ + /* margin-left: -290rpx !important; */ + padding: 0 !important; + border-radius: 50rpx !important; + z-index: 5; +} + +.floL { + float: left; +} + +.floR { + float: right; +} + +.fontW { + font-weight: 600; +} + +.bshaw { + width: 98%; + margin-left: 1%; + padding: 30rpx 30rpx 36rpx 22rpx; + background: rgba(255, 255, 255, 1); + box-shadow: 0px 0px 13rpx 1rpx rgba(233, 236, 244, 1); + border-radius: 4rpx; + margin-top: 50rpx; + box-sizing: border-box; +} + +/*隐藏滚动条*/ + +::-webkit-scrollbar { + width: 0; + height: 0; + color: transparent; +} + +.da { + display: inline-block; + color: white; + background: #4C84FF; + padding: 0 50rpx; + height: 62rpx; + border-radius: 31rpx; + text-align: center; + line-height: 62rpx; + margin-right: 24rpx; + margin-bottom: 24rpx; +} + +.da1 { + display: inline-block; + color: black; + background: #F2F2F2; + padding: 0 50rpx; + height: 62rpx; + border-radius: 31rpx; + text-align: center; + line-height: 62rpx; + margin-right: 24rpx; + margin-bottom: 24rpx; +} + +.titleC { + font-size: 13pt; + font-weight: 600; + margin-bottom: 10rpx; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +.detailTextC { + color: #A5A5A5; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +.textcolor { + color: #A5A5A5; +} + +.iconfont { + font-size: 14pt; + color: #C11D24; +} + +.iconfonts { + font-size: 14pt; +} + +.btnColor { + background-color: #C11D24; + color: white; +} + +image { + width: 100%; +} + +.paddingPercent_4 { + padding: 4%; +} + +.borderBottom { + border-bottom: 1rpx solid #EEEEEE; +} + +.borderTop { + border-top: 1rpx solid #E5E5E5; +} + +.flex { + display: flex; +} \ No newline at end of file diff --git a/miniprogram/fontIcon/iconfont.wxss b/miniprogram/fontIcon/iconfont.wxss new file mode 100644 index 0000000..a170627 --- /dev/null +++ b/miniprogram/fontIcon/iconfont.wxss @@ -0,0 +1,229 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1612166257005'); /* IE9 */ + src: url('iconfont.eot?t=1612166257005#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAACK4AAsAAAAAQHwAACJqAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCKQArmIM97ATYCJAOBWAtuAAQgBYRtB4UOGx80VUaFjQNA21gnRPb/1+TksIXawP9DspDlguYKzqi4cVAxVzB0ljBnKK4tHCiL3KB+RZ74BvU5TNfNW81b9PtM7uOl98BVXsyQiWEmDVPt/4hKkiixtAcbSsnD/09r9yeZzLZa7S7FcjyarhCuumYsim4sQoJ8M0vRpcW3pvlPXq1X8smlXmsprcPgTBjOhIV9yD6GNzzvtt7/n/WBD3ycgANwjJ1fcKAm4KC0iZVWlEVXJ2WXfMe6FlnnaXdXXFttmFZXYkne7bC0iSVmtwZ5a+mkrlLqfqyEBQsBsjcIVYoyne8CDG6k1mrNC9fYfAiGIOzyTKpMAqB/mPP7pfk5+jY1/9PryrB8HbPWva45GQSI2MgB5Daps5Ls+EAyJAvJc0cIkr1A4UN2Y3U/cisIHYd295+PsaNA+zlAcPjTOH+rzICSUfUwfyY2sd7V8snRtE0tnxE/pjLEgwXhsPquLWv3QIGP6giY0lm2ku+JfBciT0bBDRcNttSVu5IMq9XBSkdrPelYpyfpybJD4AsBFZXk+8lYj9Lh+0MHIa4yqQDrFHWKqkiKto7OktFjexkTWoBzmyYeYy5Pqx/LTT6aIpITRwnu+jk2CbSZ2ZAuvX1HAAPT3y6BdI/KWcAI6JiSTKQpJuy2MPqnRrK/TPAC/frpK/aSABmfQ6967cbnBUAE+CrMfyp+vds8yI/hsDvIwQYKyD4Qu9MruWdvyCWvVYr0izMEqij43VBleIYk/CM0oiI2EoIgo1BIqUS5KgZ1WtQttbqqEdCoeOgzX7uY/Cqs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jKQa2Rq1moKLnoEM7ns8fzxdqLb/TElaNlSox3WUJ2tYe9ng0eri/W8Ku672DboZR2u8BxlIFHsr1Xk9QUPZa0joYriIcWds23DkeJY870YGou+rADVRgriOqbx/gfvWUfFiZUB+WqB9VpPGzQJns11MBliV2LuGXChgHvH/R/qU9XoBk=') format('woff2'), + url('iconfont.woff?t=1612166257005') format('woff'), + url('iconfont.ttf?t=1612166257005') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1612166257005#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.iconyifukuan:before { + content: "\e656"; +} + +.iconicon-test:before { + content: "\e609"; +} + +.iconicon-:before { + content: "\e607"; +} + +.iconguzhangbaoxiu:before { + content: "\e67a"; +} + +.icondaishouhuo:before { + content: "\e709"; +} + +.iconyifukuan-xianxing:before { + content: "\e63f"; +} + +.iconfuwu:before { + content: "\e621"; +} + +.iconmeiyoudingdan:before { + content: "\e623"; +} + +.iconbianji:before { + content: "\e655"; +} + +.iconlajixiang:before { + content: "\e69b"; +} + +.iconxiangyoujiantou:before { + content: "\e648"; +} + +.iconjiantouxiangxia:before { + content: "\e635"; +} + +.icontubiao_kuaizhuangpailie:before { + content: "\e616"; +} + +.icontubiao_liebiaopailie:before { + content: "\e617"; +} + +.iconicon_service:before { + content: "\e658"; +} + +.iconshangpin:before { + content: "\e634"; +} + +.icontubiao102:before { + content: "\e62a"; +} + +.icongouwuchekong:before { + content: "\e600"; +} + +.iconsousuo:before { + content: "\e618"; +} + +.iconprice:before { + content: "\e642"; +} + +.iconshijian:before { + content: "\e632"; +} + +.icondizhi:before { + content: "\e63e"; +} + +.icontubiao-1:before { + content: "\e652"; +} + +.iconqiyexinxi:before { + content: "\e629"; +} + +.iconRectangleCopy:before { + content: "\e6aa"; +} + +.iconqiye:before { + content: "\e91d"; +} + +.iconshouye:before { + content: "\e8ba"; +} + +.iconfaxian:before { + content: "\e8c4"; +} + +.iconzhanghaoshezhi:before { + content: "\e611"; +} + +.iconxingbiao:before { + content: "\e620"; +} + +.icongongsiqiye:before { + content: "\e640"; +} + +.iconxia:before { + content: "\e725"; +} + +.iconcha:before { + content: "\e685"; +} + +.iconwode:before { + content: "\e602"; +} + +.icon02bohao:before { + content: "\e608"; +} + +.iconbohao:before { + content: "\e69a"; +} + +.iconfuzhi:before { + content: "\e64e"; +} + +.iconyou:before { + content: "\e63d"; +} + +.iconsaoyisao:before { + content: "\e64b"; +} + +.iconzulinhetongmoban:before { + content: "\e677"; +} + +.iconbangzhu:before { + content: "\e62f"; +} + +.iconyunying:before { + content: "\e657"; +} + +.iconziliao:before { + content: "\e759"; +} + +.iconjibenxinxi:before { + content: "\e654"; +} + +.iconshenqing:before { + content: "\e665"; +} + +.iconwj-djb:before { + content: "\e712"; +} + +.icongongsi:before { + content: "\eb1a"; +} + +.iconshezhi:before { + content: "\e624"; +} + +.icontubiao-:before { + content: "\e601"; +} + +.iconmima:before { + content: "\e8b2"; +} + +.iconmingxinghuodong:before { + content: "\e8b3"; +} + +.iconshequ:before { + content: "\e8b8"; +} + +.iconshouji:before { + content: "\e8b9"; +} + diff --git a/miniprogram/images/1.png b/miniprogram/images/1.png new file mode 100644 index 0000000..1fa75d8 Binary files /dev/null and b/miniprogram/images/1.png differ diff --git a/miniprogram/images/add.png b/miniprogram/images/add.png new file mode 100644 index 0000000..2dbda03 Binary files /dev/null and b/miniprogram/images/add.png differ diff --git a/miniprogram/images/apply01.png b/miniprogram/images/apply01.png new file mode 100644 index 0000000..915d97a Binary files /dev/null and b/miniprogram/images/apply01.png differ diff --git a/miniprogram/images/apply02.png b/miniprogram/images/apply02.png new file mode 100644 index 0000000..852b2c3 Binary files /dev/null and b/miniprogram/images/apply02.png differ diff --git a/miniprogram/images/apply03.png b/miniprogram/images/apply03.png new file mode 100644 index 0000000..ef6c42a Binary files /dev/null and b/miniprogram/images/apply03.png differ diff --git a/miniprogram/images/full.png b/miniprogram/images/full.png new file mode 100644 index 0000000..ed9bf37 Binary files /dev/null and b/miniprogram/images/full.png differ diff --git a/miniprogram/images/hicon/chuangyehuodong.png b/miniprogram/images/hicon/chuangyehuodong.png new file mode 100644 index 0000000..224302e Binary files /dev/null and b/miniprogram/images/hicon/chuangyehuodong.png differ diff --git a/miniprogram/images/hicon/qianrushenqing.png b/miniprogram/images/hicon/qianrushenqing.png new file mode 100644 index 0000000..fb33a10 Binary files /dev/null and b/miniprogram/images/hicon/qianrushenqing.png differ diff --git a/miniprogram/images/hicon/qiyeruzhu.png b/miniprogram/images/hicon/qiyeruzhu.png new file mode 100644 index 0000000..5b6259c Binary files /dev/null and b/miniprogram/images/hicon/qiyeruzhu.png differ diff --git a/miniprogram/images/hicon/wenjuandiaocha.png b/miniprogram/images/hicon/wenjuandiaocha.png new file mode 100644 index 0000000..26416cd Binary files /dev/null and b/miniprogram/images/hicon/wenjuandiaocha.png differ diff --git a/miniprogram/images/hicon/xiangmurufu.png b/miniprogram/images/hicon/xiangmurufu.png new file mode 100644 index 0000000..c0fd345 Binary files /dev/null and b/miniprogram/images/hicon/xiangmurufu.png differ diff --git a/miniprogram/images/hicon/yuanqugonggao.png b/miniprogram/images/hicon/yuanqugonggao.png new file mode 100644 index 0000000..7914577 Binary files /dev/null and b/miniprogram/images/hicon/yuanqugonggao.png differ diff --git a/miniprogram/images/hicon/yuanqujianyi.png b/miniprogram/images/hicon/yuanqujianyi.png new file mode 100644 index 0000000..d5326db Binary files /dev/null and b/miniprogram/images/hicon/yuanqujianyi.png differ diff --git a/miniprogram/images/hicon/zhaozhengce.png b/miniprogram/images/hicon/zhaozhengce.png new file mode 100644 index 0000000..7dc3d16 Binary files /dev/null and b/miniprogram/images/hicon/zhaozhengce.png differ diff --git a/miniprogram/images/hicon/zhengcexinxi.png b/miniprogram/images/hicon/zhengcexinxi.png new file mode 100644 index 0000000..75ffa50 Binary files /dev/null and b/miniprogram/images/hicon/zhengcexinxi.png differ diff --git a/miniprogram/images/hicon/zubangongshi.png b/miniprogram/images/hicon/zubangongshi.png new file mode 100644 index 0000000..bac98df Binary files /dev/null and b/miniprogram/images/hicon/zubangongshi.png differ diff --git a/miniprogram/images/home/del.png b/miniprogram/images/home/del.png new file mode 100644 index 0000000..4a38027 Binary files /dev/null and b/miniprogram/images/home/del.png differ diff --git a/miniprogram/images/home/gif.png b/miniprogram/images/home/gif.png new file mode 100644 index 0000000..b286b0e Binary files /dev/null and b/miniprogram/images/home/gif.png differ diff --git a/miniprogram/images/home/jpg.png b/miniprogram/images/home/jpg.png new file mode 100644 index 0000000..f4ae9b3 Binary files /dev/null and b/miniprogram/images/home/jpg.png differ diff --git a/miniprogram/images/home/pdf.png b/miniprogram/images/home/pdf.png new file mode 100644 index 0000000..decb5b0 Binary files /dev/null and b/miniprogram/images/home/pdf.png differ diff --git a/miniprogram/images/home/ppt.png b/miniprogram/images/home/ppt.png new file mode 100644 index 0000000..ce99296 Binary files /dev/null and b/miniprogram/images/home/ppt.png differ diff --git a/miniprogram/images/home/psd.png b/miniprogram/images/home/psd.png new file mode 100644 index 0000000..9549a46 Binary files /dev/null and b/miniprogram/images/home/psd.png differ diff --git a/miniprogram/images/home/rar.png b/miniprogram/images/home/rar.png new file mode 100644 index 0000000..dfbc6b8 Binary files /dev/null and b/miniprogram/images/home/rar.png differ diff --git a/miniprogram/images/home/svg.png b/miniprogram/images/home/svg.png new file mode 100644 index 0000000..4caf842 Binary files /dev/null and b/miniprogram/images/home/svg.png differ diff --git a/miniprogram/images/home/txt.png b/miniprogram/images/home/txt.png new file mode 100644 index 0000000..1b19771 Binary files /dev/null and b/miniprogram/images/home/txt.png differ diff --git a/miniprogram/images/home/word.png b/miniprogram/images/home/word.png new file mode 100644 index 0000000..69fd647 Binary files /dev/null and b/miniprogram/images/home/word.png differ diff --git a/miniprogram/images/home/xlsx.png b/miniprogram/images/home/xlsx.png new file mode 100644 index 0000000..6565842 Binary files /dev/null and b/miniprogram/images/home/xlsx.png differ diff --git a/miniprogram/images/home/zip.png b/miniprogram/images/home/zip.png new file mode 100644 index 0000000..61b5a8e Binary files /dev/null and b/miniprogram/images/home/zip.png differ diff --git a/miniprogram/images/home/刷新@2x.png b/miniprogram/images/home/刷新@2x.png new file mode 100644 index 0000000..982469f Binary files /dev/null and b/miniprogram/images/home/刷新@2x.png differ diff --git a/miniprogram/images/home/未知文件.png b/miniprogram/images/home/未知文件.png new file mode 100644 index 0000000..44dc095 Binary files /dev/null and b/miniprogram/images/home/未知文件.png differ diff --git a/miniprogram/images/home/视频.png b/miniprogram/images/home/视频.png new file mode 100644 index 0000000..a892526 Binary files /dev/null and b/miniprogram/images/home/视频.png differ diff --git a/miniprogram/images/icon/fuwu_1.png b/miniprogram/images/icon/fuwu_1.png new file mode 100644 index 0000000..5cbc28e Binary files /dev/null and b/miniprogram/images/icon/fuwu_1.png differ diff --git a/miniprogram/images/icon/fuwu_11.png b/miniprogram/images/icon/fuwu_11.png new file mode 100644 index 0000000..26b5b63 Binary files /dev/null and b/miniprogram/images/icon/fuwu_11.png differ diff --git a/miniprogram/images/icon/new.png b/miniprogram/images/icon/new.png new file mode 100644 index 0000000..5d66e24 Binary files /dev/null and b/miniprogram/images/icon/new.png differ diff --git a/miniprogram/images/icon/shouye-386.png b/miniprogram/images/icon/shouye-386.png new file mode 100644 index 0000000..0bb82fa Binary files /dev/null and b/miniprogram/images/icon/shouye-386.png differ diff --git a/miniprogram/images/icon/shouye-3861.png b/miniprogram/images/icon/shouye-3861.png new file mode 100644 index 0000000..53023c1 Binary files /dev/null and b/miniprogram/images/icon/shouye-3861.png differ diff --git a/miniprogram/images/icon/wode.png b/miniprogram/images/icon/wode.png new file mode 100644 index 0000000..7679166 Binary files /dev/null and b/miniprogram/images/icon/wode.png differ diff --git a/miniprogram/images/icon/wode1.png b/miniprogram/images/icon/wode1.png new file mode 100644 index 0000000..ff80d99 Binary files /dev/null and b/miniprogram/images/icon/wode1.png differ diff --git a/miniprogram/images/icon/wodebaoxiu.png b/miniprogram/images/icon/wodebaoxiu.png new file mode 100644 index 0000000..8003ad0 Binary files /dev/null and b/miniprogram/images/icon/wodebaoxiu.png differ diff --git a/miniprogram/images/icon/wodebaoxiu1.png b/miniprogram/images/icon/wodebaoxiu1.png new file mode 100644 index 0000000..59e7017 Binary files /dev/null and b/miniprogram/images/icon/wodebaoxiu1.png differ diff --git a/miniprogram/images/login.webp b/miniprogram/images/login.webp new file mode 100644 index 0000000..505ed1b Binary files /dev/null and b/miniprogram/images/login.webp differ diff --git a/miniprogram/images/online.png b/miniprogram/images/online.png new file mode 100644 index 0000000..8645de9 Binary files /dev/null and b/miniprogram/images/online.png differ diff --git a/miniprogram/images/red.png b/miniprogram/images/red.png new file mode 100644 index 0000000..4e6221d Binary files /dev/null and b/miniprogram/images/red.png differ diff --git a/miniprogram/images/start.png b/miniprogram/images/start.png new file mode 100644 index 0000000..3868d2b Binary files /dev/null and b/miniprogram/images/start.png differ diff --git a/miniprogram/images/timg1.jpg b/miniprogram/images/timg1.jpg new file mode 100644 index 0000000..817408d Binary files /dev/null and b/miniprogram/images/timg1.jpg differ diff --git a/miniprogram/images/user-unlogin.jpg b/miniprogram/images/user-unlogin.jpg new file mode 100644 index 0000000..b1524a7 Binary files /dev/null and b/miniprogram/images/user-unlogin.jpg differ diff --git a/miniprogram/images/返回.png b/miniprogram/images/返回.png new file mode 100644 index 0000000..673d61f Binary files /dev/null and b/miniprogram/images/返回.png differ diff --git a/miniprogram/pages/applyType/applyType.js b/miniprogram/pages/applyType/applyType.js new file mode 100644 index 0000000..e8af6a5 --- /dev/null +++ b/miniprogram/pages/applyType/applyType.js @@ -0,0 +1,57 @@ +// miniprogram/pages/applyType/applyType.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + switch (options.name) { + case "项目入孵": + this.setData({ + title: options.name, + url: '/pages/applyType/settledIn/settledIn', + image: '/images/apply01.png', + content: '请提前准备好项目入孵申请所需资料,需准备拟注册公司、项目简介、产品简介等相关信息,有商业计划书的需提供商业计划书。' + }) + break + case "企业入驻": + this.setData({ + title: options.name, + url: '/pages/applyType/settledInApproval/settledInApproval', + image: '/images/apply03.png', + content: '请提前准备好进场申请所需资料,需准备法人身份证、营业执照副本、企业简介,并将相关材料上传,有商业计划书的需提交商业计划书' + }) + break + case "厂房申请": + this.setData({ + title: options.name, + url: '/pages/applyType/moveInApply/moveInApply', + image: '/images/apply02.png', + content: '申请厂房请提供公司发展规划、近两年的企业财务状况、员工人数及结构;近两年获得各级政府的项目情况;目前拥有产品/技术情况;近两年知识产权情况及所获认证及荣誉情况等相关资料 (这些是备注在注册/厂房申请“申请理由”处)建议以“上传附件”形式' + }) + } + wx.setNavigationBarTitle({ + title: options.name, + }) + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + navApplyForm() { + wx.navigateTo({ + url: this.data.url, + }) + } +}) \ No newline at end of file diff --git a/miniprogram/pages/applyType/applyType.json b/miniprogram/pages/applyType/applyType.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/miniprogram/pages/applyType/applyType.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/applyType.wxml b/miniprogram/pages/applyType/applyType.wxml new file mode 100644 index 0000000..2713ca8 --- /dev/null +++ b/miniprogram/pages/applyType/applyType.wxml @@ -0,0 +1,12 @@ + + + + + {{title}}注意事项 + {{content}} + + + + 我要申请 + + \ No newline at end of file diff --git a/miniprogram/pages/applyType/applyType.wxss b/miniprogram/pages/applyType/applyType.wxss new file mode 100644 index 0000000..757cd68 --- /dev/null +++ b/miniprogram/pages/applyType/applyType.wxss @@ -0,0 +1,10 @@ +.nextBox{ + width: 100%; + position: fixed; + bottom: 8%; +} +.next{ + width: 90% !important; + margin: auto; + font-size: 11pt; +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/moveInApply/moveInApply.js b/miniprogram/pages/applyType/moveInApply/moveInApply.js new file mode 100644 index 0000000..2097c1d --- /dev/null +++ b/miniprogram/pages/applyType/moveInApply/moveInApply.js @@ -0,0 +1,287 @@ +var app = getApp(); +var util = require("../../../utils/util.js"); +Page({ + + /** + * 页面的初始数据 + */ + data: { + sex: ['否', '是'], + sexindex: 1, + date: '请选择期望入驻时间', + type: 1, + addressList: ['公司迁入', '新设立公司', '子公司'], + addressIndex: 0, + typeList: ['注册地址迁入', '新公司注册'], + typeIndex: 0, + applyMoveInFileList: [], + list: { + promise: '申请人承诺,自《场地服务合同》变更、解除或终止之日起10日内,办结申请人及上述拟成立企业等关联关系单位的工商地址变更、迁出或注销手续。否则,因此产生的责任和后果由我方承担,且贵方有权追究我方违约责任。' + } + }, + + uploFile() { + var that = this; + if (that.data.applyMoveInFileList.length >= 9) return + wx.showActionSheet({ + itemList: ['上传图片', '打开微信聊天会话选择文件'], + success(res) { + if (res.tapIndex == 0) { + wx.chooseImage({ + count: 1, //能选择文件的数量 + success(res) { + that.upload(res.tempFiles) + } + }) + } else { + wx.chooseMessageFile({ + count: 1, //能选择文件的数量 + type: 'file', + success(res) { + that.upload(res.tempFiles) + } + }) + } + }, + fail(res) { + console.log(res.errMsg) + } + }) + }, + + upload(data) { + var that = this + var applyMoveInFileList = that.data.applyMoveInFileList + wx.showLoading({ + title: '上传中', + }) + wx.uploadFile({ + url: app.DOMAIN_NAME + '/dfs/upload?originalFilename=' + data[0].name, + header: { + 'Authorization': 'Bearer ' + app.Getopenid() + }, + filePath: data[0].path, + name: 'file', + success(res) { + var deta = JSON.parse(res.data) + if (deta.code == 401) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '身份已过期,需重登录', + success: res => { + wx.reLaunch({ + url: '/pages/login/login', + }) + } + }); + } else if (deta.code != 0) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '服务器开小差去了,请重试', + showCancel: false + }); + } else if (deta.code == 0) { + var first = deta.fileName.lastIndexOf("."); //取到文件名开始到最后一个点的长度 + var namelength = deta.fileName.length; //取到文件名长度 + var filesuffix = deta.fileName.substring(first + 1, namelength); //截取获得后缀名 + var type = '' + switch (filesuffix) { + case 'jpg' || 'png': + type = 'jpg' + break; + case 'xls' || 'xlsx': + type = 'xlsx' + break; + case 'doc' || 'docx' || 'dotx': + type = 'word' + break; + case 'ppt' || 'pptx': + type = 'ppt' + break; + default: + type = '未知文件' + break; + } + applyMoveInFileList.push({ + fileName: deta.originalFilename != "undefined" ? deta.originalFilename : deta.fileName, + filePath: deta.fileName, + fileSize: (data[0].size * 0.001).toFixed(2) + 'KB', + type + }) + that.setData({ + applyMoveInFileList + }) + wx.hideLoading() + } + } + }) + }, + + delFile(e) { + var index = e.currentTarget.dataset.index, + applyMoveInFileList = this.data.applyMoveInFileList + applyMoveInFileList.splice(index, 1) + this.setData({ + applyMoveInFileList + }) + }, + + // 与申请人关系 + addressRadio(e) { + this.setData({ + addressIndex: e.currentTarget.dataset.idx + }) + }, + + // 申请业务 + typeRadio: function (e) { + this.setData({ + typeIndex: e.currentTarget.dataset.idx + }) + }, + + // 期望入驻开始时间选择 + startDateChange(e) { + this.setData({ + startDate: e.detail.value + }) + }, + + // 期望入驻结束时间选择 + endDateChange(e) { + this.setData({ + endDate: e.detail.value + }) + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(e) { + var time = util.formatDate(new Date()) + this.setData({ + startDate: time, + endDate: time + }) + if (e.id) { + this.setData({ + id: e.id + }) + this.getList(e.id) + } + }, + + getList(e) { + var that = this + app.AjaxRequest('get', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/applyMoveIn/get/' + e, {}, function (res) { + if (res.code == 0) { + var applyMoveInFileList = res.data.applyMoveInFileList + applyMoveInFileList.forEach(item => { + var first = item.fileName.lastIndexOf("."); //取到文件名开始到最后一个点的长度 + var namelength = item.fileName.length; //取到文件名长度 + var filesuffix = item.fileName.substring(first + 1, namelength); //截取获得后缀名 + switch (filesuffix) { + case 'jpg' || 'png': + item.type = 'jpg' + break; + case 'xls' || 'xlsx': + item.type = 'xlsx' + break; + case 'doc' || 'docx' || 'dotx': + item.type = 'word' + break; + case 'ppt' || 'pptx': + item.type = 'ppt' + break; + default: + item.type = '未知文件' + break; + } + }) + that.setData({ + list: res.data, + applyMoveInFileList, + addressIndex: res.data.relation, + typeIndex: res.data.type, + startDate: res.data.rentStartTime, + endDate: res.data.rentEndTime + }) + } + }) + }, + + showToast(e) { + wx.showToast({ + title: e, + icon: 'none' + }) + }, + + fromsumb(e) { + var that = this, + regMobile = /^[1]([3-9])[0-9]{9}$/, + deta = e.detail.value + deta.type = that.data.typeIndex + deta.relation = that.data.addressIndex + deta.applyMoveInFileList = that.data.applyMoveInFileList + deta.rentStartTime = that.data.startDate + deta.rentEndTime = that.data.endDate + if (!deta.applyName) { + that.showToast('请输入申请企业名称') + return false + } + if (!deta.address) { + that.showToast('请输入承租地址') + return false + } + if (!deta.area) { + that.showToast('请输入租赁面积') + return false + } + if (!deta.userName) { + that.showToast('请输入联系人姓名') + return false + } + if (!deta.phone) { + that.showToast('请输入联系电话') + return false + } + if (!regMobile.test(deta.phone)) { + that.showToast('联系电话格式错误') + return false + } + if (!deta.contractNo) { + that.showToast('请输入场地服务合同编号') + return false + } + if (!deta.companyName) { + that.showToast('请输入拟成立/迁入企业名称') + return false + } + if (!deta.promise) { + that.showToast('请输入申请人承诺') + return false + } + app.AjaxRequest('POST', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/applyMoveIn/save', deta, function (res) { + if (res.code == 0) { + wx.showModal({ + title: '提示', + content: '已提交成功', + success(res) { + wx.reLaunch({ + url: '/pages/my/serviceApply/serviceApply', + }) + } + }) + } + }) + } +}) \ No newline at end of file diff --git a/miniprogram/pages/applyType/moveInApply/moveInApply.json b/miniprogram/pages/applyType/moveInApply/moveInApply.json new file mode 100644 index 0000000..1542143 --- /dev/null +++ b/miniprogram/pages/applyType/moveInApply/moveInApply.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "厂房申请" +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/moveInApply/moveInApply.wxml b/miniprogram/pages/applyType/moveInApply/moveInApply.wxml new file mode 100644 index 0000000..0fae43f --- /dev/null +++ b/miniprogram/pages/applyType/moveInApply/moveInApply.wxml @@ -0,0 +1,109 @@ + +
+ + + + 申请业务 + + + + {{item}} + + + + 申请企业名称* + + + + + 承租地址* + + + + + 租赁面积* + + + + + 联系人姓名* + + + + + 联系电话* + + + + + 场地服务合同编号* + + + + + 期望入驻时间* + + + {{startDate}} + + ~ + + {{endDate}} + + + + + + + 拟成立/迁入企业名称* + + + + + 迁入企业与申请企业关系 + + + {{item}} + + + + 上传附件 + + 请提交投资计划书或者商业计划书;法人代表证件照;公司营业执照等相关资料 + 上传({{applyMoveInFileList.length}}/9) + + + + + + + + {{item.fileName}} + + {{item.fileSize? item.fileSize:''}} + + + + + + + + + + + + 申请人承诺* + + + + + + + + +
+
\ No newline at end of file diff --git a/miniprogram/pages/applyType/moveInApply/moveInApply.wxss b/miniprogram/pages/applyType/moveInApply/moveInApply.wxss new file mode 100644 index 0000000..2e07994 --- /dev/null +++ b/miniprogram/pages/applyType/moveInApply/moveInApply.wxss @@ -0,0 +1,118 @@ +.page { + width: 100%; + height: 100%; + box-sizing: border-box; + position: relative; +} + +.wwBox { + width: 100%; + height: 100rpx; +} + +.ww { + width: 88% !important; + height: 100rpx; + font-size: 28rpx; + color: white; + text-align: center; + line-height: 100rpx !important; + background: #4C84FF; + position: absolute !important; + padding: 0 !important; + border-radius: 8rpx !important; + z-index: 5; + margin: 60rpx 6%; + margin-left: 6% !important; +} + +picker { + width: 45%; + height: 80rpx; + line-height: 80rpx; + padding-right: 10rpx; + padding-top: 4rpx; + /* border-bottom: 1rpx solid #EEEEEE; */ + display: inline-block; + text-align: center; +} + +.picker-txt { + font-size: 32rpx; +} + +.bshaw { + padding: 10rpx 40rpx; +} + +.fontW { + color: #000; + display: inline-block; + /* width: 400rpx; */ + line-height: 50rpx; +} + +.fontWs { + color: #000; + display: inline-block; + width: 90%; + line-height: 50rpx; + font-weight: 600; +} + +input { + width: 100%; + margin-top: -2rpx; + padding-right: 30rpx; + box-sizing: border-box; + font-size: 32rpx; + color: #393939; + border-bottom: 1rpx solid #EEEEEE; + height: 80rpx; + line-height: 80rpx; +} + +.inputbox { + font-size: 32rpx; + margin-bottom: 40rpx; + /* display: flex; */ + /* padding: 30rpx 0; */ +} + +.inputbox:nth-last-child(2) { + border: none; +} + +textarea { + height: 200rpx; + color: #393939; + font-size: 30rpx; +} + +.uploFile { + width: 140rpx; + margin-bottom: 30rpx; + padding: 20rpx 40rpx; + background: #F7F7F7; + margin-top: 10rpx; + color: #4C84FF; + border-radius: 50rpx; +} + +.del { + width: 46rpx; + height: 46rpx; + overflow: hidden; + position: absolute; + right: 34rpx; + top: 36%; +} + +.fileBox { + vertical-align: middle; + box-sizing: border-box; + padding: 20rpx 30rpx; + background: #F8F8F8; + margin-bottom: 10rpx; + position: relative; +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/settledIn/settledIn.js b/miniprogram/pages/applyType/settledIn/settledIn.js new file mode 100644 index 0000000..ca51799 --- /dev/null +++ b/miniprogram/pages/applyType/settledIn/settledIn.js @@ -0,0 +1,355 @@ +var app = getApp(); +var util = require("../../../utils/util.js"); +Page({ + + /** + * 页面的初始数据 + */ + data: { + sex: ['否', '是'], + sexindex: 1, + addressList: ['项目团队孵化', '成立新公司'], + addressIndex: 0, + radiolist: ['未注册', '已注册'], + currentIndex: 0, + isComplianceList: ['否', '是'], + isComplianceIndex: 1, + applyParkFileList: [] + }, + + uploFile() { + var that = this; + if (that.data.id) return + if (that.data.applyParkFileList.length >= 9) return + wx.showActionSheet({ + itemList: ['上传图片', '打开微信聊天会话选择文件'], + success(res) { + if (res.tapIndex == 0) { + wx.chooseImage({ + count: 1, //能选择文件的数量 + success(res) { + that.upload(res.tempFiles) + } + }) + } else { + wx.chooseMessageFile({ + count: 1, //能选择文件的数量 + type: 'file', + success(res) { + that.upload(res.tempFiles) + } + }) + } + }, + fail(res) { + console.log(res.errMsg) + } + }) + }, + + upload(data) { + console.log(data) + var that = this + var applyParkFileList = that.data.applyParkFileList + wx.showLoading({ + title: '上传中', + }) + wx.uploadFile({ + url: app.DOMAIN_NAME + '/dfs/upload?originalFilename=' + data[0].name, + header: { + 'Authorization': 'Bearer ' + app.Getopenid() + }, + filePath: data[0].path, + name: 'file', + success(res) { + var deta = JSON.parse(res.data) + if (deta.code == 401) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '身份已过期,需重登录', + success: res => { + wx.reLaunch({ + url: '/pages/login/login', + }) + } + }); + } else if (deta.code != 0) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '服务器开小差去了,请重试', + showCancel: false + }); + } else if (deta.code == 0) { + var first = deta.fileName.lastIndexOf("."); //取到文件名开始到最后一个点的长度 + var namelength = deta.fileName.length; //取到文件名长度 + var filesuffix = deta.fileName.substring(first + 1, namelength); //截取获得后缀名 + var type = '' + switch (filesuffix) { + case 'jpg' || 'png': + type = 'jpg' + break; + case 'xls' || 'xlsx': + type = 'xlsx' + break; + case 'doc' || 'docx' || 'dotx': + type = 'word' + break; + case 'ppt' || 'pptx': + type = 'ppt' + break; + default: + type = '未知文件' + break; + } + applyParkFileList.push({ + fileName: deta.originalFilename != "undefined" ? deta.originalFilename : deta.fileName, + filePath: deta.fileName, + fileSize: (data[0].size * 0.001).toFixed(2) + 'KB', + type + }) + that.setData({ + applyParkFileList + }) + wx.hideLoading() + } + }, + fail() { + wx.hideLoading() + } + }) + }, + + delFile(e) { + var index = e.currentTarget.dataset.index, + applyParkFileList = this.data.applyParkFileList + applyParkFileList.splice(index, 1) + this.setData({ + applyParkFileList + }) + }, + + // 项目入园方式 + addressRadio(e) { + this.setData({ + addressIndex: e.currentTarget.dataset.idx, + type: e.currentTarget.dataset.idx + }) + }, + + isComplianceClick(e) { + this.setData({ + isComplianceIndex: e.currentTarget.dataset.idx, + isCompliance: e.currentTarget.dataset.idx + }) + }, + + // 工商注册情况 + radioClick(e) { + this.setData({ + currentIndex: e.currentTarget.dataset.idx, + isRegister: e.currentTarget.dataset.idx + }) + }, + + // 期望入驻开始时间选择 + startDateChange(e) { + this.setData({ + startDate: e.detail.value + }) + }, + + // 期望入驻结束时间选择 + endDateChange(e) { + this.setData({ + endDate: e.detail.value + }) + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(e) { + var time = util.formatDate(new Date()) + this.setData({ + id: e.id, + time, + startDate: time, + endDate: time + }) + if (e.id) { + this.getList(e.id) + } + }, + + showToast(e) { + wx.showToast({ + title: e, + icon: 'none' + }) + }, + + getList(e) { + var that = this + app.AjaxRequest('get', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/applyPark/get/' + e, {}, function (res) { + if (res.code == 0) { + var applyParkFileList = res.data.applyParkFileList + applyParkFileList.forEach(item => { + var first = item.fileName.lastIndexOf("."); //取到文件名开始到最后一个点的长度 + var namelength = item.fileName.length; //取到文件名长度 + var filesuffix = item.fileName.substring(first + 1, namelength); //截取获得后缀名 + switch (filesuffix) { + case 'jpg' || 'png': + item.type = 'jpg' + break; + case 'xls' || 'xlsx': + item.type = 'xlsx' + break; + case 'doc' || 'docx' || 'dotx': + item.type = 'word' + break; + case 'ppt' || 'pptx': + item.type = 'ppt' + break; + default: + item.type = '未知文件' + break; + } + }) + that.setData({ + list: res.data, + applyParkFileList, + startDate: res.data.startDate, + endDate: res.data.endDate, + isComplianceIndex: res.data.isCompliance, + addressIndex: res.data.type, + currentIndex: res.data.isRegister + }) + } + }) + }, + + fromsumb(e) { + var that = this, + regMobile = /^[1]([3-9])[0-9]{9}$/, + deta = e.detail.value + deta.isCompliance = that.data.isComplianceIndex + deta.type = that.data.addressIndex + deta.isRegister = that.data.currentIndex + deta.applyParkFileList = that.data.applyParkFileList + deta.startDate = that.data.startDate + deta.endDate = that.data.endDate + console.log(deta) + if (!deta.name) { + that.showToast('请输入拟入孵项目名称') + return false + } + if (!deta.operName) { + that.showToast('请输入拟定公司法人代表') + return false + } + if (!deta.registCapi) { + that.showToast('请输入拟定注册资本') + return false + } + /* + if (!deta.econKind) { + that.showToast('请输入企业性质') + return false + } + if (!deta.nation) { + that.showToast('请输入国家') + return false + } + */ + if (!deta.userName) { + that.showToast('请输入联系人姓名') + return false + } + if (!deta.position) { + that.showToast('请输入联系人职务') + return false + } + if (!deta.phone) { + that.showToast('请输入联系电话') + return false + } + if (!regMobile.test(deta.phone)) { + that.showToast('联系电话格式错误') + return false + } + /* + if (!deta.qq) { + that.showToast('请输入qq') + return false + } + */ + if (!deta.email) { + that.showToast('请输入邮箱') + return false + } + /* + if (!deta.site) { + that.showToast('请输入网址') + return false + } + if (!deta.persons) { + that.showToast('请输入公司人数') + return false + } + */ + if (!deta.preYearValue) { + that.showToast('请输入预估年产值') + return false + } + if (that.data.date == '请选择期望入驻时间') { + wx.showToast({ + title: '请选择期望入驻时间', + icon: 'none' + }) + return false + } + if (!deta.applyArea) { + that.showToast('请输入申请办公面积') + return false + } + if (!deta.profile) { + that.showToast('请输入项目简介') + return false + } + if (!deta.scope) { + that.showToast('请输入主营产品') + return false + } + if (!deta.advantage) { + that.showToast('请输入产品/企业优势') + return false + } + if (!deta.reason) { + that.showToast('请输入入驻原因') + return false + } + app.AjaxRequest('POST', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/applyPark/save', deta, function (res) { + if (res.code == 0) { + wx.showModal({ + title: '提示', + content: '已提交成功', + success(res) { + if (res.confirm) { + wx.reLaunch({ + url: '/pages/my/serviceApply/serviceApply', + }) + } + } + }) + } + }) + } +}) \ No newline at end of file diff --git a/miniprogram/pages/applyType/settledIn/settledIn.json b/miniprogram/pages/applyType/settledIn/settledIn.json new file mode 100644 index 0000000..d1ccb24 --- /dev/null +++ b/miniprogram/pages/applyType/settledIn/settledIn.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "项目入孵申请" +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/settledIn/settledIn.wxml b/miniprogram/pages/applyType/settledIn/settledIn.wxml new file mode 100644 index 0000000..f841b92 --- /dev/null +++ b/miniprogram/pages/applyType/settledIn/settledIn.wxml @@ -0,0 +1,177 @@ + + +
+ + + + 拟入孵项目名称* + + + + 项目入园方式 + + + {{item}} + + + + 工商注册情况* + + + {{item}} + + + + + + + 拟定公司法人代表* + + + + 注册资本(万元)* + + + + + 联系人姓名* + + + + 联系人职务* + + + + 联系电话* + + + + + 邮箱* + + + + + 是否有商业计划书* + + + + {{item}} + + + 预估年产值(万元)* + + + + 期望入驻时间* + + + {{startDate}} + + ~ + + {{endDate}} + + + + + + 申请办公面积(㎡)* + + + + + + + 项目简介* + + + + + + + + 主营产品* + + + + + + + + 产品/企业优势* + + + + + + + 入驻原因(没有请写无)* + + + + + + + 备注 + + + + + + + 资料上传 + 可上传内容:商业计划书、产品图片、营业执照副本等相关资料,格式不限 + 上传({{applyParkFileList.length}}/9) + + + + + + + + {{item.fileName}} + + {{item.fileSize? item.fileSize:'..'}} + + + + + + + + + + + +
+
+
\ No newline at end of file diff --git a/miniprogram/pages/applyType/settledIn/settledIn.wxss b/miniprogram/pages/applyType/settledIn/settledIn.wxss new file mode 100644 index 0000000..283f40d --- /dev/null +++ b/miniprogram/pages/applyType/settledIn/settledIn.wxss @@ -0,0 +1,120 @@ +.page { + width: 100%; + height: 100%; +} + +.page-section{ + margin-bottom: 40rpx +} + +.wwBox { + width: 100%; + height: 100rpx; +} + +.ww { + width: 88% !important; + height: 100rpx; + font-size: 28rpx; + color: white; + text-align: center; + line-height: 100rpx !important; + background: #4C84FF; + padding: 0 !important; + border-radius: 8rpx !important; + z-index: 5; + margin: 60rpx 6%; + margin-left: 6% !important; +} + +picker { + width: 45%; + height: 80rpx; + line-height: 80rpx; + padding-right: 10rpx; + padding-top: 4rpx; + /* border-bottom: 1rpx solid #EEEEEE; */ + display: inline-block; + text-align: center; +} + +.picker-txt { + font-size: 32rpx; +} + +.bshaw { + padding: 10rpx 40rpx; +} + +.fontW { + color: #000; + display: inline-block; + /* width: 400rpx; */ + line-height: 50rpx; +} + +.fontWs { + color: #000; + display: inline-block; + width: 90%; + line-height: 50rpx; + font-weight: 600; +} + +input { + width: 100%; + margin-top: -2rpx; + padding-right: 30rpx; + box-sizing: border-box; + font-size: 32rpx; + color: #393939; + border-bottom: 1rpx solid #EEEEEE; + height: 80rpx; + line-height: 80rpx; +} + +.inputbox { + font-size: 32rpx; + margin-bottom: 40rpx; + overflow: hidden; + /* display: flex; */ + /* padding: 30rpx 0; */ +} + +.inputbox:nth-last-child(2) { + border: none; +} + +textarea { + height: 200rpx; + color: #393939; + font-size: 30rpx; +} + +.uploFile { + width: 140rpx; + margin-bottom: 30rpx; + padding: 20rpx 40rpx; + background: #F7F7F7; + margin-top: 10rpx; + color: #4C84FF; + border-radius: 50rpx; +} + +.del { + width: 46rpx; + height: 46rpx; + overflow: hidden; + position: absolute; + right: 34rpx; + top: 36%; +} + +.fileBox { + vertical-align: middle; + box-sizing: border-box; + padding: 20rpx 30rpx; + background: #F8F8F8; + margin-bottom: 10rpx; + position: relative; +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/settledInApproval/settledInApproval.js b/miniprogram/pages/applyType/settledInApproval/settledInApproval.js new file mode 100644 index 0000000..eb6e25a --- /dev/null +++ b/miniprogram/pages/applyType/settledInApproval/settledInApproval.js @@ -0,0 +1,271 @@ +var app = getApp(); +var util = require("../../../utils/util.js"); +Page({ + + /** + * 页面的初始数据 + */ + data: { + sex: ['否', '是'], + sexindex: 1, + date: '请选择申请入驻时间', + type: 1, + addressList: ['公司搬迁至园区', '在园区开设分公司', '成立新公司', '其它'], + addressIndex: 0, + radiolist: ['未注册', '已注册'], + currentIndex: 0, + applySettleFileList: [] + }, + + uploFile() { + var that = this + if (that.data.id) return + if (that.data.applySettleFileList.length >= 9) return + wx.showActionSheet({ + itemList: ['上传图片', '打开微信聊天会话选择文件'], + success(res) { + if (res.tapIndex == 0) { + wx.chooseImage({ + count: 1, //能选择文件的数量 + success(res) { + that.upload(res.tempFiles) + } + }) + } else { + wx.chooseMessageFile({ + count: 1, //能选择文件的数量 + type: 'file', + success(res) { + that.upload(res.tempFiles) + } + }) + } + }, + fail(res) { + console.log(res.errMsg) + } + }) + }, + + upload(data) { + var that = this + var applySettleFileList = that.data.applySettleFileList + wx.showLoading({ + title: '上传中', + }) + wx.uploadFile({ + url: app.DOMAIN_NAME + '/dfs/upload?originalFilename=' + data[0].name, + header: { + 'Authorization': 'Bearer ' + app.Getopenid() + }, + filePath: data[0].path, + name: 'file', + success(res) { + var deta = JSON.parse(res.data) + if (deta.code == 401) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '身份已过期,需重登录', + success: res => { + wx.reLaunch({ + url: '/pages/login/login', + }) + } + }); + } else if (deta.code != 0) { + wx.hideLoading() + wx.showModal({ + confirmText: '好的', + content: deta.msg || '服务器开小差去了,请重试', + showCancel: false + }); + } else if (deta.code == 0) { + var first = deta.fileName.lastIndexOf("."); //取到文件名开始到最后一个点的长度 + var namelength = deta.fileName.length; //取到文件名长度 + var filesuffix = deta.fileName.substring(first + 1, namelength); //截取获得后缀名 + var type = '' + switch (filesuffix) { + case 'jpg' || 'png': + type = 'jpg' + break; + case 'xls' || 'xlsx': + type = 'xlsx' + break; + case 'doc' || 'docx' || 'dotx': + type = 'word' + break; + case 'ppt' || 'pptx': + type = 'ppt' + break; + default: + type = '未知文件' + break; + } + applySettleFileList.push({ + fileName: deta.originalFilename != "undefined" ? deta.originalFilename : deta.fileName, + filePath: deta.fileName, + fileSize: (data[0].size * 0.001).toFixed(2) + 'KB', + type + }) + that.setData({ + applySettleFileList + }) + wx.hideLoading() + } + } + }) + }, + + delFile(e) { + var index = e.currentTarget.dataset.index, + applySettleFileList = this.data.applySettleFileList + applySettleFileList.splice(index, 1) + this.setData({ + applySettleFileList + }) + }, + + // 企业入园方式 + addressRadio(e) { + this.setData({ + addressIndex: e.currentTarget.dataset.idx, + address: e.currentTarget.dataset.idx + }) + }, + + // 申请入驻时间选择 + bindDateChange(e) { + var time = new Date(e.detail.value).getTime(); + console.log(e.detail.value) + this.setData({ + date: e.detail.value, + timec: time + }) + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(e) { + var time = util.formatDate(new Date()) + this.setData({ + date: time + }) + if (e.id) { + this.setData({ + id: e.id + }) + this.getList(e.id) + } + }, + + getList(e) { + var that = this + app.AjaxRequest('get', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/settle/get/' + e, {}, function (res) { + if (res.code == 0) { + var applySettleFileList = res.data.applySettleFileList + applySettleFileList.forEach(item => { + var first = item.fileName.lastIndexOf("."); //取到文件名开始到最后一个点的长度 + var namelength = item.fileName.length; //取到文件名长度 + var filesuffix = item.fileName.substring(first + 1, namelength); //截取获得后缀名 + switch (filesuffix) { + case 'jpg' || 'png': + item.type = 'jpg' + break; + case 'xls' || 'xlsx': + item.type = 'xlsx' + break; + case 'doc' || 'docx' || 'dotx': + item.type = 'word' + break; + case 'ppt' || 'pptx': + item.type = 'ppt' + break; + default: + item.type = '未知文件' + break; + } + }) + that.setData({ + list: res.data, + applySettleFileList, + date: res.data.startTime, + isComplianceIndex: res.data.isCompliance, + addressIndex: res.data.type + }) + } + }) + }, + + showToast(e) { + wx.showToast({ + title: e, + icon: 'none' + }) + }, + + fromsumb(e) { + var that = this, + regMobile = /^[1]([3-9])[0-9]{9}$/, + deta = e.detail.value + deta.isCompliance = that.data.isComplianceIndex + deta.type = that.data.addressIndex + deta.applyParkFileList = that.data.applyParkFileList + deta.startTime = that.data.date + deta.applySettleFileList = that.data.applySettleFileList + if (!deta.userName) { + that.showToast('请输入联系人姓名') + return false + } + if (!deta.name) { + that.showToast('请输入入驻企业名称') + return false + } + if (!deta.operName) { + that.showToast('请输入法人代表') + return false + } + if (!deta.needArea) { + that.showToast('请输入所需办公面积') + return false + } + if (!deta.persons) { + that.showToast('请输入首批入驻人数') + return false + } + if (!deta.phone) { + that.showToast('请输入联系电话') + return false + } + if (!regMobile.test(deta.phone)) { + that.showToast('联系电话格式错误') + return false + } + if (!deta.email) { + that.showToast('请输入邮箱') + return false + } + app.AjaxRequest('POST', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/settle/save', deta, function (res) { + if (res.code == 0) { + wx.showModal({ + title: '提示', + content: '已提交成功', + success(res) { + if (res.confirm) { + wx.reLaunch({ + url: '/pages/my/serviceApply/serviceApply', + }) + } + } + }) + } + }) + } +}) \ No newline at end of file diff --git a/miniprogram/pages/applyType/settledInApproval/settledInApproval.json b/miniprogram/pages/applyType/settledInApproval/settledInApproval.json new file mode 100644 index 0000000..ba6f3cb --- /dev/null +++ b/miniprogram/pages/applyType/settledInApproval/settledInApproval.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "企业入驻" +} \ No newline at end of file diff --git a/miniprogram/pages/applyType/settledInApproval/settledInApproval.wxml b/miniprogram/pages/applyType/settledInApproval/settledInApproval.wxml new file mode 100644 index 0000000..c7fe4f4 --- /dev/null +++ b/miniprogram/pages/applyType/settledInApproval/settledInApproval.wxml @@ -0,0 +1,83 @@ + +
+ + + 企业名称* + + + + 企业入园方式 + + + + + {{item}} + + + + + + + 法人代表* + + + + 所需办公面积(m²)* + + + + 首批入驻人数(人)* + + + + 申请入驻时间* + + {{date}} + + + + + 联系人姓名* + + + + 联系电话* + + + + 邮箱* + + + + 资料上传 + 可上传内容:企业简介、个人简介、营业执照副本等相关资料,格式不限 + 上传({{applySettleFileList.length}}/9) + + + + + + + + {{item.fileName}} + + {{item.fileSize? item.fileSize:''}} + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/miniprogram/pages/applyType/settledInApproval/settledInApproval.wxss b/miniprogram/pages/applyType/settledInApproval/settledInApproval.wxss new file mode 100644 index 0000000..c67fde5 --- /dev/null +++ b/miniprogram/pages/applyType/settledInApproval/settledInApproval.wxss @@ -0,0 +1,116 @@ +.page { + width: 100%; + height: 100%; + box-sizing: border-box; + position: relative; +} + +.wwBox { + width: 100%; + height: 100rpx; +} + +.ww { + width: 88% !important; + height: 100rpx; + font-size: 28rpx; + color: white; + text-align: center; + line-height: 100rpx !important; + background: #4C84FF; + position: absolute !important; + padding: 0 !important; + border-radius: 8rpx !important; + z-index: 5; + margin: 60rpx 6%; + margin-left: 6% !important; +} + +picker { + width: 100%; + height: 80rpx; + line-height: 80rpx; + padding-right: 10rpx; + padding-top: 4rpx; + border-bottom: 1rpx solid #EEEEEE; +} + +.picker-txt { + font-size: 32rpx; +} + +.bshaw { + padding: 10rpx 40rpx; +} + +.fontW { + color: #000; + display: inline-block; + /* width: 400rpx; */ + line-height: 50rpx; +} + +.fontWs { + color: #000; + display: inline-block; + width: 90%; + line-height: 50rpx; + font-weight: 600; +} + +input { + width: 100%; + margin-top: -2rpx; + padding-right: 30rpx; + box-sizing: border-box; + font-size: 32rpx; + color: #393939; + border-bottom: 1rpx solid #EEEEEE; + height: 80rpx; + line-height: 80rpx; +} + +.inputbox { + font-size: 32rpx; + margin-bottom: 40rpx; + /* display: flex; */ + /* padding: 30rpx 0; */ +} + +.inputbox:nth-last-child(2) { + border: none; +} + +textarea { + height: 200rpx; + color: #393939; + font-size: 30rpx; +} + +.uploFile { + width: 140rpx; + margin-bottom: 30rpx; + padding: 20rpx 40rpx; + background: #F7F7F7; + margin-top: 10rpx; + color: #4C84FF; + border-radius: 50rpx; +} + +.del { + width: 46rpx; + height: 46rpx; + overflow: hidden; + position: absolute; + right: 34rpx; + top: 36%; +} + +.fileBox { + vertical-align: middle; + box-sizing: border-box; + padding: 20rpx 30rpx; + background: #F8F8F8; + margin-bottom: 10rpx; + position: relative; +} \ No newline at end of file diff --git a/miniprogram/pages/community/community.js b/miniprogram/pages/community/community.js new file mode 100644 index 0000000..566eb07 --- /dev/null +++ b/miniprogram/pages/community/community.js @@ -0,0 +1,61 @@ +var app = getApp() +Page({ + data: { + type: 1, + currentTab: 0, + labelList: [ + '休闲', + '免费' + ], + homelist: [], + IMG_NAME: app.IMG_NAME + }, + onShow(e) { + let that = this + // wx.setStorageSync('token', '535e73059d2f4301b78d05326e1a55d8') + app.AjaxRequest('get', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/activity/list', {}, + function (res) { + if (res.code == 0) { + for (var i in res.rows) { + let day = res.rows[i].actBegin.slice(5, 7) + '月' + res.rows[i].actBegin.slice(8, 10) + '日' + res.rows[i].day = day + } + that.setData({ + homelist: res.rows + }) + } + }) + }, + //滑动切换 + swiperTab: function (e) { + var that = this + that.setData({ + currentTab: e.detail.current + }) + }, + //点击切换 + clickTab: function (e) { + var that = this + if (this.data.currentTab === e.target.dataset.current) { + return false + } else { + that.setData({ + currentTab: e.target.dataset.current + }) + } + }, + navDetail(e) { + let that = this + let index = e.currentTarget.dataset.index + if (wx.getStorageSync('token')) { + wx.navigateTo({ + url: '/pages/community/eventDetails/eventDetails?id=' + that.data.homelist[index].id + }) + } else { + app.getlogin() + } + } +}) \ No newline at end of file diff --git a/miniprogram/pages/community/community.json b/miniprogram/pages/community/community.json new file mode 100644 index 0000000..24d1b65 --- /dev/null +++ b/miniprogram/pages/community/community.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "活动" +} \ No newline at end of file diff --git a/miniprogram/pages/community/community.wxml b/miniprogram/pages/community/community.wxml new file mode 100644 index 0000000..d7aed0c --- /dev/null +++ b/miniprogram/pages/community/community.wxml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + {{item.name}} + + {{item.actBegin }} + {{item.location}} + + + + +暂无活动数据 \ No newline at end of file diff --git a/miniprogram/pages/community/community.wxss b/miniprogram/pages/community/community.wxss new file mode 100644 index 0000000..be267de --- /dev/null +++ b/miniprogram/pages/community/community.wxss @@ -0,0 +1,107 @@ +swiper { + height: 100%; +} + +.boxs { + background: white; + border-radius: 24rpx; + overflow: hidden; + margin: 20rpx 0; + position: relative; +} + +.swiper-tab { + width: 100%; + /* border-bottom: 1rpx solid #ccc; */ + text-align: center; + height: 8%; + line-height: 88rpx; + font-weight: bold; + display: flex; + background-color: white; + font-size: 11pt; +} + +.swiper-tab-item { + display: inline-block; + flex: 1; + color: #A3A3A3; +} + +.active { + color: black; +} + +.btn { + position: absolute; + top: 10%; + right: 30rpx; + color: white; + background: #ffa200; + padding: 0 40rpx; + height: 62rpx; + border-radius: 31rpx; + text-align: center; + line-height: 62rpx; +} + +.detailbox { + padding: 26rpx 26rpx; + line-height: 40rpx; +} + +.labelInProgress { + border: 1rpx solid #B52F2E; + font-size: 20rpx; + padding: 4rpx 10rpx; + border-radius: 50rpx; + color: #B52F2E; + margin-right: 12rpx; +} + +.label { + color: white; + position: absolute; + right: 0; + font-size: 20rpx; + padding: 4rpx 16rpx; + border-radius:0 24rpx 0 24rpx; +} + +.labelIn{ + background-color: #2384E8; +} + +.labelFull{ + background-color: #BBC2C9; +} + +.labelInFull { + border: 1rpx solid black; + font-size: 20rpx; + padding: 4rpx 10rpx; + border-radius: 50rpx; + color: black; + margin-right: 12rpx; +} + +.labelBox { + font-size: 20rpx; + padding: 4rpx 10rpx; + border-radius: 50rpx; + background-color: #A9A9A9; + color: white; + margin-right: 12rpx; +} + +.dayTime { + width: 90rpx; + height: 90rpx; + border: 1rpx solid; + border-radius: 50%; + text-align: center; + padding: 0 2%; + box-sizing: border-box; + position: absolute; + left: 14rpx; +} \ No newline at end of file diff --git a/miniprogram/pages/community/eventDetails/eventDetails.js b/miniprogram/pages/community/eventDetails/eventDetails.js new file mode 100644 index 0000000..86f8075 --- /dev/null +++ b/miniprogram/pages/community/eventDetails/eventDetails.js @@ -0,0 +1,58 @@ +var WxParse = require('../../../wxParse/wxParse.js') +let app = getApp() +Page({ + + /** + * 页面的初始数据 + */ + data: { + IMG_NAME: app.IMG_NAME + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + let that = this + that.setData({ + id: options.id + }) + }, + onShow() { + if (this.data.id) { + this.getList() + } + }, + getList() { + let that = this + app.AjaxRequest('GET', { + 'content-type': 'application/json', + 'Authorization': 'Bearer ' + app.Getopenid() + }, '/activity/signDetail', { + id: that.data.id, + }, + function (res) { + if (res.code == 0) { + that.setData({ + actBegin: res.data.actBegin.substring(0, res.data.actBegin.length - 3), + actEnd: res.data.actEnd.substring(0, res.data.actEnd.length - 3), + datas: res.data + }) + if (res.data.content) { + var article = res.data.content + WxParse.wxParse('article', 'html', article, that) + } + } + }) + }, + phoneCall() { + wx.makePhoneCall({ + phoneNumber: JSON.stringify(this.data.datas.contract) + }) + }, + regist() { + wx.navigateTo({ + url: '../registration/registration?actId=' + this.data.datas.id, + }) + } +}) \ No newline at end of file diff --git a/miniprogram/pages/community/eventDetails/eventDetails.json b/miniprogram/pages/community/eventDetails/eventDetails.json new file mode 100644 index 0000000..facafdc --- /dev/null +++ b/miniprogram/pages/community/eventDetails/eventDetails.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "活动详情" +} \ No newline at end of file diff --git a/miniprogram/pages/community/eventDetails/eventDetails.wxml b/miniprogram/pages/community/eventDetails/eventDetails.wxml new file mode 100644 index 0000000..ecd578f --- /dev/null +++ b/miniprogram/pages/community/eventDetails/eventDetails.wxml @@ -0,0 +1,74 @@ + + + + + + {{datas.name}} + + + + + + + + + + 活动时间: + {{actBegin}} 至 + {{actEnd}} + + + 活动地点: + {{datas.location}} + + + 收费方式: + {{datas.price==0? '免费' : '¥'+datas.price}} + 线下支付 + + + 联系电话: + {{datas.contract}} + + + + + + 活动详情 + +