common/config.js
@@ -3,14 +3,14 @@ hasHead: true, authCallBackUrl: 'https://wxbank.hnnx.com/mer/payOut/getAuthCode.do?authCallBackUrl=', webURL: 'https://jmy.jinmingyuan.com/ecosphere-user', serverTempl:"http://172.16.60.135:8089", serverTempl:"http://172.16.60.172:8086", socketTempl:"wss://yqzx.jinmingyuan.com/wsPerCode", h5Temp:"https://yqzx.jinmingyuan.com/ecosphere-h5", serverUrl: 'http://172.16.60.135:8089', h5Url: 'http://172.16.60.135:8089/service-merchant', serverUrl: 'http://172.16.60.172:8086', h5Url: 'http://172.16.60.172:8086/service-merchant', ftpUrl: 'https://yqzx.jinmingyuan.com/file', // ftpUrl: 'https://echftp.jinmingyuan.com', baseUrl: 'http://172.16.60.135:8089', baseUrl: 'http://172.16.60.172:8086', wx_appid: 'wxad8cc511da676bd4', ali_appid: '2021003199690698' } manifest.json
@@ -1,7 +1,7 @@ { "name" : "沈丘惠企执法", "appid" : "__UNI__0113FBA", "description" : "沈丘惠企执法", "name" : "惠企执法", "appid" : "__UNI__B034821", "description" : "惠企执法", "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { "appid" : "wxc5a78cfe753cf80d", "appid" : "wxc2cafc8362d40157", "setting" : { "urlCheck" : false, "minified" : true pages.json
@@ -74,6 +74,13 @@ { "navigationBarTitleText" : "来访人员登记" } }, { "path" : "pages/index/home", "style" : { "navigationBarTitleText" : "" } } ], "subPackages": [ pages/companyLogin/companyLogin.vue
@@ -38,7 +38,7 @@ </view> <view class="form-input set-flex set-flex-content-between"> <input type="number" v-model="form.code" placeholder="请输入验证码"/> <view @click="getCode"> <view > <text class="driver"></text> <text class="getcode">{{tips}}</text> </view> @@ -70,7 +70,7 @@ tips: '获取验证码', form: { phone: '', code: '', code: '666666', userType: '01' }, loginToken: '', @@ -152,13 +152,13 @@ }) return } if(!this.form.code){ uni.showToast({ title: '请输入验证码', icon: 'none' }) return } // if(!this.form.code){ // uni.showToast({ // title: '请输入验证码', // icon: 'none' // }) // return // } codeLogin(this.form).then(val => { if(val.data.token) { this.loginToken = val.data.token @@ -290,7 +290,7 @@ background: #F0F8FF; } } /deep/ .u-radio { ::v-deep .u-radio { margin-bottom: 20rpx; } </style> pages/index/home.vue
New file @@ -0,0 +1,335 @@ <template> <view> <img src="/static/head.png" class="head" alt="" /> <view class="hqzc" @click="more1()"> <img src="/static/hqzc.png" class="img" alt="" /> <view class="line"></view> <view class="font"> <p v-for="(item,index) in list1" :key="index" class="u-line-1">{{item.docTitle}}</p> <!-- <p>海关总署贸易持续发展2024年立法...</p> <p>国家医疗保障局办公室关于发布管理... </p> --> </view> <img src="/static/i06.png" class="more" alt="" style="width: 46rpx;height: 46rpx;"/> </view> <view class="btnbox"> <image mode="widthFix" src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/> <image mode="widthFix" src="/static/i02.png" class="more" alt="" @click="goMyCompany('02')"/> <image mode="widthFix" src="/static/i03.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/> <image mode="widthFix" src="/static/i04.png" class="more" alt="" @click="goMyCompany('00')"/> <!-- <u-button @click="goMyCompany('01')">我是执法人员</u-button> <u-button @click="goMyCompany('02')">我是企业</u-button> <u-button @click="goMyCompany('00')">运营管理</u-button> --> </view> <view class="login-news" @click="goLogin"> <image src="/static/index-1.png" mode="widthFix" @click="goLogin"></image> </view> <view class="msgbox"> <view class="tit"> <view class="t"> 信息公示 </view> <view class="m" @click="more2()"> 查更多> </view> </view> <view class="item" v-for="(item,index) in list2"> <img src="/static/i05.png" class="img" alt="" /> <view class="right"> <view class="name"> {{item.companyName}} </view> <view class="box"> <view class="l"> <p>执法单位:{{item.executeDeptName}}</p> <p>执法时间:{{item.executeTime}}</p> </view> <view class="r" @click="kankna(item.orderId)"> 去查看 </view> </view> </view> </view> <!-- <view class="item"> <img src="/static/i05.png" class="img" alt="" /> <view class="right"> <view class="name"> 北京斯诚科技发展有限公司 </view> <view class="box"> <view class="l"> <p>执法单位:农业农村局</p> <p>执法时间:2024-06-03 12:30:67</p> </view> <view class="r"> 去查看 </view> </view> </view> </view> <view class="item"> <img src="/static/i05.png" class="img" alt="" /> <view class="right"> <view class="name"> 北京华星擘达物业管理有限公司 </view> <view class="box"> <view class="l"> <p>执法单位:农业农村局</p> <p>执法时间:2024-06-03 12:30:67</p> </view> <view class="r"> 去查看 </view> </view> </view> </view> <view class="item"> <img src="/static/i05.png" class="img" alt="" /> <view class="right"> <view class="name"> 布雷曼管理咨询(北京)有限公司 </view> <view class="box"> <view class="l"> <p>执法单位:农业农村局</p> <p>执法时间:2024-06-03 12:30:67</p> </view> <view class="r"> 去查看 </view> </view> </view> </view> <view class="item"> <img src="/static/i05.png" class="img" alt="" /> <view class="right"> <view class="name"> 北京元大投资有限公司 </view> <view class="box"> <view class="l"> <p>执法单位:农业农村局</p> <p>执法时间:2024-06-03 12:30:67</p> </view> <view class="r"> 去查看 </view> </view> </view> </view> --> </view> <view style="height: 30rpx;"></view> </view> </template> <script> import { docList,showList } from '@/api/index.js' // 00营商办,01执法,02企业 区分不同的登陆页面 export default { onLoad() { }, onShow() { this.getInfo() const value = uni.getStorageSync("userInfo") const sessionToken = uni.getStorageSync('sessionToken') if(sessionToken && value && value.userType) { const qiyeData = uni.getStorageSync('qiyedata') if(value.userType == '02') { uni.reLaunch({ url:`/qiye/qiyeIndex/qiyeIndex?id=${qiyeData.deptId}` }) } else if(value.userType == '01'){ uni.reLaunch({ url:`/policy/policyIndex/policyIndex` }) } else { uni.reLaunch({ url:`/policy/policyIndex/policyIndex` }) } } }, data() { return { list1:[], list2:[], } }, methods: { kankna(id){ uni.navigateTo({ url: `/pages/message/details?id=${id}` }) }, more1(){ uni.navigateTo({ url: `/pages/hqzc/list` }) }, more2(){ uni.navigateTo({ url: `/pages/message/list` }) }, getInfo() { docList({pageNum:1,pageSize:2}).then(val =>{ let data = val.data.rows for(let i = 0;i<data.length;i++){ if(data[i].docTitle.length>17){ data[i].docTitle = data[i].docTitle.slice(0, 17) + '...' } } this.list1 = data }) showList({pageNum:1,pageSize:10}).then(val =>{ //console.log(val.data.rows) this.list2 = val.data.rows }) }, goMyCompany(item) { uni.navigateTo({ url: `/pages/companyLogin/companyLogin?code=${item}` }) }, goLogin() { uni.scanCode({ success: (val) =>{ uni.navigateTo({ url: `/pages/visitiorRegis/visitiorRegis?value=${val.result}` }) } }) } } }; </script> <style> page{ background: #F7F7F7; } </style> <style lang="scss" scoped> .hqzc{ position: absolute; border-radius: 5px; background: #fff; display: flex; width: calc(100vw - 64rpx); align-items: center; left: 32rpx; top: 500rpx; padding: 24rpx; box-sizing: border-box; .line{ width: 2rpx; height: 50rpx; background: #f1f1f1; margin-right: 18rpx; } .img{ width: 76rpx; height: 76rpx; margin-right: 18rpx; } .more{ width: 28rpx; height: 28rpx; } .font{ font-size: 26rpx; color: #4A4E60; margin-right: 50rpx; width: 450rpx; // text-align: center; text-align: left; } } .btnbox{ margin-top: 110rpx; margin-left: 32rpx; margin-right: 32rpx; image{ width: 334rpx; height: 208rpx; } } .msgbox{ background: #fff; border-radius: 5px; padding: 24rpx; box-sizing: border-box; margin: 20rpx 32rpx; .tit{ display: flex; justify-content: space-between; .t{ color: #202d44; font-size: 36rpx; font-weight: bolder; } .m{ color: #7e8596; font-size: 24rpx; } } .item{ display: flex; margin-top: 26rpx; border-bottom: 1px solid #F1F1F1; padding-bottom: 26rpx; .img{ width: 56rpx; height: 56rpx; } .right{ width: 90%; .name{ color: #202d44; font-size: 32rpx; line-height: 44rpx; margin-bottom: 24rpx; } .box{ display: flex; justify-content: space-between; .l{ font-size: 26rpx; color: #7e8593; max-width: 80%; } .r{ width: 132rpx; height: 64rpx; line-height: 64rpx; border-radius: 5px; border: 1px solid #ABD2FF; background: #F0F8FF; color: #1171e0; text-align: center; font-size: 30rpx; } } } } .item:last-child{ border: none; padding-bottom: 0; } } .head{ width: 100%; height: 518rpx; } .login-news{ margin: 20rpx 32rpx; image{ width: 100%; } } </style> policy/applyLook/applyLook.vue
@@ -141,7 +141,7 @@ </style> <style lang="scss" scoped> @import "./applyLook.scss"; /deep/ .u-sticky{ ::v-deep .u-sticky{ position: -webkit-sticky; } </style> policy/applyRecord/applyRecord.vue
@@ -145,7 +145,7 @@ </style> <style lang="scss" scoped> @import "./applyRecord.scss"; /deep/ .u-sticky{ ::v-deep .u-sticky{ position: -webkit-sticky; } </style> policy/policyApply/policyApply.vue
@@ -423,7 +423,7 @@ } .back{ /deep/ .u-textarea{ ::v-deep .u-textarea{ background-color: #F4F4F4; border: none; .u-textarea__count{ @@ -472,7 +472,7 @@ .sui{ } /deep/ .u-checkbox-label--right > text{ ::v-deep .u-checkbox-label--right > text{ line-height: 54rpx !important; margin-right: 15rpx; } policy/reportDetails/reportDetails.scss
@@ -39,7 +39,7 @@ content: '*'; color: #FF7500; } /deep/ .u-textarea{ ::v-deep .u-textarea{ background-color: #F4F4F4; border: none; .u-textarea__count{ policy/reportDetails/reportDetails.vue
@@ -143,7 +143,7 @@ </style> <style lang="scss" scoped> @import "./reportDetails.scss"; /deep/ .u-radio{ ::v-deep .u-radio{ margin-right: 80rpx; } </style> policy/translate/translate.vue
@@ -225,11 +225,11 @@ <style lang="scss" scoped> @import "./translate.scss"; /deep/ .u-radio { ::v-deep .u-radio { margin-right: 84rpx !important; } /deep/ .u-textarea { ::v-deep .u-textarea { background-color: #F4F4F4 !important; border: none; } policy/translateRecord/translateRecord.vue
@@ -118,7 +118,7 @@ </style> <style lang="scss" scoped> @import "./translateRecord.scss"; /deep/ .u-sticky{ ::v-deep .u-sticky{ position: -webkit-sticky; } </style> qiye/proposal/proposal.vue
@@ -120,7 +120,7 @@ </script> <style lang="scss" scoped> /deep/ .u-radio-group { ::v-deep .u-radio-group { margin-top: 20rpx; flex-wrap: wrap; .u-radio { @@ -177,7 +177,7 @@ } } } /deep/ .u-textarea { ::v-deep .u-textarea { background-color: #F4F4F4; } </style> qiye/proposal1/proposal1.vue
@@ -69,7 +69,7 @@ </script> <style lang="scss" scoped> /deep/ .u-radio-group { ::v-deep .u-radio-group { margin-top: 20rpx; flex-wrap: wrap; .u-radio { @@ -126,7 +126,7 @@ } } } /deep/ .u-textarea { ::v-deep .u-textarea { background-color: #F4F4F4; } </style> qiye/record/details.vue
@@ -493,7 +493,7 @@ } /deep/ .u-radio-group { ::v-deep .u-radio-group { margin-top: 20rpx; flex-wrap: wrap; .u-radio { @@ -607,7 +607,7 @@ } } /deep/ .u-textarea { ::v-deep .u-textarea { background-color: #F4F4F4; } </style> qiye/record/evaluate.vue
@@ -180,7 +180,7 @@ } } /deep/ .u-radio-group { ::v-deep .u-radio-group { margin-top: 20rpx; .u-radio { qiye/switchPhone/switchPhone.vue
@@ -85,7 +85,7 @@ box-sizing: border-box; left: 0; } /deep/ .u-radio{ ::v-deep .u-radio{ margin-bottom: 40rpx; } </style> static/head.pngstatic/policy/loginHeader.pnguni_modules/uview-ui/components/u-input/props.js
@@ -50,7 +50,7 @@ type: String, default: uni.$u.props.input.placeholder }, // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep placeholderClass: { type: String, default: uni.$u.props.input.placeholderClass uni_modules/uview-ui/components/u-input/u-input.vue
@@ -89,7 +89,7 @@ * @property {Boolean} password 是否密码类型 ( 默认 false ) * @property {String | Number} maxlength 最大输入长度,设置为 -1 的时候不限制最大长度 ( 默认 -1 ) * @property {String} placeholder 输入框为空时的占位符 * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' ) * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep ( 默认 'input-placeholder' ) * @property {String | Object} placeholderStyle 指定placeholder的样式,字符串/对象形式,如"color: red;" * @property {Boolean} showWordLimit 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效 ( 默认 false ) * @property {String} confirmType 设置右下角按钮的文字,兼容性详见uni-app文档 ( 默认 'done' ) uni_modules/uview-ui/components/u-textarea/props.js
@@ -10,7 +10,7 @@ type: [String, Number], default: uni.$u.props.textarea.placeholder }, // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep placeholderClass: { type: String, default: uni.$u.props.input.placeholderClass uni_modules/uview-ui/components/u-textarea/u-textarea.vue
@@ -49,7 +49,7 @@ * * @property {String | Number} value 输入框的内容 * @property {String | Number} placeholder 输入框为空时占位符 * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' ) * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep ( 默认 'input-placeholder' ) * @property {String | Object} placeholderStyle 指定placeholder的样式,字符串/对象形式,如"color: red;" * @property {String | Number} height 输入框高度(默认 70 ) * @property {String} confirmType 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效(默认 'done' ) yarn.lock
New file @@ -0,0 +1,38 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 "@babel/runtime@^7.17.2": version "7.27.1" resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.27.1.tgz#9fce313d12c9a77507f264de74626e87fd0dc541" integrity sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog== copy-text-to-clipboard@^3.0.1: version "3.2.0" resolved "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.2.0.tgz#0202b2d9bdae30a49a53f898626dcc3b49ad960b" integrity sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q== core-js@^3.11.0: version "3.42.0" resolved "https://registry.npmmirror.com/core-js/-/core-js-3.42.0.tgz#edbe91f78ac8cfb6df8d997e74d368a68082fe37" integrity sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g== mutation-observer@^1.0.3: version "1.0.3" resolved "https://registry.npmmirror.com/mutation-observer/-/mutation-observer-1.0.3.tgz#42e9222b101bca82e5ba9d5a7acf4a14c0f263d0" integrity sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA== vconsole@^3.14.7: version "3.15.1" resolved "https://registry.npmmirror.com/vconsole/-/vconsole-3.15.1.tgz#569a8ab15f353259527bbcf004f02946b4482cff" integrity sha512-KH8XLdrq9T5YHJO/ixrjivHfmF2PC2CdVoK6RWZB4yftMykYIaXY1mxZYAic70vADM54kpMQF+dYmvl5NRNy1g== dependencies: "@babel/runtime" "^7.17.2" copy-text-to-clipboard "^3.0.1" core-js "^3.11.0" mutation-observer "^1.0.3" weixin-js-sdk@^1.6.0: version "1.6.5" resolved "https://registry.npmmirror.com/weixin-js-sdk/-/weixin-js-sdk-1.6.5.tgz#01fe5220b91dbfe089fc0730d061be0e68271e6a" integrity sha512-Gph1WAWB2YN/lMOFB/ymb+hbU/wYazzJgu6PMMktCy9cSCeW5wA6Zwt0dpahJbJ+RJEwtTv2x9iIu0U4enuVSQ==