zouling 2 ماه پیش
والد
کامیت
a1020e9484
100فایلهای تغییر یافته به همراه0 افزوده شده و 8722 حذف شده
  1. 0 23
      user_wxui/.hbuilderx/launch.json
  2. 0 17
      user_wxui/1.txt
  3. BIN
      user_wxui/765a696dc3f2e3e010b1228f7bf957cd.keystore
  4. 0 188
      user_wxui/App.vue
  5. 0 21
      user_wxui/LICENSE
  6. 0 51
      user_wxui/README.md
  7. 0 73
      user_wxui/api/login.js
  8. 0 33
      user_wxui/api/system/card.js
  9. 0 73
      user_wxui/api/system/user.js
  10. 0 63
      user_wxui/api/work/car.js
  11. 0 17
      user_wxui/api/work/index.js
  12. 0 86
      user_wxui/api/work/manage.js
  13. 0 153
      user_wxui/api/work/news.js
  14. 0 118
      user_wxui/api/work/people.js
  15. 0 40
      user_wxui/api/work/service.js
  16. 0 56
      user_wxui/api/work/work.js
  17. 0 265
      user_wxui/components/box/list.vue
  18. 0 109
      user_wxui/components/box/popup.vue
  19. 0 82
      user_wxui/components/footer/footer.vue
  20. 0 96
      user_wxui/components/loading/loading.vue
  21. 0 90
      user_wxui/components/swiper/notice.vue
  22. 0 176
      user_wxui/components/toptab/phonebtn.vue
  23. 0 31
      user_wxui/config.js
  24. 0 175
      user_wxui/goods/components/box/list.vue
  25. 0 85
      user_wxui/goods/components/popup/popup.vue
  26. 0 124
      user_wxui/goods/pages/points/index.vue
  27. BIN
      user_wxui/goods/static/goods/icon_gmdd_sjtx.png
  28. BIN
      user_wxui/goods/static/goods/icon_ljgm_dz.png
  29. BIN
      user_wxui/goods/static/goods/icon_ljgm_dz_jr.png
  30. BIN
      user_wxui/goods/static/goods/icon_mrqd_jbng.png
  31. BIN
      user_wxui/goods/static/goods/icon_mrqd_qdtx_big.png
  32. BIN
      user_wxui/goods/static/goods/icon_mrqd_qdtx_normal.png
  33. BIN
      user_wxui/goods/static/goods/icon_mrqd_qdtx_selected.png
  34. BIN
      user_wxui/goods/static/goods/icon_spxq_fx.png
  35. BIN
      user_wxui/goods/static/goods/icon_tjjl_ss.png
  36. BIN
      user_wxui/goods/static/goods/pic_jfsc_tx.png
  37. BIN
      user_wxui/goods/static/goods/pic_lqzx_qmc.png
  38. BIN
      user_wxui/goods/static/goods/pic_lqzx_yhqbg.png
  39. BIN
      user_wxui/goods/static/goods/pic_mrqd_bt.png
  40. 0 175
      user_wxui/health/components/box/list.vue
  41. 0 104
      user_wxui/health/components/popup/popup.vue
  42. 0 295
      user_wxui/health/pages/health/add - 副本.vue
  43. 0 615
      user_wxui/health/pages/health/add.vue
  44. 0 358
      user_wxui/health/pages/health/detail.vue
  45. BIN
      user_wxui/health/static/health/add.png
  46. BIN
      user_wxui/health/static/health/adr.png
  47. BIN
      user_wxui/health/static/health/car.png
  48. BIN
      user_wxui/health/static/health/cardf.png
  49. BIN
      user_wxui/health/static/health/cardz.png
  50. BIN
      user_wxui/health/static/health/down.png
  51. BIN
      user_wxui/health/static/health/heada.png
  52. BIN
      user_wxui/health/static/health/headb.png
  53. BIN
      user_wxui/health/static/health/headc.png
  54. BIN
      user_wxui/health/static/health/headd.png
  55. BIN
      user_wxui/health/static/health/heade.png
  56. BIN
      user_wxui/health/static/health/headf.png
  57. BIN
      user_wxui/health/static/health/hicoa.png
  58. BIN
      user_wxui/health/static/health/hicob.png
  59. BIN
      user_wxui/health/static/health/icon.png
  60. BIN
      user_wxui/health/static/health/search.png
  61. BIN
      user_wxui/health/static/house.png
  62. BIN
      user_wxui/health/static/housea.png
  63. BIN
      user_wxui/health/static/houseb.png
  64. BIN
      user_wxui/health/static/housec.png
  65. BIN
      user_wxui/health/static/man.png
  66. BIN
      user_wxui/health/static/woman.png
  67. 0 36
      user_wxui/main.js
  68. 0 273
      user_wxui/manage/components/box/list.vue
  69. 0 224
      user_wxui/manage/pages/manage/index.vue
  70. 0 157
      user_wxui/manage/pages/manage/moneybill.vue
  71. 0 93
      user_wxui/manage/pages/manage/moneydetail.vue
  72. 0 132
      user_wxui/manage/pages/manage/pay.vue
  73. 0 51
      user_wxui/manage/pages/manage/success.vue
  74. BIN
      user_wxui/manage/static/manage/adr.png
  75. BIN
      user_wxui/manage/static/manage/bg.png
  76. BIN
      user_wxui/manage/static/manage/chose.png
  77. BIN
      user_wxui/manage/static/manage/mbg.png
  78. BIN
      user_wxui/manage/static/manage/nchose.png
  79. BIN
      user_wxui/manage/static/manage/success.png
  80. BIN
      user_wxui/manage/static/manage/up.png
  81. BIN
      user_wxui/manage/static/manage/ywico.png
  82. BIN
      user_wxui/manage/static/manage/zd.png
  83. 0 117
      user_wxui/manifest.json
  84. 0 385
      user_wxui/mine/components/box/list.vue
  85. 0 631
      user_wxui/mine/pages/avatar/index.vue
  86. 0 78
      user_wxui/mine/pages/delivery/detail.vue
  87. 0 127
      user_wxui/mine/pages/delivery/index.vue
  88. 0 214
      user_wxui/mine/pages/info.vue
  89. 0 106
      user_wxui/mine/pages/news/index.vue
  90. 0 234
      user_wxui/mine/pages/news/myhd.vue
  91. 0 122
      user_wxui/mine/pages/news/sh.vue
  92. 0 121
      user_wxui/mine/pages/pwd/forgetpwd.vue
  93. 0 85
      user_wxui/mine/pages/pwd/index.vue
  94. 0 100
      user_wxui/mine/pages/pwd/resetpwd.vue
  95. 0 281
      user_wxui/mine/pages/register.vue
  96. 0 394
      user_wxui/mine/pages/tlogin.vue
  97. BIN
      user_wxui/mine/static/images/profile.jpg
  98. 0 510
      user_wxui/my/components/box/list.vue
  99. 0 0
      user_wxui/my/components/tki-float-keyboard/style.css
  100. 0 459
      user_wxui/my/components/tki-float-keyboard/tki-float-keyboard.vue

+ 0 - 23
user_wxui/.hbuilderx/launch.json

@@ -1,23 +0,0 @@
-{
-    // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
-    // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
-    "version" : "0.0",
-    "configurations" : [
-        {
-            "app-plus" : {
-                "launchtype" : "local"
-            },
-            "default" : {
-                "launchtype" : "local"
-            },
-            "mp-weixin" : {
-                "launchtype" : "local"
-            },
-            "type" : "uniCloud"
-        },
-        {
-            "playground" : "custom",
-            "type" : "uni-app:app-android"
-        }
-    ]
-}

+ 0 - 17
user_wxui/1.txt

@@ -1,17 +0,0 @@
-包名:qswg.user.app
-
-
-证书别名:__uni__e57e235
-证书私钥密码:KKj3wPFb
-
-MD5: 43:45:A4:46:EE:C4:B9:9A:BF:D0:B2:B2:9E:EE:79:02
-SHA1: BC:CC:2F:16:32:84:D8:EE:F7:2A:8C:26:F2:11:8E:FA:EE:16:9B:16
-
-高德key:f55857365884963baed205a0974d6e96
-
-极光appkey:
-百度语音
-
-语音识别: AppID:30799445
-	API Key :MuVtMTc6EHaLbrr38WEhqjml
-	Secret Key:rPGCiA3L41VwuTCBHkwkmcOt0IPTsi8z

BIN
user_wxui/765a696dc3f2e3e010b1228f7bf957cd.keystore


+ 0 - 188
user_wxui/App.vue

@@ -1,188 +0,0 @@
-<script>
-  import config from './config'
-  import store from '@/store'
-  import { getToken } from '@/utils/auth'
-import {updateUserProfile,findVersion} from "@/api/system/user.js"
-  const baseUrl = config.baseUrl
-  export default {
-	data(){
-		return{
-			platform:'Android',
-			appPort:'2', //appPort    1:物管端,2:用户端
-		}
-	},
-    onLaunch: function() {
-		// #ifdef APP
-		this.onlineWgt(); //版本更新
-		// #endif
-		this.initApp()
-    },
-    methods: {
-		//极光推送
-		// this.getJGtuifn()
-		// 在线跟新
-		onlineWgt() {
-			let that = this;
-			plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
-				that.comparisonVersionNo(widgetInfo.versionCode);
-			});
-			// that.comparisonVersionNo()
-		},
-		comparisonVersionNo(versionCode) {
-			let that = this;
-			// console.log("aaaaaaa===versionCode", versionCode);
-			const parmas = {
-				model: that.platform,
-				appPort:that.appPort
-			}   
-			findVersion(parmas).then(res => {
-				console.log(res)  
-				if (res.code == "200") {
-					let versionNos = res.data.code;
-					// console.log(versionNos,'versionNos')
-					let filePath = res.data.path;
-					if (Number(versionNos) > Number(versionCode)) { //服务器返回1更新,0则不更新
-						uni.showModal({
-							title: '提示',
-							content: '发现新版本,是否升级',
-							success: function(res) {
-								// console.log(widgetInfo.version);
-								if (res.confirm) {
-									console.log('用户点击确定');
-									that.getProperty(filePath);
-								} else if (res.cancel) {
-									console.log('用户点击取消');
-								}
-							}
-						});
-					}
-				}
-			}).catch(error=>{
-				uni.hideLoading()
-				console.log(error)
-			})
-		},
-		getProperty(getProperty) {
-			// console.log("bbbbbbbbb----------->", getProperty)
-			let that = this;
-			// console.log(baseUrl + getProperty)
-			// 在线升级app/热更新
-			that.showwri = true;
-			const downloadTask = uni.downloadFile({ //下载文件
-				url: baseUrl + getProperty,
-				success: (downloadResult) => {
-					// console.log(downloadResult);
-					if (downloadResult.statusCode == 200) {
-						// 更新升级
-						plus.runtime.install(downloadResult.tempFilePath, {
-							force: true
-						}, function() {
-							// console.log('install success...');
-							that.showwri = false;
-							plus.nativeUI.alert("应用资源更新完成!", function() {
-								plus.runtime.restart();
-							});
-						}, function(e) {
-							that.showwri = false;
-							plus.nativeUI.alert("更新失败,请稍后再试");
-						});
-					}
-				}
-			});
-			downloadTask.onProgressUpdate((res) => { //下载文件的进度
-				that.totalBytesWritten = res.totalBytesWritten; //当前下载大小
-				that.progress = res.progress; //当前下载比例
-				that.totalBytesExpectedToWrite = res.totalBytesExpectedToWrite; //
-			});
-		},
-		// 极光推送
-		getJGtuifn(){ 
-			//#ifdef APP-PLUS
-				var jpushModule = uni.requireNativePlugin("JG-JPush");
-				jpushModule.setLoggerEnable(true);
-				// 初始化函数
-				jpushModule.initJPushService();
-				jpushModule.addConnectEventListener(result=>{
-					let connectEnable = result.connectEnable
-					// console.log("jpush连接", connectEnable)
-				})
-				jpushModule.getRegistrationID(result => {
-					// console.log("注册ID.....",result)
-					this.registerID = result.registerID;
-					if(getToken()){
-						var params={
-							jgId:this.registerID,
-						}
-						updateUserProfile(params).then(res=>{
-							if(rtes.code==200){
-								console.log(res,9)
-							}
-						})
-					}	
-				})
-				jpushModule.isPushStopped(result=>{
-					let code = result.code
-					console.log('连接状态回调',result)
-				});
-				// 设置别名
-				jpushModule.setAlias({
-					'alias' : 'coder',
-					'sequence': 1
-				})
-				jpushModule.addNotificationListener(result=>{
-					let notificationEventType = result.notificationEventType
-					let messageID = result.messageID
-					let title = result.title
-					let content = result.content
-					let extras = result.extras
-					console.log('通知事件回调',result)
-					// 推送一个本地通知
-					jpushModule.addLocalNotification({
-						messageID,
-						title,
-						content,
-						extras
-					})
-				})
-				jpushModule.addNotificationListener(result => {
-				console.log(result)
-				if (result.notificationEventType == "notificationOpened") {
-				  //点击窗口通知栏推送的消息 跳转指定页面
-					uni.reLaunch({
-						url:'/pages/login'
-					})
-				}
-		 
-			});
-			//#endif 
-		},
-      // 初始化应用
-      initApp() {
-        // 初始化应用配置
-        this.initConfig()
-        // 检查用户登录状态
-        //#ifdef H5
-        // this.checkLogin()
-        //#endif
-      },
-      initConfig() {
-        this.globalData.config = config
-      },
-      checkLogin() {
-        if (!getToken()) {
-          this.$tab.reLaunch('/pages/login') 
-        }
-      }
-    }
-  }
-</script>
-<style>
-/deep/ .uni-forms-item__error{left:auto !important;right: 0;margin-top: 10rpx;z-index: 1;}
- /deep/ .uniui-calendar::before{display: none;}
-/deep/ .uni-date__x-input{text-align: right;color: #272727;}
-/deep/ .uni-easyinput__content-textarea{margin: 0;}
-</style>
-<style lang="scss">
-@import "@/static/style.css";
-  @import '@/static/scss/index.scss'
-</style>

+ 0 - 21
user_wxui/LICENSE

@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2022 若依
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

+ 0 - 51
user_wxui/README.md

@@ -1,51 +0,0 @@
-<p align="center">
-	<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-43e3941654fa3054c9684bf53d1b1d356a1.png">
-</p>
-<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi v1.1.0</h1>
-<h4 align="center">基于UniApp开发的轻量级移动端框架</h4>
-<p align="center">
-	<a href="https://gitee.com/y_project/RuoYi-App/stargazers"><img src="https://gitee.com/y_project/RuoYi-App/badge/star.svg?theme=dark"></a>
-	<a href="https://gitee.com/y_project/RuoYi-App"><img src="https://img.shields.io/badge/RuoYi-v1.1.0-brightgreen.svg"></a>
-	<a href="https://gitee.com/y_project/RuoYi-App/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a>
-</p>
-
-## 平台简介
-
-RuoYi App 移动解决方案,采用uniapp框架,一份代码多终端适配,同时支持APP、小程序、H5!实现了与[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue)、[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud)完美对接的移动解决方案!目前已经实现登录、我的、工作台、编辑资料、头像修改、密码修改、常见问题、关于我们等基础功能。
-
-* 配套后端代码仓库地址[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue) 或 [RuoYi-Cloud](https://github.com/yangzongzhuan/RuoYi-Cloud) 版本。
-* 应用框架基于[uniapp](https://uniapp.dcloud.net.cn/),支持小程序、H5、Android和IOS。
-* 前端组件采用[uni-ui](https://github.com/dcloudio/uni-ui),全端兼容的高性能UI框架。
-* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)&nbsp;&nbsp;
-
-
-## 技术文档
-
-- 官网网站:[http://ruoyi.vip](http://ruoyi.vip)
-- 文档地址:[http://doc.ruoyi.vip](http://doc.ruoyi.vip)
-- H5页体验:[http://h5.ruoyi.vip](http://h5.ruoyi.vip)
-- QQ交流群: ①133713780(满)、②146013835(满)、③189091635
-- 小程序体验
-
-<img src="https://oscimg.oschina.net/oscnet/up-26c76dc90b92acdbd9ac8cd5252f07c8ad9.jpg" alt="小程序演示"/>
- 
-
-## 演示图
-
-<table>
-    <tr>
-        <td><img src="https://oscimg.oschina.net/oscnet/up-21f6f842fdc94540469b4eb43fdadbaf7f8.png"/></td>
-        <td><img src="https://oscimg.oschina.net/oscnet/up-a6f23cf9a371a30165e135eff6d9ae89a9d.png"/></td>
-		<td><img src="https://oscimg.oschina.net/oscnet/up-ff5f62016bf6624c1ff27eee57499dccd44.png"/></td>
-    </tr>
-	<tr>
-        <td><img src="https://oscimg.oschina.net/oscnet/up-b9a582fdb26ec69d407fabd044d2c8494df.png"/></td>
-        <td><img src="https://oscimg.oschina.net/oscnet/up-96427ee08fca29d77934cfc8d1b1a637cef.png"/></td>
-		<td><img src="https://oscimg.oschina.net/oscnet/up-5fdadc582d24cccd7727030d397b63185a3.png"/></td>
-    </tr>
-	<tr>
-        <td><img src="https://oscimg.oschina.net/oscnet/up-0a36797b6bcc50c36d40c3c782665b89efc.png"/></td>
-        <td><img src="https://oscimg.oschina.net/oscnet/up-d77995cc00687cedd00d5ac7d68a07ea276.png"/></td>
-		<td><img src="https://oscimg.oschina.net/oscnet/up-fa8f5ab20becf59b4b38c1b92a9989e7109.png"/></td>
-    </tr>
-</table>

+ 0 - 73
user_wxui/api/login.js

@@ -1,73 +0,0 @@
-import request from '@/utils/request'
-
-// 登录方法
-export function login(username, password, code, uuid) {
-  const data = {
-    username,
-    password,
-    code,
-    uuid
-  }
-  return request({
-    'url': '/login',
-    headers: {
-      isToken: false
-    },
-    'method': 'post',
-    'data': data
-  })
-}
-
-// 注册方法
-export function register(data) {
-  return request({
-    url: '/register',
-    headers: {
-      isToken: false
-    },
-    method: 'post',
-    data: data
-  })
-}
-// 通用注册
-export function getRegisterFn(data) {
-  return request({
-    'url': '/register/common',
-    'method': 'post',
-	'data':data
-  })
-}
-export function sendSmszcOnly(data) {
-  return request({
-    'url': '/sendSms/sendRegisterSms',
-    'method': 'POST',
-	data:data
-  })
-}
-// 获取用户详细信息
-export function getInfo() {
-  return request({
-    'url': '/getInfo',
-    'method': 'get'
-  })
-}
-
-// 退出方法
-export function logout() {
-  return request({
-    'url': '/logout',
-    'method': 'post'
-  })
-}
-
-// 获取验证码
-export function getCodeImg() {
-  return request({
-    'url': '/captchaImage',
-    headers: {
-      isToken: false
-    },
-    method: 'get',
-    timeout: 20000
-  })
-}

+ 0 - 33
user_wxui/api/system/card.js

@@ -1,33 +0,0 @@
-import request from '@/utils/request'
-//身份证识别
-export function getOcrIdCard(data) {
-  return request({
-    'url': '/ocr/ocrIdCard',
-    'method': 'post',
-	'data':data
-  })
-}
-//车牌照识别
-export function getlicensePlate(data) {
-  return request({
-    'url': '/ocr/licensePlate',
-    'method': 'post',
-	'data':data
-  })
-}
-//房产证识别wuYe:ocr:realEstateCertificate
-export function getrealEstateCertificatee(data) {
-  return request({
-    'url': '/ocr/realEstateCertificate',
-    'method': 'post',
-	'data':data
-  })
-}
-//行驶证识别wuYe:ocr:vehicleLicense
-export function getvehicleLicense(data) {
-  return request({
-    'url': '/ocr/vehicleLicense',
-    'method': 'post',
-	'data':data
-  })
-}

+ 0 - 73
user_wxui/api/system/user.js

@@ -1,73 +0,0 @@
-import upload from '@/utils/upload'
-import request from '@/utils/request'
-
-// 用户密码重置
-export function updateUserPwd(oldPassword, newPassword) {
-  const data = {
-    oldPassword,
-    newPassword
-  }
-  return request({
-    url: '/system/user/profile/updatePwd?oldPassword='+oldPassword+'&newPassword='+newPassword,
-    method: 'post',
-  })
-}
-// 忘记密码发送短信
-export function getappForgetPW(data) {
-  return request({
-    url: '/wuYe/applet/appForgetPW/'+data,
-    method: 'get',
-  })
-}
-// 重置密码
-export function getappCheck(data) {
-  return request({
-    url: '/wuYe/applet/appCheck',
-    method: 'get',
-	'data':data
-  })
-}
-
-// 查询用户个人信息
-export function getUserProfile() {
-  return request({
-    url: '/system/user/profile',
-    method: 'get'
-  })
-}
-
-// 修改用户个人信息
-export function updateUserProfile(data) {
-  return request({
-    url: '/system/user/profile/put',
-    method: 'post',
-    data: data
-  })
-}
-
-// 用户头像上传
-export function uploadAvatar(data) {
-  return upload({
-    url: '/system/user/profile/avatar',
-    name: data.name,
-    filePath: data.filePath
-  })
-}
-// 下载版本更新
-export function findVersion(data) {
-  return request({
-    url: '/system/app/new',
-    method: 'get',
-    data: data,
-	lhide:true,
-  })
-}
-// 字典值yzdqId
-export function getDictionaryFn(data) {
-  return request({
-    url: '/system/dict/data/type/'+data,
-    method: 'get',
-	type:true
-  })
-}
-

+ 0 - 63
user_wxui/api/work/car.js

@@ -1,63 +0,0 @@
-import request from '@/utils/request'
-
-// 业主车辆-新增wuYe:car:add
-export function carAdd(data) {
-  return request({
-    url: '/wuYe/car',
-    method: 'post',
-    'data': data
-  })
-}
-// 业主车辆-修改wuYe:car:edit
-export function carPut(data) {
-  return request({
-    url: '/wuYe/car/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 业主车辆-删除wuYe:car:remove
-export function carDel(data) {
-  return request({
-    url: '/wuYe/car/delete/'+data,
-    method: 'get',
-  })
-}
-// 业主车辆-列表wuYe:car:list
-export function carList(data) {
-  return request({
-    url: '/wuYe/car/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 业主车辆-详情wuYe:car:query
-export function carDet(data) {
-  return request({
-    url: '/wuYe/car/'+data,
-    method: 'get',
-  })
-}
-
-// 违章停车登记-列表
-export function illegalParkingList(data) {
-  return request({
-    url: '/wuYe/illegalParking/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 违章停车登记-详情
-export function illegalParkingDet(data) {
-  return request({
-    url: '/wuYe/illegalParking/'+data,
-    method: 'get',
-  })
-}
-// 违章停车登记-删除
-export function illegalParkingDel(data) {
-  return request({
-    url: '/wuYe/illegalParking/delete/'+data,
-    method: 'get',
-  })
-}

+ 0 - 17
user_wxui/api/work/index.js

@@ -1,17 +0,0 @@
-import request from '@/utils/request'
-//物业管家-列表wuYe:settings:list
-export function gesettingsList(data) {
-  return request({
-    'url': '/wuYe/settings/list',
-    'method': 'get',
-	'data':data
-  })
-}
-//统计
-export function getCount(data) {
-  return request({
-    'url': '/wuYe/statistics/num/app/yeZhuTips',
-    'method': 'post',
-	'data':data
-  })
-}

+ 0 - 86
user_wxui/api/work/manage.js

@@ -1,86 +0,0 @@
-import request from '@/utils/request'
-
-// 党建资讯-新增wuYe:partyNews:add
-export function partyNewsAdd(data) {
-  return request({
-    url: '/wuYe/partyNews',
-    method: 'post',
-    'data': data
-  })
-}
-// 党建资讯-修改wuye:partyNews:edit
-export function partyNewsPut(data) {
-  return request({
-    url: '/wuYe/partyNews/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 党建资讯-删除wuYe:partyIds:remove
-export function partyNewsDel(data) {
-  return request({
-    url: '/wuYe/partyNews/delete/'+data,
-    method: 'get',
-  })
-}
-// 党建资讯-列表wuYe:partyNews:list
-export function partyNewsList(data) {
-  return request({
-    url: '/wuYe/partyNews/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 进行收藏操作
-export function getStarsDj(data) {
-  return request({
-    url: '/wuYe/commentStars/getPartyNewsStars',
-    method: 'post',
-    'data': data
-  })
-}
-// 党建资讯-详情wuYe:partyNews:query
-export function partyNewsDet(data) {
-  return request({
-    url: '/wuYe/partyNews/'+data,
-    method: 'get',
-  })
-}
-// 社区资讯-新增wuYe:news:add
-export function newsAdd(data) {
-  return request({
-    url: '/wuYe/news',
-    method: 'post',
-    'data': data
-  })
-}
-// 社区资讯-修改wuye:news:edit
-export function newsPut(data) {
-  return request({
-    url: '/wuYe/news/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 社区资讯-删除wuYe:news:remove
-export function newsDel(data) {
-  return request({
-    url: '/wuYe/news/delete/'+data,
-    method: 'get',
-  })
-}
-// 社区资讯-列表wuYe:news:list
-export function newsList(data) {
-  return request({
-    url: '/wuYe/news/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 社区资讯-详情wuYe:news:query
-export function newsDet(data) {
-  return request({
-    url: '/wuYe/news/'+data,
-    method: 'get',
-  })
-}

+ 0 - 153
user_wxui/api/work/news.js

@@ -1,153 +0,0 @@
-import request from '@/utils/request'
-
-// 投诉建议-新增wuYe:suggestion:add
-export function suggestionAdd(data) {
-  return request({
-    url: '/wuYe/suggestion',
-    method: 'post',
-    'data': data
-  })
-}
-// 投诉建议-修改wuYe:suggestion:edit
-export function suggestionlPut(data) {
-  return request({
-    url: '/wuYe/suggestion/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 投诉建议-删除wuYe:suggestion:remove
-export function suggestionlDel(data) {
-  return request({
-    url: '/wuYe/suggestion/delete/'+data,
-    method: 'get',
-  })
-}
-// 投诉建议-列表wuYe:suggestion:list
-export function suggestionlList(data) {
-  return request({
-    url: '/wuYe/suggestion/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 投诉建议-详情wuYe:suggestion:query
-export function suggestionlDet(data) {
-  return request({
-    url: '/wuYe/suggestion/'+data,
-    method: 'get',
-  })
-}
-
-// 评论-新增wuYe:commentIndex:add
-export function commentIndex(data) {
-  return request({
-    url: '/wuYe/commentIndex',
-    method: 'post',
-    'data': data
-  })
-}
-// 进行点赞操作
-export function giveTheThumbs(data) {
-  return request({
-    url: '/wuYe/commentLikes/giveTheThumbs',
-    method: 'post',
-    'data': data
-  })
-}
-// 进行收藏操作
-export function getStars(data) {
-  return request({
-    url: '/wuYe/commentStars/getStars',
-    method: 'post',
-    'data': data
-  })
-}
-
-//评论-列表父集
-//根据查询所有一级评论组带子集总数组装成前端所需要的数据结构 带分页
-export function getRootComment(data) {
-  return request({
-    url: '/wuYe/commentIndex/getRootComment',
-    method: 'post',
-    'data': data
-  })
-}
-// 列表子集
-//根据parent_id查询所有评论组装成前端所需要的子集数据结构 带分页
-export function getParentComment(data) {
-  return request({
-    url: '/wuYe/commentIndex/getParentComment',
-    method: 'post',
-    'data': data
-  })
-}
-// 审核列表wuYe:commentIndex:commentSh
-export function commentSh(data) {
-  return request({
-    url: '/wuYe/commentIndex/commentSh',
-    method: 'get',
-    'data': data
-  })
-}
-// 评论-审核wuYe:commentContent:edit
-export function commentContentPut(data) {
-  return request({
-    url: '/wuYe/commentContent/put',
-    method: 'post',
-    'data': data
-  })
-}
-
-// 我的评论-列表wuYe:commentIndex:list
-export function mycommentIndex(data) {
-  return request({
-    url: '/wuYe/commentIndex/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 我的点赞-列表wuYe:commentLikes:list
-export function mycommentLikes(data) {
-  return request({
-    url: '/wuYe/commentLikes/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 我的收藏-列表wuYe:commentStars:list
-export function mycommentStars(data) {
-  return request({
-    url: '/wuYe/commentStars/list',
-    method: 'get',
-    'data': data
-  })
-}
-
-// 社区资讯评论-删除wuYe:commentIndex:remove
-export function deletepl(data) {
-  return request({
-    url: '/wuYe/commentIndex/delete/'+data,
-    method: 'get',
-  })
-}
-
-// 获取未读互动数量wuYe:news:getCommentInteractionCount
-export function getCommentInteractionCount(data) {
-  return request({
-    url: '/wuYe/news/getCommentInteractionCount',
-    method: 'post',
-    'data': data
-  })
-}
-// 获取未读互动列表wuYe:news:getCommentInteraction
-export function getCommentInteraction(data) {
-  return request({
-    url: '/wuYe/news/getCommentInteraction',
-    method: 'post',
-    'data': data
-  })
-}
-
-
-

+ 0 - 118
user_wxui/api/work/people.js

@@ -1,118 +0,0 @@
-import request from '@/utils/request'
-
-// 来访管理-列表wuYe:visitorManage:list
-export function visitorList(data) {
-  return request({
-    url: '/wuYe/visitorManage/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 来访管理-详情wuYe:visitorManage:query
-export function visitorDet(data) {
-  return request({
-    url: '/wuYe/visitorManage/'+data,
-    method: 'get',
-  })
-}
-// 来访管理-新增wuYe:visitorManage:add
-export function visitorAdd(data) {
-  return request({
-    url: '/wuYe/visitorManage',
-    method: 'post',
-    'data': data
-  })
-}
-// 来访管理-修改wuYe:visitorManage:edit
-export function visitorPut(data) {
-  return request({
-    url: '/wuYe/visitorManage/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 来访管理-删除wuYe:visitorManage:remove
-export function visitorDel(data) {
-  return request({
-    url: '/wuYe/visitorManage/delete/'+data,
-    method: 'get',
-  })
-}
-
-// 预约记录-列表wuYe:reservRecord:list
-export function reservList(data) {
-  return request({
-    url: '/wuYe/reservRecord/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 预约记录-详情wuYe:reservRecord:query
-export function reservDet(data) {
-  return request({
-    url: '/wuYe/reservRecord/'+data,
-    method: 'get',
-  })
-}
-// 预约记录-新增wuYe:reservRecord:add
-export function reservAdd(data) {
-  return request({
-    url: '/wuYe/reservRecord',
-    method: 'post',
-    'data': data
-  })
-}
-// 预约记录-修改wuYe:reservRecord:edit
-export function reservPut(data) {
-  return request({
-    url: '/wuYe/reservRecord/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 预约记录-删除wuYe:reservRecord:remove
-export function reservDel(data) {
-  return request({
-    url: '/wuYe/reservRecord/delete/'+data,
-    method: 'get',
-  })
-}
-
-// 居住人员-列表wuYe:residentInfo:list
-export function residentInfoList(data) {
-  return request({
-    url: '/wuYe/residentInfo/list',
-    method: 'get',
-    data: data
-  })
-}
-// 居住人员-详情wuYe:residentInfo:query
-export function residentInfoDet(data) {
-  return request({
-    url: '/wuYe/residentInfo/'+data,
-    method: 'get',
-  })
-}
-// 居住人员-新增wuYe:residentInfo:add
-export function residentInfoAdd(data) {
-  return request({
-    url: '/wuYe/residentInfo',
-    method: 'post',
-    data: data
-  })
-}
-// 居住人员-修改wuYe:residentInfo:edit
-export function residentInfoPut(data) {
-  return request({
-    url: '/wuYe/residentInfo/put',
-    method: 'post',
-    data: data
-  })
-}
-// 居住人员-删除wuYe:residentInfo:remove
-export function residentInfoDel(data) {
-  return request({
-    url: '/wuYe/residentInfo/delete/'+data,
-    method: 'get',
-  })
-}

+ 0 - 40
user_wxui/api/work/service.js

@@ -1,40 +0,0 @@
-import request from '@/utils/request'
-
-// 物业报修-新增wuYe:repair:add
-export function repairAdd(data) {
-  return request({
-    url: '/wuYe/repair',
-    method: 'post',
-    'data': data
-  })
-}
-// 物业报修-修改wuYe:repair:edit
-export function repairPut(data) {
-  return request({
-    url: '/wuYe/repair/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 物业报修-删除wuYe:repair:remove
-export function repairDel(data) {
-  return request({
-    url: '/wuYe/repair/delete/'+data,
-    method: 'get',
-  })
-}
-// 物业报修-列表wuYe:repair:list
-export function repairList(data) {
-  return request({
-    url: '/wuYe/repair/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 物业报修-详情wuYe:repair:query
-export function repairDet(data) {
-  return request({
-    url: '/wuYe/repair/'+data,
-    method: 'get',
-  })
-}

+ 0 - 56
user_wxui/api/work/work.js

@@ -1,56 +0,0 @@
-import request from '@/utils/request'
-
-// 房屋信息-新增wuYe:houseInfo:add
-export function houseInfoAdd(data) {
-  return request({
-    url: '/wuYe/houseInfo',
-    method: 'post',
-    'data': data
-  })
-}
-// 房屋信息-修改wuYe:houseInfo:edit
-export function houseInfoPut(data) {
-  return request({
-    url: '/wuYe/houseInfo/put',
-    method: 'post',
-    'data': data
-  })
-}
-// 房屋信息-删除wuYe:houseInfo:remove
-export function houseInfoDel(data) {
-  return request({
-    url: '/wuYe/houseInfo/delete/'+data,
-    method: 'get',
-  })
-}
-// 房屋信息-列表wuYe:houseInfo:list
-export function houseInfoList(data) {
-  return request({
-    url: '/wuYe/houseInfo/list',
-    method: 'get',
-    'data': data
-  })
-}
-// 房屋信息-详情wuYe:houseInfo:query
-export function houseInfoDet(data) {
-  return request({
-    url: '/wuYe/houseInfo/'+data,
-    method: 'get',
-  })
-}
-// 房屋信息-列表不分页wuYe:houseInfo:listNoPage
-export function houseInfolistNoPage(data) {
-  return request({
-    url: '/wuYe/houseInfo/list',
-    method: 'get',
-	'data':data
-  })
-}
-// 房屋信息-列表不分页wuYe:houseInfo:listNoPage
-// export function houseInfolistNoPage(data) {
-//   return request({
-//     url: '/wuYe/houseInfo/listNoPage',
-//     method: 'get',
-// 	'data':data
-//   })
-// }

+ 0 - 265
user_wxui/components/box/list.vue

@@ -1,265 +0,0 @@
-<template>
-<view>
-	<!-- 第一种样式  人员管理-->
-	<block v-if="datainfo.length>0">
-		<!-- 订单 -->
-		<block v-if="type=='delivery'">
-			<view class="kdlists flexc" v-for="(ite,idx) in datainfo" :key="idx">
-				<view class="kdll">
-					<image :src="deva" class="limg"></image>
-					<view class="tit pr35">运输中</view>
-					<view class="over tit">陕西老潼关肉…</view>
-					<view class="time">12-03  22:05 </view>
-				</view>
-				<view class="kdlr">
-					<image :src="cirimg" class="limg"></image>
-					<view>
-						<view class="txt">运输中</view>
-						<view class="tit overtwo">【沧州市】快件已发往 蚌埠转运中心</view>
-						<view class="time">12-03  22:05 </view>
-					</view>
-				</view>
-			</view>
-		</block>
-		<!-- 优惠券 -->
-		<view v-if="type=='coupon'" class="coubox">
-			<view class="coulists flexc" v-for="(ite,idx) in datainfo" :key="idx">
-				<image :src="yhbg" class="yhbg"></image>
-				<view class="coulist flexc">
-					<view class="cltl flexccc">
-						<view class="tit">30<text>元</text></view>
-						<view class="txt">满100减30</view>
-					</view>
-					<view class="line"></view>
-					<view class="cltr">
-						<view class="over tit">合家福商品优惠券满100…</view>
-						<view class="btns">
-							<image :src="jfico" class="jfimg"></image>
-							<view class="txt">1000<text>积分</text></view>
-							<view class="btn flex0 flexcc">兑换</view>
-						</view>
-					</view>
-				</view>
-			</view>
-		</view>
-		<!-- 资讯 -->
-		<block v-if="type=='news'">
-			<view class="newslists flexc" v-for="(ite,idx) in datainfo" :key="idx">
-				<image :src="jfico" class="newsll"></image>	
-				<view class="newslr over flex1">
-					<view class="flexc mb8">
-						<view class="over tit flex1">合肥市跌幅最大的小区房价公布</view>
-						<view class="num flexc"><image :src="eye"></image>1361</view>
-					</view>
-					<view class="overtwo txt">对于合肥市这座城来说,可供选择的项目太多了,合肥市的购房者买房一定要三思而后行,货比三…</view>
-				</view>
-			</view>
-		</block>
-		<!-- 康养 -->
-		<block v-if="type=='health'">
-			<view class="healthlist flexc" v-for="(ite,idx) in datainfo" :key="idx">
-				<view class="hlbox flex1">
-					<view class="tit overtwo">吃粗粮能够降血脂吗?这三种吃法让血糖不降反增</view>
-					<view class="flexc">
-						<view class="txt">2024-11-14</view>
-						<view class="flexc">
-							<image :src="eye" class="eyeimg"></image>
-							<view class="txt">1361</view>
-						</view>
-					</view>
-				</view>
-				<image :src="noiconpimg" class="hrimg"></image>
-			</view>
-		</block>
-		<!-- 推荐商品 -->
-		<view v-if="type=='goods'" class="goods flexcw">
-			<view class="goodslist" v-for="(ite,idx) in datainfo" :key="idx">
-				<image :src="noiconpimg" class="headimg"></image>
-				<view class="glist">
-					<view class="tit overtwo mb10">年货通用大米礼品包装盒新款五谷杂粮礼盒东北…</view>
-					<view class="numbox flexc">
-						<view class="num flex1"><text>¥</text>278</view>
-						<view class="txt flex0">已售2000+</view>
-					</view>
-				</view>
-				
-			</view>
-		</view>
-		<view class="shax" v-if="wtdt">{{wtdt}}</view>
-	</block>
-	
-	<!-- 无数据 -->
-	<view class="nodata" v-else>
-		<image :src="noiconpimg"></image>
-		<view>暂无数据</view>
-	</view>
-</view>
-</template>
-
-<script>
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import config from '@/config'
-	export default{
-		props:{
-			datainfo: {
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			wtdt:{
-				type:String,
-				default () {
-					return ''
-				}
-			},
-			wtdtfalg:{
-				type:Boolean,
-				default () {
-					return true
-				}
-			},
-			type:{
-				type:String,
-				default () {
-					return 0
-				}
-			},
-		},
-		data(){
-			return{
-				noiconpimg:require("@/static/images/nodata.png"),
-				yhbg:require("@/static/images/home/yhbg.png"),
-				cirimg:require("@/static/images/home/cir.png"),
-				deva:require("@/static/images/home/deva.png"),
-				jfico:require("@/static/images/home/jfico.png"),
-				eye:require("@/static/images/home/eye.png"),
-				baseUrl:config.baseUrl,
-				delBtnWidth:66,//左滑默认宽度
-			}
-		},
-		mounted() {
-			
-		},
-		methods:{
-			checkPermi, checkRole,
-			getDetail(e){
-				this.$emit('getDetail',e)
-			},
-			getAddFn(e){
-				this.$emit('getAddFn',e)
-			},
-			getReadlist(e){
-				this.$emit('getReadlist',e)
-			},
-			getBtnFn(e){
-				this.$emit('getBtnFn',e)
-			},
-			getZhan(idx){
-				console.log(idx,1)
-				// var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
-				// obj.zhanflag=!obj.zhanflag;
-				// this.datainfo.splice(idx,1,obj);
-				this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
-			},
-			getPreview(idx,arr) {
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {},
-					fail: function(err) {}
-				});
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-.flex{display: flex;}
-.flexc{display: flex;align-items: center;}
-.mb10{margin-bottom: 20rpx;}
-.kdlists{background: #FFFFFF;box-shadow: 0px 0px 8rpx 0px #CDCDCD;border-radius: 20rpx;margin-bottom: 24rpx;
-	.kdll{background: #E4EDFF;width: 220rpx;border-radius:20rpx 0 0 20rpx;flex: 0 0 auto;height: 160rpx;position: relative;padding: 30rpx 0 0 24rpx;
-		.limg{width: 42rpx;height: 42rpx;position: absolute;right: 20rpx;top: 24rpx;}	
-	}
-	.tit{font-weight: 500;font-size: 24rpx;color: #000000;margin-bottom: 8rpx;}
-	.time{font-weight: 500;font-size:20rpx;color: #AAAAAA;}
-	.kdlr{flex: 1;height: 160rpx;padding-left: 20rpx;padding-top: 30rpx;display: flex;
-		.limg{width: 24rpx;height: 24rpx;margin-right: 16rpx;flex: 0 0 auto;margin-top: 5rpx;}
-		.txt{font-size: 26rpx;font-weight: 500;color: #000000;margin-bottom: 6rpx;}
-	}
-}
-//优惠券
-.coubox{display: flex;flex-wrap: nowrap;overflow: auto;padding-left: 24rpx;}
-.coulists{width:524rpx;height: 156rpx;margin-right: 24rpx;
-	position: relative;
-	.yhbg{position: absolute;left: 0;top: 0;width:524rpx;height: 156rpx;z-index: 0;}
-	.coulist{width:100%;height: 100%;z-index: 1;
-		.cltl{width: 156rpx;flex: 0 0 auto;
-			.tit{font-weight: bold;font-size: 44rpx;color: #FE5A0E;margin-bottom: 2rpx;
-				text{font-size: 24rpx;}
-			}
-			.txt{font-weight: bold;font-size: 20rpx;color: #979797;}
-		}
-		.line{width: 2rpx;height: 80rpx;background: #ECD19D;flex: 0 0 auto;}
-		.cltr{height: 156rpx;padding:24rpx 20rpx 0 16rpx;
-			.tit{font-size: 28rpx;color: #272727;font-weight: bold;padding-left: 2rpx;margin-bottom: 26rpx;}
-			.btns{display: flex;align-items: center;
-				.jfimg{width: 28rpx;height: 28rpx;margin-right: 10rpx;flex: 0 0 auto;}
-				.txt{font-size: 40rpx;color: #FE5A0E;font-weight: bold;flex: 1;
-					text{margin-left: 12rpx;font-size: 24rpx;}
-				}
-				.btn{min-width: 92rpx;font-weight: bold;font-size: 24rpx;color: #FFFFFF;height:42rpx;background: linear-gradient(129deg, #FFB132, #FE5A0E);border-radius: 11px;}
-			}
-		}
-	}
-}
-// 资讯
-.newslists{border-bottom: 2rpx solid #E5E5E5;padding: 30rpx 0;
-	.newsll{width: 136rpx;height: 136rpx;border-radius: 24rpx;margin-right: 22rpx;flex: 0 0 auto;}
-	.newslr{
-		.tit{font-size: 26rpx;color: #272727;font-weight: bold;}
-		.num{font-weight: 500;font-size:22rpx;color: #666666;margin-left: 24rpx;flex: 0 0 auto;
-			image{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
-		}
-		.txt{font-weight: 500;font-size: 24rpx;color: #8F8F8F;line-height: 36rpx;}
-	}
-}
-// 康养
-.healthlist{
-	padding:26rpx 22rpx;border-bottom: 2rpx solid #E5E5E5;
-	.hlbox{
-		.tit{font-weight: bold;font-size: 28rpx;color: #272727;line-height:48rpx;margin-bottom: 10rpx;}
-		.txt{font-weight: 500;line-height: 36rpx;font-size: 22rpx;color: #AAAAAA;}
-		.eyeimg{width: 24rpx;height: 18rpx;margin-right: 10rpx;margin-left: 34rpx;}
-		
-	}
-	.hrimg{width: 210rpx;height: 138rpx;flex: 0 0 auto;margin-left: 36rpx;}
-}
-// 商品
-.goods{padding: 0 8rpx;align-items: stretch;
-	.goodslist{width: 334rpx;min-height: 472rpx;background: #FFFFFF;box-shadow: 0px 0px 18rpx 0px #DADADA;border-radius: 20rpx;border: 2rpx solid #DADADA;margin: 0 16rpx 20rpx;padding-bottom: 8rpx;box-sizing: border-box;
-		.headimg{height: 298rpx;width: 100%;margin-bottom: 18rpx;}
-		.glist{padding: 0 12rpx;}
-		.tit{font-weight: bold;font-size: 28rpx;color: #272727;}
-		.numbox{
-			.num{font-size: 40rpx;color: #FE5A0E;font-weight: bold;word-break: break-all;
-				text{font-size: 20rpx;}
-			}
-		}
-		.txt{font-weight: bold;font-size: 24rpx;color: #AAAAAA;}
-	}
-}
-
-// 无数据
-.nodata{display: flex;flex-direction: column;align-items: center;
-	image{width: 440rpx;height: 440rpx;}
-	view{font-size: 30rpx;color: #666666;font-weight: bold;}
-	
-}
-</style>

+ 0 - 109
user_wxui/components/box/popup.vue

@@ -1,109 +0,0 @@
-<template>
-	<view>
-		<!-- 弹窗 -->
-		<view class="bgbox" @click="getClose" v-if="type"></view>
-		<view v-if="type=='wygj'" class="wygjbox">
-			<view class="wytop">
-				<image :src="wytit" class="imga"></image>
-				<image :src="head" class="imgb"></image>
-			</view>
-			<view class="wylist flexc" v-for="(ite,idx) in phoneList" :key="idx">
-				<image :src="ite.title.indexOf('投诉')!=-1?phicob:phicoa"></image>
-				<view>
-					<view class="co6 mb4">{{ite.title}}</view>
-					<view class="co27">{{ite.content}}</view>
-				</view>
-			</view>
-			<image :src="closeimg" class="closeimg" @click="getClose"></image>
-		</view>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import { getToken } from '@/utils/auth'
-	import {uploadmore} from '@/utils/common.js'
-	export default{
-		components:{},
-		props:{
-			type: {
-				type: String,
-				default () {
-					return ''
-				}
-			},
-			canres:{
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			finshtype:{
-				type: [String,Number],
-				default () {
-					return ''
-				}
-			},
-			phoneList:{
-				type: Array,
-				default () {
-					return []
-				}
-			}
-		},
-		data(){
-			return{
-				baseUrl:config.baseUrl,
-				closeimg:require("@/static/images/close.png"),
-				head:require("@/static/images/head.png"),
-				phicoa:require("@/static/images/phicoa.png"),
-				phicob:require("@/static/images/phicob.png"),
-				wytit:require("@/static/images/wytit.png"),
-				// rimg: require('@/work/static/people/rimg.png'),
-				// headbg: require('@/work/static/service/headbg.png'),
-				datainfo:{
-					iszc:""
-				},
-				tabval:0,
-
-			}
-		},
-		mounted() {
-			this.baseUrl=baseUrl
-		},
-		watch:{
-			type(val){
-				// this.filelist=[];
-				// this.shtext='';
-				// this.isty='2';
-				// this.phofile=[];
-			}
-		},
-		methods:{
-			
-			getClose(){
-				this.$emit('getClose')
-			},
-			getSure(){
-				this.$emit('getSure')
-			},
-			
-			
-		}
-	}
-</script>
-
-<style lang="scss" scoped>	
-.wygjbox{position: fixed;left:166rpx;right: 166rpx;background: linear-gradient(0deg, #FFFFFF, #FEF6E1);border-radius: 20rpx;padding: 26rpx 38rpx 12rpx;z-index: 10;top: 40%;transform: translateY(-50%);
-	.wytop{display: flex;align-items: flex-end;margin-bottom: 52rpx;
-		.imga{width: 230rpx;height: 74rpx;margin-right: 26rpx;}
-		.imgb{width: 86rpx;height: 86rpx;}
-	}
-	.wylist{padding-left: 34rpx;margin-bottom: 28rpx;
-		image{width: 34rpx;height: 34rpx;margin-right: 16rpx;flex: 0 0 auto;}
-		view{font-weight: 500;font-size: 26rpx;}
-	}
-}
-.closeimg{width: 34rpx;height: 34rpx;position: absolute;bottom: -52rpx;left: 50%;margin-left: -16rpx;}
-</style>

+ 0 - 82
user_wxui/components/footer/footer.vue

@@ -1,82 +0,0 @@
-<template>
-	<view>
-		
-	
-	<view style="height: 100rpx;"></view>
-    <view class="com_footer">
-		<block v-for="(item,k) in footlist" :key="k">
-			<!-- v-if="!item.limit||item.limit&&checkPermi([item.limit])" -->
-			<view class="in_item"   @click="gotopage(item)">
-				<view class="im_imgs">
-					<image class="in_img" :class="item.img" v-if="active == item.module" :src="item.icon_checked" mode="scaleToFill"></image>
-					<image class="in_img" :class="item.img" v-else :src="item.icon_nochecked" mode="scaleToFill"></image>
-				</view>
-				<view class="in_txt" v-if="active == item.module" :style="'color: #'+color_checked">{{item.title}}</view>
-				<view class="in_txt" v-else :style="'color: #'+color_nochecked">{{item.title}}</view>
-			</view>
-		</block>
-    </view>
-	</view>
-</template>
-
-<script>
-	import { checkPermi, checkRole } from "@/utils/permission";
-    export default {
-		props:[
-			'footerindex'
-		],
-        data () {
-            return{
-				active :'',
-				footlist:[
-					// limit:'system:camera:video',
-					{module:'home',title:'首页',img:"imga",icon_checked:require('@/static/images/tabbar/home_.png'),icon_nochecked:require('@/static/images/tabbar/home.png')},
-					{module:'health',title:'康养',img:"imgb",icon_checked:require('@/static/images/tabbar/health_.png'),icon_nochecked:require('@/static/images/tabbar/health.png')},
-					{module:'goods',title:'商圈',img:"imgc",icon_checked:require('@/static/images/tabbar/store_.png'),icon_nochecked:require('@/static/images/tabbar/store.png')},
-					{module:'mine',title:'我的',img:"imgd",icon_checked:require('@/static/images/tabbar/mine_.png'),icon_nochecked:require('@/static/images/tabbar/mine.png')},
-					],
-				color_checked :'272727',
-				color_nochecked :'666666',
-            }
-        },
-		mounted() {
-			var that = this;
-			this.active = this.footerindex;
-		},
-        methods:{
-			checkPermi, checkRole,
-            // 跳转底部导航页面
-			gotopage(e){
-				var that = this;
-				let link = e.link, module = e.module, def = e.default, title = e.title;
-				if(module == 'home'){
-					this.$tab.reLaunch('/pages/index/index')
-				}else if(module == 'health'){
-					this.$tab.reLaunch('/pages/health/index')
-				}else if(module == 'goods'){
-					this.$tab.reLaunch('/pages/goods/index')
-				}else if(module == 'mine'){
-					this.$tab.reLaunch('/pages/mine/index')
-				}
-			},
-			
-        }
-    }
-</script>
-
-
-
-<style type="text/css" lang="scss" scoped>
-    .com_footer{ display: flex;position: fixed;box-sizing: border-box;z-index: 4;width: 100%;height: 100rpx;bottom: 0;left: 0;background-color: #fff;overflow: hidden;box-shadow: 0px 0px 16rpx 0px rgba(87,87,87,0.41);}
-	.com_footer .in_item{ display: block;flex: 1;padding: 12rpx 0 0 0;overflow: hidden; }
-	.com_footer .in_img{ display: block;width: 44rpx;height: 44rpx;margin: 0 auto; }
-	.com_footer .in_txt{ font-size: 24rpx;color: #999;text-align: center; font-weight: bold;}
-	.com_footer .in_txt_on{ color: #20AD20; }
-	.im_imgs{width: 48rpx;height: 48rpx;display: flex;align-items: center;justify-content: center;margin: 0 auto;}
-	.in_img{
-		&.imga{width: 44rpx;height: 42rpx;}
-		&.imgb{width: 44rpx;height: 40rpx;}
-		&.imgc{width: 44rpx;height: 44rpx;}
-		&.imgd{width: 42rpx;height: 44rpx;}
-	}
-</style>

+ 0 - 96
user_wxui/components/loading/loading.vue

@@ -1,96 +0,0 @@
-<template>
-  <view class="animations" v-if="is_loading">
-    <view class="box">
-      <view class="dot dot1"></view>
-      <view class="dot dot2"></view>
-      <view class="dot dot3"></view>
-    </view>
-  </view>
-</template>
-
-<script>
-export default {
-  name: "loading-bounce",
-  data() {
-    return {};
-  },
-  methods:{
-  	switch_loading(){
-  		this.$store.commit("switch_loading")
-  	}
-  },
-  //实测直接在标签属性里写  $store.state.XX  拿不到数据  所以这里通过 计算属性去监听一下
-  computed:{
-  	is_loading(){
-  		return this.$store.state.user.loading
-  	}
-  }
-};
-</script>
-
-<style lang="scss" scoped>
-	.animations{display: flex;align-items: center;justify-content: center;position: fixed;top: 40%;left: 0;right: 0;z-index: 3;}
-.box {
-  width: 100rpx;
-  height: 50rpx;
-  position: relative;
-}
-.dot {
-  width: 18rpx;
-  height: 18rpx;
-  background: #007aff;
-  border-radius: 50%;
-  position: absolute;
-  top: calc(50% - 5rpx);
-}
-
-.dot1 {
-  background: #1fa2ff;
-  left: 0rpx;
-  -webkit-animation: bounce 0.5s cubic-bezier(0.77, 0.47, 0.64, 0.28) alternate
-    infinite;
-  animation: bounce 0.5s cubic-bezier(0.77, 0.47, 0.64, 0.28) alternate infinite;
-}
-
-.dot2 {
-  background: #12d8fa;
-  left: 40rpx;
-  -webkit-animation: bounce 0.5s 0.2s cubic-bezier(0.77, 0.47, 0.64, 0.28)
-    alternate infinite;
-  animation: bounce 0.5s 0.2s cubic-bezier(0.77, 0.47, 0.64, 0.28) alternate
-    infinite;
-}
-
-.dot3 {
-  background: #29ffc6;
-  left: 80rpx;
-  -webkit-animation: bounce 0.5s 0.4s cubic-bezier(0.77, 0.47, 0.64, 0.28)
-    alternate infinite;
-  animation: bounce 0.5s 0.4s cubic-bezier(0.77, 0.47, 0.64, 0.28) alternate
-    infinite;
-}
-
-@-webkit-keyframes bounce {
-  0% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-
-  100% {
-    -webkit-transform: translateY(-20rpx);
-    transform: translateY(-20rpx);
-  }
-}
-
-@keyframes bounce {
-  0% {
-    -webkit-transform: translateY(0);
-    transform: translateY(0);
-  }
-
-  100% {
-    -webkit-transform: translateY(-20rpx);
-    transform: translateY(-20rpx);
-  }
-}
-</style>

+ 0 - 90
user_wxui/components/swiper/notice.vue

@@ -1,90 +0,0 @@
-<template>
-  <view v-if="noticelist.length">
-	  <view class="hswip" >
-			<image :src="tips" class="tipimg"></image>
-			  
-	  		<image :src="voice" class="voiceimg"></image>
-			<!--  -->
-			<swiper class="swiper" indicator-dots="true" :indicator-color="nactiveColor" :indicator-active-color="activeColor" circular :autoplay="autoplay" :interval="interval" :duration="duration" vertical='true'>
-				<swiper-item v-for="(ite,idx) in noticelist" :key="">
-					<view class="flexc swipers" @click="getDetail(ite.communityId)">
-						<!-- <view class="tit over">{{ite.noticeTitle}}</view> -->
-						<view class="tit over">{{ite.communityTitle}}</view>
-						<!-- <view class="num flexcc">{{ite.num}}</view> -->
-						<!-- <image :src="rimg" class="rimg"></image> -->
-						<view class="time">{{ite.publishTime}}</view>
-						<!-- <view class="time" v-if="ite.createTime">{{ite.createTime.substring(0,10)}}</view> -->
-					</view>
-				</swiper-item>
-			</swiper>
-	  		
-	  </view>
-  </view>
-</template>
-
-<script>
-  export default {
-	  props:{
-	  	autoplay: {
-	  		type: Boolean,
-	  		default () {
-	  			return false
-	  		}
-	  	},
-	  	confdat:{},
-		activeColor:{
-			type:String,
-			default () {
-				return '#000000'
-			}
-		},
-		nactiveColor:{
-			type:String,
-			default () {
-				return 'rgba(0, 0, 0, .3)'
-			}
-		},
-		noticelist:{
-			type: Array,
-			default () {
-				return []
-			}
-		}
-	  },
-	data(){
-		return{
-			tips:require("@/static/images/home/tips.png"),
-			voice:require("@/static/images/home/voice.png"),
-            interval: 2000,
-            duration: 500
-		}
-	},
-	methods:{
-		 getRoad(){
-		 	console.log(1)
-		 },
-		 getDetail(e){
-			 this.$emit('getNoticeDet',e)
-		 }
-	},
-	onLoad: function() {
-    }
-  }
-</script>
-
-<style lang="scss" scoped>
-.hswip /deep/ .uni-swiper-dots-vertical{right: 0;}
-.hswip /deep/  .uni-swiper-dot{width: 10rpx; height: 10rpx;}
-.hswip{width: 100%;background: #ffffff;border-radius: 20rpx;height:156rpx;padding: 32rpx 28rpx 0 24rpx;box-sizing: border-box;box-shadow: 0px 0px 6rpx 0px #DEDEDE;position: relative;
-	.tipimg{width: 168rpx;height: 32rpx;flex: 0 0 auto;margin-right: 22rpx;margin-bottom: 2rpx;}
-	.voiceimg{width: 96rpx;height: 82rpx;position: absolute;right: 26rpx;top: 12rpx;}
-	.swiper{flex: 1;height: 72rpx;z-index: 1;
-	.swipers{height: 72rpx;padding-right: 60rpx;}
-		.tit{flex: 1;font-weight: 500;font-size: 26rpx;color: #272707;}
-		.time{font-weight: 500;font-size: 22rpx;color: #AAAAAA;}
-		.num{font-weight: bold;
-font-size: 22rpx;min-width: 30rpx;height: 30rpx;padding: 0 4rpx;box-sizing: border-box;background: #D32C26;border-radius: 30rpx;color: #FFFFFF;margin-left: 14rpx;}
-		.rimg{width: 14rpx;height: 24rpx;margin-left: 14rpx;}
-	}
-}
-</style>

+ 0 - 176
user_wxui/components/toptab/phonebtn.vue

@@ -1,176 +0,0 @@
-<template>
-  <view>
-	  <view class="box_hei" @click="getClose" v-if="type">
-	  	<view @click.stop="btns"  class="hei_box">
-	  		<view class="box_top">
-	  			<view class="box_title">
-	  				<view>
-	  					智慧园区 申请使用
-	  				</view>
-	  			</view>
-	  			<view class="box_nameq">你的手机号码</view>
-	  		</view>
-	  		<!-- <view class="boxs"></view> -->
-	  		<view class="box_btns">
-	  			<view @click="getClose" class="box_btn box_btn1">拒绝</view>
-	  			<button class="box_btn box_btn2" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">允许</button>
-	  		</view>
-	  	</view>
-	  </view>
-  </view>
-</template>
-
-<script>
-	// import tabSearch from "@/components/toptab/search.vue"
-	import {getweChatOpenid} from "@/api/login.js"
-  export default {
-	  props:{
-		type:{
-			type:Boolean,
-			default () {
-				return true
-			}
-		},
-	  },
-	data(){
-		return{
-			sucimg:require("@/static/images/mine/success.png") 
-		}
-	},
-	methods:{
-		getClose(){
-			this.$emit("getClose")
-		},
-		btns(){
-			
-		},
-		async getPhoneNumber(e){
-			const {iv,encryptedData} = e.detail;
-			var that=this;
-			uni.login({
-			    provider: 'weixin',
-			    success: (res) => {
-			        // 获取用户信息
-					if(res.code) {
-						var params={
-							iv: iv,
-							encryptedData: encryptedData,
-							code : res.code,
-						}
-						// 登录还是注册
-						that.$emit("getPhoneNumber",params)
-						
-					}
-			    }
-			})			
-		}, 
-	},
-	onLoad: function() {
-    }
-  }
-</script>
-
-<style lang="scss" scoped>
-.box_hei{
-		width: 100%;
-		height: 100%;
-		background: rgba(0,0,0,.8);
-		position: fixed;
-		top: 0;
-		left: 0;
-		z-index: 3;
-		.hei_box{
-			background: #fff;
-			border-radius:22upx 22upx 0 0;
-			height: 440upx;
-			padding: 52upx 28upx 104upx;
-			position: absolute;
-			bottom:0;
-			width: 100%;
-			box-sizing: border-box;
-			.box_top{
-				padding: 0 18upx 62upx;
-				.box_title{
-					display: flex;
-					justify-content: space-between;
-					font-size: 30upx;
-					margin-bottom: 30upx;
-					view{
-						display: flex;
-						align-items: center;
-						color: #333333;
-					}
-					.img{
-						margin-right: 14upx;
-						width: 180upx;
-						height: 48upx;
-					}
-					.imgs{
-						width: 40upx;
-						height: 40upx;
-					}
-				}
-				.box_nameq{
-					color: #333333;
-					font-size: 44upx;
-					font-weight: bold;
-				}
-			}
-			.box_phone{
-				height: 106upx;
-				display: flex;
-				align-items: center;
-				justify-content: space-between;
-				font-size: 28upx;
-				color: #A6A6A6;
-				border-bottom: 1upx solid #EBEBEB;
-				border-top: 1upx solid #EBEBEB;
-				view{
-					display: flex;
-					align-items: center;
-				}
-				.img{
-					width: 26upx;
-					height: 22upx;
-				}
-				span{
-					color: #333333;
-					font-size: 32upx;
-					padding-right: 18upx;
-					font-weight: bold;
-				}
-			}
-			.box_qita{
-				height: 106upx;
-				font-size: 28upx;
-				color: #7CA4FC;
-				line-height: 106upx;
-			}
-			.boxs{
-				height: 50upx;
-			}
-			.box_btns{
-				margin-top: 10upx;
-				display: flex;
-				justify-content: space-between;
-				.box_btn{
-					width: 324upx;
-					height: 82upx;
-					font-size: 32upx;
-					display: flex;
-					align-items: center;
-					justify-content: center;
-					border-radius: 4upx;
-				}
-				.box_btn1{
-					background: #F3F3F3;
-					color: #33B925;
-				}
-				.box_btn2{
-					background: #37962B;
-					color: #FFFFFF;
-				}
-			}
-		}
-	}
-</style>

+ 0 - 31
user_wxui/config.js

@@ -1,31 +0,0 @@
-// 应用全局配置
-module.exports = {
-  // baseUrl: 'https://vue.ruoyi.vip/prod-api',
-  baseUrl: 'http://47.99.82.249:5011/prod-api',
-  // baseUrl: 'http://192.168.101.245:8065',
-  // baseUrl: 'http://10.90.90.52:8065',
-  // baseUrl: 'http://192.168.101.168:8065',
-  // baseUrlimg: 'http://114.99.127.243:2001',
-  baseName:'智慧社区用户端',
-  // 应用信息
-  appInfo: {
-    // 应用名称
-    name: "智慧社区用户端",
-    // 应用版本
-    version: "1.1.0",
-    // 应用logo
-    logo: "/static/logo.png",
-    // 官方网站
-    site_url: "http://ruoyi.vip",
-    // 政策协议
-    agreements: [{
-        title: "隐私政策",
-        url: "https://ruoyi.vip/protocol.html"
-      },
-      {
-        title: "用户服务协议",
-        url: "https://ruoyi.vip/protocol.html"
-      }
-    ]
-  }
-}

+ 0 - 175
user_wxui/goods/components/box/list.vue

@@ -1,175 +0,0 @@
-<template>
-<view>
-	<!-- 第一种样式  人员管理-->
-	<block v-if="datainfo.length>0">
-		<!-- 人员管理 -->
-		<block v-if="type=='people'">
-			
-		</block>
-		<view class="shax">{{wtdt}}</view>
-	</block>
-	
-	<!-- 无数据 -->
-	<view class="nodata" v-else>
-		<image :src="noiconpimg"></image>
-		<view>
-			暂无数据
-		</view>
-	</view>
-</view>
-</template>
-
-<script>
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import config from '@/config'
-	export default{
-		props:{
-			datainfo: {
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			wtdt:{
-				type:String,
-				default () {
-					return ''
-				}
-			},
-			type:{
-				type:String,
-				default () {
-					return 0
-				}
-			},
-		},
-		data(){
-			return{
-				noiconpimg:require("@/static/images/nodata.png"),
-				
-				
-				baseUrl:config.baseUrl,
-				delBtnWidth:66,//左滑默认宽度
-			}
-		},
-		mounted() {
-			
-		},
-		methods:{
-			checkPermi, checkRole,
-			getDetail(e){
-				this.$emit('getDetail',e)
-			},
-			getAddFn(e){
-				this.$emit('getAddFn',e)
-			},
-			getReadlist(e){
-				this.$emit('getReadlist',e)
-			},
-			getZhan(idx){
-				// var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
-				// obj.zhanflag=!obj.zhanflag;
-				// this.datainfo.splice(idx,1,obj);
-				this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
-			},
-			getPreview(idx,arr) {
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {},
-					fail: function(err) {}
-				});
-			},
-			//开始触摸滑动
-			drawStart(e) {
-				// console.log("开始触发");
-				var touch = e.touches[0];
-				this.startX = touch.clientX;
-			},
-			//触摸滑动
-			drawMove(e) {
-				// console.log("滑动");
-				for (var index in this.datainfo) {
-					// this.csListArrl[index].right=0
-					this.$set(this.datainfo[index],'right',0);
-				}
-				var idx=e.currentTarget.dataset.idx
-				var touch = e.touches[0];
-				var item = this.datainfo[idx];
-				var disX = this.startX - touch.clientX;
-				if (disX >= 20) {
-				        if (disX > this.delBtnWidth) {
-					    disX = this.delBtnWidth;
-				        }
-						// this.csListArrl[idx].right=disX
-				        this.$set(this.datainfo[idx],'right',disX);
-				} else {
-					// this.csListArrl[idx].right=0
-					this.$set(this.datainfo[idx],'right',0);
-				}
-			},
-			//触摸滑动结束
-			drawEnd(e) {
-				// console.log("滑动结束");
-				var idx=e.currentTarget.dataset.idx
-				var item = this.datainfo[idx];
-				if (item.right >= this.delBtnWidth / 2) {
-					// this.datainfo[idx].right=this.delBtnWidth
-					this.$set(this.datainfo[idx],'right',this.delBtnWidth);
-				} else {
-					this.datainfo[idx].right=0
-				}
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-.flex{display: flex;}
-.flexc{display: flex;align-items: center;}
-.mb10{margin-bottom: 20rpx;}
-.carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.ctop{border-bottom: 2rpx solid #E5E5E5;padding: 24rpx 24rpx 22rpx;
-		.imgs{width: 40rpx;height: 42rpx;margin-right: 32rpx;}
-		.tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 20rpx;}
-		.txt{font-weight: 500;font-size: 26rpx;
-			&.ca{color: #3565ED;}
-			&.cb{color: #FE5A0E;}	
-			&.cc{color: #28C529;}	
-		}
-		.txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-		.num{font-size: 24rpx;color: #AAAAAA;}
-	}
-	.plists{padding: 30rpx 24rpx 6rpx;
-		.plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;display: flex;
-		.head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;margin-top: 36rpx;}
-		.ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}	
-		.ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
-		}
-	}
-	.upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
-		&.act{transform: rotate(0deg);}
-	}
-	.btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
-		&.btna{border: 2rpx solid #06C770;color: #06C770;}
-		&.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
-		&.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
-		&.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
-		&.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
-		&.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
-	}
-}
-
-
-
-// 无数据
-.nodata{display: flex;flex-direction: column;align-items: center;
-	image{width: 440rpx;height: 440rpx;}
-	view{font-size: 30rpx;color: #666666;font-weight: bold;}
-}
-</style>

+ 0 - 85
user_wxui/goods/components/popup/popup.vue

@@ -1,85 +0,0 @@
-<template>
-	<view>
-		<!-- 弹窗 -->
-		<view class="bgbox" @click="getClose" v-if="type"></view>
-		
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import { getToken } from '@/utils/auth'
-	import {uploadmore} from '@/utils/common.js'
-	export default{
-		components:{},
-		props:{
-			type: {
-				type: String,
-				default () {
-					return ''
-				}
-			},
-			finshtype:{
-				type: [String,Number],
-				default () {
-					return ''
-				}
-			}
-		},
-		data(){
-			return{
-				baseUrl:config.baseUrl,
-				closeimg:require("@/static/images/close.png"),
-				downimg:require("@/health/static/health/down.png"),
-				hicoa:require("@/health/static/health/hicoa.png"),
-			}
-		},
-		mounted() {
-			this.baseUrl=baseUrl
-		},
-		watch:{
-			type(val){
-				// this.filelist=[];
-				// this.shtext='';
-				// this.isty='2';
-				// this.phofile=[];
-			}
-		},
-		methods:{
-			bindDateChange(){
-				var val=e.detail.value;
-			},
-			getClose(){
-				this.$emit('getClose')
-			},
-			getSure(){
-				this.$emit('getSure')
-			},
-			getChose(val){
-				this.peoval=val
-			},
-			getPreviewImage(arr,idx){
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {
-						
-					},
-					fail: function(err) {
-						
-					}
-				});
-			},	
-		}
-	}
-</script>
-
-<style lang="scss" scoped>	
-.closeimg{width: 32rpx;height: 32rpx;position: absolute;bottom: -72rpx;left: 50%;margin-left: -16rpx;}
-</style>

+ 0 - 124
user_wxui/goods/pages/points/index.vue

@@ -1,124 +0,0 @@
-<template>
-  <view class="hdetail" :style="'padding-top:'+nvaHeight+'px;'">
-		<view class="navbox">
-			<uni-nav-bar  color="#ffffff" left-icon="left" title="积分商城"  :background-color="backgroundColor" :border="false" statusBar='true' fixed="true" @clickLeft="getBackFn">
-			</uni-nav-bar>
-			<!-- 家人 -->
-			<view class="headbox flexc" :style="'backgroundColor:'+backgroundColor">
-				<view class="htop" :class="tabval==idx?'act':''" v-for="(ite,idx) in list" :key="idx" @click="getTabFn(idx)">
-					<view class="img"><image :src="heada" class="imaga"></image></view>
-					<view class="tit">{{ite.tit}}</view>
-				</view>
-				<view class="htop"  @click="getAddFn">
-					<view class="img add"><image :src="addimg"></image></view>
-					
-				</view>
-				
-			</view>
-		</view>
-		<!-- 主体 -->
-		<view class="wymain" >
-			
-		</view>
-	<loading></loading>
-  </view>
-</template>
-
-<script>
-  export default {
-	components:{},
-	data(){
-		return{
-			nvaHeight:44,
-			// activeColor:'#A7CDF9',
-			// nactiveColor:'#DADADA',
-			backgroundColor: "transparent",
-			
-		}
-	},
-	watch:{
-		lookfalg(val){
-			if(val){
-				
-			}
-		}
-	},
-	onPageScroll(e) {
-		var scrollTop = Number(e.scrollTop);
-		if (scrollTop > 0) {
-			this.backgroundColor = '#48CC9A'
-		} else {
-			this.backgroundColor = 'transparent'
-		}
-	},
-    onLoad: function() {
-		uni.getSystemInfo({
-			success: (e) => {
-				this.nvaHeight = Number(e.statusBarHeight)+44;
-			}
-		})
-    },
-	methods:{	
-		getClose(){
-			this.type="";
-		},
-		getCodeFn(){
-			this.type='code'
-		},
-		getAddFn(){
-			this.$tab.navigateTo(`/health/pages/health/add`)
-		},
-		getZhanFn(idx){
-			this.zhanList[idx].zhanflag=!this.zhanList[idx].zhanflag
-		},
-		getBackFn(){
-			uni.navigateBack({
-				delta:1
-			})
-		},
-		getCode(code){
-			var idCard='123456789'
-			const firstPart = idCard.slice(0, 1);  
-			  // 生成中间8位的星号  
-			  const middlePart = '*'.repeat(idCard.length-2);  
-			  // 获取后4位  
-			  const lastPart = idCard.slice(idCard.length-1); 
-			  var s= firstPart + middlePart + lastPart;
-			  console.log(s)
-			  // return firstPart + middlePart + lastPart;
-		},
-		getTabFn(val){
-			this.tabval=val;
-		},
-		getDataFn(){
-			var params={
-				pageSize:this.pageSize,
-				pageNum: this.pageNum,
-			}
-			params.noticeType=this.tabidx
-			getNoticeList(params).then(res=>{
-				if(res.code==200){
-					
-				}else{
-					this.$toast(res.msg)
-				}
-			})
-			
-		},
-		
-	}
-  }
-</script>
-<style>
-	page{background:#F4F6F8;}
-</style>
-<style lang="scss" scoped>
-.w100{width: 100%;}
-.hdetail{
-	background: linear-gradient(180deg, #FFB132 0%, #FE5A0E 49%, #FFFFFF 100%) no-repeat;background-size: 100% 722rpx;min-height: 100vh;box-sizing: border-box;
-}
-
-.navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;	}
-.wymain{z-index: 2;position: relative;padding: 0 24rpx 24rpx;}
-
-</style>

BIN
user_wxui/goods/static/goods/icon_gmdd_sjtx.png


BIN
user_wxui/goods/static/goods/icon_ljgm_dz.png


BIN
user_wxui/goods/static/goods/icon_ljgm_dz_jr.png


BIN
user_wxui/goods/static/goods/icon_mrqd_jbng.png


BIN
user_wxui/goods/static/goods/icon_mrqd_qdtx_big.png


BIN
user_wxui/goods/static/goods/icon_mrqd_qdtx_normal.png


BIN
user_wxui/goods/static/goods/icon_mrqd_qdtx_selected.png


BIN
user_wxui/goods/static/goods/icon_spxq_fx.png


BIN
user_wxui/goods/static/goods/icon_tjjl_ss.png


BIN
user_wxui/goods/static/goods/pic_jfsc_tx.png


BIN
user_wxui/goods/static/goods/pic_lqzx_qmc.png


BIN
user_wxui/goods/static/goods/pic_lqzx_yhqbg.png


BIN
user_wxui/goods/static/goods/pic_mrqd_bt.png


+ 0 - 175
user_wxui/health/components/box/list.vue

@@ -1,175 +0,0 @@
-<template>
-<view>
-	<!-- 第一种样式  人员管理-->
-	<block v-if="datainfo.length>0">
-		<!-- 人员管理 -->
-		<block v-if="type=='people'">
-			
-		</block>
-		<view class="shax">{{wtdt}}</view>
-	</block>
-	
-	<!-- 无数据 -->
-	<view class="nodata" v-else>
-		<image :src="noiconpimg"></image>
-		<view>
-			暂无数据
-		</view>
-	</view>
-</view>
-</template>
-
-<script>
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import config from '@/config'
-	export default{
-		props:{
-			datainfo: {
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			wtdt:{
-				type:String,
-				default () {
-					return ''
-				}
-			},
-			type:{
-				type:String,
-				default () {
-					return 0
-				}
-			},
-		},
-		data(){
-			return{
-				noiconpimg:require("@/static/images/nodata.png"),
-				
-				
-				baseUrl:config.baseUrl,
-				delBtnWidth:66,//左滑默认宽度
-			}
-		},
-		mounted() {
-			
-		},
-		methods:{
-			checkPermi, checkRole,
-			getDetail(e){
-				this.$emit('getDetail',e)
-			},
-			getAddFn(e){
-				this.$emit('getAddFn',e)
-			},
-			getReadlist(e){
-				this.$emit('getReadlist',e)
-			},
-			getZhan(idx){
-				// var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
-				// obj.zhanflag=!obj.zhanflag;
-				// this.datainfo.splice(idx,1,obj);
-				this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
-			},
-			getPreview(idx,arr) {
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {},
-					fail: function(err) {}
-				});
-			},
-			//开始触摸滑动
-			drawStart(e) {
-				// console.log("开始触发");
-				var touch = e.touches[0];
-				this.startX = touch.clientX;
-			},
-			//触摸滑动
-			drawMove(e) {
-				// console.log("滑动");
-				for (var index in this.datainfo) {
-					// this.csListArrl[index].right=0
-					this.$set(this.datainfo[index],'right',0);
-				}
-				var idx=e.currentTarget.dataset.idx
-				var touch = e.touches[0];
-				var item = this.datainfo[idx];
-				var disX = this.startX - touch.clientX;
-				if (disX >= 20) {
-				        if (disX > this.delBtnWidth) {
-					    disX = this.delBtnWidth;
-				        }
-						// this.csListArrl[idx].right=disX
-				        this.$set(this.datainfo[idx],'right',disX);
-				} else {
-					// this.csListArrl[idx].right=0
-					this.$set(this.datainfo[idx],'right',0);
-				}
-			},
-			//触摸滑动结束
-			drawEnd(e) {
-				// console.log("滑动结束");
-				var idx=e.currentTarget.dataset.idx
-				var item = this.datainfo[idx];
-				if (item.right >= this.delBtnWidth / 2) {
-					// this.datainfo[idx].right=this.delBtnWidth
-					this.$set(this.datainfo[idx],'right',this.delBtnWidth);
-				} else {
-					this.datainfo[idx].right=0
-				}
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-.flex{display: flex;}
-.flexc{display: flex;align-items: center;}
-.mb10{margin-bottom: 20rpx;}
-.carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.ctop{border-bottom: 2rpx solid #E5E5E5;padding: 24rpx 24rpx 22rpx;
-		.imgs{width: 40rpx;height: 42rpx;margin-right: 32rpx;}
-		.tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 20rpx;}
-		.txt{font-weight: 500;font-size: 26rpx;
-			&.ca{color: #3565ED;}
-			&.cb{color: #FE5A0E;}	
-			&.cc{color: #28C529;}	
-		}
-		.txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-		.num{font-size: 24rpx;color: #AAAAAA;}
-	}
-	.plists{padding: 30rpx 24rpx 6rpx;
-		.plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;display: flex;
-		.head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;margin-top: 36rpx;}
-		.ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}	
-		.ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
-		}
-	}
-	.upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
-		&.act{transform: rotate(0deg);}
-	}
-	.btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
-		&.btna{border: 2rpx solid #06C770;color: #06C770;}
-		&.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
-		&.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
-		&.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
-		&.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
-		&.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
-	}
-}
-
-
-
-// 无数据
-.nodata{display: flex;flex-direction: column;align-items: center;
-	image{width: 440rpx;height: 440rpx;}
-	view{font-size: 30rpx;color: #666666;font-weight: bold;}
-}
-</style>

+ 0 - 104
user_wxui/health/components/popup/popup.vue

@@ -1,104 +0,0 @@
-<template>
-	<view>
-		<!-- 弹窗 -->
-		<view class="bgbox" @click="getClose" v-if="type"></view>
-		<!-- 健康码 -->
-		<view v-if="type=='code'" class="codebox">
-			<view class="tit mb18">健康码</view>
-			<image :src="hicoa" class="code"></image>
-			<view class="codebtns flexcc">
-				<image :src="downimg"></image>
-				保存健康码至手机
-			</view>
-			<image :src="closeimg" class="closeimg" @click="getClose"></image>
-		</view>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import { getToken } from '@/utils/auth'
-	import {uploadmore} from '@/utils/common.js'
-	export default{
-		components:{},
-		props:{
-			type: {
-				type: String,
-				default () {
-					return ''
-				}
-			},
-			finshtype:{
-				type: [String,Number],
-				default () {
-					return ''
-				}
-			}
-		},
-		data(){
-			return{
-				baseUrl:config.baseUrl,
-				closeimg:require("@/static/images/close.png"),
-				downimg:require("@/health/static/health/down.png"),
-				hicoa:require("@/health/static/health/hicoa.png"),
-			}
-		},
-		mounted() {
-			this.baseUrl=baseUrl
-		},
-		watch:{
-			type(val){
-				// this.filelist=[];
-				// this.shtext='';
-				// this.isty='2';
-				// this.phofile=[];
-			}
-		},
-		methods:{
-			bindDateChange(){
-				var val=e.detail.value;
-			},
-			getClose(){
-				this.$emit('getClose')
-			},
-			getSure(){
-				this.$emit('getSure')
-			},
-			getChose(val){
-				this.peoval=val
-			},
-			getPreviewImage(arr,idx){
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {
-						
-					},
-					fail: function(err) {
-						
-					}
-				});
-			},	
-		}
-	}
-</script>
-
-<style lang="scss" scoped>	
-// 指派
-.codebox{width: 470rpx;height: 620rpx;background: #FFFFFF;border-radius: 20rpx;padding: 30rpx 36rpx 44rpx;position: fixed;left:140rpx;top: 40%;transform: translateY(-235rpx);z-index: 10;box-sizing: border-box;
-	.tit{font-weight: bold;font-size: 30rpx;color: #272727;text-align: center;}
-	.code{width: 334rpx;height:334rpx;margin: 0 auto 56rpx;}
-	.codebtns{height: 78rpx;background: #318E6B;border-radius: 20rpx;font-weight: 500;
-font-size: 26rpx;
-color: #FFFFFF;
-		image{width: 22rpx;height: 22rpx;margin-right: 14rpx;}
-	}
-}
-.closeimg{width: 32rpx;height: 32rpx;position: absolute;bottom: -72rpx;left: 50%;margin-left: -16rpx;}
-</style>

+ 0 - 295
user_wxui/health/pages/health/add - 副本.vue

@@ -1,295 +0,0 @@
-<template>
-	<view class="check" :style="'padding-top:'+nvaHeight+'px;'">
-		<view class="navbox">
-			<uni-nav-bar  color="#ffffff" left-icon="left" title="健康档案"  :background-color="backgroundColor" :border="false" statusBar='true' fixed="true" @clickLeft="getBackFn">
-			</uni-nav-bar>
-		</view>
-		<uni-forms ref="form" :model="datainfo">
-			<view class="cbox">
-				<view class="chmain">
-					<view class="plr6">
-						<view class="rztit">请上传身份证照片</view>
-						<view class="flexcj mb10">
-							<view class="carbox" @click="getaddImage('front')">
-								<image :src="baseUrl+datainfo.front" class="img" v-if="datainfo.front"></image>
-								<image :src="cardz" class="img" v-else></image>
-								<view class="tit">拍摄人像面</view>
-								<!-- <view class="tit">身份证正面</view> -->
-							</view>
-							<view class="carbox" @click="getaddImage('back')">
-								<image :src="baseUrl+datainfo.back" class="img" v-if="datainfo.back"></image>
-								<image :src="cardf" class="img" v-else></image>
-								<view class="tit">拍摄国徽面</view>
-								<!-- <view class="tit">身份证反面</view> -->
-							</view>
-						</view>
-						<view class="mb4">
-							<view class="cardtip">身份信息会根据上传的证件照片自动识别,支持手动输入。</view>
-							<view class="cardtip">如果识别错误,可尝试再次拍照。</view>
-						</view>
-					</view>
-					<uni-forms-item label="身份证号" required name="phonenumber">
-						<view class="flexc">
-							<uni-easyinput disabled v-model="datainfo.phonenumber"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="姓名" required name="phonenumber">
-						<view class="flexc">
-							<uni-easyinput disabled v-model="datainfo.phonenumber"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="性别" required name="phonenumber">
-						<view class="flexc">
-							<uni-easyinput disabled v-model="datainfo.phonenumber"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="家庭地址" required name="phonenumber">
-						<view class="flexc">
-							<uni-easyinput disabled  v-model="datainfo.phonenumber"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<picker range-key='dictLabel' :value="syqxidx" :range="sexs"   @change='bindDateChange'>
-						<uni-forms-item label="与户主关系" required name="phonenumber">
-							<view class="flexc ml10">
-								<view class="flex1 txr f13" :class="datainfo.iszc?'co27':'coa'">{{datainfo.iszc?'是':'选择与户主关系'}}</view>
-							</view>
-						</uni-forms-item>
-					</picker>
-					<picker range-key='dictLabel' :value="syqxidx" :range="sexs"   @change='bindDateChange'>
-						<uni-forms-item label="是否党员" required name="phonenumber">
-							<view class="flexc ml10">
-								<view class="flex1 txr f13" :class="datainfo.iszc?'co27':'coa'">{{datainfo.iszc?'是':'请选择是/否'}}</view>
-							</view>
-						</uni-forms-item>
-					</picker>
-					<picker range-key='dictLabel' :value="syqxidx" :range="sexs"   @change='bindDateChange'>
-						<uni-forms-item label="特殊类型" name="phonenumber">
-							<view class="flexc ml10">
-								<view class="flex1 txr f13" :class="datainfo.iszc?'co27':'coa'">{{datainfo.iszc?'是':'如有五保户等特殊类型,请选择'}}</view>
-							</view>
-						</uni-forms-item>
-					</picker>
-					<uni-forms-item label="兴趣爱好" name="phonenumber">
-						<view class="flexc ml10">
-							<uni-easyinput type="textarea" autoHeight v-model="text" :inputBorder='false' placeholder="请输入兴趣爱好" />
-						</view>
-					</uni-forms-item>
-					
-					<uni-forms-item label="上传头像" name="phonenumber">			
-						<view class="flexe mt10">
-							<view class="addimgs">
-								<view class="assimg">
-									<image :src="aphoto" class="img"></image>
-									<image :src="rdelimg" class="delimg" @click="getDelFn"></image>
-								</view>
-							</view>
-							<view class="addbox">
-								<image :src="aphoto"></image>
-								<view>添加头图</view>
-							</view>
-						</view>	
-					</uni-forms-item>
-				</view>
-				<view class="rhbtn mt30 bga" @click="getNext">提交</view>
-			</view>
-		</uni-forms>
-		
-
-		<loading></loading>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	import {
-		checkPermi,
-		checkRole
-	} from "@/utils/permission"; // 权限判断函数
-	import {
-		uploadIdentify
-	} from '@/utils/common.js'
-	export default {
-		components: {},
-		data() {
-			return {
-				cardz:require('@/health/static/health/cardz.png'),
-				cardf:require('@/health/static/health/cardf.png'),
-				aphoto: require('@/work/static/service/photo.png'),
-				rdelimg: require('@/work/static/service/rdel.png'),
-				baseUrl: config.baseUrl,
-				checkflag:true,
-				nvaHeight:44,
-				backgroundColor: "transparent",
-				datainfo: {
-					sex:1,
-					realName: '',
-					idCard: '',
-					address: '',
-					expirationDate: '',
-					phonenumber: '',
-					front: '',
-					back: '',
-				},
-				syqxidx:'',
-				sexs: [{
-					text: '男',
-					value: 1
-				}, {
-					text: '女',
-					value: 2
-				}],
-			}
-		},
-		onLoad: function() {
-			uni.getSystemInfo({
-				success: (e) => {
-					this.nvaHeight = Number(e.statusBarHeight)+44;
-				}
-			})
-		},
-		onPageScroll(e) {
-			var scrollTop = Number(e.scrollTop);
-			if (scrollTop > 0) {
-				this.backgroundColor = '#48CC9A'
-			} else {
-				this.backgroundColor = 'transparent'
-			}
-		},
-		methods: {
-			checkPermi,
-			checkRole,
-			getBackFn(){
-				uni.navigateBack({
-					delta:1
-				})
-			},
-			bindDateChange(e){
-				var val=e.detail.value;
-				// this.datainfo.applicationBank=this.sdyhlist[val].value;
-				// this.applicationBank=this.sdyhlist[val].label;
-			},
-			getaddImage(e) {
-				let that = this;
-				// var rs=['D:\\idcard.png']
-				// if(rs&&rs.length>0){
-				// 	var obj={
-				// 		type:e,
-				// 		// url:baseUrl+rs.join(',')
-				// 		url:rs.join(',')
-				// 	}
-				// 	that.getOcrIdCard(obj)
-				// }
-				// return
-				let file = [],
-					count = 9
-				uni.chooseImage({
-					count: 1,
-					success: function(res) {
-						let img = res.tempFilePaths;
-						if (img.length + file.length > count) {
-							uni.showToast({
-								title: '最多上传' + count + '张图片',
-								icon: 'none',
-								duration: 2000
-							})
-						} else {
-							let imglen = res.tempFilePaths.length;
-							var fuwufile = [];
-							uploadIdentify('/common/upload', img, 0, 0, 0, imglen, fuwufile, function(rs) {
-								var resurl = rs[0];
-								if (e == 'front') {
-									that.datainfo.front = resurl.fileName;
-								} else {
-									that.datainfo.back = resurl.fileName;
-								}
-								if (rs && rs.length > 0) {
-									var obj = {
-										type: e,
-										url: resurl.urlOnline
-									}
-									that.getOcrIdCard(obj)
-								}
-							})
-						}
-					}
-				});
-			},
-			getOcrIdCard(obj) {
-				var params = {
-					image: obj.url,
-					idCardSide: obj.type
-				}
-				getOcrIdCard(params).then(res => {
-					if (res.code == 200) {
-						var datainfo = res.data;
-						if (obj.type == 'front') {
-							this.datainfo.realName = datainfo.realName;
-							this.datainfo.idCard = datainfo.idCard;
-							this.datainfo.address = datainfo.address;
-						} else {
-							this.datainfo.expirationDate = datainfo.expirationDate
-						}
-					}
-				})
-			}
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-	.bga{background-color: #46CB99;}
-.check /deep/ .uni-forms-item{min-height: 106rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:10rpx 0;}
-// .check .cbox /deep/ .uni-forms-item:last-child{border: none;}
-.check /deep/ .uni-forms-item__label{font-weight: bold;font-size: 26rpx;color: #222327;flex: 0 0 auto;width: auto !important;}
-.check /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 26rpx;color: #222327;}
-.check /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 26rpx;}
-.check /deep/ .uni-easyinput__placeholder-class{font-size: 26rpx;color: #AAAAAA;}
-.check /deep/ .uni-input-input{font-size: 26rpx;}
-.check /deep/ .uni-textarea-textarea{font-size: 26rpx;}
-.check /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
-.check /deep/ .uni-data-checklist .checklist-group .checklist-box{margin:10rpx 8rpx 10rpx 16rpx;}
-.check /deep/ .uni-data-checklist{flex: 0 0 auto;}
-.check /deep/ .is-required{font-size: 26rpx;color: #F40027;margin-right: 4rpx;}
-.check{background: linear-gradient(180deg, #45CB99 0%, rgba(238,227,197,0) 100%) no-repeat;background-size: 100% 782rpx;min-height: 100vh;box-sizing: border-box;padding: 0 18rpx 22rpx;}
-.cbox{background: #FFFFFF;border-radius: 20rpx;flex: 1;padding: 30rpx 24rpx 46rpx;
-	.chmain{
-		padding: 0 8rpx;
-		.upbox{height: 224rpx;background: #EFF4FF;border-radius: 20rpx;display: flex;align-items: center;justify-content: center;flex-direction: column;margin-bottom: 8rpx;overflow: auto;
-			.img{width: 100%;height: 100%;}
-			.addimg{width: 70rpx;height: 70rpx;margin-bottom: 16rpx;}
-			view{font-weight: bold;font-size: 26rpx;color: #4C6686;}
-		}
-		.rimg{width: 16rpx;height: 28rpx;flex: 0 0 auto;margin-left: 20rpx;
-			image{width: 100%;height: 100%;}
-		}
-		.checkimg{width: 80rpx;height: 40rpx;margin-right: 8rpx;}
-		.aphoto{padding: 0 24rpx;border-left: 2rpx solid #e6e6e6;margin-left: 26rpx;
-			image{width: 40rpx;height: 38rpx;}
-		}
-	}
-	
-}
-.navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;	}
-.rztit{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 30rpx;}
-	.carbox{width: 300rpx;border-radius: 14rpx;overflow: hidden;
-		.img{width: 300rpx;height: 208rpx;}
-		.tit{width: 100%;height: 56rpx;background: #7CC2A8;text-align: center;font-weight: 500;
-font-size: 26rpx;line-height: 56rpx;
-color: #FFFFFF;}
-	}
-	.cardtip{font-weight: 500;font-size: 24rpx;color: #999999;line-height: 40rpx;}
-.addimgs{display: flex;align-items: center;flex-wrap: wrap;justify-content: flex-end;
-	
-	.assimg{width: 128rpx;height: 128rpx;position: relative;overflow: hidden;margin: 0 0 20rpx 24rpx;
-		.img{width: 100%;height: 100%;}
-		.delimg{width: 24rpx;height: 24rpx;position: absolute;right: 0;top: 0;}
-	}
-}
-.addbox{width: 160rpx;height: 128rpx;background: #F0F0F0;border-radius: 20rpx;display: flex;flex-direction: column;align-items: center;justify-content: center;margin-left: 24rpx;margin-bottom: 20rpx;flex: 0 0 auto;
-		image{width: 48rpx;height: 42rpx;margin-bottom: 12rpx;}
-		view{font-weight: 500;font-size: 24rpx;color: #666666;}
-	}
-.tips{font-weight: bold;color: #272727;font-size: 26rpx;margin-left: 8rpx;}
-</style>

+ 0 - 615
user_wxui/health/pages/health/add.vue

@@ -1,615 +0,0 @@
-<template>
-	<!-- :style="'padding-top:'+nvaHeight+'px;'" -->
-	<view class="check">
-		<!-- <view class="navbox">
-			<uni-nav-bar  color="#ffffff" left-icon="left" title="健康档案"  :background-color="backgroundColor" :border="false" statusBar='true' fixed="true" @clickLeft="getBackFn">
-			</uni-nav-bar>
-		</view> -->
-		<uni-forms ref="form" :model="datainfo" :rules="rules">
-			<view class="cbox">
-				<view class="chmain">
-					<view class="plr6">
-						<view class="rztit">请上传身份证照片</view>
-						<view class="flexcj mb10">
-							<view class="carbox" @click="getaddImagea('front')">
-								<image :src="baseUrl+datainfo.idCardBack" class="img" v-if="datainfo.idCardBack"></image>
-								<image :src="cardz" class="img" v-else></image>
-								<view class="tit">拍摄人像面</view>
-							</view>
-							<view class="carbox" @click="getaddImagea('back')">
-								<image :src="baseUrl+datainfo.idCardFront" class="img" v-if="datainfo.idCardFront"></image>
-								<image :src="cardf" class="img" v-else></image>
-								<view class="tit">拍摄国徽面</view>
-							</view>
-						</view>
-						<view class="mb4">
-							<view class="cardtip">身份信息会根据上传的证件照片自动识别,支持手动输入。</view>
-							<view class="cardtip">如果识别错误,可尝试再次拍照。</view>
-						</view>
-					</view>
-					<uni-forms-item label="身份证号" required name="residentIdCard">
-						<view class="flexc">
-							<uni-easyinput  disabled v-model="datainfo.residentIdCard"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="姓名" required name="residentName">
-						<view class="flexc">
-							<uni-easyinput  disabled v-model="datainfo.residentName"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="性别" required name="residentGender">
-						<view class="flexc">
-							<view class="flex1"></view>
-							<uni-data-checkbox  :map="map" :disabled="isdisabled" selectedColor="#0156FE" selectedTextColor="#272727" v-model="datainfo.residentGender" :localdata="xbList" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="家庭地址" required name="idCardAddress">
-						<view class="flexc">
-							<uni-easyinput  disabled  v-model="datainfo.idCardAddress"  :inputBorder='false' placeholder="自动识别" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="手机号码" required name="residentPhone">
-						<view class="flexc">
-							<uni-easyinput  :disabled="isdisabled"  v-model="datainfo.residentPhone"  :inputBorder='false' placeholder="请输入手机号码" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="居住门户" required name="houseId">
-						<w-select
-						      style="margin-left: 20rpx;" 
-						     v-model="datainfo.houseId"
-						      :list='fwlist'
-						      valueName='dictLabel' 
-						      keyName="dictValue"
-							  :chosevalue="datainfo.detailedAddress"
-							  :filterable='filterable'
-						      @change='getchange'
-						    >
-						    </w-select>
-					</uni-forms-item>
-					
-					<picker range-key='dictLabel' :disabled="isdisabled" :value="sfhzidx" :range="sfList"   @change='bindDateChange'>
-						<uni-forms-item label="是否户主" required name="isHouseholder">
-							<view class="flexc mh35">
-								<view class="flex1 txr f13 co27" v-if="datainfo.isHouseholder&&!sfhz">{{statusFormats(datainfo.isHouseholder,sfList,'sfhz')}}</view>
-								<view class="flex1 txr f13" v-else :class="sfhz?'co27':'coa'">{{sfhz||"请选择是/否"}}</view>
-								
-							</view>
-						</uni-forms-item>
-					</picker>
-					<picker range-key='dictLabel' :disabled="isdisabled" :value="hzgxidx" :range="hzgxList"   @change='bindDateChangea'>
-						<uni-forms-item label="与户主关系" required name="residentRelationship">
-							<view class="flexc mh35">
-								<view class="flex1 txr f13 co27" v-if="datainfo.residentRelationship&&!hzgx">{{statusFormats(datainfo.residentRelationship,hzgxList,'hzgx')}}</view>
-								<view class="flex1 txr f13" v-else :class="hzgx?'co27':'coa'">{{hzgx||"请选择与户主关系"}}</view>
-								
-							</view>
-						</uni-forms-item>
-					</picker>
-					<picker range-key='dictLabel' :disabled="isdisabled" :value="sfzhidx" :range="sfList"   @change='bindDateChangeb'>
-						<uni-forms-item label="是否租户" required name="isTenant">
-							<view class="flexc mh35">
-								<view class="flex1 txr f13 co27" v-if="datainfo.isTenant&&!sfzh">{{statusFormats(datainfo.isTenant,sfList,'sfzh')}}</view>
-								<view class="flex1 txr f13" v-else :class="sfzh?'co27':'coa'">{{sfzh||"请选择是/否"}}</view>
-								
-							</view>
-						</uni-forms-item>
-					</picker>
-					<picker range-key='dictLabel' :disabled="isdisabled" :value="rymmidx" :range="rymmList"   @change='bindDateChangec'>
-						<uni-forms-item label="人员面貌" required name="residentAppearance">
-							<view class="flexc mh35">
-								<view class="flex1 txr f13 co27" v-if="datainfo.residentAppearance&&!rymm">{{statusFormats(datainfo.residentAppearance,rymmList,'rymm')}}</view>
-								<view class="flex1 txr f13" v-else :class="rymm?'co27':'coa'">{{rymm||"请选择人员面貌"}}</view>
-								
-							</view>
-						</uni-forms-item>
-					</picker>
-					<picker range-key='dictLabel' :disabled="isdisabled" :value="dslxidx" :range="dslxList"   @change='bindDateChanged'>
-						<uni-forms-item label="特殊类型" name="specialType">
-							<view class="flexc mh35">
-								<view class="flex1 txr f13 co27" v-if="datainfo.specialType&&!dslx">{{statusFormats(datainfo.specialType,dslxList,'dslx')}}</view>
-								<view class="flex1 txr f13" v-else :class="dslx?'co27':'coa'">{{dslx||"如有五保户等特殊类型,请选择"}}</view>
-								
-							</view>
-						</uni-forms-item>
-					</picker>
-					<uni-forms-item label="工作单位"  name="residentEmployer">
-						<view class="flexc">
-							<uni-easyinput :disabled="isdisabled"  v-model="datainfo.residentEmployer"  :inputBorder='false' placeholder="请输入工作单位" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="兴趣爱好" name="residentHobby">
-						<view class="flexc ml10">
-							<uni-easyinput type="textarea" :disabled="isdisabled" autoHeight v-model="datainfo.residentHobby" :inputBorder='false' placeholder="请输入兴趣爱好" />
-						</view>
-					</uni-forms-item>
-					
-					<uni-forms-item label="上传头像" name="facePhoto">			
-						<view class="addimgs">
-							<block v-if="phofile&&phofile.length">
-								<view class="assimg" v-for="(ite,idx) in phofile" :key="idx" @click="getPreview(idx,phofile)">
-									<image :src="baseUrl+ite" class="img"></image>
-									<image :src="rdelimg" class="delimg" @click.stop="getDelFn(idx,'fm')"></image>
-								</view>
-							</block>
-							<view class="addbox" @click="getaddImage">
-								<image :src="aphoto"></image>
-								<view>添加图片</view>
-							</view>
-						</view>
-					</uni-forms-item>
-				</view>
-				<view class="rhbtn mt30 bga" @click="getEditFn" v-if="isdisabled">修改</view>
-				<view class="rhbtn mt30 bga" @click="getSubmit" v-else>提交</view>
-			</view>
-		</uni-forms>
-		
-
-		<loading></loading>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
-	import {uploadIdentify,uploadmore} from '@/utils/common.js'
-	import {houseInfolistNoPage} from "@/api/work/work.js"
-	import {residentInfoAdd,residentInfoPut,residentInfoDet} from "@/api/work/people.js"
-	import {getDictionaryFn} from "@/api/system/user.js"
-	import {selectValueKey} from "@/utils/common.js"
-	import {getOcrIdCard} from "@/api/system/card.js"
-	import wSelect from "@/work/components/w-select/w-select.vue"
-	export default {
-		components: {wSelect},
-		data() {
-			return {
-				cardz:require('@/health/static/health/cardz.png'),
-				cardf:require('@/health/static/health/cardf.png'),
-				aphoto: require('@/work/static/service/photo.png'),
-				rdelimg: require('@/work/static/service/rdel.png'),
-				baseUrl: config.baseUrl,
-				checkflag:true,
-				nvaHeight:44,
-				backgroundColor: "transparent",
-				datainfo: {
-					// "residentId":"",//居住人员主键
-					"houseId":"",//关联房屋信息表的house_id
-					// "userId":"",//关联sys_user表中user_id
-					"detailedAddress":"",//居住人员的详细门牌号
-					"residentName":"",//居住人员姓名
-					"residentIdCard":"",//居住人员身份证号码,18位
-					"residentBirthday":"",//居住人员出生日期
-					// "yearsOld":"",//年龄
-					"residentPhone":"",//居住人员手机号
-					"residentGender":'',//居住人员性别:1-男,2-女
-					"residentRelationship":"",//居住人员与户主的关系,如父子、夫妻等
-					"isHouseholder":"",//是否是户主 N不是 Y是
-					"isTenant":"",//是否是租户:Y-是,N-否
-					"residentEmployer":"",//居住人员工作单位
-					"residentAppearance":"",//居住人员面貌,如党员、群众等
-					"residentHobby":"",//爱好
-					"facePhoto":"",//人脸地址
-					"idCardAddress":"",//身份证住址
-					"specialType":"",//特殊类型
-					"idCardFront":"",//身份证正面
-					"idCardBack":"",//身份证反面
-				},
-				rules:{
-					residentIdCard: {rules: [{required: true,errorMessage: '请输入身份证号码' }]},
-					residentName: {rules: [{required: true,errorMessage: '请输入姓名' }]},
-					residentGender: {rules: [{required: true,errorMessage: '请选择性别' }]},
-					houseId: {rules: [{required: true,errorMessage: '请选择居住门户' }]},
-					detailedAddress: {rules: [{required: true,errorMessage: '请输入居住地址' }]},
-					isHouseholder: {rules: [{required: true,errorMessage: '请选择是否户主' }]},
-					// residentRelationship: {rules: [{required: true,errorMessage: '请选择与户主关系' }]},
-					// isTenant: {rules: [{required: true,errorMessage: '请选择是否租户' }]},
-					// residentAppearance: {rules: [{required: true,errorMessage: '请选择人员面貌' }]},
-					residentPhone: {rules: [{required: true,errorMessage: '请输入手机号'}, {pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,errorMessage:'请输入正确的手机号码'}]},
-				  },
-				sfhz:"",
-				hzgx:"",
-				sfzh:"",
-				rymm:"",
-				dslx:"",
-				sfhzidx:0,
-				hzgxidx:0,
-				sfzhidx:0,
-				rymmidx:0,
-				sfhzidx:0,
-				dslxidx:0,
-				list:[],
-				sfList:[],
-				hzgxList:[],
-				rymmList:[],
-				dslxList:[],
-				xbList:[],
-				phofile:[],
-				fwlist:[],
-				isdisabled:false,
-				ptype:'add',
-				filterable:true,
-				chooseValue:'',
-				map:{text:'dictLabel',value:'dictValue'},
-				userId:this.$store.state.user.userId,
-			}
-		},
-		onLoad: function(e) {
-			if(e.id){
-				this.id=e.id;
-				this.ptype="edit";
-				// this.isdisabled=true;
-				this.getDetail()
-			}
-			this.init()
-			uni.getSystemInfo({
-				success: (e) => {
-					this.nvaHeight = Number(e.statusBarHeight)+44;
-				}
-			})
-		},
-		onPageScroll(e) {
-			var scrollTop = Number(e.scrollTop);
-			if (scrollTop > 0) {
-				this.backgroundColor = '#48CC9A'
-			} else {
-				this.backgroundColor = 'transparent'
-			}
-		},
-		methods: {
-			checkPermi,
-			checkRole,
-			getEditFn(){
-				this.isdisabled=false;
-			},
-			statusFormats(data, list,type) {
-				var aite=selectValueKey(list, data);
-				if(type=='sfhz'){
-					this.sfhzidx=aite.key
-				}else if(type=='hzgx'){
-					this.hzgxidx=aite.key;
-				}else if(type=='sfzh'){
-					this.sfzhidx=aite.key;
-				}else if(type=='rymm'){
-					this.rymmidx=aite.key;
-				}
-				return aite.actions;
-			},
-			getchange(e){
-				this.datainfo.houseId=e.dictValue;
-				this.datainfo.detailedAddress=e.dictLabel;
-			},
-			init(){
-				var params={
-					userId:this.userId,
-					pageSize: 100,
-					pageNum: 1,
-				}
-				houseInfolistNoPage(params).then(res=>{
-					if(res.code==200){
-						this.fwlist= res.rows.map(v => {
-							return {
-								dictLabel: v.detailedAddress,
-								dictValue: v.houseId,
-								location: v.location
-							}
-						})
-						if(res.rows&&res.rows.length<2){
-							var newObj=res.rows[0];
-							this.datainfo.houseId=newObj.houseId;
-							this.datainfo.detailedAddress=newObj.detailedAddress
-						}
-					}
-				})
-				// 是否
-				getDictionaryFn('sys_yes_no').then(res=>{
-					if(res.code==200){
-						this.sfList = res.data.map(v => {
-							return {
-								dictLabel: v.dictLabel,
-								dictValue: v.dictValue
-							}
-						})
-					}
-				})
-				//户主关系
-				getDictionaryFn('relationship_householder').then(res=>{
-					if(res.code==200){
-						this.hzgxList = res.data.map(v => {
-							return {
-								dictLabel: v.dictLabel,
-								dictValue: v.dictValue
-							}
-						})
-					}
-				})
-				//人员面貌
-				getDictionaryFn('affiliation_personnel').then(res=>{
-					if(res.code==200){
-						this.rymmList = res.data.map(v => {
-							return {
-								dictLabel: v.dictLabel,
-								dictValue: v.dictValue
-							}
-						})
-					}
-				})
-				// 特殊类型
-				
-				getDictionaryFn('special_type').then(res=>{
-					if(res.code==200){
-						this.dslxList = res.data.map(v => {
-							return {
-								dictLabel: v.dictLabel,
-								dictValue: v.dictValue
-							}
-						})
-					}
-				})
-				//性别
-				getDictionaryFn('gender').then(res=>{
-					if(res.code==200){
-						this.xbList = res.data.map(v => {
-							return {
-								dictLabel: v.dictLabel,
-								dictValue: Number(v.dictValue)
-							}
-						})
-					}
-				})
-				
-			},
-			getBackFn(){
-				uni.navigateBack({
-					delta:1
-				})
-			},
-			bindDateChange(e){
-				var val=e.detail.value;
-				this.datainfo.isHouseholder=this.sfList[val].dictValue;
-				this.sfhz=this.sfList[val].dictLabel;
-			},
-			bindDateChangea(e){
-				var val=e.detail.value;
-				this.datainfo.residentRelationship=this.hzgxList[val].dictValue;
-				this.hzgx=this.hzgxList[val].dictLabel;
-			},
-			bindDateChangeb(e){
-				var val=e.detail.value;
-				this.datainfo.isTenant=this.sfList[val].dictValue;
-				this.sfzh=this.sfList[val].dictLabel;
-			},
-			bindDateChangec(e){
-				var val=e.detail.value;
-				this.datainfo.residentAppearance=this.rymmList[val].dictValue;
-				this.rymm=this.rymmList[val].dictLabel;
-			},
-			bindDateChanged(e){
-				var val=e.detail.value;
-				this.datainfo.specialType=this.dslxList[val].dictValue;
-				this.dslx=this.dslxList[val].dictLabel;
-			},
-			getDetail(){
-				residentInfoDet(this.id).then(res=>{
-					if(res.code==200){
-						this.datainfo=res.data;
-						if(res.data.facePhoto){
-							this.phofile=res.data.facePhoto.split(',')
-						}
-					}
-				})
-			},
-			getSubmit(){
-				var that=this;
-				this.$refs.form.validate().then(res => {
-					var params=JSON.parse(JSON.stringify(this.datainfo))
-					var phofile=JSON.parse(JSON.stringify(this.phofile))
-					if(phofile&&phofile.length){
-						params.facePhoto=this.phofile.join(',');
-					}
-					// if(!params.assetId){
-					// 	this.$toast('请选择资产类型')
-					// 	return
-					// }
-					// if(!params.equipmentName){
-					// 	this.$toast('请输入资产名称')
-					// 	return
-					// }
-					if(!params.detailedAddress){
-						this.$toast('请选择居住门户')
-						return
-					}
-					let _IDRe18 =
-						/^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
-					let _IDre15 = /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/
-					// 校验身份证:
-					if (params.residentIdCard&&!_IDRe18.test(params.residentIdCard) && !_IDre15.test(params.residentIdCard)) {
-						this.$toast("请输入正确身份证号")
-						return
-					}
-					if(this.ptype=='add'){
-						residentInfoAdd(params).then(res=>{
-							if(res.code==200){
-								this.$toast("新增成功")
-								setTimeout(function(){
-									uni.$emit("residentInfoList")
-									uni.navigateBack({
-										delta:1
-									})
-								},1500)
-							}
-						})
-					}else{
-						residentInfoPut(params).then(res=>{
-							if(res.code==200){
-								this.$toast("修改成功")
-								setTimeout(function(){
-									uni.$emit("residentInfoList")
-									uni.navigateBack({
-										delta:1
-									})
-								},1500)
-							}
-						})
-					}	
-				})
-			},
-			getPreview(idx,arr) {
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {},
-					fail: function(err) {}
-				});
-			},
-			getDelFn(idx,type){
-				var that=this;
-				uni.showModal({
-					title: '确认删除',
-					content: "是否确认删除",
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							that.phofile.splice(idx,1)	
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getaddImage(type){
-				if(this.isdisabled){
-					return
-				}
-				let that = this;
-				let file =[],count=9
-				uni.chooseImage({
-					success:function(res){
-						let img= res.tempFilePaths;
-						if(img.length + file.length > count){
-							uni.showToast({
-								title: '最多上传'+count+'张图片',
-								icon: 'none',
-								duration: 2000
-							})
-						}else{
-							let imglen = res.tempFilePaths.length;
-							var fuwufile = [];
-							uploadmore('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
-								that.phofile = that.phofile.concat(rs);
-							})	
-						}
-					}
-				});
-			},
-			getaddImagea(e) {
-				let that = this;
-				let file = []
-				uni.chooseImage({
-					count: 1,
-					success: function(res) {
-						let img = res.tempFilePaths;
-						let imglen = res.tempFilePaths.length;
-						var fuwufile = [];
-						uploadIdentify('/common/upload', img, 0, 0, 0, imglen, fuwufile, function(rs) {
-							var resurl = rs[0];
-							if (e == 'front') {
-								that.datainfo.idCardBack = resurl.fileName;
-								if (rs && rs.length > 0) {
-									var obj = {
-										type: e,
-										url: resurl.urlOnline
-									}
-									that.getOcrIdCard(obj)
-								}
-							} else {
-								that.datainfo.idCardFront = resurl.fileName;
-							}
-						})
-					}
-				});
-			},
-			getOcrIdCard(obj) {
-				var params = {
-					image: obj.url,
-					idCardSide: obj.type
-				}
-				getOcrIdCard(params).then(res => {
-					if (res.code == 200) {
-						var datainfo = res.data;
-						if (obj.type == 'front') {
-							this.datainfo.residentName = datainfo.realName;
-							this.datainfo.residentIdCard = datainfo.idCard;
-							this.datainfo.idCardAddress = datainfo.address;
-						// } else {
-						// 	this.datainfo.expirationDate = datainfo.expirationDate
-						}
-					}
-				})
-			}
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-	.bga{background-color: #46CB99;}
-.check /deep/ .select-wrap{border: none;width: 100%;}
-.mh35{min-height: 70rpx;display: flex;align-items: center;}
-.check /deep/ .uni-forms-item{min-height: 106rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:10rpx 0;}
-// .check .cbox /deep/ .uni-forms-item:last-child{border: none;}
-.check /deep/ .uni-forms-item__label{font-weight: bold;font-size: 26rpx;color: #222327;flex: 0 0 auto;width: auto !important;}
-.check /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 26rpx;color: #222327;}
-.check /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 26rpx;}
-.check /deep/ .uni-easyinput__placeholder-class{font-size: 26rpx;color: #AAAAAA;}
-.check /deep/ .uni-input-input{font-size: 26rpx;}
-.check /deep/ .uni-textarea-textarea{font-size: 26rpx;}
-.check /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
-.check /deep/ .uni-data-checklist .checklist-group .checklist-box{margin:10rpx 8rpx 10rpx 16rpx;}
-.check /deep/ .uni-data-checklist{flex: 0 0 auto;}
-.check /deep/ .is-required{font-size: 26rpx;color: #F40027;margin-right: 4rpx;}
-.check{background: linear-gradient(180deg, #45CB99 0%, rgba(238,227,197,0) 100%) no-repeat;background-size: 100% 782rpx;min-height: 100vh;box-sizing: border-box;padding: 0 18rpx 22rpx;}
-.cbox{background: #FFFFFF;border-radius: 20rpx;flex: 1;padding: 30rpx 24rpx 46rpx;
-	.chmain{
-		padding: 0 8rpx;
-		.upbox{height: 224rpx;background: #EFF4FF;border-radius: 20rpx;display: flex;align-items: center;justify-content: center;flex-direction: column;margin-bottom: 8rpx;overflow: auto;
-			.img{width: 100%;height: 100%;}
-			.addimg{width: 70rpx;height: 70rpx;margin-bottom: 16rpx;}
-			view{font-weight: bold;font-size: 26rpx;color: #4C6686;}
-		}
-		.rimg{width: 16rpx;height: 28rpx;flex: 0 0 auto;margin-left: 20rpx;
-			image{width: 100%;height: 100%;}
-		}
-		.checkimg{width: 80rpx;height: 40rpx;margin-right: 8rpx;}
-		.aphoto{padding: 0 24rpx;border-left: 2rpx solid #e6e6e6;margin-left: 26rpx;
-			image{width: 40rpx;height: 38rpx;}
-		}
-	}
-	
-}
-.navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;	}
-.rztit{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 30rpx;}
-	.carbox{width: 300rpx;border-radius: 14rpx;overflow: hidden;
-		.img{width: 300rpx;height: 208rpx;}
-		.tit{width: 100%;height: 56rpx;background: #7CC2A8;text-align: center;font-weight: 500;
-font-size: 26rpx;line-height: 56rpx;
-color: #FFFFFF;}
-	}
-	.cardtip{font-weight: 500;font-size: 24rpx;color: #999999;line-height: 40rpx;}
-.addimgs{display: flex;align-items: center;flex-wrap: wrap;justify-content: flex-end;
-	
-	.assimg{width: 128rpx;height: 128rpx;position: relative;overflow: hidden;margin: 0 0 20rpx 24rpx;
-		.img{width: 100%;height: 100%;}
-		.delimg{width: 24rpx;height: 24rpx;position: absolute;right: 0;top: 0;}
-	}
-}
-.addbox{width: 160rpx;height: 128rpx;background: #F0F0F0;border-radius: 20rpx;display: flex;flex-direction: column;align-items: center;justify-content: center;margin-left: 24rpx;margin-bottom: 20rpx;flex: 0 0 auto;
-		image{width: 48rpx;height: 42rpx;margin-bottom: 12rpx;}
-		view{font-weight: 500;font-size: 24rpx;color: #666666;}
-	}
-.tips{font-weight: bold;color: #272727;font-size: 26rpx;margin-left: 8rpx;}
-</style>

+ 0 - 358
user_wxui/health/pages/health/detail.vue

@@ -1,358 +0,0 @@
-<template>
-  <view class="hdetail" :style="'padding-top:'+nvaHeight+'px;'">
-		<view class="navbox">
-			<uni-nav-bar  color="#ffffff" left-icon="left" title="健康档案"  :background-color="backgroundColor" :border="false" statusBar='true' fixed="true" @clickLeft="getBackFn">
-			</uni-nav-bar>
-			<!-- 家人 -->
-			<view class="headbox flexc" :style="'backgroundColor:'+backgroundColor">
-				<view class="htop" :class="tabval==idx?'act':''" v-for="(ite,idx) in list" :key="idx" @click="getTabFn(idx)">
-					<view class="img"><image :src="heada" class="imaga"></image></view>
-					<view class="tit">{{ite.tit}}</view>
-				</view>
-				<view class="htop"  @click="getAddFn">
-					<view class="img add"><image :src="addimg"></image></view>
-					<view class="tit">添加</view>
-				</view>
-				
-			</view>
-		</view>
-		<!-- 主体 -->
-		<view class="wymain" >
-			<view class="headbox flexc" style="opacity: 0;">
-				<view class="htop">
-					<view class="img"><image :src="heada" class="imaga"></image></view>
-					<view class="tit">户主</view>
-				</view>
-			</view>
-			<view class="hmain">
-				<view class="hmtop mb20">
-					<image :src="heada" class="head"></image>
-					<view class="hmtopa flex1">
-						<view class="flex mb14">
-							<view class="tit">袁玥</view>
-							<view class="btn btna">本人</view>
-							<view class="btn btnb">党员</view>
-							<view class="btn btnc">五保户</view>
-						</view>
-						<view class="hmtopb flexc mb10">
-							<image :src="car" class="limg"></image>
-							<view >
-								<view class="hmtit">身份证号</view>
-								<view class="hmtxt flexc">
-									<view class="hmtxts">{{lookfalg?cartit:carpass}}</view>
-								<image :src="eye" v-if="lookfalg" @click="lookfalg=false"></image>
-								<image :src="neye" v-else @click="lookfalg=true"></image>
-								
-								</view>
-							</view>
-						</view>
-						<view class="hmtopb flexc ">
-							<image :src="adr" class="limg"></image>
-							<view >
-								<view class="hmtit">家庭住址</view>
-								<view class="hmtxt">幸福小区1号楼3单元1101</view>
-							</view>
-						</view>
-					</view>
-					<view class="code" @click="getCodeFn">
-						<image :src="headb"></image>
-						<view>点击放大二维码</view>
-					</view>
-				</view>
-				<view class="hline mb18 flexc">
-					<view class="tit">MORE</view>
-					<view class="line"></view>
-				</view>
-				<view class="detail mb24">
-					<view class="detop mb14">
-						<image :src="icon"></image>
-						<view class="flexcj detit">基础信息<view class="detxt">更新时间:2024-10-24</view></view>
-					</view>
-					<view class="dlists">
-						<view class="lists">
-							<view class="ltit">性别</view><view class="ltxt">女</view>
-						</view>
-						<view class="lists">
-							<view class="ltit">年龄</view><view class="ltxt">38岁</view>
-						</view>
-						<view class="lists">
-							<view class="ltit">血型</view><view class="ltxt">B型</view>
-						</view>
-						<view class="lists">
-							<view class="ltit">血压</view><view class="ltxt">65/120mmHg</view>
-						</view>
-						<block v-if="zhanList[0].zhanflag">
-							<view class="lists">
-								<view class="ltit">身高</view><view class="ltxt">165cm</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">体重</view><view class="ltxt">67kg</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">腰围</view><view class="ltxt">85cm</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">体质指数</view><view class="ltxt">142kg/m2</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">脉搏</view><view class="ltxt">90bpm</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">体温</view><view class="ltxt">36.4℃</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">呼吸频率</view><view class="ltxt">50次/分钟</view>
-							</view>
-						</block>
-					</view>
-					<view class="upbox" @click="getZhanFn(0)">
-						<view>{{zhanList[0].zhanflag?'折叠':'展开'}}</view>
-						<image :src="upimg" :class="zhanList[0].zhanflag?'':'zhe'"></image>
-					</view>
-				</view>
-				<view class="detail mb24">
-					<view class="detop mb14">
-						<image :src="icon"></image>
-						<view class="flexcj detit">健康病史<view class="detxt">更新时间:2024-10-24</view></view>
-					</view>
-					<view class="dlists">
-						<view class="lists w100">
-							<view class="ltit">基础疾病</view><view class="ltxt">慢性支气管炎</view>
-						</view>
-						<view class="lists w100">
-							<view class="ltit">病史</view><view class="ltxt">高血压、高血糖、甲状腺结节 拷贝</view>
-						</view>
-						<block v-if="zhanList[1].zhanflag">
-							<view class="lists">
-								<view class="ltit">近视/远视</view><view class="ltxt">近视</view>
-							</view>
-							<view class="lists">
-								<view class="ltit">近视/远视度数</view><view class="ltxt">左:375 右:400</view>
-							</view>
-						</block>
-					</view>
-					<view class="upbox" @click="getZhanFn(1)">
-						<view>{{zhanList[1].zhanflag?'折叠':'展开'}}</view>
-						<image :src="upimg" :class="zhanList[1].zhanflag?'':'zhe'"></image>
-					</view>
-				</view>
-				<view class="detail">
-					<view class="detop mb14">
-						<image :src="icon"></image>
-						<view class="flexcj detit">兴趣爱好<view class="detxt">更新时间:2024-10-24</view></view>
-					</view>
-					<view class="dlists">
-						<view class="lists w100">
-							<view class="ltit">兴趣爱好</view>
-							<view class="ltxt">喜欢运动,经常参加马拉松比赛</view>
-							<view class="ltxt">平时也好书法,参加书法展</view>
-						</view>
-					</view>
-				</view>
-				<view class="dbtns flexcj mt55">
-					<view class="btna">删除档案</view>
-					<view class="btnb">修改档案</view>
-				</view>
-			</view>
-		</view>
-	<loading></loading>
-	<pop-up :type="type" @getClose='getClose'></pop-up>
-  </view>
-</template>
-
-<script>
-	import popUp from "@/health/components/popup/popup.vue"
-  export default {
-	components:{popUp},
-	data(){
-		return{
-			nvaHeight:44,
-			// activeColor:'#A7CDF9',
-			// nactiveColor:'#DADADA',
-			backgroundColor: "transparent",
-			heada:require("@/health/static/health/heada.png"),
-			headb:require("@/health/static/health/headb.png"),
-			headc:require("@/health/static/health/headc.png"),
-			headd:require("@/health/static/health/headd.png"),
-			heade:require("@/health/static/health/heade.png"),
-			headf:require("@/health/static/health/headf.png"),
-			adr:require("@/health/static/health/adr.png"),
-			car:require("@/health/static/health/car.png"),
-			icon:require("@/health/static/health/icon.png"),
-			addimg:require("@/health/static/health/add.png"),
-			eye:require("@/static/images/home/eye.png"),
-			neye:require("@/static/images/neye.png"),
-			upimg:require("@/static/images/up.png"),
-			lookfalg:false,	
-			tabval:0,
-			cartit:'378554199010206016',
-			carpass:'3********6',
-			type:'',
-			list:[{tit:'户主'},{tit:'丈夫'},{tit:'儿子'},{tit:'女儿'},{tit:'婆婆'},{tit:'公公'},],
-			datainfo:{
-				
-			},
-			zhanList:[{zhanflag:true},{zhanflag:true},{zhanflag:true},{zhanflag:true}],
-		}
-	},
-	watch:{
-		lookfalg(val){
-			if(val){
-				
-			}
-		}
-	},
-	onPageScroll(e) {
-		var scrollTop = Number(e.scrollTop);
-		if (scrollTop > 0) {
-			this.backgroundColor = '#48CC9A'
-		} else {
-			this.backgroundColor = 'transparent'
-		}
-	},
-    onLoad: function() {
-		uni.getSystemInfo({
-			success: (e) => {
-				this.nvaHeight = Number(e.statusBarHeight)+44;
-			}
-		})
-    },
-	methods:{	
-		getClose(){
-			this.type="";
-		},
-		getCodeFn(){
-			this.type='code'
-		},
-		getAddFn(){
-			this.$tab.navigateTo(`/health/pages/health/add`)
-		},
-		getZhanFn(idx){
-			this.zhanList[idx].zhanflag=!this.zhanList[idx].zhanflag
-		},
-		getBackFn(){
-			uni.navigateBack({
-				delta:1
-			})
-		},
-		getCode(code){
-			var idCard='123456789'
-			const firstPart = idCard.slice(0, 1);  
-			  // 生成中间8位的星号  
-			  const middlePart = '*'.repeat(idCard.length-2);  
-			  // 获取后4位  
-			  const lastPart = idCard.slice(idCard.length-1); 
-			  var s= firstPart + middlePart + lastPart;
-			  console.log(s)
-			  // return firstPart + middlePart + lastPart;
-		},
-		getTabFn(val){
-			this.tabval=val;
-		},
-		getDataFn(){
-			var params={
-				pageSize:this.pageSize,
-				pageNum: this.pageNum,
-			}
-			params.noticeType=this.tabidx
-			getNoticeList(params).then(res=>{
-				if(res.code==200){
-					
-				}else{
-					this.$toast(res.msg)
-				}
-			})
-			
-		},
-		
-	}
-  }
-</script>
-<style>
-	page{background:#F4F6F8;}
-</style>
-<style lang="scss" scoped>
-.w100{width: 100%;}
-.hdetail{
-	background: linear-gradient(180deg, #45CB99 0%, rgba(238,227,197,0) 100%) no-repeat;background-size: 100% 782rpx;min-height: 100vh;box-sizing: border-box;
-}
-.headbox{padding: 14rpx 20rpx 20rpx;overflow: auto;
-	.htop{display: flex;flex-direction: column;align-items: center;margin: 0 16rpx;
-		.img{width: 88rpx;height: 88rpx;border-radius: 50%;border: 8rpx solid #D4F6E5;margin-bottom: 16rpx;display: flex;align-items: center;justify-content: center;box-sizing: border-box;
-		&.add{border: none;
-			image{width: 86rpx;height: 86rpx;}
-		}
-			image{border-radius: 50%;}
-			.imaga{width: 70rpx;height: 74rpx;}
-			.imagb{width: 70rpx;height: 72rpx;}
-			.imagc{width: 70rpx;height: 76rpx;}
-			.imagd{width: 70rpx;height: 70rpx;}
-			.image{width: 70rpx;height: 74rpx;}
-		}
-		.tit{font-weight: 500;font-size: 22rpx;color: #3FA47D;}
-		&.act{
-			.tit{font-weight: bold;color: #FFFFFF;}
-		}
-	}
-}
-.navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;	}
-.wymain{z-index: 2;position: relative;padding: 0 24rpx 24rpx;}
-.hmain{background: #FFFFFF;border-radius: 20rpx;padding: 32rpx 24rpx 44rpx;
-	.hmtop{display: flex;
-		.head{width: 60rpx;height: 60rpx;border-radius: 8rpx;flex: 0 0 auto;margin-right: 28rpx;}
-		.hmtopa{
-			.tit{font-weight: bold;font-size: 32rpx;
-color: #272727;}
-			.btn{font-weight: bold;font-size: 22rpx;min-width: 64rpx;height: 30rpx;padding: 0 10rpx;box-sizing: border-box;margin-left: 14rpx;border-radius: 16rpx;display: flex;align-items: center;justify-content: center;margin-top: 6rpx;color: #FFFFFF;
-			&.btna{border: 2rpx solid #2589FF;color: #2589FF;}
-			&.btnb{background:#FF6969;}
-			&.btnc{background:#F6C576;}
-			}
-		}
-		.hmtopb{
-			image{flex: 0 0 auto;}
-			.limg{width: 46rpx;height: 46rpx;margin-right: 22rpx;}
-			.hmtit{font-size: 26rpx;color: #AAAAAA;font-weight: 500;margin-bottom: 4rpx;}
-			.hmtxt{font-size: 26rpx;color: #272727;font-weight: 500;
-				.hmtxts{min-width: 270rpx;}
-			 image{width: 26rpx;height: 18rpx;margin-left: 16rpx;
-				// image{width: 100%;height: 100%;}
-			 }
-			}
-		}
-		.code{flex:0 0 auto;
-			view{font-weight: 500;font-size: 20rpx;color: #AAAAAA;}
-			image{width: 132rpx;height: 132rpx;margin-bottom: 10rpx;}
-		}
-	}
-	.hline{
-		.tit{font-weight: bold;font-size: 20rpx;color: #48CB9B;font-style: italic;margin-right: 22rpx;flex: 0 0 auto;}
-		.line{flex: 1;border-bottom: 2rpx solid #E6E6E6;}
-	}	
-	.detail{
-		.detop{position: relative;
-			image{width: 30rpx;height: 30rpx;position: absolute;left: 0;top: 7rpx;z-index: 0;}
-			.detit{font-size: 16px;color: #272727;font-weight: bold;line-height: 44rpx;padding-left: 10rpx;position: relative;z-index: 2;}
-			.detxt{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;}
-		}
-	}
-	.dlists{display: flex;align-items: center;flex-wrap: wrap;
-		.lists{line-height: 36rpx;padding: 12rpx 0 12rpx 12rpx;min-width: 23%;box-sizing: border-box;
-			.ltit{font-weight: 500;font-size: 26rpx;color: #AAAAAA;margin-bottom: 4rpx;}
-			.ltxt{font-weight: 500;font-size: 26rpx;color: #272727;}
-		}
-	}
-}
-.upbox{display: flex;align-items: center;justify-content: center;margin-top: 8rpx;padding: 10rpx 0;
-		image{width: 24rpx;height: 20rpx;transition: all 0.3s;margin-left: 14rpx;
-			&.zhe{transform: rotate(-180deg);}
-		}
-		view{font-weight: 500;font-size: 22rpx;color: #AAAAAA;}
-	}
-.dbtns{
-	view{width: 314rpx;box-sizing: border-box;display: flex;align-items: center;justify-content: center;font-weight: bold;font-size: 26rpx;height: 88rpx;border-radius: 10px;
-	&.btna{border: 1px solid #FF6969;background: #FFEEEE;color: #FF6969;}
-	&.btnb{background: #46CB99;color: #FFFFFF;}
-	}
-}
-</style>

BIN
user_wxui/health/static/health/add.png


BIN
user_wxui/health/static/health/adr.png


BIN
user_wxui/health/static/health/car.png


BIN
user_wxui/health/static/health/cardf.png


BIN
user_wxui/health/static/health/cardz.png


BIN
user_wxui/health/static/health/down.png


BIN
user_wxui/health/static/health/heada.png


BIN
user_wxui/health/static/health/headb.png


BIN
user_wxui/health/static/health/headc.png


BIN
user_wxui/health/static/health/headd.png


BIN
user_wxui/health/static/health/heade.png


BIN
user_wxui/health/static/health/headf.png


BIN
user_wxui/health/static/health/hicoa.png


BIN
user_wxui/health/static/health/hicob.png


BIN
user_wxui/health/static/health/icon.png


BIN
user_wxui/health/static/health/search.png


BIN
user_wxui/health/static/house.png


BIN
user_wxui/health/static/housea.png


BIN
user_wxui/health/static/houseb.png


BIN
user_wxui/health/static/housec.png


BIN
user_wxui/health/static/man.png


BIN
user_wxui/health/static/woman.png


+ 0 - 36
user_wxui/main.js

@@ -1,36 +0,0 @@
-import Vue from 'vue'
-import App from './App'
-import store from './store' // store
-import plugins from './plugins' // plugins
-import './permission' // permission
-Vue.use(plugins)
-import {toast} from "@/utils/common.js"
-/** 
- * 引用全局加载 loading
- * */
-import loading from "./components/loading/loading.vue"
-Vue.component('loading',loading);
-//是否显示加载中 的方法 调用store中的mutations方法
-function loadings(tf){
-    /* if(tf){
-        store.commit("switch_loading",tf)
-    }else{
-        store.commit("switch_loading")
-    } */
-	store.commit("switch_loading",tf);
-}
-//也挂在到原型链上 方便在每个页面中  使用 this.$loading()  去显示加载中
-Vue.prototype.$loading = loadings;
-
-
-Vue.config.productionTip = false
-Vue.prototype.$store = store
-Vue.prototype.$toast=toast;
-App.mpType = 'app'
-
-const app = new Vue({
-  ...App
-})
-
-app.$mount()
-export default app

+ 0 - 273
user_wxui/manage/components/box/list.vue

@@ -1,273 +0,0 @@
-<template>
-<view>
-	<!-- 第一种样式  人员管理-->
-	<block v-if="datainfo.length>0">
-		<!-- 历史账单 -->
-		<block v-if="type=='moneybill'">
-			<view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
-				<view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
-					<image :src="time" class="imgs"></image>
-					<view class="tit">2024/01 -2024/12</view>
-					<view class="btn btnbgb" v-if="ite.type==1">已缴费</view>
-					<view class="btn btnbgc" v-else>未缴费</view>
-					<view class="flex1"></view>
-					<view class="txta">1号楼3单元1102</view>
-				</view>
-				<view class="clists flexc">
-					<view class="mlistl">
-						<view class="mltit">应缴总额 /元</view>
-						<view class="mltxt">4307.20</view>
-					</view>
-					<view class="mlistr">
-						<view class="clist"><view class="tit">物业费用:</view>3247.20元</view>
-						<view class="clist"><view class="tit">车位费用:</view>960.00元</view>
-						<view class="clist"><view class="tit">能耗费用:</view>100.00元</view>
-					</view>
-				</view>
-			</view>
-		</block>
-		<view class="shax" v-if="wtdt">{{wtdt}}</view>
-	</block>
-	<!-- 无数据 -->
-	<view class="nodata" v-else>
-		<image :src="noiconpimg"></image>
-		<view>
-			暂无数据
-		</view>
-	</view>
-</view>
-</template>
-
-<script>
-	import config from '@/config'
-	import {selectDictValue} from "@/utils/common.js"
-	import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
-	export default{
-		props:{
-			datainfo: {
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			wtdt:{
-				type:String,
-				default () {
-					return ''
-				}
-			},
-			type:{
-				type:String,
-				default () {
-					return 0
-				}
-			},
-			bxztList:{
-				type:Array,
-				default () {
-					return []
-				}
-			},
-			fkztList:{
-				type:Array,
-				default () {
-					return []
-				}
-			},
-			bxlbList:{
-				type:Array,
-				default () {
-					return []
-				}
-			}
-		},
-		data(){
-			return{
-				noiconpimg:require("@/static/images/nodata.png"),
-				rimg:require('@/static/images/rimg.png'),
-				baseUrl:config.baseUrl,
-				delBtnWidth:66,//左滑默认宽度
-			}
-		},
-		mounted() {
-			
-		},
-		methods:{
-			checkPermi,checkRole,
-			kaType(data, list) {
-				return selectDictValue(list, data);
-			},
-			getDetail(e){
-				this.$emit('getDetail',e)
-			},
-			getPut(e,type){
-				if(type>1){
-					this.$emit('getDetail',e)
-				}else{
-					this.$emit('getPut',e)
-				}
-				
-			},
-			getDelFn(id){
-				var that=this;
-				uni.showModal({
-					title: '确认删除',
-					content: "是否确认删除",
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							that.$emit('getDelFn',id)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getPreview(idx,arr) {
-				var newArr=[];
-				arr.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {},
-					fail: function(err) {}
-				});
-			},
-			//开始触摸滑动
-			drawStart(e) {
-				// console.log("开始触发");
-				var touch = e.touches[0];
-				this.startX = touch.clientX;
-			},
-			//触摸滑动
-			drawMove(e) {
-				// console.log("滑动");
-				for (var index in this.datainfo) {
-					// this.csListArrl[index].right=0
-					this.$set(this.datainfo[index],'right',0);
-				}
-				var idx=e.currentTarget.dataset.idx
-				var touch = e.touches[0];
-				var item = this.datainfo[idx];
-				var disX = this.startX - touch.clientX;
-				if (disX >= 20) {
-				        if (disX > this.delBtnWidth) {
-					    disX = this.delBtnWidth;
-				        }
-						// this.csListArrl[idx].right=disX
-				        this.$set(this.datainfo[idx],'right',disX);
-				} else {
-					// this.csListArrl[idx].right=0
-					this.$set(this.datainfo[idx],'right',0);
-				}
-			},
-			//触摸滑动结束
-			drawEnd(e) {
-				// console.log("滑动结束");
-				var idx=e.currentTarget.dataset.idx
-				var item = this.datainfo[idx];
-				if (item.right >= this.delBtnWidth / 2) {
-					// this.datainfo[idx].right=this.delBtnWidth
-					this.$set(this.datainfo[idx],'right',this.delBtnWidth);
-				} else {
-					this.datainfo[idx].right=0
-				}
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-.flex{display: flex;}
-.flexc{display: flex;align-items: center;}
-.mb10{margin-bottom: 20rpx;}
-// 报修
-.walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;    position: relative;
-	.watop{
-		padding: 0 36rpx 8rpx 38rpx;
-		.watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
-			.tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
-				.cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
-			}
-			.txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
-			}
-		}
-	}
-	.walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
-		.tit{min-width: 100rpx;text-align-last: justify}
-	}
-	.wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
-		view{font-weight: 500;font-size: 24rpx;color: #666666;}
-		image{width: 16rpx;height: 28rpx;}
-	}
-}
-.vislist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 26rpx 38rpx 12rpx;
-	.vistop{
-		.tit{font-size: 28rpx;color: #272727;font-weight: bold;}
-		.btns{min-width: 70rpx;font-weight: 500;
-font-size: 20rpx;padding: 0 8rpx;box-sizing: border-box;text-align: center;margin-left: 18rpx;color: #00B861;border-radius: 16rpx;border: 2rpx solid #0AC86E;}
-		.txt{font-weight: bold;font-size: 26rpx;margin-left: 18rpx;}
-	}
-	.vlist{
-		view{font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;flex: 0 1 auto;min-width: 50%;}
-	}
-}
-.carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
-			.tit{font-weight: bold;font-size: 32rpx;}
-			.txt{font-weight: 500;font-size: 26rpx;color: #272727;}
-			.txtbtn{min-width: 82rpx;
-	height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
-	border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
-			.cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
-			.carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
-		}
-		.carlf{padding:26rpx 0 10rpx;
-			.clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
-		}
-	.ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
-		.imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
-		.tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
-		.txt{font-weight: 500;font-size: 26rpx;
-			&.ca{color: #3565ED;}
-			&.cb{color: #FE5A0E;}	
-			&.cc{color: #28C529;}	
-		}
-		.txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-		.num{font-size: 24rpx;color: #AAAAAA;}
-	}
-	.btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
-		&.btna{border: 2rpx solid #06C770;color: #06C770;}
-		&.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
-		&.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
-		&.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
-		&.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
-		&.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
-	}
-	.clists{padding: 24rpx 24rpx 8rpx;
-		.clist{font-weight: 500;margin-bottom: 16rpx;
-font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
-			.tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
-			.imgas{display: flex;align-items: center;flex-wrap: wrap;
-				image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
-			}	
-		}
-		.w50{
-			.clist{width: 50%;}
-		}
-	}
-}
-// 物业费
-.mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
-	.mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
-	.mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
-}
-// 无数据
-.nodata{display: flex;flex-direction: column;align-items: center;
-	image{width: 440rpx;height: 440rpx;}
-	view{font-size: 30rpx;color: #666666;font-weight: bold;}
-}
-</style>

+ 0 - 224
user_wxui/manage/pages/manage/index.vue

@@ -1,224 +0,0 @@
-<template>
-	<view class="money">
-		<view class="moneytop flexc">
-			<view class="topl flexc flex1 overh">
-				<image :src="adr"></image>
-				<view class="over">幸福小区1号楼3单元1204</view>
-			</view>
-			<view class="topr flexcc flex0" @click="getLsFn">
-				<image :src="zd"></image>
-				<view>历史账单</view>
-			</view>
-		</view>
-		<view class="count">
-			<image :src="bg" class="bgimg"></image>
-			<view class="counbox">
-				<view class="tit mb16">尊敬的业主/租户您好!</view>
-				<view class="num">您的待缴总额<text>677.20</text>元</view>
-			</view>
-		</view>
-		<view class="mdetail">
-			<view class="mdtop flexc">
-				<view class="flexc flex0" @click.stop="choseflag=!choseflag">
-					<image :src="chose" class="chose" v-if="choseflag"></image>
-					<image :src="nchose" class="chose" v-else></image>
-						全选
-				</view>
-				<view class="mdtnum">357.20 元</view>
-			</view>
-			<view>
-				<uni-collapse ref="collapse" v-model="value" @change="change">
-					<uni-collapse-item title-border="none">
-						<template v-slot:title>
-							<view class="coltit flexcj">
-								<view class="flexc flex0" @click.stop="choseflag=!choseflag">
-									<image :src="chose" v-if="choseflag" class="chose"></image>
-									<image :src="nchose" v-else class="chose"></image>
-										物业管理费
-								</view>
-								<view class="colnum flexc">
-									<view class="num">277.20元</view>
-									<view class="btn bga">待缴</view>
-									<view class="btn bgb">已缴</view>
-								</view>
-							</view>	
-						</template>
-						<view class="content">
-							<view class="cuntlist flexc">
-								<view class="cltit">计费区间</view>
-								<view class="cltxt">2024-11-01 至224-11-30</view>
-							</view>
-							<view class="cuntlist flexc">
-								<view class="cltit">优惠金额</view>
-								<view class="cltxt">0.00元</view>
-							</view>
-							<view class="cuntlist flexc">
-								<view class="cltit">违约金额</view>
-								<view class="cltxt">0.00元</view>
-							</view>
-							<view class="cuntlist flexc">
-								<view class="cltit">应缴金额</view>
-								<view class="cltxt co025">80.00元</view>
-							</view>
-						</view>
-					</uni-collapse-item>
-				</uni-collapse>
-			</view>
-		</view>
-		<view class="mfoot flexc">
-			<view class="mgtit">待支付<text>¥ 357.20</text></view>
-			<view class="mfbtn flexcc" @click="getPayFn">支付账单</view>
-		</view>
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	export default{
-		components:{},
-		data(){
-			return{
-				adr:require("@/manage/static/manage/adr.png"),
-				bg:require("@/manage/static/manage/bg.png"),
-				zd:require("@/manage/static/manage/zd.png"),
-				chose:require("@/manage/static/manage/chose.png"),
-				nchose:require("@/manage/static/manage/nchose.png"),
-				
-				choseflag:true,
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-				value:['0'],
-			}
-		},
-		onLoad: function() {
-		
-		},
-		onPageScroll(e) {
-			// var scrollTop = Number(e.scrollTop);
-			// // var listTop=Number(this.listTop)-Number(this.nvaHeight)
-			// if(scrollTop>2){
-			// 	this.scroflag=true
-			// }else{
-			// 	this.scroflag=false
-			// }
-		},
-		// 上拉触底加载更多触发事件
-		onReachBottom() {
-			// if (this.reachflag) {
-			// 	this.pageNum++
-			// 	this.getDataFn()
-			// }
-		},
-		methods:{
-			checkPermi, checkRole,
-			getLsFn(){
-				this.$tab.navigateTo("/manage/pages/manage/moneybill")
-			},
-			getPayFn(){
-				this.$tab.navigateTo("/manage/pages/manage/pay")
-			},
-			change(){
-				
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-				}
-				params.noticeType=this.tabidx
-				getNoticeList(params).then(res=>{
-					if(res.code==200){
-						if (res.rows.length < this.pageSize) {
-							this.reachflag = false
-							this.wtdt = '到底了~';
-						} else {
-							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-							if (num < res.total) {
-								this.reachflag = true
-								this.wtdt = ''
-							} else {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							}
-						}
-						if (this.pageNum == 1) {
-							this.list = res.rows;
-						} else {
-							this.list = this.list.concat(res.rows)
-						}
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.money	/deep/ .uni-collapse-item__title{background: #F3F3F3;margin-top: 10rpx;
-border-radius: 10rpx;min-height: 92rpx;padding:12rpx 0 12rpx 24rpx;box-sizing: border-box;}
-.money{padding: 124rpx 0 122rpx;
-	.moneytop{position: fixed;left: 0;right: 0;top: 0;background: #ffffff;z-index: 2;padding: 24rpx 30rpx 34rpx;
-		image{flex: 0 0 auto;}
-		.topl{
-			image{width: 26rpx;height: 24rpx;margin-right: 26rpx;}
-			font-weight: bold;font-size: 26rpx;color: #272727;
-		}
-		.topr{margin-left: 24rpx;
-			min-width: 166rpx;height: 42rpx;background: #EFF4FF;border-radius: 22rpx;background: #EFF4FF;font-weight: bold;font-size: 24rpx;color: #0256FD;padding: 4rpx 12rpx;box-sizing: border-box;
-			image{width: 20rpx;height: 22rpx;margin-right: 6rpx;}
-		}
-	}
-	.count{width:720rpx;height: 166rpx;position: relative;margin: 0 auto 30rpx;
-		.bgimg{width: 100%;height: 100%;}
-		.counbox{position: absolute;left: 0;right: 0;top: 0;bottom: 0;padding-top: 26rpx;padding-left: 42rpx;
-			.tit{font-weight: bold;font-size: 22rpx;color: #0AB664;}
-			.num{font-weight: bold;font-size: 22rpx;color: #FFFFFF;
-				text{font-size: 40rpx;padding: 0 10rpx;}
-			}
-		}
-		
-	}
-	.mdetail{width: 714rpx;background: #FFFFFF;border-radius: 20rpx;margin: 0 auto;padding: 24rpx;box-sizing: border-box;
-		.mdtop{padding-bottom: 20rpx;
-			.mdttit{font-size: 30rpx;color: #272727;flex: 0 0 auto;}
-			.mdtnum{font-size: 30rpx;color: #0256FD;font-weight: bold;flex: 1;text-align: right;margin-left: 20rpx;}
-		}
-		.chose{width: 26rpx;height: 26rpx;margin-right: 18rpx;flex: 0 0 auto;}
-		.coltit{
-			.table{font-size: 26rpx;color: #272727;font-weight: bold;}
-		}
-		.colnum{
-			.num{font-size: 26rpx;color: #272727;font-weight: bold;}
-			.btn{font-weight: 500;font-size: 20rpx;padding: 0 10rpx;margin-left: 16rpx;border-radius: 16rpx;	
-				&.bga{color: #FE5A0E;background: #FFE8DE;border: 2rpx solid #FE5A0E;}
-				&.bgb{color: #666666;background: #F1F1F1;border: 2rpx solid #C1C1C1;}
-			}
-		}
-		.content{background: #F3F3F3;padding:20rpx 26rpx 4rpx;margin-top: 10rpx;
-border-radius: 10rpx;
-			.cuntlist{padding: 10rpx 0;}
-			.cltit{font-weight: 500;font-size: 24rpx;color: #666666;flex: 0 0 auto;}
-			.cltxt{font-weight: 500;font-size: 26rpx;color: #272727;flex: 1;text-align: right;margin-left: 12rpx;}
-		}
-	}
-}
-.mfoot{background: #ffffff;position: fixed;left: 0;right: 0;bottom: 0;min-height: 110rpx;z-index: 2;padding: 14rpx 18rpx;box-sizing: border-box;
-	.mgtit{font-weight: bold;font-size: 24rpx;color: #272727;flex: 1;text-align: center;
-		text{font-weight: bold;margin-left: 16rpx;font-size: 26rpx;color: #F40027;}
-	}
-	.mfbtn{width: 388rpx;height: 88rpx;font-weight: bold;margin-left: 18rpx;
-font-size: 26rpx;color: #FFFFFF;
-background: #0256FD;border-radius: 20rpx;}
-}
-</style>

+ 0 - 157
user_wxui/manage/pages/manage/moneybill.vue

@@ -1,157 +0,0 @@
-<template>
-	<view class="car">
-		<view class="cartop">
-			<!-- <view class="topa flexc">
-				<image :src="reset" class="resetimg" @click="getReset"></image>
-				<picker mode="date"  fields="year"  @change='bindDateChangea'>
-					<view class="chekt flexc">
-						<view>{{cxrq|| "选择日期"}}</view>
-						<image :src="up"></image>
-					</view>
-				</picker>
-				<view class="search flexc">
-					<image :src="search"></image>
-					<input placeholder="请输入房号进行搜索"  v-model="text"/>
-					<view class="btn" @click="getConfirm">搜索</view>
-				</view>
-			</view> -->
-			<view class="tabtop flexc">
-				<view class="tabt" :class="tabval==ite.val?'act':''" v-for="(ite,idx) in tablist" :key="idx" @click="getTabFn(ite.val)">{{ite.tit}}</view>
-			</view>
-		</view>
-		<!-- 列表 -->
-		<view class="carlists">
-			<box-list :datainfo="list" :topval="tabval" :wtdt="wtdt" type='moneybill' @getDetail="getDetail"></box-list>
-		</view>
-		<view class="rfbtn" @click="getAddFn">催缴</view>
-		<loading></loading>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import boxList from "@/manage/components/box/list.vue"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	export default{
-		components:{boxList},
-		data(){
-			return{
-				// reset:require('@/car/static/car/reset.png'),
-				// search:require('@/car/static/car/search.png'),
-				// up:require('@/car/static/car/up.png'),
-				cxrq:"",
-				text:'',
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-				tabval:'0',
-				tablist:[{tit:'全部',val:0},{tit:'未缴费',val:1},{tit:'已缴费',val:2},]
-			}
-		},
-		onLoad: function() {
-		
-		},
-		// 上拉触底加载更多触发事件
-		onReachBottom() {
-			if (this.reachflag) {
-				this.pageNum++
-				this.getDataFn()
-			}
-		},
-		methods:{
-			checkPermi, checkRole,
-			getDetail(){
-				this.$tab.navigateTo("/manage/pages/manage/moneydetail")
-			},
-			getAddFn(){
-				
-			},
-			getConfirm(){
-				this.getrefreshData()
-			},
-			getReset(){
-				this.cxrq='';
-				this.text='';
-				this.getrefreshData()
-			},
-			getrefreshData(){
-				this.pageNum=1;
-				this.list=[];
-				this.reachflag=true;
-				this.getDataFn()
-			},
-			getTabFn(val){
-				this.tabval=val
-			},
-			bindDateChangea(e){
-				var val=e.detail.value;
-				this.cxrq=val;
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-				}
-				params.noticeType=this.tabidx
-				getNoticeList(params).then(res=>{
-					if(res.code==200){
-						if (res.rows.length < this.pageSize) {
-							this.reachflag = false
-							this.wtdt = '到底了~';
-						} else {
-							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-							if (num < res.total) {
-								this.reachflag = true
-								this.wtdt = ''
-							} else {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							}
-						}
-						if (this.pageNum == 1) {
-							this.list = res.rows;
-						} else {
-							this.list = this.list.concat(res.rows)
-						}
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.car{padding: 148rpx 0 110rpx;}
-.cartop{position: fixed;left: 0;right: 0;top: 0;background-color: #ffffff;z-index: 2;
-	.topa{padding: 20rpx ;
-		.resetimg{width: 36rpx;height: 36rpx;margin-right: 24rpx;flex: 0 0 auto;}
-		.chekt{min-width: 180rpx;
-			view{font-weight: 500;font-size: 26rpx;color: #272727;flex: 1;}
-			image{width: 24rpx;height: 16rpx;margin-left: 18rpx;flex: 0 0 auto;}
-		}
-		.search{flex: 1;margin-left: 16rpx;height: 64rpx;background: #EEEEEE;border-radius: 32rpx;border: 2rpx solid #E6E6E6;padding-left: 24rpx;box-sizing: border-box;
-		image{width: 32rpx;height: 34rpx;margin-right: 22rpx;flex: 0 0 auto;}
-		input{flex: 1;font-size: 26rpx;color: #272727;}
-		.btn{width: 100rpx;height: 64rpx;background: #3565ED;border-radius: 32rpx;flex: 0 0 auto;font-weight: bold;text-align: center;line-height: 64rpx;
-font-size: 26rpx;
-color: #FFFFFF;}
-		}
-	}
-	.tabtop{padding-bottom: 40rpx;padding-top: 28rpx;
-		.tabt{font-weight: 500;font-size: 32rpx;color: #666666;position: relative;line-height: 56rpx;padding: 0 40rpx;margin-right: 6rpx;
-			&.act{font-weight: bold;font-size: 32rpx;color: #272727;
-			&::after{content: '';width: 40rpx;height: 10rpx;background: #0156FE;border-radius: 6rpx;position: absolute;left: 50%;margin-left: -20rpx;bottom: -10rpx;}
-			}
-		}
-	}
-}
-.carlists{padding: 0 18rpx;}
-</style>

+ 0 - 93
user_wxui/manage/pages/manage/moneydetail.vue

@@ -1,93 +0,0 @@
-<template>
-	<view class="mdetail">
-		<image :src="mbg" class="mbg"></image>
-		<view class="mdbox">
-			<view class="mdtop">
-				<view class="mdttit">2024/01 - 2024/12  应缴总额/元</view>
-				<view class="mdttxt">4307.20</view>
-			</view>
-			<view class="mdmain">
-				<view class="mdmit">业主信息</view>
-				<view class="mdlist">
-					<view class="mdltit">户主姓名</view>
-					<view>王宇宁</view>
-				</view>
-				<view class="mdlist">
-					<view class="mdltit">房号</view>
-					<view>1号楼3单元1204</view>
-				</view>
-				
-				<view class="mdmit">缴费详情</view>
-				<view class="mdlist">
-					<view class="mdltit">物业费用(元)</view>
-					<view>3247.20</view>
-				</view>
-				<view class="mdlist">
-					<view class="mdltit">车位费用(元)</view>
-					<view>960.00</view>
-				</view>
-				<view class="mdlist">
-					<view class="mdltit">能耗费用(元)</view>
-					<view>100.00</view>
-				</view>
-			</view>
-		</view>
-		<view class="pdlr12">
-			<view class="mdfbox" @click="getBillFn">
-				<view>历史账单</view>
-				<image :src="rimg"></image>
-			</view>
-		</view>
-		
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	export default{
-		components:{},
-		data(){
-			return{
-				mbg:require('@/manage/static/manage/mbg.png'),
-				rimg:require('@/static/images/rimg.png'),
-			}
-		},
-		onLoad: function() {
-		
-		},
-		methods:{
-			checkPermi, checkRole,
-			getBillFn(){
-				this.$tab.navigateTo("/manage/pages/manage/moneybill")
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.mdetail{background: linear-gradient(180deg, #4882EC 0%, #F3F3F0 100%) no-repeat;min-height: 100vh;background-position: top;background-size: 100% 548rpx;padding: 32rpx 18rpx;position: relative;}
-.mbg{width: 100%;height: 702rpx;margin-bottom: 20rpx;}
-.mdbox{position: absolute;left: 18rpx;height:702rpx;right: 18rpx;top: 32rpx;box-sizing: border-box;display: flex;flex-direction: column;
-	.mdtop{padding: 76rpx 52rpx 0;height: 208rpx;flex: 0 0 auto;position: relative;box-sizing: border-box;
-	&::after{content: '';position: absolute;left: 96rpx;right: 78rpx;height: 2rpx;border-bottom: 2rpx dashed #A7A7A7;bottom: 0;}
-		.mdttit{font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 26rpx;}
-		.mdttxt{font-weight: bold;font-size: 40rpx;color: #272727;}
-	}
-	.mdmain{flex: 1;overflow: auto;padding: 24rpx 50rpx 0 52rpx;
-		.mdmit{font-weight: bold;font-size: 26rpx;color: #272727;margin-bottom: 26rpx;padding-top: 10rpx;}
-		.mdlist{display: flex;justify-content: space-between;margin-bottom: 24rpx;
-			.mdltit{min-width: 100rpx;flex: 0 0 auto;text-align-last: justify;margin-right: 12rpx;}
-			view{font-weight: 500;font-size: 26rpx;color: #666666;}
-		}
-	}
-}
-.mdfbox{height: 96rpx;background: #FFFFFF;border-radius: 20rpx;padding: 0 26rpx;box-sizing: border-box;display: flex;align-items: center;
-	image{width: 13rpx;height: 24rpx;}
-	view{font-weight: 500;font-size: 26rpx;color: #272727;flex: 1;margin-right: 4rpx;}
-}
-</style>

+ 0 - 132
user_wxui/manage/pages/manage/pay.vue

@@ -1,132 +0,0 @@
-<template>
-	<view class="paybox">
-		<view class="pay pt40">
-			<view class="paytit mb9 txc">实付金额</view>
-			<view class="paynum mb9 txc">¥357.20</view>
-			<view class="paytit txc">剩余支付时间<text class="text">14:59</text></view>
-			<view class="paystu mt35">
-				<view class="tit mb16">支付方式</view>
-				<view class="buylist flexc mb10">
-					<image :src="zfbimg" class="zfbimg"></image>
-					<view class="tit flex1">支付宝支付</view>
-					<image :src="chose" class="choseimg" v-if="paystu=='zfb'"></image>
-					<image :src="nchose" class="choseimg" v-else></image>
-				</view>
-				<view class="buylist flexc mb12">
-					<image :src="wximg" class="zfbimg"></image>
-					<view class="tit flex1">微信支付</view>
-					<image :src="chose" class="choseimg" v-if="paystu=='wx'"></image>
-					<image :src="nchose" class="choseimg" v-else></image>
-				</view>
-			</view>
-		</view>
-		<view class="pay pt16">
-			<view class="paystu">
-				<view class="tit mb16 flexc">选择优惠方式<image :src="ywico" class="ywico"></image></view>
-				<view class="buylist flexc mb10">
-					<view class="tit flex1">附近商超优惠券200元</view>
-					<image :src="chose" class="choseimg" v-if="paystu=='zfb'"></image>
-					<image :src="nchose" class="choseimg" v-else></image>
-				</view>
-				<view class="buylist flexc">
-					<view class="tit flex1">支付立减20元</view>
-					<image :src="chose" class="choseimg" v-if="paystu=='wx'"></image>
-					<image :src="nchose" class="choseimg" v-else></image>
-				</view>
-			</view>
-		</view>
-		<view class="plr12 mt40">
-			<view class="rhbtn" @click="getSubmit">立即支付</view>
-		</view>
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	export default{
-		components:{},
-		data(){
-			return{
-				chose:require("@/work/static/chose.png"),
-				nchose:require("@/work/static/nchose.png"),
-				zfbimg:require("@/work/static/zfb.png"),
-				wximg:require("@/work/static/wx.png"),
-				ywico:require("@/manage/static/manage/ywico.png"),
-				rimg:require("@/static/images/rimg.png"),
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-			}
-		},
-		onLoad: function() {
-		
-		},
-		methods:{
-			checkPermi, checkRole,
-			getSubmit(){
-				this.$tab.navigateTo("/manage/pages/manage/success")
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-				}
-				params.noticeType=this.tabidx
-				getNoticeList(params).then(res=>{
-					if(res.code==200){
-						if (res.rows.length < this.pageSize) {
-							this.reachflag = false
-							this.wtdt = '到底了~';
-						} else {
-							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-							if (num < res.total) {
-								this.reachflag = true
-								this.wtdt = ''
-							} else {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							}
-						}
-						if (this.pageNum == 1) {
-							this.list = res.rows;
-						} else {
-							this.list = this.list.concat(res.rows)
-						}
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.paybox{padding: 20rpx 24rpx;
-	.pay{background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
-		.paytit{font-weight: 500;font-size: 24rpx;color: #666666;
-			.text{color: #F40027;margin-left: 12rpx;}
-		}
-		.paynum{font-weight: bold;font-size: 48rpx;
-color: #321E1E;}
-		.ywico{width: 24rpx;height: 24rpx;margin-left: 16rpx;}
-	}
-	.paystu{padding:0 24rpx 22rpx;
-		.buylist{padding:0 26rpx;min-height: 80rpx;
-			
-			.txt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;flex: 0 0 auto;margin-left:16rpx;}
-			.rimg{width: 16rpx;height: 24rpx;flex: 0 0 auto;margin-left:16rpx;}
-			.zfbimg{width: 58rpx;height: 58rpx;margin-right: 20rpx;flex: 0 0 auto;}
-			.choseimg{width: 30rpx;height: 30rpx;margin-left: 30rpx;flex: 0 0 auto;}
-		}
-	}
-}
-</style>

+ 0 - 51
user_wxui/manage/pages/manage/success.vue

@@ -1,51 +0,0 @@
-<template>
-  <view class="regbox flexdc">
-	  <view class="sucbox flexdc flex1">
-		  <view class="flex1">
-		  		<image :src="sucimg" class="titimg"></image>
-		  		<view class="tit mb15">支付成功</view>
-		  		<view class="txt">您的物业缴费已成功</view>
-		  		<view class="txt">祝您生活愉快</view>
-		  		  
-		  </view>
-		  <!-- 地址 放学 课堂知识(动态) 成绩分析 聊天 -->
-		  <!-- 图片拖动 成功直接跳列表页-->
-		  <view class="txc home"  @click="getLogin">返回登录</view>
-	  </view>
-	  
-  </view>
-</template>
-
-<script>
-	// import { getToken } from '@/utils/auth'
-  export default {
-	data(){
-		return{
-			sucimg:require("@/manage/static/manage/success.png"),
-			tokenflag:true,
-		}
-	},
-	methods:{
-		 getLogin(){
-			this.$tab.reLaunch(`/pages/login`)
-		 }
-	},
-	onLoad: function() {
-    }
-  }
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.regbox{padding: 20rpx 24rpx 28rpx;min-height: 100vh;box-sizing: border-box;
-view{text-align: center;}
-	.sucbox{border-radius: 20rpx;padding-top: 208rpx;padding-bottom: 264rpx;
-		background: #FFFFFF;
-	}
-	.titimg{width: 252rpx;height: 236rpx;margin: 0 auto 40rpx;}
-	.tit{font-size: 26rpx;color: #272727;font-weight: bold;}
-	.txt{font-weight: 500;font-size: 24rpx;color: #666666;line-height: 36rpx;}
-	.home{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 20rpx;}
-}
-</style>

BIN
user_wxui/manage/static/manage/adr.png


BIN
user_wxui/manage/static/manage/bg.png


BIN
user_wxui/manage/static/manage/chose.png


BIN
user_wxui/manage/static/manage/mbg.png


BIN
user_wxui/manage/static/manage/nchose.png


BIN
user_wxui/manage/static/manage/success.png


BIN
user_wxui/manage/static/manage/up.png


BIN
user_wxui/manage/static/manage/ywico.png


BIN
user_wxui/manage/static/manage/zd.png


+ 0 - 117
user_wxui/manifest.json

@@ -1,117 +0,0 @@
-{
-    "name" : "智慧社区用户端",
-    "appid" : "__UNI__E57E235",
-    "description" : "",
-    "versionName" : "1.0.0",
-    "versionCode" : "100",
-    "transformPx" : false,
-    "app-plus" : {
-        "usingComponents" : true,
-        "nvueCompiler" : "uni-app",
-        "compatible" : {
-            "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
-        },
-        "splashscreen" : {
-            "alwaysShowBeforeRender" : true,
-            "waiting" : true,
-            "autoclose" : true,
-            "delay" : 0
-        },
-        "modules" : {
-            "Maps" : {},
-            "Speech" : {}
-        },
-        "distribute" : {
-            "android" : {
-                "permissions" : [
-                    "<uses-feature android:name=\"android.hardware.camera\"/>",
-                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
-                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
-                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
-                    "<uses-permission android:name=\"android.permission.INTERNET\"/>",
-                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
-                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
-                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
-                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
-                    "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
-                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
-                ]
-            },
-            "ios" : {
-                "dSYMs" : false
-            },
-            "sdkConfigs" : {
-                "ad" : {},
-                "share" : {},
-                "maps" : {
-                    "amap" : {
-                        "appkey_ios" : "f55857365884963baed205a0974d6e96",
-                        "appkey_android" : "f55857365884963baed205a0974d6e96"
-                    }
-                },
-                "speech" : {
-                    "baidu" : {
-                        "appid" : "30799445",
-                        "apikey" : "MuVtMTc6EHaLbrr38WEhqjml",
-                        "secretkey" : "rPGCiA3L41VwuTCBHkwkmcOt0IPTsi8z"
-                    }
-                }
-            },
-            "icons" : {
-                "android" : {
-                    "hdpi" : "static/applogo.png",
-                    "xhdpi" : "static/applogo.png"
-                }
-            }
-        }
-    },
-    "quickapp" : {},
-    "mp-weixin" : {
-        "appid" : "wx694b1ba10320b8bc",
-        "permission" : {
-            "scope.userLocation" : {
-                "desc" : "获取当前位置" // 此处可以修改成自己的权限提示文本
-            }
-        },
-        "setting" : {
-            "urlCheck" : false,
-            "es6" : false,
-            "minified" : true,
-            "postcss" : true
-        },
-        "optimization" : {
-            "subPackages" : true
-        },
-        "usingComponents" : true
-    },
-    "vueVersion" : "2",
-    "h5" : {
-        "template" : "static/index.html",
-        "devServer" : {
-            "port" : 9090,
-            "https" : false
-        },
-        "title" : "智慧社区用户端",
-        "router" : {
-            "mode" : "history",
-            "base" : ""
-        },
-        "sdkConfigs" : {
-            "maps" : {
-                "amap" : {
-                    "key" : "fba818d626f91cf5a13cd61943a7667e",
-                    "securityJsCode" : "fba818d626f91cf5a13cd61943a7667e",
-                    "serviceHost" : ""
-                }
-            }
-        }
-    }
-}

+ 0 - 385
user_wxui/mine/components/box/list.vue

@@ -1,385 +0,0 @@
-<template>
-<view>
-	<!-- 第一种样式  人员管理-->
-	<block v-if="datainfo.length>0">
-		<!-- 快递 -->
-		<block v-if="type=='delivery'">
-			<view class="kdlists flex" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
-				<image :src="noiconpimg" class="kdll"></image>	
-				<view class="kdlr over flex1">
-					<view class="over tit">已发货</view>
-					<view class="over tits">包裹正在等待揽收</view>
-					<view class="over txt">淘宝 | 白色晚礼服平时可穿毕业洋装小白裙…</view>
-				</view>
-			</view>
-		</block>
-		<!-- 步骤条 -->
-		<block v-if="type=='kdstep'">
-			<view class="hfstep">
-				<view class="hfslist flex">
-					<view class="limg flexccc">
-						<image :src="cira" class="imga"></image>
-					</view>
-					<view class="flex1">
-						<view class="hfstit co01">运输中 11-25  12:24</view>
-						<view class="hfstxt co27">【合肥市】快件已到达 合肥蜀山新产业园</view>
-					</view>
-				</view>
-				<view class="hfslist flex">
-					<view class="limg flexccc">
-						<image :src="cirb" class="imgb"></image>
-					</view>
-					<view class="flex1">
-						<view class="hfstit">11-25  07:23</view>
-						<view class="hfstxt">【合肥市】快件已发往 合肥蜀山新产业园</view>
-					</view>
-				</view>
-				<view class="hfslist flex">
-					<view class="limg flexccc">
-						<image :src="cirb" class="imgb"></image>
-					</view>
-					<view class="flex1">
-						<view class="hfstit">11-25  07:20</view>
-						<view class="hfstxt">【合肥市】快件已到达 合肥转运中心</view>
-					</view>
-				</view>
-			</view>
-		</block>
-		<!-- 我的互动 -->
-		<block v-if="type=='myhd'">
-			<view class="mb12 pr" v-for="(ite,idx) in datainfo" :key="idx">
-				<view class="hdlist pd12 flex">
-					<image :src="man" class="mhead flex0"></image>
-					<view class="flex1 overh">
-						<view class="flexc mb6">
-							<view class="name flex1 over">{{ite.nickName}}</view>
-							<view class="tit flex0 ml10">
-								<block v-if="ite.targetType==1">评论了你的文章</block>
-								<block v-if="ite.targetType==2">点赞了你的文章</block>
-								<block v-if="ite.targetType==3">收藏了你的文章</block>
-								<block v-if="ite.targetType==4">回复了你的评论</block>
-								<block v-if="ite.targetType==5">点赞了你的评论</block>
-								</view>
-							<view class="time flex0 ml10">{{ite.createTime}}</view>
-						</view>
-						<view class="flexc overh mb4">
-							<view class="line bga"></view>
-							<view class="txt over flex1">{{ite.targetTitle}}</view>
-							<image :src="rimg" class="rimg ml10"></image>
-						</view>
-					</view>
-				</view>
-			</view>
-		</block>
-		<block v-if="type=='plsh'">
-				<view class="mb12 pr"  v-for="(ite,idx) in datainfo" :key="idx"
-					:data-idx="idx"
-					@touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
-				>
-					<view class="hdlist ">
-						<view class="pd12 flex">
-							<image :src="ite.avatar?baseUrl+ite.avatar:man" class="mhead flex0"></image>
-							<view class="flex1 overh">
-								<view class="flexc mb6">
-									<view class="name flex1 over">{{ite.nickName}}</view>
-									<view class="time flex0 ml10">02-26</view>
-								</view>
-								<view class="txt mb8">{{ite.commentContent}}</view>
-								<view class="flexc overh mb2">
-									<view class="line bgd"></view>
-									<view class="txta over flex1">{{ite.communityTitle}}</view>
-									<image :src="rimg" class="rimg ml10"></image>
-								</view>
-							</view>
-						</view>
-						<view class="shbtns flexc pd12" >
-							<view class="btn bga" @click="getSh('4',ite)">不予展示</view>
-							<view class="flex1"></view>
-							<view class="btn bgb" @click="getSh('3',ite)">不通过</view>
-							<view class="btn bgc" @click="getSh('2',ite)">通过</view>
-						</view>
-					</view>
-					<view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view>
-				</view>
-		</block>
-		<!-- 我的点赞,收藏,评论 :data-idx="idx"
-					@touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"-->
-		<block v-if="type=='wdhd'">
-			<view class="mb12 pr"  v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite)">
-				<view class="hdlist ">
-					<view class="pd12 flex">
-						<image :src="ite.avatar?baseUrl+ite.avatar:man" class="mhead flex0"></image>
-						<view class="flex1 overh">
-							<view class="flexc mb6">
-								<view class="name flex1 over">{{ite.nickName}}</view>
-								<view class="time flex0 ml10">{{ite.createTime}}</view>
-							</view>
-							<view class="txt mb8">{{ite.commentContent}}</view>
-							<view class="flexc overh mb2">
-								<view class="line bgd"></view>
-								<view class="txta over flex1" v-if="tabval=='mypl'">{{ite.communityTitle}}</view>
-								<view class="txta over flex1" v-else>{{ite.targetTitle}}</view>
-								<image :src="rimg" class="rimg ml10"></image>
-							</view>
-						</view>
-					</view>
-				</view>
-				<!-- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view> -->
-			</view>
-		</block>
-		<view class="shax" v-if="wtdt">{{wtdt}}</view>
-	</block>
-	<!-- 无数据 -->
-	<view class="nodata" v-else>
-		<image :src="noiconpimg"></image>
-		<view>
-			暂无数据
-		</view>
-	</view>
-</view>
-</template>
-
-<script>
-	import {selectDictValue} from "@/utils/common.js"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import config from '@/config'
-	export default{
-		props:{
-			datainfo: {
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			wtdt:{
-				type:String,
-				default () {
-					return ''
-				}
-			},
-			type:{
-				type:String,
-				default () {
-					return 0
-				}
-			},
-			tabval:{
-				type:String,
-				default () {
-					return ''
-				}
-			}
-		},
-		data(){
-			return{
-				noiconpimg:require("@/static/images/nodata.png"),
-				upimg:require("@/my/static/house/up.png"),
-				cara:require("@/my/static/house/cara.png"),
-				
-				man:require("@/health/static/man.png"),
-				woman:require("@/health/static/woman.png"),
-				rimg:require("@/static/images/rimga.png"),
-				baseUrl:config.baseUrl,
-				delBtnWidth:66,//左滑默认宽度
-			}
-		},
-		mounted() {
-			
-		},
-		methods:{
-			checkPermi, checkRole,
-			getDetail(e){
-				this.$emit('getDetail',e)
-			},
-			getDelFn(e){
-				var that=this;
-				uni.showModal({
-					title: '确认删除',
-					content: "是否确认删除",
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							that.$emit('getDelFn',e)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getSh(type,ite){
-				var that=this;
-				var str="";
-				if(type=='2'){
-					str="通过"
-				}else if(type=='3'){
-					str="不通过"
-				}else if(type=='4'){
-					str="下架"
-				}
-				uni.showModal({
-					title: '确认'+str,
-					content: "是否确认"+str,
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							var obj={
-								status:type,
-								contentId:ite.contentId,
-								commentId:ite.commentId,
-							}
-							that.$emit('getSh',obj)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getDelFn(id){
-				var that=this;
-				uni.showModal({
-					title: '确认删除',
-					content: "是否确认删除",
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							that.$emit('getDelFn',id)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			//开始触摸滑动
-			drawStart(e) {
-				// console.log("开始触发");
-				var touch = e.touches[0];
-				this.startX = touch.clientX;
-			},
-			//触摸滑动
-			drawMove(e) {
-				var idx=e.currentTarget.dataset.idx
-				var aidx=e.currentTarget.dataset.aidx
-				var type=e.currentTarget.dataset.type;
-				for (var index in this.datainfo) {
-					if(type&&type=='peo'){	
-						for(var i in this.datainfo[idx].residentInfoList){
-							this.$set(this.datainfo[idx].residentInfoList[i],'right',0);
-						}
-					}else{
-						 this.$set(this.datainfo[index],'right',0);
-					}	
-				}
-				var touch = e.touches[0];
-				var item = this.datainfo[idx];
-				var disX = this.startX - touch.clientX;
-				if (disX >= 20) {
-				        if (disX > this.delBtnWidth) {
-					    disX = this.delBtnWidth;
-				        }
-						
-						if(type&&type=='peo'){
-							
-							 this.$set(this.datainfo[idx].residentInfoList[aidx],'right',disX);
-						}else{
-							 this.$set(this.datainfo[idx],'right',disX);
-						}
-						// this.csListArrl[idx].right=disX
-				       
-				} else {
-					// this.csListArrl[idx].right=0
-					this.$set(this.datainfo[idx],'right',0);
-				}
-			},
-			//触摸滑动结束
-			drawEnd(e) {
-				// console.log("滑动结束");
-				var idx=e.currentTarget.dataset.idx
-				var item = this.datainfo[idx];
-				if (item.right >= this.delBtnWidth / 2) {
-					// this.datainfo[idx].right=this.delBtnWidth
-					// this.$set(this.datainfo[idx],'right',this.delBtnWidth);
-				} else {
-					this.datainfo[idx].right=0
-				}
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-.flex{display: flex;}
-.flexc{display: flex;align-items: center;}
-.mb10{margin-bottom: 20rpx;}
-// 快递
-.kdlists{padding: 24rpx 26rpx;background-color: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.kdll{width: 140rpx;height: 140rpx;border-radius: 10rpx;margin-right: 32rpx;flex: 0 0 auto;}
-	.kdlr{
-		.tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-bottom: 18rpx;margin-top: 4rpx;}
-		.tits{font-size: 24rpx;color: #272727;font-weight: 500;margin-bottom: 14rpx;}
-		.txt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-	}
-}
-// 快递步骤条
-.hfstep{padding: 0 32rpx 44rpx 32rpx;
-	.hfslist{padding-bottom: 44rpx;position: relative;
-		&::before{content: '';position: absolute;left: 14rpx;top:14rpx;height: 100%;width: 2rpx;background: #E6E6E6;}
-		.limg{width: 30rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;margin-top:3rpx;
-			.imga{width: 30rpx;height: 30rpx;}
-			.imgb{width: 18rpx;height: 18rpx;}
-		}
-		.hfstit{font-weight: bold;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
-		.hfstxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;padding-left: 8rpx;}
-	}
-}
-.carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
-		.imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
-		.tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
-		.txt{font-weight: 500;font-size: 26rpx;
-			&.ca{color: #3565ED;}
-			&.cb{color: #FE5A0E;}	
-			&.cc{color: #28C529;}	
-		}
-		.txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-		.num{font-size: 24rpx;color: #AAAAAA;}
-	}
-	.btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
-		&.btna{border: 2rpx solid #06C770;color: #06C770;}
-		&.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
-		&.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
-		&.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
-		&.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
-		&.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
-	}
-}
-// 互动
-.pd12{padding: 24rpx;}
-.hdlist{background: #FFFFFF;border-radius: 20rpx;position: relative;z-index: 1;
-	.mhead{width: 56rpx;height: 56rpx;margin-right: 20rpx;border-radius: 50%}
-	.name{font-size: 28rpx;font-weight: bold;color: #272727;height: 56rpx;line-height: 56rpx;}
-	.tit{font-weight: 500;font-size: 22rpx;color: #666666;}
-	.time{font-weight: 500;font-size: 22rpx;color: #666666;}
-	.line{width: 6rpx;height: 28rpx;border-radius: 4rpx;margin-right: 12rpx;
-		&.bga{background: #FACA7D;}
-		&.bgb{background: #86AFFF;}
-		&.bgc{background: #93E9C2;}
-		&.bgd{background: #DADADA;}
-	}
-	.txt{font-weight: 500;font-size: 26rpx;color: #272727;line-height: 36rpx;}
-	.txta{font-weight: 500;font-size: 26rpx;color: #666666;}
-	.rimg{width: 12rpx;height: 22rpx;}
-	.shbtns{border-top: 2rpx solid #DADADA;
-		.btn{border-radius: 20rpx;min-width: 110rpx;box-sizing: border-box;padding: 0 16rpx;
-height: 52rpx;display: flex;align-items: center;justify-content: center;flex:0 0 auto;margin-left: 20rpx;
-			&.bga{border: 2rpx solid #06C770;background: #DAEFE6;color: #06C770;margin-left: 0;}
-			&.bgb{border: 2rpx solid #FF6969;;background: #FFE7E7;color: #FF6969;}
-			&.bgc{background: #0256FD;color: #FFFFFF;}
-		}
-	}
-}
-// 无数据
-.nodata{display: flex;flex-direction: column;align-items: center;
-	image{width: 440rpx;height: 440rpx;}
-	view{font-size: 30rpx;color: #666666;font-weight: bold;}
-}
-</style>

+ 0 - 631
user_wxui/mine/pages/avatar/index.vue

@@ -1,631 +0,0 @@
-<template>
-	<view class="container">
-		<view class="page-body uni-content-info">
-			<view class='cropper-content'>
-				<view v-if="isShowImg" class="uni-corpper" :style="'width:'+cropperInitW+'px;height:'+cropperInitH+'px;background:#000'">
-					<view class="uni-corpper-content" :style="'width:'+cropperW+'px;height:'+cropperH+'px;left:'+cropperL+'px;top:'+cropperT+'px'">
-						<image :src="imageSrc" :style="'width:'+cropperW+'px;height:'+cropperH+'px'"></image>
-						<view class="uni-corpper-crop-box" @touchstart.stop="contentStartMove" @touchmove.stop="contentMoveing" @touchend.stop="contentTouchEnd"
-						    :style="'left:'+cutL+'px;top:'+cutT+'px;right:'+cutR+'px;bottom:'+cutB+'px'">
-							<view class="uni-cropper-view-box">
-								<view class="uni-cropper-dashed-h"></view>
-								<view class="uni-cropper-dashed-v"></view>
-								<view class="uni-cropper-line-t" data-drag="top" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-line-r" data-drag="right" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-line-b" data-drag="bottom" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-line-l" data-drag="left" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-point point-t" data-drag="top" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-point point-tr" data-drag="topTight"></view>
-								<view class="uni-cropper-point point-r" data-drag="right" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-point point-rb" data-drag="rightBottom" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-point point-b" data-drag="bottom" @touchstart.stop="dragStart" @touchmove.stop="dragMove" @touchend.stop="dragEnd"></view>
-								<view class="uni-cropper-point point-bl" data-drag="bottomLeft"></view>
-								<view class="uni-cropper-point point-l" data-drag="left" @touchstart.stop="dragStart" @touchmove.stop="dragMove"></view>
-								<view class="uni-cropper-point point-lt" data-drag="leftTop"></view>
-							</view>
-						</view>
-					</view>
-				</view>
-			</view>
-			<view class='cropper-config'>
-				<button type="primary reverse" @click="getImage" style='margin-top: 30rpx;'> 选择头像 </button>
-				<button type="warn" @click="getImageInfo" style='margin-top: 30rpx;'> 提交 </button>
-			</view>
-			<canvas canvas-id="myCanvas" :style="'position:absolute;border: 1px solid red; width:'+imageW+'px;height:'+imageH+'px;top:-9999px;left:-9999px;'"></canvas>
-		</view>
-	</view>
-</template>
-
-<script>
-  import config from '@/config'
-  import store from "@/store"
-  import { uploadAvatar } from "@/api/system/user"
-  
-  const baseUrl = config.baseUrl
-	let sysInfo = uni.getSystemInfoSync()
-	let SCREEN_WIDTH = sysInfo.screenWidth
-	let PAGE_X, // 手按下的x位置
-		PAGE_Y, // 手按下y的位置 
-		PR = sysInfo.pixelRatio, // dpi
-		T_PAGE_X, // 手移动的时候x的位置
-		T_PAGE_Y, // 手移动的时候Y的位置
-		CUT_L, // 初始化拖拽元素的left值
-		CUT_T, // 初始化拖拽元素的top值
-		CUT_R, // 初始化拖拽元素的
-		CUT_B, // 初始化拖拽元素的
-		CUT_W, // 初始化拖拽元素的宽度
-		CUT_H, //  初始化拖拽元素的高度
-		IMG_RATIO, // 图片比例
-		IMG_REAL_W, // 图片实际的宽度
-		IMG_REAL_H, // 图片实际的高度
-		DRAFG_MOVE_RATIO = 1, //移动时候的比例,
-		INIT_DRAG_POSITION = 100, // 初始化屏幕宽度和裁剪区域的宽度之差,用于设置初始化裁剪的宽度
-		DRAW_IMAGE_W = sysInfo.screenWidth // 设置生成的图片宽度
-
-	export default {
-		/**
-		 * 页面的初始数据
-		 */
-		data() {
-			return {
-				imageSrc: store.getters.avatar?config.baseUrl+store.getters.avatar:require('@/mine/static/images/profile.jpg'),
-				isShowImg: false,
-				// 初始化的宽高
-				cropperInitW: SCREEN_WIDTH,
-				cropperInitH: SCREEN_WIDTH,
-				// 动态的宽高
-				cropperW: SCREEN_WIDTH,
-				cropperH: SCREEN_WIDTH,
-				// 动态的left top值
-				cropperL: 0,
-				cropperT: 0,
-
-				transL: 0,
-				transT: 0,
-
-				// 图片缩放值
-				scaleP: 0,
-				imageW: 0,
-				imageH: 0,
-
-				// 裁剪框 宽高
-				cutL: 0,
-				cutT: 0,
-				cutB: SCREEN_WIDTH,
-				cutR: '100%',
-				qualityWidth: DRAW_IMAGE_W,
-				innerAspectRadio: DRAFG_MOVE_RATIO
-			}
-		},
-		/**
-		 * 生命周期函数--监听页面初次渲染完成
-		 */
-		onReady: function () {
-			this.loadImage()
-		},
-		methods: {
-			setData: function (obj) {
-				let that = this
-				Object.keys(obj).forEach(function (key) {
-					that.$set(that.$data, key, obj[key])
-				})
-			},
-			getImage: function () {
-				var _this = this
-				uni.chooseImage({
-					success: function (res) {
-						_this.setData({
-							imageSrc: res.tempFilePaths[0],
-						})
-						_this.loadImage()
-					},
-				})
-			},
-			loadImage: function () {
-				var _this = this
-
-				uni.getImageInfo({
-					src: _this.imageSrc,
-					success: function success(res) {
-						IMG_RATIO = 1 / 1
-						if (IMG_RATIO >= 1) {
-							IMG_REAL_W = SCREEN_WIDTH
-							IMG_REAL_H = SCREEN_WIDTH / IMG_RATIO
-						} else {
-							IMG_REAL_W = SCREEN_WIDTH * IMG_RATIO
-							IMG_REAL_H = SCREEN_WIDTH
-						}
-						let minRange = IMG_REAL_W > IMG_REAL_H ? IMG_REAL_W : IMG_REAL_H
-						INIT_DRAG_POSITION = minRange > INIT_DRAG_POSITION ? INIT_DRAG_POSITION : minRange
-						// 根据图片的宽高显示不同的效果   保证图片可以正常显示
-						if (IMG_RATIO >= 1) {
-							let cutT = Math.ceil((SCREEN_WIDTH / IMG_RATIO - (SCREEN_WIDTH / IMG_RATIO - INIT_DRAG_POSITION)) / 2)
-							let cutB = cutT
-							let cutL = Math.ceil((SCREEN_WIDTH - SCREEN_WIDTH + INIT_DRAG_POSITION) / 2)
-							let cutR = cutL
-							_this.setData({
-								cropperW: SCREEN_WIDTH,
-								cropperH: SCREEN_WIDTH / IMG_RATIO,
-								// 初始化left right
-								cropperL: Math.ceil((SCREEN_WIDTH - SCREEN_WIDTH) / 2),
-								cropperT: Math.ceil((SCREEN_WIDTH - SCREEN_WIDTH / IMG_RATIO) / 2),
-								cutL: cutL,
-								cutT: cutT,
-								cutR: cutR,
-								cutB: cutB,
-								// 图片缩放值
-								imageW: IMG_REAL_W,
-								imageH: IMG_REAL_H,
-								scaleP: IMG_REAL_W / SCREEN_WIDTH,
-								qualityWidth: DRAW_IMAGE_W,
-								innerAspectRadio: IMG_RATIO
-							})
-						} else {
-							let cutL = Math.ceil((SCREEN_WIDTH * IMG_RATIO - (SCREEN_WIDTH * IMG_RATIO)) / 2)
-							let cutR = cutL
-							let cutT = Math.ceil((SCREEN_WIDTH - INIT_DRAG_POSITION) / 2)
-							let cutB = cutT
-							_this.setData({
-								cropperW: SCREEN_WIDTH * IMG_RATIO,
-								cropperH: SCREEN_WIDTH,
-								// 初始化left right
-								cropperL: Math.ceil((SCREEN_WIDTH - SCREEN_WIDTH * IMG_RATIO) / 2),
-								cropperT: Math.ceil((SCREEN_WIDTH - SCREEN_WIDTH) / 2),
-
-								cutL: cutL,
-								cutT: cutT,
-								cutR: cutR,
-								cutB: cutB,
-								// 图片缩放值
-								imageW: IMG_REAL_W,
-								imageH: IMG_REAL_H,
-								scaleP: IMG_REAL_W / SCREEN_WIDTH,
-								qualityWidth: DRAW_IMAGE_W,
-								innerAspectRadio: IMG_RATIO
-							})
-						}
-						_this.setData({
-							isShowImg: true
-						})
-						uni.hideLoading()
-					}
-				})
-			},
-			// 拖动时候触发的touchStart事件
-			contentStartMove(e) {
-				PAGE_X = e.touches[0].pageX
-				PAGE_Y = e.touches[0].pageY
-			},
-
-			// 拖动时候触发的touchMove事件
-			contentMoveing(e) {
-				var _this = this
-				var dragLengthX = (PAGE_X - e.touches[0].pageX) * DRAFG_MOVE_RATIO
-				var dragLengthY = (PAGE_Y - e.touches[0].pageY) * DRAFG_MOVE_RATIO
-				// 左移
-				if (dragLengthX > 0) {
-					if (this.cutL - dragLengthX < 0) dragLengthX = this.cutL
-				} else {
-					if (this.cutR + dragLengthX < 0) dragLengthX = -this.cutR
-				}
-
-				if (dragLengthY > 0) {
-					if (this.cutT - dragLengthY < 0) dragLengthY = this.cutT
-				} else {
-					if (this.cutB + dragLengthY < 0) dragLengthY = -this.cutB
-				}
-				this.setData({
-					cutL: this.cutL - dragLengthX,
-					cutT: this.cutT - dragLengthY,
-					cutR: this.cutR + dragLengthX,
-					cutB: this.cutB + dragLengthY
-				})
-
-				PAGE_X = e.touches[0].pageX
-				PAGE_Y = e.touches[0].pageY
-			},
-
-			contentTouchEnd() {
-
-			},
-
-			// 获取图片
-			getImageInfo() {
-				var _this = this
-				uni.showLoading({
-					title: '图片生成中...',
-				})
-				// 将图片写入画布
-				const ctx = uni.createCanvasContext('myCanvas')
-				ctx.drawImage(_this.imageSrc, 0, 0, IMG_REAL_W, IMG_REAL_H)
-				ctx.draw(true, () => {
-					// 获取画布要裁剪的位置和宽度   均为百分比 * 画布中图片的宽度    保证了在微信小程序中裁剪的图片模糊  位置不对的问题 canvasT = (_this.cutT / _this.cropperH) * (_this.imageH / pixelRatio)
-					var canvasW = ((_this.cropperW - _this.cutL - _this.cutR) / _this.cropperW) * IMG_REAL_W
-					var canvasH = ((_this.cropperH - _this.cutT - _this.cutB) / _this.cropperH) * IMG_REAL_H
-					var canvasL = (_this.cutL / _this.cropperW) * IMG_REAL_W
-					var canvasT = (_this.cutT / _this.cropperH) * IMG_REAL_H
-					uni.canvasToTempFilePath({
-						x: canvasL,
-						y: canvasT,
-						width: canvasW,
-						height: canvasH,
-						destWidth: canvasW,
-						destHeight: canvasH,
-						quality: 0.5,
-						canvasId: 'myCanvas',
-						success: function (res) {
-							uni.hideLoading()
-							let data = {name: 'avatarfile', filePath: res.tempFilePath}
-							uploadAvatar(data).then(response => {
-								store.commit('SET_AVATAR', response.imgUrl)
-								uni.showToast({ title: "修改成功", icon: 'success' })
-								uni.navigateBack()
-							})
-						}
-					})
-				})
-			},
-			// 设置大小的时候触发的touchStart事件
-			dragStart(e) {
-				T_PAGE_X = e.touches[0].pageX
-				T_PAGE_Y = e.touches[0].pageY
-				CUT_L = this.cutL
-				CUT_R = this.cutR
-				CUT_B = this.cutB
-				CUT_T = this.cutT
-			},
-
-			// 设置大小的时候触发的touchMove事件
-			dragMove(e) {
-				var _this = this
-				var dragType = e.target.dataset.drag
-				switch (dragType) {
-					case 'right':
-						var dragLength = (T_PAGE_X - e.touches[0].pageX) * DRAFG_MOVE_RATIO
-						if (CUT_R + dragLength < 0) dragLength = -CUT_R
-						this.setData({
-							cutR: CUT_R + dragLength
-						})
-						break
-					case 'left':
-						var dragLength = (T_PAGE_X - e.touches[0].pageX) * DRAFG_MOVE_RATIO
-						if (CUT_L - dragLength < 0) dragLength = CUT_L
-						if ((CUT_L - dragLength) > (this.cropperW - this.cutR)) dragLength = CUT_L - (this.cropperW - this.cutR)
-						this.setData({
-							cutL: CUT_L - dragLength
-						})
-						break
-					case 'top':
-						var dragLength = (T_PAGE_Y - e.touches[0].pageY) * DRAFG_MOVE_RATIO
-						if (CUT_T - dragLength < 0) dragLength = CUT_T
-						if ((CUT_T - dragLength) > (this.cropperH - this.cutB)) dragLength = CUT_T - (this.cropperH - this.cutB)
-						this.setData({
-							cutT: CUT_T - dragLength
-						})
-						break
-					case 'bottom':
-						var dragLength = (T_PAGE_Y - e.touches[0].pageY) * DRAFG_MOVE_RATIO
-						if (CUT_B + dragLength < 0) dragLength = -CUT_B
-						this.setData({
-							cutB: CUT_B + dragLength
-						})
-						break
-					case 'rightBottom':
-						var dragLengthX = (T_PAGE_X - e.touches[0].pageX) * DRAFG_MOVE_RATIO
-						var dragLengthY = (T_PAGE_Y - e.touches[0].pageY) * DRAFG_MOVE_RATIO
-
-						if (CUT_B + dragLengthY < 0) dragLengthY = -CUT_B
-						if (CUT_R + dragLengthX < 0) dragLengthX = -CUT_R
-						let cutB = CUT_B + dragLengthY
-						let cutR = CUT_R + dragLengthX
-
-						this.setData({
-							cutB: cutB,
-							cutR: cutR
-						})
-						break
-					default:
-						break
-				}
-			}
-		}
-	}
-</script>
-
-<style>
-	/* pages/uni-cropper/index.wxss */
-
-	.uni-content-info {
-		/* position: fixed;
-		top: 0;
-		left: 0;
-		right: 0;
-		bottom: 0;
-		display: block;
-		align-items: center;
-		flex-direction: column; */
-	}
-
-	.cropper-config {
-		padding: 20rpx 40rpx;
-	}
-
-	.cropper-content {
-		min-height: 750rpx;
-		width: 100%;
-	}
-
-	.uni-corpper {
-		position: relative;
-		overflow: hidden;
-		-webkit-user-select: none;
-		-moz-user-select: none;
-		-ms-user-select: none;
-		user-select: none;
-		-webkit-tap-highlight-color: transparent;
-		-webkit-touch-callout: none;
-		box-sizing: border-box;
-	}
-
-	.uni-corpper-content {
-		position: relative;
-	}
-
-	.uni-corpper-content image {
-		display: block;
-		width: 100%;
-		min-width: 0 !important;
-		max-width: none !important;
-		height: 100%;
-		min-height: 0 !important;
-		max-height: none !important;
-		image-orientation: 0deg !important;
-		margin: 0 auto;
-	}
-	/* 移动图片效果 */
-
-	.uni-cropper-drag-box {
-		position: absolute;
-		top: 0;
-		right: 0;
-		bottom: 0;
-		left: 0;
-		cursor: move;
-		background: rgba(0, 0, 0, 0.6);
-		z-index: 1;
-	}
-	/* 内部的信息 */
-
-	.uni-corpper-crop-box {
-		position: absolute;
-		background: rgba(255, 255, 255, 0.3);
-		z-index: 2;
-	}
-
-	.uni-corpper-crop-box .uni-cropper-view-box {
-		position: relative;
-		display: block;
-		width: 100%;
-		height: 100%;
-		overflow: visible;
-		outline: 1rpx solid #69f;
-		outline-color: rgba(102, 153, 255, .75)
-	}
-	/* 横向虚线 */
-
-	.uni-cropper-dashed-h {
-		position: absolute;
-		top: 33.33333333%;
-		left: 0;
-		width: 100%;
-		height: 33.33333333%;
-		border-top: 1rpx dashed rgba(255, 255, 255, 0.5);
-		border-bottom: 1rpx dashed rgba(255, 255, 255, 0.5);
-	}
-	/* 纵向虚线 */
-
-	.uni-cropper-dashed-v {
-		position: absolute;
-		left: 33.33333333%;
-		top: 0;
-		width: 33.33333333%;
-		height: 100%;
-		border-left: 1rpx dashed rgba(255, 255, 255, 0.5);
-		border-right: 1rpx dashed rgba(255, 255, 255, 0.5);
-	}
-	/* 四个方向的线  为了之后的拖动事件*/
-
-	.uni-cropper-line-t {
-		position: absolute;
-		display: block;
-		width: 100%;
-		background-color: #69f;
-		top: 0;
-		left: 0;
-		height: 1rpx;
-		opacity: 0.1;
-		cursor: n-resize;
-	}
-
-	.uni-cropper-line-t::before {
-		content: '';
-		position: absolute;
-		top: 50%;
-		right: 0rpx;
-		width: 100%;
-		-webkit-transform: translate3d(0, -50%, 0);
-		transform: translate3d(0, -50%, 0);
-		bottom: 0;
-		height: 41rpx;
-		background: transparent;
-		z-index: 11;
-	}
-
-	.uni-cropper-line-r {
-		position: absolute;
-		display: block;
-		background-color: #69f;
-		top: 0;
-		right: 0rpx;
-		width: 1rpx;
-		opacity: 0.1;
-		height: 100%;
-		cursor: e-resize;
-	}
-
-	.uni-cropper-line-r::before {
-		content: '';
-		position: absolute;
-		top: 0;
-		left: 50%;
-		width: 41rpx;
-		-webkit-transform: translate3d(-50%, 0, 0);
-		transform: translate3d(-50%, 0, 0);
-		bottom: 0;
-		height: 100%;
-		background: transparent;
-		z-index: 11;
-	}
-
-	.uni-cropper-line-b {
-		position: absolute;
-		display: block;
-		width: 100%;
-		background-color: #69f;
-		bottom: 0;
-		left: 0;
-		height: 1rpx;
-		opacity: 0.1;
-		cursor: s-resize;
-	}
-
-	.uni-cropper-line-b::before {
-		content: '';
-		position: absolute;
-		top: 50%;
-		right: 0rpx;
-		width: 100%;
-		-webkit-transform: translate3d(0, -50%, 0);
-		transform: translate3d(0, -50%, 0);
-		bottom: 0;
-		height: 41rpx;
-		background: transparent;
-		z-index: 11;
-	}
-
-	.uni-cropper-line-l {
-		position: absolute;
-		display: block;
-		background-color: #69f;
-		top: 0;
-		left: 0;
-		width: 1rpx;
-		opacity: 0.1;
-		height: 100%;
-		cursor: w-resize;
-	}
-
-	.uni-cropper-line-l::before {
-		content: '';
-		position: absolute;
-		top: 0;
-		left: 50%;
-		width: 41rpx;
-		-webkit-transform: translate3d(-50%, 0, 0);
-		transform: translate3d(-50%, 0, 0);
-		bottom: 0;
-		height: 100%;
-		background: transparent;
-		z-index: 11;
-	}
-
-	.uni-cropper-point {
-		width: 5rpx;
-		height: 5rpx;
-		background-color: #69f;
-		opacity: .75;
-		position: absolute;
-		z-index: 3;
-	}
-
-	.point-t {
-		top: -3rpx;
-		left: 50%;
-		margin-left: -3rpx;
-		cursor: n-resize;
-	}
-
-	.point-tr {
-		top: -3rpx;
-		left: 100%;
-		margin-left: -3rpx;
-		cursor: n-resize;
-	}
-
-	.point-r {
-		top: 50%;
-		left: 100%;
-		margin-left: -3rpx;
-		margin-top: -3rpx;
-		cursor: n-resize;
-	}
-
-	.point-rb {
-		left: 100%;
-		top: 100%;
-		-webkit-transform: translate3d(-50%, -50%, 0);
-		transform: translate3d(-50%, -50%, 0);
-		cursor: n-resize;
-		width: 36rpx;
-		height: 36rpx;
-		background-color: #69f;
-		position: absolute;
-		z-index: 1112;
-		opacity: 1;
-	}
-
-	.point-b {
-		left: 50%;
-		top: 100%;
-		margin-left: -3rpx;
-		margin-top: -3rpx;
-		cursor: n-resize;
-	}
-
-	.point-bl {
-		left: 0%;
-		top: 100%;
-		margin-left: -3rpx;
-		margin-top: -3rpx;
-		cursor: n-resize;
-	}
-
-	.point-l {
-		left: 0%;
-		top: 50%;
-		margin-left: -3rpx;
-		margin-top: -3rpx;
-		cursor: n-resize;
-	}
-
-	.point-lt {
-		left: 0%;
-		top: 0%;
-		margin-left: -3rpx;
-		margin-top: -3rpx;
-		cursor: n-resize;
-	}
-	/* 裁剪框预览内容 */
-
-	.uni-cropper-viewer {
-		position: relative;
-		width: 100%;
-		height: 100%;
-		overflow: hidden;
-	}
-
-	.uni-cropper-viewer image {
-		position: absolute;
-		z-index: 2;
-	}
-</style>

+ 0 - 78
user_wxui/mine/pages/delivery/detail.vue

@@ -1,78 +0,0 @@
-<template>
-	<view class="kdetail">
-		<view class="ktop flex">
-			<image :src="cirimg"></image>
-			<view>
-				<view class="tit mb8">中通快递</view>
-				<view class="txt flex">运单号:76445851125416587  <view class="btns">复制</view></view>
-			</view>
-		</view>
-		<view class="ktop">
-			<view class="stit mb20">以下数据由 <text class="co01">中通快递</text> 提供</view>			
-			<box-step type="kdstep" :datainfo="list"></box-step>
-		</view>
-		
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import boxStep from "@/my/components/box/list.vue"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	export default{
-		components:{boxStep},
-		data(){
-			return{
-				type:'kdstep',
-				list:[],
-				cirimg:require("@/static/images/home/cir.png"),
-			}
-		},
-		onLoad: function() {
-		
-		},
-		
-		methods:{
-			checkPermi, checkRole,
-			// getNextFn(){
-			// 	this.$tab.navigateTo("/work/pages/business/add")
-			// },
-			
-			getDataFn(){
-				return
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-				}
-				params.noticeType=this.tabidx
-				getNoticeList(params).then(res=>{
-					if(res.code==200){
-						
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.kdetail{
-	min-height: 100vh;padding: 20rpx 18rpx 100rpx;
-	.ktop{background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20px;padding: 24rpx 26rpx;
-		image{width: 104rpx;height: 104rpx;margin-right: 30rpx;}
-		.tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-top: 8rpx;}
-		.txt{font-weight: 500;font-size: 24rpx;color: #272727;}
-		.btns{color: #0156FE;}
-	}
-	.stit{font-weight: 500;text-align: center;font-size: 24rpx;color: #AAAAAA;padding-top: 4rpx;
-		text{margin: 0 10rpx;}
-	}
-}
-</style>

+ 0 - 127
user_wxui/mine/pages/delivery/index.vue

@@ -1,127 +0,0 @@
-<template>
-	<view class="car">
-		<view class="cartop">
-			<!-- <view class="toptit">
-				<image :src="djtop"></image>本社区党员共<text>367</text>人
-			</view> -->
-			<view class="tabtop flexc">
-				<view class="tabt" :class="tabval==ite.val?'act':''" v-for="(ite,idx) in tablist" :key="idx" @click="getTabFn(ite.val)">{{ite.tit}}</view>
-			</view>
-		</view>
-		<!-- 列表 -->
-		<view class="carlists">
-			<box-list :datainfo="list" :wtdt="wtdt" type='delivery' @getDetail="getDetail"></box-list>
-		</view>
-		<loading></loading>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import boxList from "@/mine/components/box/list.vue"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	export default{
-		components:{boxList},
-		data(){
-			return{
-				cxrq:"",
-				text:'',
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-				tabval:'0',
-				tablist:[{tit:'在途快递',val:0},{tit:'最近签收',val:1}]
-			}
-		},
-		onLoad: function() {
-		
-		},
-		// 上拉触底加载更多触发事件
-		onReachBottom() {
-			if (this.reachflag) {
-				this.pageNum++
-				this.getDataFn()
-			}
-		},
-		methods:{
-			checkPermi, checkRole,
-			getDetail(){
-				this.$tab.navigateTo("/mine/pages/delivery/detail")
-			},
-			getTabFn(val){
-				this.tabval=val
-			},
-			getrefreshData(){
-				this.pageNum=1;
-				this.list=[];
-				this.reachflag=true;
-				this.getDataFn()
-			},
-			bindDateChangea(e){
-				var val=e.detail.value;
-				this.cxrq=val;
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-				}
-				params.noticeType=this.tabidx
-				getNoticeList(params).then(res=>{
-					if(res.code==200){
-						if (res.rows.length < this.pageSize) {
-							this.reachflag = false
-							this.wtdt = '到底了~';
-						} else {
-							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-							if (num < res.total) {
-								this.reachflag = true
-								this.wtdt = ''
-							} else {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							}
-						}
-						var newArr=JSON.parse(JSON.stringify(res.rows))
-						newArr.forEach(ite=>{
-							ite.right=0;
-						})
-						// console.log(newArr,555)
-						if (this.pageNum == 1) {
-							this.list = newArr;
-						} else {
-							this.list = this.list.concat(newArr)
-						}
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.car{padding: 134rpx 0 10rpx;}
-.cartop{position: fixed;left: 0;right: 0;top: 0;background-color: #ffffff;z-index: 2;
-	.toptit{display: flex;justify-content: center;font-weight: 500;font-size: 26rpx;color: #8592AA;height: 70rpx;align-items: center;
-background: #E4EDFF;
-		text{font-size: 32rpx;color: #0156FE;padding: 0 10rpx;}
-		image{width: 28rpx;height: 26rpx;flex: 0 0 auto;margin-right: 12rpx;}
-	}
-	.tabtop{padding-bottom: 40rpx;padding-top: 14rpx;
-		.tabt{font-weight: 500;font-size: 32rpx;color: #666666;position: relative;line-height: 56rpx;padding: 0 40rpx;
-			&.act{font-weight: bold;font-size: 32rpx;color: #272727;
-			&::after{content: '';width: 40rpx;height: 10rpx;background: #0156FE;border-radius: 6rpx;position: absolute;left: 50%;margin-left: -20rpx;bottom: -10rpx;}
-			}
-		}
-	}
-}
-.carlists{padding: 0 18rpx;}
-</style>

+ 0 - 214
user_wxui/mine/pages/info.vue

@@ -1,214 +0,0 @@
-<template>
-	<view class="check">
-		<uni-forms ref="form" :model="datainfo" :rules="rules">
-			<view class="cbox">
-				<view class="chmain">
-					<uni-forms-item label="头像" name="phonenumber">
-						<view class="flexjd mt10">
-							<image :src="avatar?baseUrl+avatar:aphoto" class="inimg" @click="handleToAvatar"></image>
-						</view>	
-					</uni-forms-item>
-					<uni-forms-item label="用户名称" name="nickName">
-						<view class="flexc">
-							<uni-easyinput v-model="datainfo.nickName" :disabled="isdisabled" :inputBorder='false' placeholder="用户名称" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="性别" name="sex">
-						<picker range-key='dictLabel' :disabled="isdisabled" :value="xbidx" :range="xbList"   @change='bindDateChange'>
-							<view class="flexc" style="height: 70rpx;">
-								<view class="flex1 txr f13 co27" v-if="datainfo.sex&&!xb">{{statusFormats(datainfo.sex,xbList,'xb')}}</view>
-								<view class="flex1 txr f13" v-else :class="xb?'co27':'coa'">{{xb||"性别"}}</view>
-							</view>
-						</picker>
-					</uni-forms-item>
-					<uni-forms-item label="手机号码" name="phonenumber">
-						<view class="flexc">
-							<uni-easyinput v-model="datainfo.phonenumber" :disabled="isdisabled" :inputBorder='false' placeholder="手机号码" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="邮箱" name="email">
-						<view class="flexc">
-							<uni-easyinput v-model="datainfo.email" :disabled="isdisabled" :inputBorder='false' placeholder="邮箱" />
-						</view>
-					</uni-forms-item>
-					<!-- <uni-forms-item label="岗位" name="postGroup">
-						<view class="flexc">
-							<uni-easyinput v-model="postGroup" :disabled="isdisabled" :inputBorder='false' placeholder="岗位" />
-						</view>
-					</uni-forms-item>
-					<uni-forms-item label="角色" name="roleGroup" style="border:none">
-						<view class="flexc">
-							<uni-easyinput v-model="roleGroup" :disabled="isdisabled" :inputBorder='false' placeholder="角色" />
-						</view>
-					</uni-forms-item> -->
-				</view>
-			</view>
-		</uni-forms>
-		<view class="rhbtn mt30" @click="getEditFn" v-if="isdisabled">修改</view>
-		<view class="rhbtn mt30" @click="getSubmit" v-else>提交</view>
-
-		<loading></loading>
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
-	import {uploadIdentify,selectValueKey} from '@/utils/common.js'
-	import {getDictionaryFn,getUserProfile,updateUserProfile} from "@/api/system/user.js"
-	export default {
-		components: {},
-		data() {
-			return {
-				aphoto:require("@/static/images/mine/head.png"),
-				baseUrl: config.baseUrl,
-				checkflag:true,
-				isdisabled:false,
-				roleGroup: "",
-				postGroup: "",
-				datainfo: {},
-				xbList:[],
-				xbidx:'',
-				xb:"",
-				rules: {
-				  nickName: {
-				    rules: [{
-				      required: true,
-				      errorMessage: '用户昵称不能为空'
-				    }]
-				  },
-				  phonenumber: {
-				    rules: [{
-				      required: true,
-				      errorMessage: '手机号码不能为空'
-				    }, {
-				      pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
-				      errorMessage: '请输入正确的手机号码'
-				    }]
-				  },
-				  // email: {
-				  //   rules: [{
-				  //     required: true,
-				  //     errorMessage: '邮箱地址不能为空'
-				  //   }, {
-				  //     format: 'email',
-				  //     errorMessage: '请输入正确的邮箱地址'
-				  //   }]
-				  // }
-				}
-			}
-		},
-		onLoad: function() {
-			this.init()
-			this.getUser()
-		},
-		computed: {
-			avatar() {
-				return this.$store.state.user.avatar
-			},
-		},
-		methods: {
-			checkPermi,
-			checkRole,
-			getEditFn(){
-				this.isdisabled=false;
-			},
-			handleToAvatar() {
-				if(this.isdisabled){
-					return
-				}
-				this.$tab.navigateTo('/mine/pages/avatar/index')
-			},
-			statusFormats(data, list,type) {
-				var aite=selectValueKey(list, data);
-				if(type=='xbidx'){
-					this.xbidxidx=aite.key
-				}
-				return aite.actions;
-			},
-			getUser() {
-			  getUserProfile().then(response => {
-			    this.datainfo = response.data
-			    this.roleGroup = response.roleGroup
-			    this.postGroup = response.postGroup
-			  })
-			},
-			init(){
-				// 性别
-				getDictionaryFn('sys_user_sex').then(res=>{
-					if(res.code==200){
-						if(res.data){
-							this.xbList = res.data.map(v => {
-								return {
-									dictLabel: v.dictLabel,
-									dictValue: v.dictValue
-								}
-							})
-						}
-					}
-				}) 
-			},
-			bindDateChange(e){
-				var val=e.detail.value;
-				this.datainfo.sex=this.xbList[val].dictValue;
-				this.xb=this.xbList[val].dictLabel;
-			},
-			getSubmit(ref) {
-			  this.$refs.form.validate().then(res => {
-			    updateUserProfile(this.datainfo).then(response => {
-			      this.$modal.msgSuccess("修改成功")
-			    })
-			  })
-			}
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.check /deep/ .uni-forms-item{min-height: 106rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:10rpx 0;}
-// .check .cbox /deep/ .uni-forms-item:last-child{border: none;}
-.check /deep/ .uni-forms-item__label{font-weight: bold;font-size: 26rpx;color: #222327;flex: 0 0 auto;width: auto !important;}
-.check /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 26rpx;color: #222327;}
-.check /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 26rpx;}
-.check /deep/ .uni-easyinput__placeholder-class{font-size: 26rpx;color: #AAAAAA;}
-.check /deep/ .uni-input-input{font-size: 26rpx;}
-.check /deep/ .uni-textarea-textarea{font-size: 26rpx;}
-.check /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
-.check /deep/ .uni-data-checklist .checklist-group .checklist-box{margin:10rpx 8rpx 10rpx 16rpx;}
-.check /deep/ .uni-forms-item__label text{width: 110rpx;text-align-last: justify;}
-.check /deep/ .uni-data-checklist{flex: 0 0 auto;}
-.check{min-height: 100vh;padding: 20rpx 18rpx 24rpx;box-sizing: border-box;}
-.cbox{background: #FFFFFF;border-radius: 20rpx;flex: 1;margin-bottom: 24rpx;
-	.chmain{
-		padding: 0 32rpx;
-		.upbox{height: 224rpx;background: #EFF4FF;border-radius: 20rpx;display: flex;align-items: center;justify-content: center;flex-direction: column;margin-bottom: 8rpx;overflow: auto;
-			.img{width: 100%;height: 100%;}
-			.addimg{width: 70rpx;height: 70rpx;margin-bottom: 16rpx;}
-			view{font-weight: bold;font-size: 26rpx;color: #4C6686;}
-		}
-		.rimg{width: 16rpx;height: 28rpx;flex: 0 0 auto;margin-left: 20rpx;
-			image{width: 100%;height: 100%;}
-		}
-		.checkimg{width: 80rpx;height: 40rpx;margin-right: 8rpx;}
-		.aphoto{padding: 0 24rpx;border-left: 2rpx solid #e6e6e6;margin-left: 26rpx;
-			image{width: 40rpx;height: 38rpx;}
-		}
-	}
-	
-}
-.addimgs{display: flex;align-items: center;flex-wrap: wrap;justify-content: flex-end;
-	
-	.assimg{width: 128rpx;height: 128rpx;position: relative;overflow: hidden;margin: 0 0 20rpx 24rpx;
-		.img{width: 100%;height: 100%;}
-		.delimg{width: 24rpx;height: 24rpx;position: absolute;right: 0;top: 0;}
-	}
-}
-.addbox{width: 102rpx;height: 102rpx;background: #F0F0F0;border-radius: 20rpx;display: flex;flex-direction: column;align-items: center;justify-content: center;margin-left: 24rpx;margin-bottom: 20rpx;flex: 0 0 auto;
-		image{width: 48rpx;height: 42rpx;}
-		// view{font-weight: 500;font-size: 24rpx;color: #666666;}
-	}
-.inimg{width: 102rpx;height: 102rpx;border-radius: 50%;}
-.tips{font-weight: bold;color: #272727;font-size: 26rpx;margin-left: 8rpx;}
-</style>

+ 0 - 106
user_wxui/mine/pages/news/index.vue

@@ -1,106 +0,0 @@
-<template>
-	<view class="news">
-		<box-list :datainfo="list" :wtdt="wtdt" type="myhd" @getDetail='getDetail'></box-list>
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import boxList from "@/my/components/box/list.vue"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import {getCommentInteraction} from "@/api/work/news.js"
-	export default{
-		components:{boxList},
-		data(){
-			return{
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-			}
-		},
-		onLoad: function() {
-			this.getDataFn()
-		},
-		onPageScroll(e) {
-			var scrollTop = Number(e.scrollTop);
-			// var listTop=Number(this.listTop)-Number(this.nvaHeight)
-			if(scrollTop>2){
-				this.scroflag=true
-			}else{
-				this.scroflag=false
-			}
-		},
-		// 上拉触底加载更多触发事件
-		onReachBottom() {
-			if (this.reachflag) {
-				this.pageNum++
-				this.getDataFn()
-			}
-		},
-		methods:{
-			checkPermi, checkRole,
-			// getNextFn(){
-			// 	this.$tab.navigateTo("/work/pages/business/add")
-			// },
-			getDelFn(id){
-				var that=this;
-				reservDel(data).then(res=>{
-					if(res.code==200){
-						this.$toast("删除成功");
-						setTimeout(function(){
-							that.getrefreshData()
-						},1500)
-					}
-				})
-			},
-			getrefreshData(){
-				this.pageNum=1;
-				this.list=[];
-				this.reachflag=true;
-				this.getDataFn()
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-				}
-				getCommentInteraction(params).then(res=>{
-					if(res.code==200){
-						var data=res.data.list;
-						if (data.length < this.pageSize) {
-							this.reachflag = false
-							this.wtdt = '到底了~';
-						} else {
-							var num = parseInt(data.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-							if (num < res.total) {
-								this.reachflag = true
-								this.wtdt = ''
-							} else {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							}
-						}
-						if (this.pageNum == 1) {
-							this.list = data;
-						} else {
-							this.list = this.list.concat(data)
-						}
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.news{padding:20rpx 18rpx;}
-</style>

+ 0 - 234
user_wxui/mine/pages/news/myhd.vue

@@ -1,234 +0,0 @@
-<template>
-	<view class="news">
-		<!-- tab栏 -->
-		<view class="cartop">
-			<view class="tabtop flexc">
-				<view class="tabt" :class="tabval==ite.val?'act':''" v-for="(ite,idx) in tablist" :key="idx" @click="getTabFn(ite.val)">{{ite.tit}}</view>
-			</view>
-		</view>
-		<box-list :datainfo="list" :wtdt="wtdt" :tabval="tabval" type="wdhd" @getDetail='getDetail'></box-list>
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import boxList from "@/my/components/box/list.vue"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import {mycommentStars,mycommentLikes,mycommentIndex} from "@/api/work/news.js"
-	export default{
-		components:{boxList},
-		data(){
-			return{
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-				tabval:'mypl',
-				userId:this.$store.state.user.userId,
-				tablist:[{tit:"评论",val:'mypl'},{tit:"点赞",val:'mydz'},{tit:"收藏",val:'mysc'},]
-			}
-		},
-		onUnload() {
-			uni.$off('partyNewsList')
-		},
-		onLoad: function() {
-			uni.$on('partyNewsList',(res)=>{
-				this.getrefreshData()
-			})
-			this.getDataFn()
-		},
-		onPageScroll(e) {
-			var scrollTop = Number(e.scrollTop);
-			// var listTop=Number(this.listTop)-Number(this.nvaHeight)
-			if(scrollTop>2){
-				this.scroflag=true
-			}else{
-				this.scroflag=false
-			}
-		},
-		// 上拉触底加载更多触发事件
-		onReachBottom() {
-			if (this.reachflag) {
-				this.pageNum++
-				this.getDataFn()
-			}
-		},
-		methods:{
-			checkPermi, checkRole,
-			// getNextFn(){
-			// 	this.$tab.navigateTo("/work/pages/business/add")
-			// },
-			getDetail(data){
-				var info=JSON.parse(JSON.stringify(data))
-				var type=this.tabval;
-				var targetType=info.targetType;//1:社区 2:党建 
-				if(type=='mypl'){
-					var id=info.communityId;
-					this.$tab.navigateTo("/news/pages/news/detail?id="+id)
-				}else{
-					var id=info.targetId;
-					if(targetType==1){
-						this.$tab.navigateTo("/news/pages/news/detail?id="+id)
-					}else if(targetType==2){
-						this.$tab.navigateTo("/news/pages/news/djdetail?id="+id)
-					}
-				}
-			},
-			getDelFn(id){
-				var that=this;
-				// reservDel(data).then(res=>{
-				// 	if(res.code==200){
-				// 		this.$toast("删除成功");
-				// 		setTimeout(function(){
-				// 			that.getrefreshData()
-				// 		},1500)
-				// 	}
-				// })
-			},
-			getTabFn(val){
-				this.tabval=val;
-				this.getrefreshData()
-			},
-			getrefreshData(){
-				this.pageNum=1;
-				this.list=[];
-				this.reachflag=true;
-				this.getDataFn()
-			},
-			getSh(data){
-				var that=this;
-				var params=JSON.parse(JSON.stringify(data))
-				commentContentPut(params).then(res=>{
-					if(res.code==200){
-						this.$toast('审核成功')
-						setTimeout(function() {
-							that.getrefreshData()
-						}, 1500);
-					}
-				})
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-					userId:this.userId
-				}
-				var tabval=this.tabval
-				if(tabval=='mypl'){
-					mycommentIndex(params).then(res=>{
-						if(res.code==200){
-							if (res.rows.length < this.pageSize) {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							} else {
-								var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-								if (num < res.total) {
-									this.reachflag = true
-									this.wtdt = ''
-								} else {
-									this.reachflag = false
-									this.wtdt = '到底了~';
-								}
-							}
-							var newArr=JSON.parse(JSON.stringify(res.rows))
-							newArr.forEach(ite=>{
-								ite.right=0;
-							})
-							if (this.pageNum == 1) {
-								this.list = newArr;
-							} else {
-								this.list = this.list.concat(newArr)
-							}
-							
-						}else{
-							this.$toast(res.msg)
-						}
-					})
-				}else if(tabval=='mydz'){
-					mycommentLikes(params).then(res=>{
-						if(res.code==200){
-							if (res.rows.length < this.pageSize) {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							} else {
-								var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-								if (num < res.total) {
-									this.reachflag = true
-									this.wtdt = ''
-								} else {
-									this.reachflag = false
-									this.wtdt = '到底了~';
-								}
-							}
-							var newArr=JSON.parse(JSON.stringify(res.rows))
-							newArr.forEach(ite=>{
-								ite.right=0;
-							})
-							if (this.pageNum == 1) {
-								this.list = newArr;
-							} else {
-								this.list = this.list.concat(newArr)
-							}
-						}else{
-							this.$toast(res.msg)
-						}
-					})
-				}else{
-					mycommentStars(params).then(res=>{
-						if(res.code==200){
-							if (res.rows.length < this.pageSize) {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							} else {
-								var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-								if (num < res.total) {
-									this.reachflag = true
-									this.wtdt = ''
-								} else {
-									this.reachflag = false
-									this.wtdt = '到底了~';
-								}
-							}
-							var newArr=JSON.parse(JSON.stringify(res.rows))
-							newArr.forEach(ite=>{
-								ite.right=0;
-							})
-							if (this.pageNum == 1) {
-								this.list = newArr;
-							} else {
-								this.list = this.list.concat(newArr)
-							}
-						}else{
-							this.$toast(res.msg)
-						}
-					})
-				}
-				console.log(this.list)
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.news{padding:124rpx 18rpx 12rpx;}
-.cartop{position: fixed;left: 0;right: 0;top: 0;background-color: #ffffff;z-index: 2;
-	.toptit{display: flex;justify-content: center;font-weight: 500;font-size: 26rpx;color: #8592AA;height: 70rpx;align-items: center;
-background: #E4EDFF;
-		text{font-size: 32rpx;color: #0156FE;padding: 0 10rpx;}
-		image{width: 28rpx;height: 26rpx;flex: 0 0 auto;margin-right: 12rpx;}
-	}
-	.tabtop{padding-bottom: 40rpx;padding-top: 14rpx;
-		.tabt{font-weight: 500;font-size: 32rpx;color: #666666;position: relative;line-height: 56rpx;padding: 0 40rpx;
-			&.act{font-weight: bold;font-size: 32rpx;color: #272727;
-			&::after{content: '';width: 40rpx;height: 10rpx;background: #0156FE;border-radius: 6rpx;position: absolute;left: 50%;margin-left: -20rpx;bottom: -10rpx;}
-			}
-		}
-	}
-}
-</style>

+ 0 - 122
user_wxui/mine/pages/news/sh.vue

@@ -1,122 +0,0 @@
-<template>
-	<view class="news">
-		<box-list :datainfo="list" :wtdt="wtdt" type="plsh" @getDetail='getDetail' @getSh="getSh"></box-list>
-	<loading></loading>	
-	</view>
-</template>
-
-<script>
-	import config from '@/config'
-	const baseUrl = config.baseUrl
-	import boxList from "@/my/components/box/list.vue"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import {commentSh,commentContentPut} from "@/api/work/news.js"
-	export default{
-		components:{boxList},
-		data(){
-			return{
-				list:[],
-				pageSize: 10,
-				pageNum: 1,
-				reachflag: true,
-				wtdt:'',
-			}
-		},
-		onLoad: function() {
-			this.getDataFn()
-		},
-		onPageScroll(e) {
-			var scrollTop = Number(e.scrollTop);
-			// var listTop=Number(this.listTop)-Number(this.nvaHeight)
-			if(scrollTop>2){
-				this.scroflag=true
-			}else{
-				this.scroflag=false
-			}
-		},
-		// 上拉触底加载更多触发事件
-		onReachBottom() {
-			if (this.reachflag) {
-				this.pageNum++
-				this.getDataFn()
-			}
-		},
-		methods:{
-			checkPermi, checkRole,
-			// getNextFn(){
-			// 	this.$tab.navigateTo("/work/pages/business/add")
-			// },
-			getDelFn(id){
-				var that=this;
-				reservDel(data).then(res=>{
-					if(res.code==200){
-						this.$toast("删除成功");
-						setTimeout(function(){
-							that.getrefreshData()
-						},1500)
-					}
-				})
-			},
-			getrefreshData(){
-				this.pageNum=1;
-				this.list=[];
-				this.reachflag=true;
-				this.getDataFn()
-			},
-			getSh(data){
-				var that=this;
-				var params=JSON.parse(JSON.stringify(data))
-				commentContentPut(params).then(res=>{
-					if(res.code==200){
-						this.$toast('审核成功')
-						setTimeout(function() {
-							that.getrefreshData()
-						}, 1500);
-					}
-				})
-			},
-			getDataFn(){
-				var params={
-					pageSize:this.pageSize,
-					pageNum: this.pageNum,
-					"status":'1'
-				}
-				commentSh(params).then(res=>{
-					if(res.code==200){
-						if (res.rows.length < this.pageSize) {
-							this.reachflag = false
-							this.wtdt = '到底了~';
-						} else {
-							var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum -	1)
-							if (num < res.total) {
-								this.reachflag = true
-								this.wtdt = ''
-							} else {
-								this.reachflag = false
-								this.wtdt = '到底了~';
-							}
-						}
-						var newArr=JSON.parse(JSON.stringify(res.rows))
-						newArr.forEach(ite=>{
-							ite.right=0;
-						})
-						if (this.pageNum == 1) {
-							this.list = newArr;
-						} else {
-							this.list = this.list.concat(newArr)
-						}
-					}else{
-						this.$toast(res.msg)
-					}
-				})
-				
-			},
-		}
-	}
-</script>
-<style>
-	page{background: #F3F3F0;}
-</style>
-<style lang="scss" scoped>
-.news{padding:20rpx 18rpx;}
-</style>

+ 0 - 121
user_wxui/mine/pages/pwd/forgetpwd.vue

@@ -1,121 +0,0 @@
-<template>
-  <view class="pwd-retrieve-container pwd">
-    <uni-forms ref="form" :value="user" >
-      <uni-forms-item name="phonenumber" label="手机号码">
-        <uni-easyinput :inputBorder="false" type="number"  v-model="phonenumber" placeholder="请输入您的手机号码" />
-      </uni-forms-item>
-      <uni-forms-item name="code" label="验证码">
-        <uni-easyinput :inputBorder="false" v-model="code" placeholder="请输入验证码" />
-		<view class="line flex0"></view>
-		<view v-if="timefalg" class="code act">{{time}}秒</view>
-		<view v-else @click="getCode" class="code">发送验证码</view>
-	  </uni-forms-item>
-      <view class="rbtn" @click="submit">下一步</view>
-    </uni-forms>
-  </view>
-</template>
-
-<script>
-  import { getappForgetPW } from "@/api/system/user"
-
-  export default {
-    data() {
-      return {
-		timefalg:false,
-		time:'',
-		phonenumber:'',
-		code:'',
-		newcode:'',//验证码
-		user:{},
-      }
-    },
-    onReady() {
-    },
-    methods: {
-		getCode(){
-			var that=this;
-			if (!this.phonenumber ) {
-				that.$toast("请输入手机号")
-				return
-			}
-			let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
-			if (this.phonenumber && !regphone.test(this.phonenumber)) {
-				that.$toast("请输入正确的手机号")
-				return
-			}
-			getappForgetPW(this.phonenumber).then(res=>{
-				if (res.code == 200) {
-					// 发送验证码
-					that.$toast("发送成功")
-					that.newcode=res.msg
-					that.time=60;
-					that.timefalg=true;
-					that.setTimein()
-				} else {
-					that.$toast(res.msg)
-				}
-				// 判断是不是对等的
-				// that.getCodesend(that.phonenumber)
-			})
-		},
-		// 验证码倒计时
-		setTimein(){
-			var that=this;
-			clearInterval(that.timer)
-			that.timer=setInterval(()=>{
-				if(that.time<=1){
-					that.timefalg=false;
-					that.time=60;
-					clearInterval(that.timer)
-				}
-				that.time=that.time-1;
-			},1000)
-		},
-      submit() {
-		var that = this;
-		if (!this.phonenumber ) {
-			that.$toast("请输入手机号")
-			return
-		}
-		if (!this.code ) {
-			that.$toast("请输入验证码")
-			return
-		}
-		// if(this.code!=this.newcode){
-		// 	that.$toast("验证码错误,请重新输入")
-		// 	return
-		// }
-		let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
-		if (this.phonenumber && !regphone.test(this.phonenumber)) {
-			that.$toast("请输入正确的手机号")
-			return
-		}
-		this.$tab.navigateTo(`/mine/pages/pwd/resetpwd?phone=`+this.phonenumber+'&code='+this.code)
-      }
-    }
-  }
-</script>
-
-<style lang="scss">
-  page {
-    background-color: #f5f5f5;
-  }
-  .line{width: 2rpx;height: 24rpx;background: #CDCDCD;margin: 0 24rpx;}
-	.code{font-size: 30rpx;color: $com-cd3;
-		&.act{color: #666666;}
-	}
-  .pwd-retrieve-container {
-    padding: 10rpx 36rpx;
-  }
-  .pwd .rbtn{width: 100%;height: 98rpx;background: $com-cd3;border-radius: 49rpx;text-align: center;line-height: 98rpx;font-size: 32rpx;font-weight: bold;color: #FFFEFE;margin-top: 68rpx;}
-  .pwd /deep/ .uni-forms-item{height: 126rpx;background: #FFFFFF;border-radius: 18rpx;margin-top: 30rpx;padding: 0 40rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;}
-  .pwd /deep/ .uni-forms-item__label{font-size: 32rpx;font-weight: 500;
-color: #161616;flex: 0 0 auto;width: auto !important;}
-  .pwd /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 32rpx;color: #161616;}
-  .pwd /deep/ .uni-forms-item__content{display: flex;align-items: center;flex-direction: row;}
-  .pwd /deep/ .uni-easyinput__placeholder-class{font-size: 30rpx;}
-  .pwd /deep/ .uni-easyinput__content-input{font-size: 30rpx;}
-   .pwd /deep/ .uni-forms-item__error{margin-top:20rpx;left: auto;right: 0;}
-  
-
-</style>

+ 0 - 85
user_wxui/mine/pages/pwd/index.vue

@@ -1,85 +0,0 @@
-<template>
-  <view class="pwd-retrieve-container">
-    <uni-forms ref="form" :value="user" labelWidth="80px">
-      <uni-forms-item name="oldPassword" label="旧密码">
-        <uni-easyinput type="password" v-model="user.oldPassword" placeholder="请输入旧密码" />
-      </uni-forms-item>
-      <uni-forms-item name="newPassword" label="新密码">
-        <uni-easyinput type="password" v-model="user.newPassword" placeholder="请输入新密码" />
-      </uni-forms-item>
-      <uni-forms-item name="confirmPassword" label="确认密码">
-        <uni-easyinput type="password" v-model="user.confirmPassword" placeholder="请确认新密码" />
-      </uni-forms-item>
-      <button type="primary" @click="submit">提交</button>
-    </uni-forms>
-  </view>
-</template>
-
-<script>
-  import { updateUserPwd } from "@/api/system/user"
-
-  export default {
-    data() {
-      return {
-        user: {
-          oldPassword: undefined,
-          newPassword: undefined,
-          confirmPassword: undefined
-        },
-        rules: {
-          oldPassword: {
-            rules: [{
-              required: true,
-              errorMessage: '旧密码不能为空'
-            }]
-          },
-          newPassword: {
-            rules: [{
-                required: true,
-                errorMessage: '新密码不能为空',
-              },
-              {
-                minLength: 6,
-                maxLength: 20,
-                errorMessage: '长度在 6 到 20 个字符'
-              }
-            ]
-          },
-          confirmPassword: {
-            rules: [{
-                required: true,
-                errorMessage: '确认密码不能为空'
-              }, {
-                validateFunction: (rule, value, data) => data.newPassword === value,
-                errorMessage: '两次输入的密码不一致'
-              }
-            ]
-          }
-        }
-      }
-    },
-    onReady() {
-      this.$refs.form.setRules(this.rules)
-    },
-    methods: {
-      submit() {
-        this.$refs.form.validate().then(res => {
-          updateUserPwd(this.user.oldPassword, this.user.newPassword).then(response => {
-            this.$modal.msgSuccess("修改成功")
-          })
-        })
-      }
-    }
-  }
-</script>
-
-<style lang="scss">
-  page {
-    background-color: #ffffff;
-  }
-
-  .pwd-retrieve-container {
-    padding-top: 36rpx;
-    padding: 15px;
-  }
-</style>

+ 0 - 100
user_wxui/mine/pages/pwd/resetpwd.vue

@@ -1,100 +0,0 @@
-<template>
-  <view class="pwd-retrieve-container pwd">
-    <uni-forms ref="form" :value="user" >
-      <uni-forms-item name="newPassword" label="新密码">
-        <uni-easyinput :inputBorder="false" type="password" v-model="user.newPassword" placeholder="请输入新密码" />
-      </uni-forms-item>
-      <uni-forms-item name="confirmPassword" label="确认密码">
-        <uni-easyinput :inputBorder="false" type="password" v-model="user.confirmPassword" placeholder="请确认新密码" />
-      </uni-forms-item>
-      <view class="rbtn" @click="submit">提交</view>
-    </uni-forms>
-  </view>
-</template>
-
-<script>
-  import { getappCheck } from "@/api/system/user"
-
-  export default {
-    data() {
-      return {
-		  phone:'',
-		  code:'',
-        user: {
-          newPassword: undefined,
-          confirmPassword: undefined
-        },
-        rules: {
-          newPassword: {
-            rules: [{
-                required: true,
-                errorMessage: '新密码不能为空',
-              },
-              {
-                minLength: 6,
-                maxLength: 20,
-                errorMessage: '长度在 6 到 20 个字符'
-              }
-            ]
-          },
-          confirmPassword: {
-            rules: [{
-                required: true,
-                errorMessage: '确认密码不能为空'
-              }, {
-                validateFunction: (rule, value, data) => data.newPassword === value,
-                errorMessage: '两次输入的密码不一致'
-              }
-            ]
-          }
-        }
-      }
-    },
-    onReady() {
-      this.$refs.form.setRules(this.rules)
-    },
-	onLoad(e) {
-		this.phone=e.phone;
-		this.code=e.code;
-	},
-    methods: {
-      submit() {
-		var that = this;
-        this.$refs.form.validate().then(res => {
-			var params={
-				phone:this.phone,
-				code:this.code,
-				password:this.user.newPassword
-			}
-          getappCheck(params).then(response => {
-            that.$toast("重置成功")
-            setTimeout(function(){
-            	that.$tab.reLaunch('/pages/login') 
-            },1500)
-          })
-        })
-      }
-    }
-  }
-</script>
-
-<style lang="scss">
-  page {
-    background-color: #f5f5f5;
-  }
-
-  .pwd-retrieve-container {
-    padding: 10rpx 36rpx;
-  }
-  .pwd .rbtn{width: 100%;height: 98rpx;background: $com-cd3;border-radius: 49rpx;text-align: center;line-height: 98rpx;font-size: 32rpx;font-weight: bold;color: #FFFEFE;margin-top: 68rpx;}
-  .pwd /deep/ .uni-forms-item{height: 126rpx;background: #FFFFFF;border-radius: 18rpx;margin-top: 30rpx;padding: 0 40rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;}
-  .pwd /deep/ .uni-forms-item__label{font-size: 32rpx;font-weight: 500;
-color: #161616;flex: 0 0 auto;width: auto !important;}
-  .pwd /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 32rpx;color: #161616;}
-  .pwd /deep/ .uni-forms-item__content{display: flex;align-items: center;flex-direction: row;}
-  .pwd /deep/ .uni-easyinput__placeholder-class{font-size: 30rpx;}
-  .pwd /deep/ .uni-easyinput__content-input{font-size: 30rpx;}
-   .pwd /deep/ .uni-forms-item__error{margin-top:20rpx;left: auto;right: 0;}
-  
-
-</style>

+ 0 - 281
user_wxui/mine/pages/register.vue

@@ -1,281 +0,0 @@
-<template>
-  <view class="regbox">
-	  <image :src="lbg" class="navbg"></image>
-	  <image :src="fbg" class="fbg"></image>
-	  <view class="wymain">
-		  <view class="head">
-		  	<view class="htit">你好,</view>
-		  	<view class="htit">欢迎注册智慧社区平台</view>
-		  	<view class="htxt" @click="getlogin">已有账号?<text>立即登录</text></view>
-		  </view>
-		    <view class="flex1" style="position: relative;">
-		  	  <!-- 手机号登录 -->
-		  	  <view class="login-form-content">
-		  
-		  	  	<view class="input-item">
-		  	  		<view class="login_tit">账号</view>
-		  	  		<view class="login_box">
-		  	  			<!-- <view class="login_boxl">+86</view> -->
-		  	  			 <input  v-model="datainfo.username" class="input" type="text" placeholder="请输入登录账号" maxlength="30" />
-		  	  		</view>
-		  	  	</view>
-				<view  class="input-item">
-					<view class="login_tit">验证码</view>
-					 <view style="display: flex;align-items: center;">
-						 <input v-model="duancode" type="code" class="input" placeholder="请输入短信验证码" maxlength="20" />
-						 <view v-if="timefalg" class="codes">重新发送{{time}}s</view>
-						 <view v-else class="codess" @click="getsendCode">发送验证码</view>
-					 </view>
-				</view>
-		  	  	<view class="input-item" >
-		  	  		<view class="login_tit">密码</view>
-		  	  		 <view class="login_box">
-		  	  			 <uni-easyinput :inputBorder="false" type="password" v-model="datainfo.password" placeholder="请输入密码" />
-		  	  		 </view>
-		  	  	</view>
-				<view class="titico">*密码必须包含数字、大小写字母、特殊符号且大于8位</view>
-		  	  	<!-- <view class="input-item flex align-center" style="width: 60%;margin: 0px;margin-bottom: 24rpx;" v-if="captchaEnabled">
-		  	  	  <input v-model="tucode" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
-		  	  	  <view class="login-code"> 
-		  	  	    <image :src="codeUrl" @click="getCode" class="login-code-img"></image>
-		  	  	  </view  >
-		  	  	</view> -->
-		  	  	
-		  	    <button v-if="captchaEnabled"  type="primary" class=" rbtn " :class="tucode&&datainfo.username&&datainfo.password?'btn2':'btn'"  @click="getRegisterFn">注册</button>
-		  	    <button v-else type="primary" class=" rbtn" :class="datainfo.username&&datainfo.password?'btn2':'btn'"   @click="getRegisterFn">注册</button>
-		  	  </view>
-		  	  
-		  	  <!-- 账号密码登录 -->
-		  		<view class="lread" @click="checkflag=!checkflag">
-		  			<view class="lreadl">
-		  				<image :src="checkimg" v-if="checkflag"></image>
-		  				<image :src="pnicon" v-else></image>
-		  			</view>
-		  			<view class="tit">我已阅读并同意<text @click.stop="handlePrivacy">服务协议、</text><text @click.stop="handlePrivacy">隐私政策</text></view>
-		  		</view>
-		  		 <!-- <view class="bbcode">版本号:ZXY_YY_1.3</view> -->
-		    </view>
-	  </view>
-	  <loading></loading>
-	  <!-- <view class="rtxt" @click="getregister">还没账号?去申请注册</view> -->
-  </view>
-</template>
-
-<script>
-	import {getRegisterFn,sendSmszcOnly} from "@/api/login.js"
-	import { getToken } from '@/utils/auth'
-  export default {
-	  components:{
-		  
-	  },
-	data(){
-		return{
-			lbg:require('@/static/images/mine/lbg.png'),
-			fbg:require('@/static/images/mine/fbg.png'),
-			checkimg:require('@/static/images/mine/lcicon.png'),
-			rimg:require('@/static/images/mine/rimg.png'),
-			pnicon:require('@/static/images/mine/pnicon.png'),
-			checkflag:true,
-			captchaEnabled: false,
-			duancode:'',//短信验证码
-			checkeye:false,
-			tucode:'',
-			codeUrl:'',
-			time:'',
-			timefalg:'',
-			datainfo: {
-				username: "",
-				code: "",
-				password:'',
-			},
-			timer:""
-		}
-	},
-	
-	methods:{
-		getlogin(){
-			this.$tab.redirectTo(`/mine/pages/tlogin`)
-		},
-		handlePrivacy(){
-			this.$tab.navigateTo(`/pages/agreement`)  
-		},
-		// 获取短信验证码
-		getsendCode(){
-			var that=this;
-			if (!this.datainfo.username ) {
-				that.$toast("请输入手机号")
-				return
-			}
-			let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
-			// 座机号
-			let reg1=/^(0\d{2,3})-?(\d{7,8})$/
-			if (this.datainfo.username && !regphone.test(this.datainfo.username)) {
-				that.$toast("请输入正确的手机号")
-				return
-			}
-			var params={
-				'username':this.datainfo.username
-			}
-				// getSMS();
-			sendSmszcOnly(params).then(res=>{
-				if (res.code == 200) {
-					// 发送验证码
-					that.$toast("发送成功")
-					that.time=60;
-					that.timefalg=true;
-					that.setTimein()
-				} else {
-					that.$toast(res.msg)
-				}
-			})
-		},
-		// 验证码倒计时
-		setTimein(){
-			var that=this;
-			clearInterval(that.timer)
-			that.timer=setInterval(()=>{
-				if(that.time<=1){
-					that.timefalg=false;
-					that.time=60;
-					clearInterval(that.timer)
-				}
-				that.time=that.time-1;
-			},1000)
-		},
-		getRegisterFn(){
-			var that=this;
-					var params=this.datainfo;
-					// if(!params.nickName){
-					// 	this.$toast("请输入用户名")
-					// 	return
-					// }
-					if(!params.phonenumber){
-						this.$toast("请输入手机号")
-						return
-					}
-					// 验证手机号
-					let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
-					if(!regphone.test(params.phonenumber)){
-						this.$toast('请输入正确的手机号')
-						return
-					}
-					if(!params.password){
-						this.$toast("请输入密码")
-						return
-					}
-					params.userName=params.phonenumber;
-					getRegisterFn(params).then(res=>{
-						if(res.code==200){
-							that.$toast("注册成功")
-							setTimeout(function(){
-								that.$tab.reLaunch(`/pages/login`)
-							},1200)
-						}
-					})
-		},
-	},
-	
-	onLoad: function() {	
-    },
-  }
-</script>
-
-<style lang="scss" scoped>
-.navbg{width: 100%;height: 100vh;}
-.fbg{width: 100%;height: 750rpx;position: absolute;bottom: 0;left: 0;}
-.wymain{z-index: 2;position: relative;padding: 180rpx 60rpx;}
-.headimg{width: 136rpx;height: 136rpx;margin:0 auto 36rpx;}
-.titico{font-weight: 500;font-size: 24rpx;color: #FF6969;margin-top: 20rpx;}
-.head{margin-bottom: 64rpx;
-	.htit{font-weight: bold;font-size: 48rpx;color: #0156FE;line-height: 60rpx;}
-	.htxt{font-weight: 500;font-size: 24rpx;color: #666666;margin-top: 30rpx;
-		text{color: #0156FE;}
-	}
-}
-.mzimg{width: 100rpx;height: 44rpx;margin: 0 auto ;}
-.regbox /deep/ .uni-easyinput__content{background-color: transparent !important;}
-.regbox /deep/ .uni-easyinput__content-input{font-size: 30rpx !important;padding-left: 0 !important;line-height: 80rpx;height: 80rpx;}
-.regbox /deep/ .uni-input-placeholder{font-size: 30rpx !important;padding-left: 0 !important;color: #808080;}
-.rtxt{font-size: 30rpx;font-weight: 500;
-color: $com-cd3;text-align: center;}
-.bbcode{position: absolute;width: 100%;text-align: center;left: 0;bottom: -80rpx;font-size: 24rpx;color: #666666;}
-.lread{
-	display: flex;align-items: flex-start;justify-content: center;
-	.lreadl{padding-top: 4rpx;
-		image{width: 22rpx;height: 22rpx;margin-right: 12rpx;}
-	}
-	.tit{font-size: 26rpx;font-weight: 500;color: #666666;
-	text{color:#4888FA;padding: 0 6rpx;font-weight: 500;}
-}
-}
-.tab{
-	.tabtit{font-size: 30rpx;font-weight: 500;color: #666666;padding: 0 24rpx;position: relative;
-	&.act{color: $com-cd3;font-weight: bold;}
-		&::before{content: '';position: absolute;left: 0;top: 50%;margin-top: -10rpx;width: 2rpx;height: 20rpx;background: #DADADA;}
-		&:first-child::before{display: none;}
-	}
-	
-}
-.rbtn {height: 84rpx;margin: 120rpx 0 24rpx;font-weight: bold;font-size: 28rpx;color: #FFFFFF;line-height: 84rpx;
-		&.btn{background: #9a9c9e;color: #ffffff;}
-		&.btn2{background: $com-cd3;color: #ffffff;}
-      }
-.login-form-content {
-      margin: 0 auto;
-      width: 100%;
-		
-      .input-item {
-        // margin-bottom:48rpx;
-        border-bottom: 2rpx solid #CDCDCD;
-		padding: 40rpx 0 0rpx;
-        .icon {
-          font-size: 40rpx;
-          margin-left: 10px;
-          color: #999;
-        }
-		.login_tit{
-			font-size: 30rpx;
-			font-weight: bold;
-			color: #343434;margin-bottom: 8rpx;
-		}
-		.login_box{display: flex;align-items: center;
-			.rimgs{width: 18rpx;height: 30rpx;flex: 0 0 auto;margin-left: 20rpx;}
-		}
-        .input {
-          width: 100%;
-          font-size: 30rpx;
-		  height: 80rpx;
-		  line-height: 80rpx;
-        }
-
-      }
-
-      
-      .login-code {
-        height: 38px;
-        float: right;
-      
-        .login-code-img {
-          height: 38px;
-          position: absolute;
-          margin-left: 10px;
-          width: 200rpx;
-        }
-      }
-    }
-// .image{width: 30rpx;height: 30rpx;margin-right: 14rpx;}
-.input_ye image{width: 34rpx;height: 18rpx;}
-.codess{font-size: 28rpx;color: $com-cd3;flex: 0 0 auto;min-width: 200rpx;text-align: center;border-left: 2rpx solid #CDCDCD;}
-.codes{background: none;font-size: 28rpx;flex: 0 0 auto;width: 180rpx;text-align: center;border-left: 2rpx solid #CDCDCD;}
-.login_box{display: flex;align-items: center;}
-.login_boxl{width:130rpx;font-size: 34rpx;color: #343434;border-right: 2rpx solid #CDCDCD;}
-.login_txt{text-align: right;flex: 0 0 auto; padding:0 24rpx;
-	text{font-size: 30rrpx;color:#666666;}
-}
-.line{width: 2rpx;height: 24rpx;background: #CDCDCD;margin: 0 10rpx;}
-.login_jz{display: flex;align-items: center;justify-content: flex-end;flex: 0 0 auto;
-	image{width: 30rpx;height: 30rpx;margin-right: 12rpx;}
-	view{color: #666666;font-size: 28rpx;}
-}
-// app
-</style>

+ 0 - 394
user_wxui/mine/pages/tlogin.vue

@@ -1,394 +0,0 @@
-<template>
-  <view class="regbox" v-if="loginflag">
-	  <!-- <image :src="headimg" class="headimg flex0"></image> -->
-	  <image :src="lbg" class="navbg"></image>
-	  <image :src="fbg" class="fbg"></image>
-	  <view class="wymain">
-		  <view class="head">
-		  	<view class="htit">你好,</view>
-		  	<view class="htit">欢迎登录智慧社区平台</view>
-		  	<view class="htxt" @click="getregister">还没有账号?<text>立即注册</text></view>
-		  </view>
-		    <view class="flex1" style="position: relative;">
-		  
-		  	  <!-- <view class="tab flexcc">
-		  		  <block v-for="(ite,idx) in tablist" :key="idx">
-		  			  <view v-if="ite.val!=1"  class="tabtit" :class="tabidx==ite.val?'act':''" @click="getTab(ite.val)">
-		  			  {{ite.tit}}</view> 
-		  		  </block>
-		  		 
-		  	  </view> -->
-		  	  <!-- 手机号登录 -->
-		  	  <view class="login-form-content" v-if="tabidx!=1">
-		  
-		  	  	<view class="input-item">
-		  	  		<view class="login_tit">账号</view>
-		  	  		<view class="login_box">
-		  	  			<!-- <view class="login_boxl">+86</view> -->
-		  	  			 <input  v-model="loginForm.username" class="input" type="text" placeholder="请输入登录账号" maxlength="30" />
-		  	  		</view>
-		  	  	</view>
-		  	  	<block v-if="tabidx==2">
-		  	  		<view class="input-item" >
-		  				<view class="flexcj">
-		  					<view class="login_tit">密码</view>
-		  					<view class="login_jz" @click="jzflag=!jzflag">
-		  						<image :src="pcicon" v-if="jzflag"></image>
-		  						<image :src="pnicon" v-else></image>
-		  						<view>记住密码</view>
-		  					</view>
-		  				</view>
-		  	  			
-		  	  			 <view class="login_box">
-		  					 <uni-easyinput :inputBorder="false" type="password" v-model="loginForm.password" placeholder="请输入密码" />
-		  	  				<!-- <input v-if="checkeye" v-model="loginForm.password" type="text"  class="input" placeholder="请输入密码" maxlength="20" />
-		  	  				 <input v-else v-model="loginForm.password" type="password"  class="input" placeholder="请输入密码" maxlength="20" /> -->
-		  					 <view class="line flex0"></view>
-		  					 <view class="login_txt" @click="getForget"><text>忘记密码</text></view>
-		  	  			 </view>
-		  	  		</view>
-		  	  		<view class="input-item flex align-center" style="width: 60%;margin: 0px;margin-bottom: 24rpx;" v-if="captchaEnabled">
-		  	  		  <input v-model="tucode" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
-		  	  		  <view class="login-code"> 
-		  	  		    <image :src="codeUrl" @click="getCode" class="login-code-img"></image>
-		  	  		  </view  >
-		  	  		</view>
-		  	  		 
-		  	  	</block>
-		  	  	<!-- <view v-if="tabidx==0" class="input-item" style="margin-bottom: 24rpx;" >
-		  	  		<view class="login_tit">验证码</view>
-		  	  		 <view style="display: flex;align-items: center;">
-		  	  			 <input v-model="duancode" type="code" class="input" placeholder="请输入短信验证码" maxlength="20" />
-		  	  			 <view v-if="timefalg" class="codes">重新发送{{time}}s</view>
-		  	  			 <view v-else class="codess" @click="getsendCode">发送验证码</view>
-		  	  		 </view>
-		  	  	</view> -->
-		  	    <button v-if="captchaEnabled"  type="primary" class=" rbtn" :class="tucode&&loginForm.username&&loginForm.password?'btn2':'btn'"  @click="getLogin">登录</button>
-		  	    <button v-else type="primary" class=" rbtn " :class="loginForm.username&&loginForm.password?'btn2':'btn'"   @click="getLogin">登录</button>
-		  	  </view>
-		  	  <!-- 微信登录 -->
-		  	  <block v-if="tabidx==1">
-		  		  <button  type="primary" class="rbtn" open-type="getUserInfo" @getuserinfo="getuserinfo" >
-		  		  	<text class="btn-txt">快捷登录</text>
-		  		  </button>
-		  	  </block>
-		  	  
-		  	  
-		  	  <!-- 账号密码登录 -->
-		  		<view class="lread" @click="checkflag=!checkflag">
-		  			<view class="lreadl">
-		  				<image :src="checkimg" v-if="checkflag"></image>
-		  				<image :src="pnicon" v-else></image>
-		  			</view>
-		  			<view class="tit">我已阅读并同意<text @click.stop="handlePrivacy">服务协议、</text><text @click.stop="handlePrivacy">隐私政策</text></view>
-		  		</view>
-		  		 <!-- <view class="bbcode">版本号:ZXY_YY_1.3</view> -->
-		    </view>
-	  </view>
-	  <loading></loading>
-	  <!-- <view class="rtxt " @click="getregister">还没账号?去申请注册</view> -->
-	  <phone-btn :type="typeflag" @getPhoneNumber='getPhoneNumber' @getClose="getClose"></phone-btn>
-  </view>
-</template>
-
-<script>
-	import * as base64 from "base-64"
-	import {getweChatLogin,getInfo,getweChatOpenid,getCodeImg,getCode,sendSmsOnly} from "@/api/login.js"
-	import {getUserProfile} from "@/api/system/user.js"
-	import { getToken } from '@/utils/auth'
-	import phoneBtn from "@/components/toptab/phonebtn.vue"
-  export default {
-	  components:{
-		  phoneBtn
-	  },
-	data(){
-		return{
-			lbg:require('@/static/images/mine/lbg.png'),
-			fbg:require('@/static/images/mine/fbg.png'),
-			headimg:require('@/static/logo.png'),
-			checkimg:require('@/static/images/mine/lcicon.png'),
-			ncheckimg:require('@/static/images/mine/lnicon.png'),
-			rimg:require('@/static/images/mine/rimg.png'),
-			pcicon:require('@/static/images/mine/pcicon.png'),
-			pnicon:require('@/static/images/mine/pnicon.png'),
-			checkflag:true,
-			typeflag: false,
-			loginflag:false,
-			captchaEnabled: false,
-			duancode:'',//短信验证码
-			checkeye:false,
-			tucode:'',
-			codeUrl:'',
-			time:'',
-			timefalg:'',
-			tabidx:2,
-			tablist:[{tit:'微信登录',val:1},{tit:'密码登录',val:2},],
-			loginForm: {
-				username: "",
-				code: "",
-				password:'',
-			},
-			voList:[],
-			voindex:0,
-			jzflag:false
-		}
-	},
-	
-	methods:{
-		getTab(idx){
-			this.tabidx=idx;
-		},
-
-		// 获取图形验证码
-		getCode() {
-		  getCodeImg().then(res => {
-		    this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
-		    if (this.captchaEnabled) {
-		      this.codeUrl = 'data:image/gif;base64,' + res.img
-		      this.loginForm.uuid = res.uuid
-		    }
-		  })
-		},
-		getForget(){
-			this.$tab.navigateTo(`/mine/pages/pwd/forgetpwd`)
-		},
-		getSchoolFn(){
-			this.$tab.navigateTo(`/mine/pages/mine/school?id=`+this.loginForm.school)
-		},
-		 getregister(){
-			 this.$tab.redirectTo(`/mine/pages/register`)
-			 // this.$tab.navigateTo(`/mine/pages/mine/applyregister`)
-			 // this.$tab.navigateTo(`/mine/pages/mine/auth`)
-		 },
-		 getLogin(){
-			 if(!this.loginForm.username||!this.loginForm.password||(!this.tucode&& this.captchaEnabled)){
-			 	 return
-			 }
-			// let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
-			// if(!regphone.test(this.loginForm.username)){
-			// 	this.$toast('请输入正确的手机号')
-			// 	return
-			// }
-			 // if(!this.checkflag){
-			 // 	this.$toast("请同意用户协议")
-			 // 	return
-			 // }
-			 this.loginForm.code=this.tucode;
-			 this.pwdLogin()
-		 },
-		 // 密码登录
-		 async pwdLogin() {
-		 	var that=this;
-			
-		   this.$store.dispatch('Login', this.loginForm).then((res) => {
-			   // 判断是否记住密码
-			  if(that.jzflag){
-			  	var newObj={
-			  		username:that.loginForm.username,
-			  		password:base64.encode(that.loginForm.password),
-					captchaEnabled:that.captchaEnabled,
-			  	}					  
-			  	uni.setStorageSync('account', JSON.parse(JSON.stringify(newObj)))
-			  }else{
-			  	uni.removeStorageSync('account')
-			  } 
-		     this.$modal.closeLoading()
-		 		  this.$toast('登录成功')
-		 		  setTimeout(function(){
-		 			  that.loginSuccess()
-		 		  },1500)
-		     
-		   }).catch((error) => {
-		    setTimeout(function(){
-		 		if (that.captchaEnabled&&that.tabidx==2) {
-		 			that.getCode()
-				}
-		 	},1000)
-		   })
-		 },
-		 handlePrivacy(){
-			this.$tab.navigateTo(`/pages/agreement`)  
-		 },
-		 getClose() {
-		 	this.typeflag = false
-		 },
-		 btns() {
-		 	
-		 },
-		 getPhoneNumber(data){
-			 var that=this;
-			 var params=data
-			 that.$store.dispatch('Login', params).then(() => {
-			   that.$modal.closeLoading()
-			 	that.$toast('登录成功')
-				that.typeflag=false;
-			   that.loginSuccess(data)
-			 }).catch(() => {
-			   // if (this.captchaEnabled) {
-			   //   this.getCode()
-			   // }
-			 })
-		 },
-		 // 登录成功后,处理函数
-		 loginSuccess(result) {
-		   // 设置用户信息
-		   var that=this;
-		   this.$store.dispatch('GetInfo').then(res => {
-			   this.$tab.reLaunch('/pages/index/index') 
-		   })
-		 },
-		 
-		 async getuserinfo(e) {
-			 // if(!this.checkflag){
-				//  this.$toast("请同意用户协议")
-				//  return
-			 // }
-			 // 判断是不是有学校
-		 	const {iv,encryptedData} = e.detail
-		 	const {nickName, avatarUrl, ...userInfo} = e.detail.userInfo
-			// console.log(e.detail)
-		 	try{
-				uni.login({
-                    provider: 'weixin',
-                    success: (res) => {
-                        // 获取用户信息
-						if(res.code){
-							this.avatarUrl = avatarUrl
-							this.nickName = nickName
-							this.code = res.code
-							this.userInfo =e.detail.userInfo
-							uni.setStorageSync('userInfo', e.detail.userInfo)
-							uni.setStorageSync('lcheckflag',true)
-							this.typeflag=true;
-						}
-                    }
-                })
-		 	} catch(e){
-		 		//TODO handle the exception
-		 	}
-		 },
-	},
-	
-	onLoad: function() {
-		this.getCode()
-		if (getToken()) {
-			this.$tab.reLaunch('/pages/index/index') 
-			// 判断有什么角色
-		} else {
-			this.loginflag=true;
-			// this.getCode()
-			// if(uni.getStorageSync('lcheckflag')){
-			// 	this.checkflag=true
-			// }else{
-			// 	this.checkflag=false
-			// }
-		  if(uni.getStorageSync('account')){
-		  	var newObj=JSON.parse(JSON.stringify(uni.getStorageSync('account')))
-		  	this.loginForm.username=newObj.username;
-		  	this.loginForm.password=base64.decode(newObj.password);
-		  	this.jzflag=true;
-		  }
-		  
-		}	
-    },
-  }
-</script>
-
-<style lang="scss" scoped>
-.navbg{width: 100%;height: 100vh;}
-.fbg{width: 100%;height: 750rpx;position: absolute;bottom: 0;left: 0;}
-.wymain{z-index: 2;position: relative;padding: 180rpx 60rpx;}
-.headimg{width: 136rpx;height: 136rpx;margin:0 auto 36rpx;}
-.head{margin-bottom: 64rpx;
-	.htit{font-weight: bold;font-size: 48rpx;color: #0156FE;line-height: 60rpx;}
-	.htxt{font-weight: 500;font-size: 24rpx;color: #666666;margin-top: 30rpx;
-		text{color: #0156FE;}
-	}
-}
-.mzimg{width: 100rpx;height: 44rpx;margin: 0 auto ;}
-.regbox /deep/ .uni-easyinput__content{background-color: transparent !important;}
-.regbox /deep/ .uni-easyinput__content-input{font-size: 30rpx !important;padding-left: 0 !important;line-height: 80rpx;height: 80rpx;}
-.regbox /deep/ .uni-input-placeholder{font-size: 30rpx !important;padding-left: 0 !important;color: #808080;}
-.rtxt{font-size: 30rpx;font-weight: 500;
-color: $com-cd3;text-align: center;}
-.bbcode{position: absolute;width: 100%;text-align: center;left: 0;bottom: -80rpx;font-size: 24rpx;color: #666666;}
-.lread{
-	display: flex;align-items: flex-start;justify-content: center;
-	.lreadl{padding-top: 4rpx;
-		image{width: 22rpx;height: 22rpx;margin-right: 12rpx;}
-	}
-	.tit{font-size: 26rpx;font-weight: 500;color: #666666;
-	text{color:#4888FA;padding: 0 6rpx;font-weight: 500;}
-}
-}
-.tab{
-	.tabtit{font-size: 30rpx;font-weight: 500;color: #666666;padding: 0 24rpx;position: relative;
-	&.act{color: $com-cd3;font-weight: bold;}
-		&::before{content: '';position: absolute;left: 0;top: 50%;margin-top: -10rpx;width: 2rpx;height: 20rpx;background: #DADADA;}
-		&:first-child::before{display: none;}
-	}
-	
-}
-.rbtn {height: 84rpx;margin: 120rpx 0 24rpx;font-weight: bold;font-size: 28rpx;color: #FFFFFF;line-height: 84rpx;
-		&.btn{background: #9a9c9e;color: #ffffff;}
-		&.btn2{background: $com-cd3;color: #ffffff;}
-      }
-.login-form-content {
-      margin: 0 auto;
-      width: 100%;
-		
-      .input-item {
-        // margin-bottom:48rpx;
-        border-bottom: 2rpx solid #CDCDCD;
-		padding: 40rpx 0 0rpx;
-        .icon {
-          font-size: 40rpx;
-          margin-left: 10px;
-          color: #999;
-        }
-		.login_tit{
-			font-size: 30rpx;
-			font-weight: bold;
-			color: #343434;margin-bottom: 8rpx;
-		}
-		.login_box{display: flex;align-items: center;
-			.rimgs{width: 18rpx;height: 30rpx;flex: 0 0 auto;margin-left: 20rpx;}
-		}
-        .input {
-          width: 100%;
-          font-size: 30rpx;
-		  height: 80rpx;
-		  line-height: 80rpx;
-        }
-
-      }
-
-      
-      .login-code {
-        height: 38px;
-        float: right;
-      
-        .login-code-img {
-          height: 38px;
-          position: absolute;
-          margin-left: 10px;
-          width: 200rpx;
-        }
-      }
-    }
-// .image{width: 30rpx;height: 30rpx;margin-right: 14rpx;}
-.input_ye image{width: 34rpx;height: 18rpx;}
-.codess{font-size: 34rpx;color: $com-cd3;flex: 0 0 auto;min-width: 200rpx;text-align: center;border-left: 2rpx solid #CDCDCD;}
-.codes{background: none;font-size: 28rpx;flex: 0 0 auto;width: 180rpx;text-align: center;border-left: 2rpx solid #CDCDCD;}
-.login_box{display: flex;align-items: center;}
-.login_boxl{width:130rpx;font-size: 34rpx;color: #343434;border-right: 2rpx solid #CDCDCD;}
-.login_txt{text-align: right;flex: 0 0 auto; padding:0 24rpx;
-	text{font-size: 30rrpx;color:#666666;}
-}
-.line{width: 2rpx;height: 24rpx;background: #CDCDCD;margin: 0 10rpx;}
-.login_jz{display: flex;align-items: center;justify-content: flex-end;flex: 0 0 auto;
-	image{width: 30rpx;height: 30rpx;margin-right: 12rpx;}
-	view{color: #666666;font-size: 28rpx;}
-}
-// app
-</style>

BIN
user_wxui/mine/static/images/profile.jpg


+ 0 - 510
user_wxui/my/components/box/list.vue

@@ -1,510 +0,0 @@
-<template>
-<view>
-	<!-- 第一种样式  人员管理-->
-	<block v-if="datainfo.length>0">
-		<block v-if="type=='mycar'">
-			<view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.carId)"
-				:data-idx="idx"
-				@touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
-			>
-				<view class="delleft" style="padding: 0 24rpx;">
-					<view class="carltop flexc">
-						<view class="flex1">
-							<view class="tit mb6 flexc" :class="ite.vehicleEnergy=='新能源'?'co16':'co01'">{{ite.plateNumber}}
-								<text class="cir"></text>
-								<text v-if="ite.vehicleColour">{{ite.vehicleColour}}</text>
-							</view>
-							<view class="txt flexc">
-								{{ite.vehicleBrand}}
-								<view class="txtbtn flexcc" v-if="ite.vehicleEnergy=='新能源'">{{ite.vehicleEnergy}}</view>
-								<!-- <view class="txtbtn flexcc" v-if="ite.vehicleType==2">新能源</view> -->
-							</view>
-						</view>
-						<image :src="carb" class="carb" v-if="ite.vehicleEnergy=='新能源'"></image>
-						<image :src="cara" class="cara" v-else></image>
-					</view>
-					<view class="carlf">
-						<view class="clflist">发动机号码 :{{ite.engineNumber}}</view>
-						<view class="clflist">车辆识别代号:{{ite.identificationNumber}}</view>
-						<view class="flexc">
-							<view class="clflist w50">注册日期:{{ite.registrationDate}}</view>
-							<view class="clflist w50">发证日期:{{ite.issueDate}}</view>
-						</view>
-					</view>
-				</view>
-				
-				<view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.carId)">删除</view>
-			</view>
-		</block>
-		<!-- 地址 -->
-		<block v-if="type=='address'">
-			<view class="adrlist flexc" :class="ite.isdefault?'act':''" v-for="(ite,idx) in datainfo" :key="idx">
-				<view class="adrl flex1">
-					<view class="tit mb5">安徽省 合肥市 蜀山区 高新技术产业开发区</view>
-					<view class="txt mb5">幸福大街88号幸福小区12#1304</view>
-					<view class="txts flexc">袁玥  <text class="ml8">18305687768</text>
-						<text class="ml8 btns" v-if="ite.isdefault">默认</text>
-						<text class="ml8 btns" v-if="ite.isuser">最近使用</text>
-					</view>
-				</view>
-				<view class="adrr flexcc">
-					<image :src="edit"></image>
-				</view>
-			</view>
-		</block>
-		<!-- 人员管理 -->
-		<block v-if="type=='people'">
-			<view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
-				<view class="ctop flexc">
-					<image :src="house" class="imgs" v-if="ite.houseStatus==1"></image>
-					<image :src="housea" class="imgs" v-if="ite.houseStatus==4"></image>
-					<image :src="houseb" class="imgs" v-if="ite.houseStatus==2"></image>
-					<image :src="housec" class="imgs" v-if="ite.houseStatus==3"></image>
-					<view class="tit">{{ite.detailedAddress}}</view>
-					<view class="flex1"></view>
-					<view class="txt ca" v-if="ite.houseStatus==1">自住</view>
-					<view class="txt cb" v-if="ite.houseStatus==4">出租</view>
-					<view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
-					<view class="txt co6" v-if="ite.houseStatus==3">代售</view>
-				</view>
-				<view class="plists">
-					<block v-for="(aite,aidx) in ite.residentInfoList">
-						<view class="flexc pr mb12"   :key="`peo${aidx}`" v-if="aidx==0" @click="getDetail(aite.residentId)"
-							:data-idx="idx" :data-aidx="aidx" data-type="peo"
-							@touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
-						>
-							<view class="plist flexc">
-								<image :src="man" class="head" v-if="aite.residentGender==1"></image>
-								<image :src="woman" class="head" v-else></image>
-								<view class="flex1">
-									<view class="ptit">{{aite.residentName}}
-										<view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
-									</view>
-									<view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
-									<view class="flexc">
-										<view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
-										<view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
-									</view>
-									<view class="flexc" v-if="aite.residentAppearance">
-										<view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
-									</view>
-								</view>
-							</view>
-							<view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
-						</view>
-						<view class="flexc pr mb12"   :key="`peo${aidx}`" v-if="aidx>0&&ite.zhanflag" @click="getDetail(aite.residentId)"
-							:data-idx="idx"
-							:data-aidx="aidx" data-type="peo"
-							@touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
-						>
-							<view class="plist flexc">
-								<image :src="man" class="head" v-if="aite.residentGender==1"></image>
-								<image :src="woman" class="head" v-else></image>
-								<view class="flex1">
-									<view class="ptit">{{aite.residentName}}
-										<view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
-									</view>
-									<view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
-									<view class="flexc">
-										<view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
-										<view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
-									</view>
-									<view class="flexc" v-if="aite.residentAppearance">
-										<view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
-									</view>
-								</view>
-							</view>
-							<view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
-						</view>
-					</block>
-					<image :src="upimg" v-if="ite.residentInfoList.length>1" :class="ite.zhanflag?'act':''" class="upimg" @click="getZhan(idx)"></image>
-				</view>
-			</view>
-		</block>
-		<!-- 车辆违规 -->
-		<block v-if="type=='carpark'">
-			<view class="carlist pr" v-for="(ite,idx) in datainfo" :key="ite.illegalParkingId" @click="getDetail(ite.illegalParkingId)"
-				:data-idx="idx"
-				@touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="checkPermi(['wuYe:illegalParking:remove'])?'right:'+ite.right+'px':''"
-			>
-				<view class="delleft">
-					<view class="ctop flexc">
-						<image :src="caraa" class="imgs" v-if="ite.carType==1"></image>
-						<image :src="carbb" class="imgs" v-if="ite.carType==2"></image>
-						<view class="tit">{{ite.plateNumber}}</view>
-						<view class="num coff" v-if="ite.isBlack=='Y'">(已登黑名单)</view>
-						<view class="flex1"></view>
-						<block v-if="ite.carType">
-							<view class="txt " :class="ite.carType==1?'ca':'cb'">{{kaType(ite.carType,carType)}}</view>
-						</block>
-						
-						<!-- <view class="txt cb" v-if="ite.type==2">外来车辆</view> -->
-					</view>
-					<view class="clists">
-						<block v-if="ite.carType==1">
-							<view class="clist"><view class="tit">关联房号</view>{{ite.visitPortal}}</view>
-							<view class="clist"><view class="tit">手机号码</view>{{ite.mobileNumber}}</view>
-						</block>
-						<view class="clist"><view class="tit">登记时间</view>{{ite.createTime}}</view>
-						<view class="clist"><view class="tit">违停拍照</view>
-							<view class="imgas" v-if="ite.illegalPhoto">
-								<image :src="baseUrl+aite" v-for="(aite,aidx) in kaPhoto(ite.illegalPhoto)" :key="aidx" @click.stop="getPreview(aidx,ite.illegalPhoto)"></image>
-							</view>
-						</view>
-					</view>
-				</view>
-				<view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:illegalParking:remove'])" @click.stop="getDelFn(ite.illegalParkingId)">删除</view>
-			</view>
-		</block>
-		<view class="shax" v-if="wtdt">{{wtdt}}</view>
-	</block>
-	<!-- 无数据 -->
-	<view class="nodata" v-else>
-		<image :src="noiconpimg"></image>
-		<view>
-			暂无数据
-		</view>
-	</view>
-</view>
-</template>
-
-<script>
-	import {selectDictValue} from "@/utils/common.js"
-	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
-	import config from '@/config'
-	export default{
-		props:{
-			datainfo: {
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			wtdt:{
-				type:String,
-				default () {
-					return ''
-				}
-			},
-			type:{
-				type:String,
-				default () {
-					return 0
-				}
-			},
-			clcxList:{
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			rymmList:{
-				type: Array,
-				default () {
-					return []
-				}
-			},
-			carType:{
-				type: Array,
-				default () {
-					return []
-				}
-			},	
-			tabval:{
-				type:String,
-				default () {
-					return ''
-				}
-			}
-		},
-		data(){
-			return{
-				house:require("@/health/static/house.png"),
-				housea:require("@/health/static/housea.png"),
-				houseb:require("@/health/static/houseb.png"),
-				housec:require("@/health/static/housec.png"),
-				noiconpimg:require("@/static/images/nodata.png"),
-				upimg:require("@/my/static/house/up.png"),
-				cara:require("@/my/static/house/cara.png"),
-				carb:require("@/my/static/house/carb.png"),
-				caraa:require("@/my/static/house/caraa.png"),
-				carbb:require("@/my/static/house/carbb.png"),
-				edit:require("@/my/static/edit.png"),
-				cira:require('@/news/static/complaint/cira.png'),
-				cirb:require('@/news/static/complaint/cirb.png'),
-				man:require("@/health/static/man.png"),
-				woman:require("@/health/static/woman.png"),
-				rimg:require("@/static/images/rimga.png"),
-				baseUrl:config.baseUrl,
-				delBtnWidth:66,//左滑默认宽度
-			}
-		},
-		mounted() {
-			
-		},
-		methods:{
-			checkPermi, checkRole,
-			kaType(data, list) {
-				return selectDictValue(list, data);
-			},
-			kaPhoto(data){
-				return data.split(',');
-			},
-			getDetail(e){
-				this.$emit('getDetail',e)
-			},
-			getDelFn(e){
-				var that=this;
-				uni.showModal({
-					title: '确认删除',
-					content: "是否确认删除",
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							that.$emit('getDelFn',e)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getSh(type,ite){
-				var that=this;
-				var str="";
-				if(type=='2'){
-					str="通过"
-				}else if(type=='3'){
-					str="不通过"
-				}else if(type=='4'){
-					str="下架"
-				}
-				uni.showModal({
-					title: '确认'+str,
-					content: "是否确认"+str,
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							var obj={
-								status:type,
-								contentId:ite.contentId,
-								commentId:ite.commentId,
-							}
-							that.$emit('getSh',obj)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getZhan(idx){
-				// var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
-				// obj.zhanflag=!obj.zhanflag;
-				// this.datainfo.splice(idx,1,obj);
-				this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
-			},
-			getDelFn(id){
-				var that=this;
-				uni.showModal({
-					title: '确认删除',
-					content: "是否确认删除",
-					cancelText: '取消',
-					confirmText: '确认',
-					success: function(res) {
-						if (res.confirm) {
-							that.$emit('getDelFn',id)
-						} else if (res.cancel) {
-						}
-					}
-				});
-			},
-			getAgeFromID(idNumber) {
-				if(idNumber){
-					const birthDateStr = idNumber.substring(6, 14);
-					const birthYear = parseInt(birthDateStr.substring(0, 4));
-					const birthMonth = parseInt(birthDateStr.substring(4, 6));
-					const birthDay = parseInt(birthDateStr.substring(6, 8));
-								
-					const today = new Date();
-					const currentYear = today.getFullYear();
-					const currentMonth = today.getMonth() + 1;
-					const currentDay = today.getDate();
-								
-					let age = currentYear - birthYear;
-					if (currentMonth < birthMonth || (currentMonth === birthMonth && currentDay < birthDay)) {
-					    age--;
-					}
-								
-					return age;
-				}         
-			 },
-			getPreview(idx,arr) {
-				var newArr=[];
-				var list=arr.split(',')
-				list.forEach(ite=>{
-					var ds=this.baseUrl+ite
-					newArr.push(ds)
-				})
-				uni.previewImage({
-					urls: newArr,
-					current:idx,
-					success: function(data) {},
-					fail: function(err) {}
-				});
-			},
-			//开始触摸滑动
-			drawStart(e) {
-				// console.log("开始触发");
-				var touch = e.touches[0];
-				this.startX = touch.clientX;
-			},
-			//触摸滑动
-			drawMove(e) {
-				var idx=e.currentTarget.dataset.idx
-				var aidx=e.currentTarget.dataset.aidx
-				var type=e.currentTarget.dataset.type;
-				for (var index in this.datainfo) {
-					if(type&&type=='peo'){	
-						for(var i in this.datainfo[idx].residentInfoList){
-							this.$set(this.datainfo[idx].residentInfoList[i],'right',0);
-						}
-					}else{
-						 this.$set(this.datainfo[index],'right',0);
-					}	
-				}
-				var touch = e.touches[0];
-				var item = this.datainfo[idx];
-				var disX = this.startX - touch.clientX;
-				if (disX >= 20) {
-				        if (disX > this.delBtnWidth) {
-					    disX = this.delBtnWidth;
-				        }
-						
-						if(type&&type=='peo'){
-							
-							 this.$set(this.datainfo[idx].residentInfoList[aidx],'right',disX);
-						}else{
-							 this.$set(this.datainfo[idx],'right',disX);
-						}
-						// this.csListArrl[idx].right=disX
-				       
-				} else {
-					// this.csListArrl[idx].right=0
-					this.$set(this.datainfo[idx],'right',0);
-				}
-			},
-			//触摸滑动结束
-			drawEnd(e) {
-				// console.log("滑动结束");
-				var idx=e.currentTarget.dataset.idx
-				var item = this.datainfo[idx];
-				if (item.right >= this.delBtnWidth / 2) {
-					// this.datainfo[idx].right=this.delBtnWidth
-					// this.$set(this.datainfo[idx],'right',this.delBtnWidth);
-				} else {
-					this.datainfo[idx].right=0
-				}
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-.flex{display: flex;}
-.flexc{display: flex;align-items: center;}
-.mb10{margin-bottom: 20rpx;}
-.carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
-		.cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
-		.co16{
-			.cir{background: #16BE7F;}
-		}
-		.co01{
-			.cir{background: #0156FE;}
-		}
-		.tit{font-weight: bold;font-size: 32rpx;}
-		.txt{font-weight: 500;font-size: 26rpx;color: #272727;}
-		.txtbtn{min-width: 82rpx;
-height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
-border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
-		.cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
-		.carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
-	}
-	.carlf{padding:26rpx 0 10rpx;
-		.clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
-	}
-}
-.carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
-	.ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
-		.imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
-		.tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
-		.txt{font-weight: 500;font-size: 26rpx;
-			&.ca{color: #3565ED;}
-			&.cb{color: #FE5A0E;}	
-			&.cc{color: #28C529;}	
-		}
-		.txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-		.num{font-size: 24rpx;color: #AAAAAA;}
-	}
-	.btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
-		&.btna{border: 2rpx solid #06C770;color: #06C770;}
-		&.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
-		&.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
-		&.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
-		&.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
-		&.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
-	}
-	.clists{padding: 24rpx 24rpx 8rpx;
-		.clist{font-weight: 500;margin-bottom: 16rpx;
-font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
-			.tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
-			.imgas{display: flex;align-items: center;flex-wrap: wrap;
-				image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
-			}	
-		}
-		.w50{
-			.clist{width: 50%;}
-		}
-	}
-}
-// 收货地址
-.adrlist{border-bottom: 2rpx solid  #E5E5E5;padding: 34rpx 0 34rpx 8rpx;
-	.tit{font-weight: 500;font-size: 22rpx;color: #666666;}
-	.txt{font-size: 28rpx;color: #272727;font-weight: bold;}
-	.txts{font-weight: 500;font-size: 26rpx;color: #272727;}
-	.btns{font-weight: 500;font-size: 22rpx;color: #0256FD;padding: 2rpx 14rpx;display:inline-block;background: #C9DBFF;
-border-radius: 10rpx;}
-	.adrr{width: 40rpx;height: 40rpx;flex: 0 0 auto;margin-left: 12rpx;
-		image{width: 22rpx;height: 22rpx;}
-	}
-	&.act{
-		.tit{color: #0256FD;}
-		.txt{color: #0256FD;}
-		.txts{color: #0256FD;}
-	}
-}
-
-
-// 人员
-.peolist{
-	.ctop{padding: 24rpx 24rpx 22rpx;}
-	.imgs{margin-right: 16rpx !important;}
-	.tit{font-size: 28rpx !important;}
-	.plists{padding: 30rpx 24rpx 6rpx;
-		.plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;padding: 18rpx 26rpx 4rpx;width: 100%;z-index: 1;
-		.head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
-		.ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}	
-		.ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
-		}
-	}
-	.upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
-		&.act{transform: rotate(0deg);}
-	}
-}
-// 互动
-.pd12{padding: 24rpx;}
-// 无数据
-.nodata{display: flex;flex-direction: column;align-items: center;
-	image{width: 440rpx;height: 440rpx;}
-	view{font-size: 30rpx;color: #666666;font-weight: bold;}
-}
-</style>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
user_wxui/my/components/tki-float-keyboard/style.css


+ 0 - 459
user_wxui/my/components/tki-float-keyboard/tki-float-keyboard.vue

@@ -1,459 +0,0 @@
-<template xlang="wxml" minapp="mpvue">
-	<view class="_flkey-body" :class="[keyShowAni?'_floatAniIn':'_floatAniOut']" v-if='keyShow'>
-		<view class="_flkey-bar">
-			<view class="_flkey-bar-l" @tap="_keySwUp" hover-class="_float-hover-c">
-				<view class="_flkey-bar-btn" v-show="mode == 'keyboard' && keyInputSkin">{{isUp?'小写':'大写'}}</view>
-			</view>
-			<view class="_flkey-bar-c">
-				<view class="_flkey-bar-title">{{title}}</view>
-			</view>
-			<view class="_flkey-bar-r" @tap="_keyHide" hover-class="_float-hover-c">
-				<view class="_flkey-bar-btn">完成</view>
-			</view>
-		</view>
-		<view class="_flkey" v-show="mode != 'number'">
-			<view class="_flkey-h" v-show="!keyInputSkin && mode == 'car'">
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!provinceCP_}" :data-ac="provinceCP_" v-for="v in province.row_1" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!provinceCP_}" :data-ac="provinceCP_" v-for="v in province.row_2" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!provinceCP_}" :data-ac="provinceCP_" v-for="v in province.row_3" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!provinceCP_}" :data-ac="provinceCP_" v-for="v in province.row_4" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-					<view class="_flkey-i" :class="{'_flkey-noac':!specialCP_}" :data-ac="specialCP_" v-for="v in province.row_5" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-			</view>
-			<view class="_flkey-h" v-show="!keyInputSkin && mode == 'keyboard'">
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!symbolCP_}" :data-ac="symbolCP_" v-for="v in symbol.row_1" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!symbolCP_}" :data-ac="symbolCP_" v-for="v in symbol.row_2" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!symbolCP_}" :data-ac="symbolCP_" v-for="v in symbol.row_3" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-			</view>
-			<view class="_flkey-n" v-show="keyInputSkin">
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!numCp_}" :data-ac="numCp_" v-for="v in number" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!letterCp_}" :data-ac="letterCp_" v-for="v in letter.row_1" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!letterCp_}" :data-ac="letterCp_" v-for="v in letter.row_2" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-				<view class="_flkey-row">
-					<view class="_flkey-i" :class="{'_flkey-noac':!letterCp_}" :data-ac="letterCp_" v-for="v in letter.row_3" :key="v" :data-v="v" @tap="_keyInput" hover-class="_float-hover-c">
-						<view class="_flkey-i-b">
-							{{v}}
-						</view>
-					</view>
-				</view>
-			</view>
-			<view class="_flkey-tool">
-				<view class="_flkey-tool-i tool-i-a" :class="{'_flkey-noac':!swCp_}" @tap="_keyInputSw" hover-class="_float-hover-c">
-					<view class="_flkey-tool-i-b">{{keyInputSkin?swTxtCp_[0]:swTxtCp_[1]}}</view>
-				</view>
-				<view class="_flkey-tool-i tool-i-del" @tap="_keyInputDel" hover-class="_float-hover-c">
-					<view class="_flkey-tool-i-b">删除</view>
-				</view>
-			</view>
-		</view>
-		<view class="_flkey-number" v-show="mode == 'number'">
-			<view class="_flkey-number-row">
-				<view class="_flkey-number-row-i" data-v="1" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">1</view>
-				<view class="_flkey-number-row-i" data-v="2" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">2</view>
-				<view class="_flkey-number-row-i" data-v="3" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">3</view>
-			</view>
-			<view class="_flkey-number-row">
-				<view class="_flkey-number-row-i" data-v="4" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">4</view>
-				<view class="_flkey-number-row-i" data-v="5" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">5</view>
-				<view class="_flkey-number-row-i" data-v="6" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">6</view>
-			</view>
-			<view class="_flkey-number-row">
-				<view class="_flkey-number-row-i" data-v="7" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">7</view>
-				<view class="_flkey-number-row-i" data-v="8" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">8</view>
-				<view class="_flkey-number-row-i" data-v="9" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">9</view>
-			</view>
-			<view class="_flkey-number-row">
-				<view class="_flkey-number-row-i _number-tool" data-v="." :class="{'_flkey-noac':!dotCp_}" :data-ac="dotCp_" @tap="_keyInput" hover-class="_float-hover-c">.</view>
-				<view class="_flkey-number-row-i" data-v="0" :class="{'_flkey-noac':!digitCp_}" :data-ac="digitCp_" @tap="_keyInput" hover-class="_float-hover-c">0</view>
-				<view class="_flkey-number-row-i _number-tool" hover-class="_float-hover-c" @tap="_keyInputDel">删除</view>
-			</view>
-		</view>
-		<view class="_flkey-bot">
-		</view>
-	</view>
-</template>
-
-<script>
-export default {
-	name: "tki-float-keyboard",
-	props: {
-		'title': {
-			type: [String],
-			default: '',
-		},
-		'type': {
-			type: [Number, String],
-			default: 0,
-		},
-		'mode': {
-			type: [String],
-			default: 'keyboard', // keyboard 普通键盘 car 汽车键盘 number 数字键盘
-		}
-	},
-	data() {
-		return {
-			isUp: false, // 是否是大写
-			swTxt: true, // 键盘切换按钮是否可用
-			keyShow: false,
-			keyShowAni: true, // true 进入 false 隐藏
-			keyInputSkin: true, // true 显示 字母和数字  false 显示汉子
-			symbol: {
-				row_1: ['+', '-', '*', '/', '=', '^', '<', '>', '(', ')'],
-				row_2: ['?', '!', '@', '#', '$', '&', ',', '.', '[', ']'],
-				row_3: [':', ';', '\'', '"', '_', '~', '…'],
-			},
-			province: {
-				row_1: ["京", "津", "沪", "渝", "蒙", "新", "藏", "宁", "桂", "黑"],
-				row_2: ["吉", "辽", "晋", "冀", "青", "鲁", "豫", "苏", "皖", "浙"],
-				row_3: ["闽", "赣", "湘", "鄂", "粤", "琼", "甘", "陕", "云", "贵"],
-				row_4: ["川"],
-				row_5: ["港", "澳", "学", "警", "领", "使"],
-			},
-			number: [1, 2, 3, 4, 5, 6, 7, 8, 9, 0],
-			letter: {
-				row_1: ["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"],
-				row_2: ["A", "S", "D", "F", "G", "H", "J", "K", "L"],
-				row_3: ["Z", "X", "C", "V", "B", "N", "M"],
-			},
-			symbolCP_: true,
-			provinceCP_: true,
-			specialCP_: true,
-			numCp_: true,
-			letterCp_: true,
-			digitCp_: true,
-			dotCp_: true,
-			swCp_: true,
-			swTxtCp_: ['省', 'ABC'],
-		}
-	},
-	methods: {
-		_keyInit() {
-			if (this.mode == 'keyboard') {
-				this.isUp = true
-				this._keyTypeWacth(this.keyType)
-				this._keySwUp()
-			}
-			if (this.mode == 'car') {
-				this.isUp = false
-				this._carTypeWacth(this.carType)
-				this._keySwUp()
-			}
-			if (this.mode == 'number') {
-				this._numberTypeWacth(this.numberType)
-			}
-		},
-		_keySwUp(t) {
-			if (this.mode != 'number' && this.keyInputSkin) {
-				// 大小写切换
-				for (const key in this.letter) {
-					if (this.letter.hasOwnProperty(key)) {
-						for (let index = 0; index < this.letter[key].length; index++) {
-							if (!this.isUp) {
-								let tp = this.letter[key][index].toUpperCase()
-								this.letter[key][index] = tp
-							} else {
-								let tp = this.letter[key][index].toLowerCase()
-								this.letter[key][index] = tp
-							}
-						}
-					}
-				}
-				this.isUp = !this.isUp
-			}
-		},
-		_keyInput(e) {
-			let d = e.currentTarget.dataset
-			if (d.ac) {
-				this.$emit('val', String(d.v))
-			}
-		},
-		_keyInputDel() {
-			this.$emit('del', true)
-		},
-		_keyInputSw() {
-			let that = this;
-			if (that.swCp_) {
-				that.keyInputSkin = !that.keyInputSkin
-			}
-		},
-		_keyShow() {
-			let that = this
-			uni.hideKeyboard()
-			that.keyShow = true
-			that.keyShowAni = true
-			setTimeout(() => {
-				uni.createSelectorQuery().in(that).select('._flkey-body').boundingClientRect(function (rect) {
-					that.$emit('show', rect)
-				}).exec()
-			}, 150);
-		},
-		_keyHide() {
-			let that = this
-			that.keyShowAni = false
-			setTimeout(() => {
-				that.$emit('hide', true)
-				that.keyShow = false
-			}, 166);
-		},
-		_carTypeWacth(n) {
-			let v = Number(n)
-			// 0 全部
-			// 1 字母加数字
-			// 2 省
-			// 3 字母加数字加特
-			// 4 字母
-			// 5 数字
-			switch (v) {
-				case 0:
-					this.provinceCP_ = true
-					this.specialCP_ = true
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = true
-					this.swTxtCp_ = ['省', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 1:
-					this.provinceCP_ = false
-					this.specialCP_ = false
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = false
-					this.swTxtCp_ = ['省', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 2:
-					this.provinceCP_ = true
-					this.specialCP_ = false
-					this.numCp_ = false
-					this.letterCp_ = false
-					this.swCp_ = false
-					this.swTxtCp_ = ['省', 'ABC']
-					this.keyInputSkin = false
-					break;
-				case 3:
-					this.provinceCP_ = false
-					this.specialCP_ = true
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = true
-					this.swTxtCp_ = ['特', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 4:
-					this.provinceCP_ = false
-					this.specialCP_ = false
-					this.numCp_ = false
-					this.letterCp_ = true
-					this.swCp_ = false
-					this.swTxtCp_ = ['省', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 5:
-					this.provinceCP_ = false
-					this.specialCP_ = false
-					this.numCp_ = true
-					this.letterCp_ = false
-					this.swCp_ = false
-					this.swTxtCp_ = ['省', 'ABC']
-					this.keyInputSkin = true
-					break;
-				default:
-					this.provinceCP_ = true
-					this.specialCP_ = true
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = true
-					this.swTxtCp_ = ['省', 'ABC']
-					this.keyInputSkin = true
-					break;
-			}
-		},
-		_keyTypeWacth(n) {
-			let v = Number(n)
-			// 0 全部
-			// 1 字母加数字
-			// 2 符号
-			// 3 字母
-			// 4 数字
-			// 5 字母加符号
-			// 6 数字加符号
-			switch (v) {
-				case 0:
-					this.symbolCP_ = true
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = true
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 1:
-					this.symbolCP_ = false
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = false
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 2:
-					this.symbolCP_ = true
-					this.numCp_ = false
-					this.letterCp_ = false
-					this.swCp_ = false
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = false
-					break;
-				case 3:
-					this.symbolCP_ = false
-					this.numCp_ = false
-					this.letterCp_ = true
-					this.swCp_ = false
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 4:
-					this.symbolCP_ = false
-					this.numCp_ = true
-					this.letterCp_ = false
-					this.swCp_ = false
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 5:
-					this.symbolCP_ = true
-					this.numCp_ = false
-					this.letterCp_ = true
-					this.swCp_ = true
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-				case 6:
-					this.symbolCP_ = true
-					this.numCp_ = true
-					this.letterCp_ = false
-					this.swCp_ = true
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-				default:
-					this.symbolCP_ = true
-					this.numCp_ = true
-					this.letterCp_ = true
-					this.swCp_ = true
-					this.swTxtCp_ = ['符', 'ABC']
-					this.keyInputSkin = true
-					break;
-			}
-		},
-		_numberTypeWacth(n) {
-			let v = Number(n)
-			// 0 全部
-			// 1 禁用.
-			switch (v) {
-				case 0:
-					this.digitCp_ = true
-					this.dotCp_ = true
-					break;
-				case 1:
-					this.digitCp_ = true
-					this.dotCp_ = false
-					break;
-				default:
-					this.digitCp_ = true
-					this.dotCp_ = true
-					break;
-			}
-		}
-	},
-	computed: {
-	},
-	watch: {
-		type(n, o) {
-			if (this.mode == 'car') {
-				this._carTypeWacth(n)
-			}
-			if (this.mode == 'keyboard') {
-				this._keyTypeWacth(n)
-			}
-			if (this.mode == 'number') {
-				this._numberTypeWacth(n)
-			}
-		},
-		mode(n, o) {
-			if (n != o) {
-				this._keyInit()
-			}
-		}
-	},
-	created() {
-		this._keyInit()
-	},
-}
-</script>
-
-<style>
-@import "style.css";
-</style>

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است