zs před 1 rokem
rodič
revize
03c8092724
54 změnil soubory, kde provedl 2176 přidání a 225 odebrání
  1. 26 2
      pages.json
  2. 3 3
      pages/home/index.vue
  3. 186 0
      pagesHome/customer/common/submit_1.vue
  4. 393 0
      pagesHome/customer/index.vue
  5. 59 0
      pagesHome/notarization/index.vue
  6. 59 0
      pagesHome/notice/index.vue
  7. 59 0
      pagesHome/path/index.vue
  8. 6 10
      static/iconfont-weapp/icon/icon.wxss
  9. 30 35
      static/iconfont-weapp/iconfont-weapp-icon.css
  10. 6 10
      static/iconfont-weapp/iconfont-weapp-icon.wxss
  11. 5 0
      unpackage/dist/dev/mp-weixin/app.js
  12. 6 2
      unpackage/dist/dev/mp-weixin/app.json
  13. 13 18
      unpackage/dist/dev/mp-weixin/app.wxss
  14. 133 10
      unpackage/dist/dev/mp-weixin/common/vendor.js
  15. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js
  16. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js
  17. 157 0
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js
  18. 6 0
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json
  19. 1 0
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml
  20. 89 0
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss
  21. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-swiper-indicator/u-swiper-indicator.js
  22. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js
  23. 2 2
      unpackage/dist/dev/mp-weixin/pages/home/index.js
  24. 93 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.js
  25. 4 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.json
  26. 1 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.wxml
  27. 68 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.wxss
  28. 263 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/index.js
  29. 6 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/index.json
  30. 1 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/index.wxml
  31. 104 0
      unpackage/dist/dev/mp-weixin/pagesHome/customer/index.wxss
  32. 31 0
      unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.js
  33. 4 0
      unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.json
  34. 1 0
      unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.wxml
  35. 11 0
      unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.wxss
  36. 31 0
      unpackage/dist/dev/mp-weixin/pagesHome/notice/index.js
  37. 4 0
      unpackage/dist/dev/mp-weixin/pagesHome/notice/index.json
  38. 1 0
      unpackage/dist/dev/mp-weixin/pagesHome/notice/index.wxml
  39. 11 0
      unpackage/dist/dev/mp-weixin/pagesHome/notice/index.wxss
  40. 31 0
      unpackage/dist/dev/mp-weixin/pagesHome/path/index.js
  41. 4 0
      unpackage/dist/dev/mp-weixin/pagesHome/path/index.json
  42. 1 0
      unpackage/dist/dev/mp-weixin/pagesHome/path/index.wxml
  43. 11 0
      unpackage/dist/dev/mp-weixin/pagesHome/path/index.wxss
  44. 0 66
      unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.js
  45. 0 5
      unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.json
  46. 0 2
      unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.wxml
  47. 0 1
      unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.wxss
  48. 144 0
      unpackage/dist/dev/mp-weixin/pagesMy/record/index.js
  49. 7 0
      unpackage/dist/dev/mp-weixin/pagesMy/record/index.json
  50. 1 0
      unpackage/dist/dev/mp-weixin/pagesMy/record/index.wxml
  51. 58 0
      unpackage/dist/dev/mp-weixin/pagesMy/record/index.wxss
  52. 6 10
      unpackage/dist/dev/mp-weixin/static/iconfont-weapp/icon/icon.wxss
  53. 30 35
      unpackage/dist/dev/mp-weixin/static/iconfont-weapp/iconfont-weapp-icon.css
  54. 6 10
      unpackage/dist/dev/mp-weixin/static/iconfont-weapp/iconfont-weapp-icon.wxss

+ 26 - 2
pages.json

@@ -60,6 +60,30 @@
 						"backgroundColorTop": "#F4F5F6",
 						"backgroundColorBottom": "#F4F5F6"
 					}
+				},
+				{
+					"path": "notarization/index",
+					"style": {
+						"navigationBarTitleText": "赋强公证"
+					}
+				},
+				{
+					"path": "notice/index",
+					"style": {
+						"navigationBarTitleText": "办证须知"
+					}
+				},
+				{
+					"path": "customer/index",
+					"style": {
+						"navigationBarTitleText": "在线咨询"
+					}
+				},
+				{
+					"path": "path/index",
+					"style": {
+						"navigationBarTitleText": "申办流程"
+					}
 				}
 			]
 		},
@@ -77,12 +101,12 @@
 					}
 				},
 				{
-					"path": "pages/record/index",
+					"path": "record/index",
 					"style": {
 						"navigationBarTitleText": "申办记录",
 						"enablePullDownRefresh": true
 					}
-				},
+				}
 			]
 		}
 	],

+ 3 - 3
pages/home/index.vue

@@ -72,15 +72,15 @@
 		// 	});
 		// }
 	};
-	const toCommon = (item) => {
+	const toCommon = (url) => {
 		uni.navigateTo({
-			url: `/pagesHome/search/index?type=${item.type || ''}`
+			url
 		})
 	};
 	// 查看详情
 	const toView = (item) => {
 		uni.navigateTo({
-			url: `/pagesHome/car/index?id=${item.id || item._id}`
+			url: `/pagesHome/notarization/index?id=${item.id || item._id}`
 		})
 	};
 </script>

+ 186 - 0
pagesHome/customer/common/submit_1.vue

@@ -0,0 +1,186 @@
+<template>
+	<view>
+		<view class="submit">
+			<view class="submit-chat">
+				<!-- 文本框 -->
+				<textarea cursor-spacing='20' class="chat-send btn" :show-confirm-bar="false"
+					disable-default-padding="true" auto-height="true" @focus="focus" v-model="msg"></textarea>
+				<view class="bt-img" @tap="more">
+					<text class="t-icon t-icon-gengduoneirong"></text>
+				</view>
+				<view class="bt-img" v-if="msg">
+					<button class="button" @tap="inputs" type="primary" size="mini">发送</button>
+				</view>
+			</view>
+			<!-- 更多 -->
+			<view class="more" :class="{displaynone:!ismore}">
+				<view class="more_1">
+					<view class="more-list" @tap="sendImg('album')">
+						<text class="t-icon t-icon-tupian"></text>
+						<view class="more-list-title">图片</view>
+					</view>
+					<view class="more-list">
+						<text class="t-icon t-icon-zaixiankefu"></text>
+						<button :plain="true" class="button" size="mini" type="default" open-type="contact">人工</button>
+					</view>
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				ismore: false,
+				msg: "",
+			};
+		},
+		methods: {
+			//获取高度方法
+			getElementHeight() {
+				const query = uni.createSelectorQuery().in(this);
+				query.select('.submit').boundingClientRect(data => {
+					this.$emit('heights', data.height);
+				}).exec();
+			},
+			//文字发送
+			inputs() {
+				if (this.msg.length > 0) {
+					// 0为表情和文字
+					let msg = this.msg.replace(/[\r\n]/g, "");
+					this.send(msg, '0')
+				}
+			},
+			// 输入框聚焦
+			focus() {
+				//关闭其他项
+				this.ismore = false;
+				setTimeout(() => {
+					this.getElementHeight()
+				}, 10)
+			},
+			//更多功能
+			more() {
+				this.ismore = !this.ismore;
+				setTimeout(() => {
+					this.getElementHeight();
+				}, 10)
+			},
+			//图片发送
+			sendImg(e) {
+				const that = this;
+				let serverUrl = that.$config.serverFile;
+				that.$emit('choseImg', true);
+				uni.chooseImage({
+					count: 1,
+					sizeType: ['original', 'compressed'],
+					sourceType: ['album', 'camera'],
+					success: async function(res) {
+						that.$emit('choseImg', true);
+						let tempFile = JSON.parse(JSON.stringify(res.tempFilePaths));
+						const arr = await that.$apifile(`/travel/applet/upload`, 'file', tempFile[0], 'file');
+						if (arr.errcode == '0') {
+							let filePaths = serverUrl + arr.uri
+							that.send(filePaths, '1')
+						} else {
+							that.$emit('choseImg', false);
+							uni.showToast({
+								title: arr.errmsg,
+								icon: 'none'
+							})
+						}
+					}
+				});
+			},
+			//发送
+			send(msg, type) {
+				let data = {
+					message: msg,
+					type: type
+				}
+				this.$emit('inputs', data);
+				setTimeout(() => {
+					this.msg = '';
+				}, 0)
+			}
+		}
+	};
+</script>
+
+<style lang="scss" scoped>
+	.displaynone {
+		display: none;
+	}
+
+	.submit-chat {
+		width: 100%;
+		display: flex;
+		align-items: center;
+		box-sizing: border-box;
+		padding: 14rpx 14rpx;
+
+		.bt-img {
+			margin: 0 0 0 10rpx;
+
+			.button {
+				background-color: var(--f3CColor);
+				color: var(--mainColor);
+				font-size: var(--font14Size);
+			}
+		}
+
+		.btn {
+			flex: auto;
+			background-color: #fff;
+			border-radius: 10rpx;
+			padding: 20rpx;
+			max-height: 160rpx;
+			margin: 0 10rpx;
+		}
+
+		.chat-send {
+			line-height: 44rpx;
+			width: 300rpx;
+		}
+
+	}
+
+	.more {
+		width: 100%;
+		height: 350rpx;
+		background: #ecedee;
+		box-shadow: 0px 11rpx 0px 0px rgba(0, 0, 0, 0.1);
+		bottom: env(safe-area-inset-bottom);
+		padding: 8rpx;
+		box-sizing: border-box;
+
+		.more_1 {
+			display: flex;
+			flex-wrap: wrap;
+
+			.more-list {
+				width: 18%;
+				text-align: center;
+				margin: 10rpx;
+				padding: 8px 5px 0 5px;
+				background-color: #ffffff;
+				border-radius: 20rpx;
+
+				.more-list-title {
+					margin: 10rpx 0;
+					font-size: 30rpx;
+					color: rgba(39, 40, 50, 0.5);
+					line-height: 34rpx;
+				}
+
+				.button {
+					border: none !important;
+					font-size: 14px;
+					color: rgba(39, 40, 50, 0.5);
+				}
+			}
+		}
+	}
+</style>

+ 393 - 0
pagesHome/customer/index.vue

@@ -0,0 +1,393 @@
+<template>
+	<view class="main">
+		<view class="one">
+			<!-- 聊天内容 -->
+			<scroll-view class="scroll-view" scroll-y="true" scroll-with-animation="true"
+				:scroll-into-view="scrollToView" refresher-enabled="true" :refresher-triggered="triggered"
+				@refresherrefresh="getFresh">
+				<view class="list-scroll-view">
+					<view class="chat-ls" v-for="(item,index) in msgList" :key="index" :id="'msg'+ item._id">
+						<view class="chat-time" v-if="item.time != ''">
+							{{item.time}}
+						</view>
+						<view class="msg-m msg-left" v-if="item.speaker !=  user._id">
+							<image class="user-img"
+								:src="config.logo_url&&config.logo_url.length>0?config.logo_url[0].url:''">
+							</image>
+							<!-- 文字 -->
+							<view class="message" v-if="item.msg_type =='0'">                           
+								<view class="msg-text">{{item.content}}</view>
+							</view>
+							<!-- 图像 -->
+							<view class="message img" v-else-if="item.msg_type =='1'" @tap="previewImg(item.content)">
+								<image :src="item.content" class="msg-img" mode="widthFix"></image>
+							</view>
+						</view>
+						<view class="msg-m msg-right" v-else-if="item.speaker == user._id">
+							<image class="user-img" :src="user.logo&&user.logo.length>0?user.logo[0].url:''">
+							</image>
+							<!-- 文字 -->
+							<view class="message" v-if="item.msg_type =='0'">
+								<view class="msg-text">{{item.content}}</view>
+							</view>
+							<!-- 图像 -->
+							<view class="message img" v-else-if="item.msg_type =='1'" @tap="previewImg(item.content)">
+								<image :src="item.content" class="msg-img" mode="widthFix"></image>
+							</view>
+						</view>
+					</view>
+				</view>
+			</scroll-view>
+		</view>
+		<view class="two">
+			<submit_1 @choseImg="choseImg" @inputs="inputs" @heights="heights"></submit_1>
+		</view>
+	</view>
+</template>
+
+<script>
+	import moment from 'moment';
+	import submit_1 from './common/submit_1.vue';
+	export default {
+		components: {
+			submit_1,
+		},
+		data() {
+			return {
+				config: {},
+				user: {},
+				// 聊天记录
+				msgList: [],
+				total: 0,
+				skip: 0,
+				limit: 6,
+				page: 0,
+				// 判断是否跳到最后一条
+				is_bottom: true,
+				// 判断是否下拉刷新复位
+				triggered: false,
+				scrollToView: '', //滑动最后一条信息
+				// 判断是否是选择图片刷新
+				is_img: false
+			}
+		},
+		onShow: async function() {
+			const that = this;
+			that.searchToken();
+			that.searchConfig();
+			// 判断是否是选择图片刷新
+			if (!that.is_img) {
+				await that.clearPage();
+				await that.search()
+			}
+		},
+		onPullDownRefresh: async function() {
+			const that = this;
+			that.clearPage();
+			await that.search();
+			uni.stopPullDownRefresh();
+		},
+		methods: {
+			searchToken() {
+				const that = this;
+				try {
+					const res = uni.getStorageSync('token');
+					if (res) that.$set(that, `user`, res);
+				} catch (e) {
+					uni.showToast({
+						title: err.errmsg,
+						icon: 'error',
+						duration: 2000
+					});
+				}
+			},
+			searchConfig() {
+				const that = this;
+				try {
+					const res = uni.getStorageSync('config');
+					if (res) that.$set(that, `config`, res);
+				} catch (e) {
+					uni.showToast({
+						title: err.errmsg,
+						icon: 'error',
+						duration: 2000
+					});
+				}
+			},
+			async search() {
+				const that = this;
+				if (!that.user._id) return
+				let info = {
+					skip: that.skip,
+					limit: that.limit,
+					user: that.user._id
+				}
+				const res = await that.$api(`/chat`, 'GET', {
+					...info,
+				})
+				if (res.errcode == '0') {
+					let list = [...res.data.reverse(), ...that.msgList];
+					that.$set(that, `msgList`, list)
+					that.$set(that, `total`, res.total)
+				} else {
+					uni.showToast({
+						title: res.errmsg,
+					});
+				}
+				// 跳转到最后一条数据 与前面的:id进行对照
+				that.goBottom();
+			},
+			// 进行图片的预览
+			previewImg(e) {
+				const that = this;
+				// 预览图片
+				uni.previewImage({
+					current: 0,
+					urls: [e],
+					longPressActions: {
+						itemList: ['发送给朋友', '保存图片', '收藏'],
+						success: function(data) {
+							console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) +
+								'张图片');
+						},
+						fail: function(err) {
+							console.log(err.errMsg);
+						}
+					}
+				});
+			},
+			// 判断是否是选择图片刷新
+			choseImg(e) {
+				const that = this;
+				that.$set(that, `is_img`, e)
+			},
+			//接受输入内容
+			async inputs(e) {
+				const that = this;
+				let user = that.user
+				if (user._id) {
+					//时间间隔处理
+					let data = {
+						"user": user._id,
+						"speaker": user._id,
+						"content": e.message,
+						"time": moment().format('YYYY-MM-DD HH:mm:ss'),
+						"msg_type": e.type
+					};
+					// 发送给服务器消息
+					let res = await that.$api(`/chat`, `POST`, data);
+					if (res.errcode == '0') {
+						that.msgList.push(res.data);
+					} else {
+						uni.showToast({
+							title: res.errmsg,
+							icon: 'none'
+						})
+					}
+					// 跳转到最后一条数据 与前面的:id进行对照
+					that.goBottom();
+				} else {
+					uni.navigateTo({
+						url: `/pagesIndex/login/index`
+					})
+				}
+			},
+			//输入框高度
+			heights(e) {
+				const that = this;
+				that.goBottom();
+			},
+			// 滚动到底部
+			async goBottom() {
+				const that = this;
+				that.scrollToView = ""
+				that.$nextTick(function() {
+					that.scrollToView = 'msg123456789'
+				})
+			},
+			// 下拉刷新分页
+			getFresh(e) {
+				const that = this;
+				that.$set(that, `triggered`, true)
+				that.$set(that, `is_img`, false)
+				let msgList = that.msgList;
+				let limit = that.limit;
+				setTimeout(() => {
+					if (that.total > msgList.length) {
+						uni.showLoading({
+							title: '加载中',
+							mask: true
+						})
+						let page = that.page + 1;
+						that.$set(that, `page`, page)
+						let skip = page * limit;
+						that.$set(that, `skip`, skip)
+						that.$set(that, `is_bottom`, false)
+						that.search();
+						uni.hideLoading();
+					} else {
+						uni.showToast({
+							title: `没有更多聊天记录了`,
+							icon: 'none'
+						})
+					}
+					that.triggered = false;
+				}, 1000)
+			},
+			// 分页
+			toPage(e) {
+				const that = this;
+				let list = that.list;
+				let limit = that.limit;
+				if (that.total > list.length) {
+					uni.showLoading({
+						title: '加载中',
+						mask: true
+					})
+					let page = that.page + 1;
+					that.$set(that, `page`, page)
+					let skip = page * limit;
+					that.$set(that, `skip`, skip)
+					that.search();
+					uni.hideLoading();
+				} else that.$set(that, `is_bottom`, true)
+			},
+			// 清空列表
+			clearPage() {
+				const that = this;
+				that.$set(that, `msgList`, [])
+				that.$set(that, `skip`, 0)
+				that.$set(that, `limit`, 6)
+				that.$set(that, `page`, 0)
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.main {
+		display: flex;
+		flex-direction: column;
+		width: 100vw;
+		height: 100vh;
+		overflow: hidden;
+
+		.one {
+			position: relative;
+			flex-grow: 1;
+
+			.scroll-view {
+
+				.chat-ls {
+					padding: 2vw 2vw 0 2vw;
+
+					.chat-time {
+						font-size: 24rpx;
+						color: rgba(39, 40, 50, 0.3);
+						line-height: 34rpx;
+						padding: 10rpx 0rpx;
+						text-align: center;
+					}
+
+					.msg-m {
+						display: flex;
+						padding: 20rpx 0;
+
+						.user-img {
+							flex: none;
+							width: 80rpx;
+							height: 80rpx;
+							border-radius: 40rpx;
+							border: 1px solid #c0c0c0;
+						}
+
+						.message {
+							flex: none;
+							max-width: 480rpx;
+						}
+
+						.img {
+							margin: 0 20rpx;
+						}
+
+						.msg-text {
+							font-size: 32rpx;
+							color: rgba(39, 40, 50, 1);
+							line-height: 44rpx;
+							padding: 18rpx 24rpx;
+							word-break: break-all;
+						}
+
+						.msg-img {
+							max-width: 400rpx;
+							border-radius: 20rpx;
+						}
+
+					}
+
+					.msg-left {
+						flex-direction: row;
+
+						.msg-text {
+							word-break: break-all;
+							margin-left: 16rpx;
+							background-color: #f1f1f1;
+							border-radius: 0rpx 20rpx 20rpx 20rpx;
+						}
+
+
+
+						.ms-img {
+							margin-left: 16rpx;
+						}
+
+					}
+
+					.msg-right {
+						flex-direction: row-reverse;
+
+						.msg-text {
+							margin-right: 16rpx;
+							background-color: var(--f3CColor);
+							border-radius: 20rpx 0rpx 20rpx 20rpx;
+						}
+
+						.ms-img {
+							margin-right: 16rpx;
+						}
+					}
+				}
+			}
+		}
+
+		.two {
+			background-color: #f0f0f0;
+			border-top: 1px solid rgba(39, 40, 50, 0.1);
+		}
+	}
+
+	.scroll-view {
+		position: absolute;
+		top: 0;
+		left: 0;
+		right: 0;
+		bottom: 0;
+
+		.list-scroll-view {
+			display: flex;
+			flex-direction: column;
+		}
+	}
+
+	.is_bottom {
+		width: 100%;
+		text-align: center;
+
+		text {
+			padding: 2vw 0;
+			display: inline-block;
+			color: var(--f85Color);
+			font-size: var(--font14Size);
+		}
+	}
+</style>

+ 59 - 0
pagesHome/notarization/index.vue

@@ -0,0 +1,59 @@
+<template>
+	<view class="content">
+		<view class="one">
+			赋强公证
+		</view>
+	</view>
+</template>
+
+<script setup lang="ts">
+	import { getCurrentInstance, ref } from 'vue';
+	//该依赖已内置不需要单独安装
+	import { onShow, onPullDownRefresh } from "@dcloudio/uni-app";
+	// 请求接口
+	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
+	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
+	// 基本信息
+	const config = ref({ logo: [], file: [] });
+	const list = ref([]);
+	const total = ref(0);
+	const menuList = ref([]);
+	onShow(async () => {
+		await searchConfig();
+		await searchOther();
+		await search();
+	})
+	// config信息
+	const searchConfig = async () => {
+		config.value = uni.getStorageSync('config');
+	};
+	// 其他查询信息
+	const searchOther = async () => {
+		
+	};
+	// 查询
+	const search = async () => {
+		const info = {
+			skip: 0,
+			limit: 2,
+			status: '0'
+		}
+		// const res = await $api('car', 'GET', info);
+		// if (res.errcode === 0) {
+		// 	list.value = list.value.concat(res.data)
+		// 	total.value = res.total
+		// } else {
+		// 	uni.showToast({
+		// 		title: res.errmsg || '',
+		// 		icon: 'error',
+		// 	});
+		// }
+	};
+</script>
+<style lang="scss" scoped>
+	.content {
+		display: flex;
+		flex-direction: column;
+		background-color: var(--f1Color);
+	}
+</style>

+ 59 - 0
pagesHome/notice/index.vue

@@ -0,0 +1,59 @@
+<template>
+	<view class="content">
+		<view class="one">
+			办证须知
+		</view>
+	</view>
+</template>
+
+<script setup lang="ts">
+	import { getCurrentInstance, ref } from 'vue';
+	//该依赖已内置不需要单独安装
+	import { onShow, onPullDownRefresh } from "@dcloudio/uni-app";
+	// 请求接口
+	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
+	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
+	// 基本信息
+	const config = ref({ logo: [], file: [] });
+	const list = ref([]);
+	const total = ref(0);
+	const menuList = ref([]);
+	onShow(async () => {
+		await searchConfig();
+		await searchOther();
+		await search();
+	})
+	// config信息
+	const searchConfig = async () => {
+		config.value = uni.getStorageSync('config');
+	};
+	// 其他查询信息
+	const searchOther = async () => {
+		
+	};
+	// 查询
+	const search = async () => {
+		const info = {
+			skip: 0,
+			limit: 2,
+			status: '0'
+		}
+		// const res = await $api('car', 'GET', info);
+		// if (res.errcode === 0) {
+		// 	list.value = list.value.concat(res.data)
+		// 	total.value = res.total
+		// } else {
+		// 	uni.showToast({
+		// 		title: res.errmsg || '',
+		// 		icon: 'error',
+		// 	});
+		// }
+	};
+</script>
+<style lang="scss" scoped>
+	.content {
+		display: flex;
+		flex-direction: column;
+		background-color: var(--f1Color);
+	}
+</style>

+ 59 - 0
pagesHome/path/index.vue

@@ -0,0 +1,59 @@
+<template>
+	<view class="content">
+		<view class="one">
+			申办流程
+		</view>
+	</view>
+</template>
+
+<script setup lang="ts">
+	import { getCurrentInstance, ref } from 'vue';
+	//该依赖已内置不需要单独安装
+	import { onShow, onPullDownRefresh } from "@dcloudio/uni-app";
+	// 请求接口
+	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
+	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
+	// 基本信息
+	const config = ref({ logo: [], file: [] });
+	const list = ref([]);
+	const total = ref(0);
+	const menuList = ref([]);
+	onShow(async () => {
+		await searchConfig();
+		await searchOther();
+		await search();
+	})
+	// config信息
+	const searchConfig = async () => {
+		config.value = uni.getStorageSync('config');
+	};
+	// 其他查询信息
+	const searchOther = async () => {
+		
+	};
+	// 查询
+	const search = async () => {
+		const info = {
+			skip: 0,
+			limit: 2,
+			status: '0'
+		}
+		// const res = await $api('car', 'GET', info);
+		// if (res.errcode === 0) {
+		// 	list.value = list.value.concat(res.data)
+		// 	total.value = res.total
+		// } else {
+		// 	uni.showToast({
+		// 		title: res.errmsg || '',
+		// 		icon: 'error',
+		// 	});
+		// }
+	};
+</script>
+<style lang="scss" scoped>
+	.content {
+		display: flex;
+		flex-direction: column;
+		background-color: var(--f1Color);
+	}
+</style>

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 6 - 10
static/iconfont-weapp/icon/icon.wxss


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 30 - 35
static/iconfont-weapp/iconfont-weapp-icon.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 6 - 10
static/iconfont-weapp/iconfont-weapp-icon.wxss


+ 5 - 0
unpackage/dist/dev/mp-weixin/app.js

@@ -10,7 +10,12 @@ if (!Math) {
   "./pages/my/index.js";
   "./pagesHome/agree/index.js";
   "./pagesHome/login/index.js";
+  "./pagesHome/notarization/index.js";
+  "./pagesHome/notice/index.js";
+  "./pagesHome/customer/index.js";
+  "./pagesHome/path/index.js";
   "./pagesMy/basic/index.js";
+  "./pagesMy/record/index.js";
 }
 const _sfc_main = {
   onLaunch: function() {

+ 6 - 2
unpackage/dist/dev/mp-weixin/app.json

@@ -9,14 +9,18 @@
       "root": "pagesHome",
       "pages": [
         "agree/index",
-        "login/index"
+        "login/index",
+        "notarization/index",
+        "notice/index",
+        "customer/index",
+        "path/index"
       ]
     },
     {
       "root": "pagesMy",
       "pages": [
         "basic/index",
-        "pages/record/index"
+        "record/index"
       ]
     }
   ],

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 13 - 18
unpackage/dist/dev/mp-weixin/app.wxss


+ 133 - 10
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -14079,7 +14079,7 @@ hooks.HTML5_FMT = {
   MONTH: "YYYY-MM"
   // <input type="month" />
 };
-const props$6 = {
+const props$7 = {
   props: {
     // 列表数组,元素可为字符串,如为对象可通过keyName指定目标属性名
     list: {
@@ -14418,7 +14418,7 @@ const icons = {
   "uicon-zh": "",
   "uicon-en": ""
 };
-const props$5 = {
+const props$6 = {
   props: {
     // 图标类名
     name: {
@@ -14507,7 +14507,7 @@ const props$5 = {
     }
   }
 };
-const props$4 = {
+const props$5 = {
   props: {
     // 头像图片路径(不能为相对路径)
     src: {
@@ -14585,6 +14585,128 @@ const props$4 = {
     }
   }
 };
+const props$4 = {
+  props: {
+    // 搜索框形状,round-圆形,square-方形
+    shape: {
+      type: String,
+      default: defprops.search.shape
+    },
+    // 搜索框背景色,默认值#f2f2f2
+    bgColor: {
+      type: String,
+      default: defprops.search.bgColor
+    },
+    // 占位提示文字
+    placeholder: {
+      type: String,
+      default: defprops.search.placeholder
+    },
+    // 是否启用清除控件
+    clearabled: {
+      type: Boolean,
+      default: defprops.search.clearabled
+    },
+    // 是否自动聚焦
+    focus: {
+      type: Boolean,
+      default: defprops.search.focus
+    },
+    // 是否在搜索框右侧显示取消按钮
+    showAction: {
+      type: Boolean,
+      default: defprops.search.showAction
+    },
+    // 右边控件的样式
+    actionStyle: {
+      type: Object,
+      default: defprops.search.actionStyle
+    },
+    // 取消按钮文字
+    actionText: {
+      type: String,
+      default: defprops.search.actionText
+    },
+    // 输入框内容对齐方式,可选值为 left|center|right
+    inputAlign: {
+      type: String,
+      default: defprops.search.inputAlign
+    },
+    // input输入框的样式,可以定义文字颜色,大小等,对象形式
+    inputStyle: {
+      type: Object,
+      default: defprops.search.inputStyle
+    },
+    // 是否启用输入框
+    disabled: {
+      type: Boolean,
+      default: defprops.search.disabled
+    },
+    // 边框颜色
+    borderColor: {
+      type: String,
+      default: defprops.search.borderColor
+    },
+    // 搜索图标的颜色,默认同输入框字体颜色
+    searchIconColor: {
+      type: String,
+      default: defprops.search.searchIconColor
+    },
+    // 输入框字体颜色
+    color: {
+      type: String,
+      default: defprops.search.color
+    },
+    // placeholder的颜色
+    placeholderColor: {
+      type: String,
+      default: defprops.search.placeholderColor
+    },
+    // 左边输入框的图标,可以为uView图标名称或图片路径
+    searchIcon: {
+      type: String,
+      default: defprops.search.searchIcon
+    },
+    searchIconSize: {
+      type: [Number, String],
+      default: defprops.search.searchIconSize
+    },
+    // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
+    margin: {
+      type: String,
+      default: defprops.search.margin
+    },
+    // 开启showAction时,是否在input获取焦点时才显示
+    animation: {
+      type: Boolean,
+      default: defprops.search.animation
+    },
+    // 输入框的初始化内容
+    modelValue: {
+      type: String,
+      default: defprops.search.value
+    },
+    value: {
+      type: String,
+      default: defprops.search.value
+    },
+    // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
+    maxlength: {
+      type: [String, Number],
+      default: defprops.search.maxlength
+    },
+    // 搜索框高度,单位px
+    height: {
+      type: [String, Number],
+      default: defprops.search.height
+    },
+    // 搜索框左侧文本
+    label: {
+      type: [String, Number, null],
+      default: defprops.search.label
+    }
+  }
+};
 const props$3 = {
   props: {
     // 是否显示组件
@@ -14953,13 +15075,14 @@ exports.onLoad = onLoad;
 exports.onShow = onShow;
 exports.openType = openType;
 exports.p = p;
-exports.props = props$6;
-exports.props$1 = props$5;
-exports.props$2 = props$4;
-exports.props$3 = props$3;
-exports.props$4 = props$2;
-exports.props$5 = props$1;
-exports.props$6 = props;
+exports.props = props$7;
+exports.props$1 = props$6;
+exports.props$2 = props$5;
+exports.props$3 = props$4;
+exports.props$4 = props$3;
+exports.props$5 = props$2;
+exports.props$6 = props$1;
+exports.props$7 = props;
 exports.ref = ref;
 exports.resolveComponent = resolveComponent;
 exports.s = s;

+ 1 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js

@@ -2,7 +2,7 @@
 const common_vendor = require("../../../../common/vendor.js");
 const _sfc_main = {
   name: "u-link",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
   computed: {
     linkStyle() {
       const style = {

+ 1 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js

@@ -2,7 +2,7 @@
 const common_vendor = require("../../../../common/vendor.js");
 const _sfc_main = {
   name: "u-loading-icon",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$3],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$4],
   data() {
     return {
       // Array.form可以通过一个伪数组对象创建指定长度的数组

+ 157 - 0
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js

@@ -0,0 +1,157 @@
+"use strict";
+const common_vendor = require("../../../../common/vendor.js");
+const _sfc_main = {
+  name: "u-search",
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$3],
+  data() {
+    return {
+      keyword: "",
+      showClear: false,
+      // 是否显示右边的清除图标
+      show: false,
+      // 标记input当前状态是否处于聚焦中,如果是,才会显示右侧的清除控件
+      focused: this.focus
+      // 绑定输入框的值
+      // inputValue: this.value
+    };
+  },
+  watch: {
+    keyword(nVal) {
+      this.$emit("update:modelValue", nVal);
+      this.$emit("change", nVal);
+    },
+    modelValue: {
+      immediate: true,
+      handler(nVal) {
+        this.keyword = nVal;
+      }
+    }
+  },
+  computed: {
+    showActionBtn() {
+      return !this.animation && this.showAction;
+    }
+  },
+  emits: ["clear", "search", "custom", "focus", "blur", "click", "clickIcon", "update:modelValue", "change"],
+  methods: {
+    // 目前HX2.6.9 v-model双向绑定无效,故监听input事件获取输入框内容的变化
+    inputChange(e) {
+      this.keyword = e.detail.value;
+    },
+    // 清空输入
+    // 也可以作为用户通过this.$refs形式调用清空输入框内容
+    clear() {
+      this.keyword = "";
+      this.$nextTick(() => {
+        this.$emit("clear");
+      });
+    },
+    // 确定搜索
+    search(e) {
+      this.$emit("search", e.detail.value);
+      try {
+        common_vendor.index.hideKeyboard();
+      } catch (e2) {
+      }
+    },
+    // 点击右边自定义按钮的事件
+    custom() {
+      this.$emit("custom", this.keyword);
+      try {
+        common_vendor.index.hideKeyboard();
+      } catch (e) {
+      }
+    },
+    // 获取焦点
+    getFocus() {
+      this.focused = true;
+      if (this.animation && this.showAction)
+        this.show = true;
+      this.$emit("focus", this.keyword);
+    },
+    // 失去焦点
+    blur() {
+      setTimeout(() => {
+        this.focused = false;
+      }, 100);
+      this.show = false;
+      this.$emit("blur", this.keyword);
+    },
+    // 点击搜索框,只有disabled=true时才发出事件,因为禁止了输入,意味着是想跳转真正的搜索页
+    clickHandler() {
+      if (this.disabled)
+        this.$emit("click");
+    },
+    // 点击左边图标
+    clickIcon(e) {
+      this.$emit("clickIcon", this.keyword);
+      try {
+        common_vendor.index.hideKeyboard();
+      } catch (e2) {
+      }
+    }
+  }
+};
+if (!Array) {
+  const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
+  _easycom_u_icon2();
+}
+const _easycom_u_icon = () => "../u-icon/u-icon.js";
+if (!Math) {
+  _easycom_u_icon();
+}
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+  return common_vendor.e({
+    a: _ctx.$slots.label || _ctx.label !== null
+  }, _ctx.$slots.label || _ctx.label !== null ? {
+    b: common_vendor.t(_ctx.label)
+  } : {}, {
+    c: common_vendor.o($options.clickIcon),
+    d: common_vendor.p({
+      size: _ctx.searchIconSize,
+      name: _ctx.searchIcon,
+      color: _ctx.searchIconColor ? _ctx.searchIconColor : _ctx.color
+    }),
+    e: common_vendor.o((...args) => $options.blur && $options.blur(...args)),
+    f: $data.keyword,
+    g: common_vendor.o((...args) => $options.search && $options.search(...args)),
+    h: common_vendor.o((...args) => $options.inputChange && $options.inputChange(...args)),
+    i: _ctx.disabled,
+    j: common_vendor.o((...args) => $options.getFocus && $options.getFocus(...args)),
+    k: _ctx.focus,
+    l: _ctx.maxlength,
+    m: _ctx.placeholder,
+    n: `color: ${_ctx.placeholderColor}`,
+    o: common_vendor.s({
+      textAlign: _ctx.inputAlign,
+      color: _ctx.color,
+      backgroundColor: _ctx.bgColor,
+      height: _ctx.$u.addUnit(_ctx.height)
+    }),
+    p: common_vendor.s(_ctx.inputStyle),
+    q: $data.keyword && _ctx.clearabled && $data.focused
+  }, $data.keyword && _ctx.clearabled && $data.focused ? {
+    r: common_vendor.p({
+      name: "close",
+      size: "11",
+      color: "#ffffff",
+      customStyle: "line-height: 12px"
+    }),
+    s: common_vendor.o((...args) => $options.clear && $options.clear(...args))
+  } : {}, {
+    t: _ctx.bgColor,
+    v: _ctx.shape == "round" ? "100px" : "4px",
+    w: _ctx.borderColor,
+    x: common_vendor.t(_ctx.actionText),
+    y: common_vendor.s(_ctx.actionStyle),
+    z: common_vendor.n(($options.showActionBtn || $data.show) && "u-search__action--active"),
+    A: common_vendor.o((...args) => $options.custom && $options.custom(...args)),
+    B: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args)),
+    C: common_vendor.s({
+      margin: _ctx.margin
+    }),
+    D: common_vendor.s(_ctx.$u.addStyle(_ctx.customStyle))
+  });
+}
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ed789780"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-search/u-search.vue"]]);
+wx.createComponent(Component);

+ 6 - 0
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json

@@ -0,0 +1,6 @@
+{
+  "component": true,
+  "usingComponents": {
+    "u-icon": "../u-icon/u-icon"
+  }
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 1 - 0
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml


+ 89 - 0
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss

@@ -0,0 +1,89 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+view.data-v-ed789780, scroll-view.data-v-ed789780, swiper-item.data-v-ed789780 {
+  display: flex;
+  flex-direction: column;
+  flex-shrink: 0;
+  flex-grow: 0;
+  flex-basis: auto;
+  align-items: stretch;
+  align-content: flex-start;
+}
+.u-search.data-v-ed789780 {
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  flex: 1;
+}
+.u-search__content.data-v-ed789780 {
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  padding: 0 10px;
+  flex: 1;
+  justify-content: space-between;
+  border-width: 1px;
+  border-color: transparent;
+  border-style: solid;
+  overflow: hidden;
+}
+.u-search__content__icon.data-v-ed789780 {
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+}
+.u-search__content__label.data-v-ed789780 {
+  color: #303133;
+  font-size: 14px;
+  margin: 0 4px;
+}
+.u-search__content__close.data-v-ed789780 {
+  width: 20px;
+  height: 20px;
+  border-top-left-radius: 100px;
+  border-top-right-radius: 100px;
+  border-bottom-left-radius: 100px;
+  border-bottom-right-radius: 100px;
+  background-color: #C6C7CB;
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  justify-content: center;
+  transform: scale(0.82);
+}
+.u-search__content__input.data-v-ed789780 {
+  flex: 1;
+  font-size: 14px;
+  line-height: 1;
+  margin: 0 5px;
+  color: #303133;
+}
+.u-search__content__input--placeholder.data-v-ed789780 {
+  color: #909193;
+}
+.u-search__action.data-v-ed789780 {
+  font-size: 14px;
+  color: #303133;
+  width: 0;
+  overflow: hidden;
+  transition-property: width;
+  transition-duration: 0.3s;
+  white-space: nowrap;
+  text-align: center;
+}
+.u-search__action--active.data-v-ed789780 {
+  width: 40px;
+  margin-left: 5px;
+}

+ 1 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-swiper-indicator/u-swiper-indicator.js

@@ -2,7 +2,7 @@
 const common_vendor = require("../../../../common/vendor.js");
 const _sfc_main = {
   name: "u-swiper-indicator",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$4],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5],
   data() {
     return {
       lineWidth: 22

+ 1 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js

@@ -2,7 +2,7 @@
 const common_vendor = require("../../../../common/vendor.js");
 const _sfc_main = {
   name: "u--text",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.button, common_vendor.openType, common_vendor.props$5],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.button, common_vendor.openType, common_vendor.props$6],
   emits: ["click"],
   computed: {
     valueStyle() {

+ 2 - 2
unpackage/dist/dev/mp-weixin/pages/home/index.js

@@ -41,9 +41,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     };
     const search = async () => {
     };
-    const toCommon = (item) => {
+    const toCommon = (url) => {
       common_vendor.index.navigateTo({
-        url: `/pagesHome/search/index?type=${item.type || ""}`
+        url
       });
     };
     return (_ctx, _cache) => {

+ 93 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.js

@@ -0,0 +1,93 @@
+"use strict";
+const common_vendor = require("../../../common/vendor.js");
+const _sfc_main = {
+  data() {
+    return {
+      ismore: false,
+      msg: ""
+    };
+  },
+  methods: {
+    //获取高度方法
+    getElementHeight() {
+      const query = common_vendor.index.createSelectorQuery().in(this);
+      query.select(".submit").boundingClientRect((data) => {
+        this.$emit("heights", data.height);
+      }).exec();
+    },
+    //文字发送
+    inputs() {
+      if (this.msg.length > 0) {
+        let msg = this.msg.replace(/[\r\n]/g, "");
+        this.send(msg, "0");
+      }
+    },
+    // 输入框聚焦
+    focus() {
+      this.ismore = false;
+      setTimeout(() => {
+        this.getElementHeight();
+      }, 10);
+    },
+    //更多功能
+    more() {
+      this.ismore = !this.ismore;
+      setTimeout(() => {
+        this.getElementHeight();
+      }, 10);
+    },
+    //图片发送
+    sendImg(e) {
+      const that = this;
+      let serverUrl = that.$config.serverFile;
+      that.$emit("choseImg", true);
+      common_vendor.index.chooseImage({
+        count: 1,
+        sizeType: ["original", "compressed"],
+        sourceType: ["album", "camera"],
+        success: async function(res) {
+          that.$emit("choseImg", true);
+          let tempFile = JSON.parse(JSON.stringify(res.tempFilePaths));
+          const arr = await that.$apifile(`/travel/applet/upload`, "file", tempFile[0], "file");
+          if (arr.errcode == "0") {
+            let filePaths = serverUrl + arr.uri;
+            that.send(filePaths, "1");
+          } else {
+            that.$emit("choseImg", false);
+            common_vendor.index.showToast({
+              title: arr.errmsg,
+              icon: "none"
+            });
+          }
+        }
+      });
+    },
+    //发送
+    send(msg, type) {
+      let data = {
+        message: msg,
+        type
+      };
+      this.$emit("inputs", data);
+      setTimeout(() => {
+        this.msg = "";
+      }, 0);
+    }
+  }
+};
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+  return common_vendor.e({
+    a: common_vendor.o((...args) => $options.focus && $options.focus(...args)),
+    b: $data.msg,
+    c: common_vendor.o(($event) => $data.msg = $event.detail.value),
+    d: common_vendor.o((...args) => $options.more && $options.more(...args)),
+    e: $data.msg
+  }, $data.msg ? {
+    f: common_vendor.o((...args) => $options.inputs && $options.inputs(...args))
+  } : {}, {
+    g: common_vendor.o(($event) => $options.sendImg("album")),
+    h: !$data.ismore ? 1 : ""
+  });
+}
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cccf71ac"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/customer/common/submit_1.vue"]]);
+wx.createComponent(Component);

+ 4 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.json

@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.wxml


+ 68 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/common/submit_1.wxss

@@ -0,0 +1,68 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+.displaynone.data-v-cccf71ac {
+  display: none;
+}
+.submit-chat.data-v-cccf71ac {
+  width: 100%;
+  display: flex;
+  align-items: center;
+  box-sizing: border-box;
+  padding: 14rpx 14rpx;
+}
+.submit-chat .bt-img.data-v-cccf71ac {
+  margin: 0 0 0 10rpx;
+}
+.submit-chat .bt-img .button.data-v-cccf71ac {
+  background-color: var(--f3CColor);
+  color: var(--mainColor);
+  font-size: var(--font14Size);
+}
+.submit-chat .btn.data-v-cccf71ac {
+  flex: auto;
+  background-color: #fff;
+  border-radius: 10rpx;
+  padding: 20rpx;
+  max-height: 160rpx;
+  margin: 0 10rpx;
+}
+.submit-chat .chat-send.data-v-cccf71ac {
+  line-height: 44rpx;
+  width: 300rpx;
+}
+.more.data-v-cccf71ac {
+  width: 100%;
+  height: 350rpx;
+  background: #ecedee;
+  box-shadow: 0px 11rpx 0px 0px rgba(0, 0, 0, 0.1);
+  bottom: env(safe-area-inset-bottom);
+  padding: 8rpx;
+  box-sizing: border-box;
+}
+.more .more_1.data-v-cccf71ac {
+  display: flex;
+  flex-wrap: wrap;
+}
+.more .more_1 .more-list.data-v-cccf71ac {
+  width: 18%;
+  text-align: center;
+  margin: 10rpx;
+  padding: 8px 5px 0 5px;
+  background-color: #ffffff;
+  border-radius: 20rpx;
+}
+.more .more_1 .more-list .more-list-title.data-v-cccf71ac {
+  margin: 10rpx 0;
+  font-size: 30rpx;
+  color: rgba(39, 40, 50, 0.5);
+  line-height: 34rpx;
+}
+.more .more_1 .more-list .button.data-v-cccf71ac {
+  border: none !important;
+  font-size: 14px;
+  color: rgba(39, 40, 50, 0.5);
+}

+ 263 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/index.js

@@ -0,0 +1,263 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+const submit_1 = () => "./common/submit_1.js";
+const _sfc_main = {
+  components: {
+    submit_1
+  },
+  data() {
+    return {
+      config: {},
+      user: {},
+      // 聊天记录
+      msgList: [],
+      total: 0,
+      skip: 0,
+      limit: 6,
+      page: 0,
+      // 判断是否跳到最后一条
+      is_bottom: true,
+      // 判断是否下拉刷新复位
+      triggered: false,
+      scrollToView: "",
+      //滑动最后一条信息
+      // 判断是否是选择图片刷新
+      is_img: false
+    };
+  },
+  onShow: async function() {
+    const that = this;
+    that.searchToken();
+    that.searchConfig();
+    if (!that.is_img) {
+      await that.clearPage();
+      await that.search();
+    }
+  },
+  onPullDownRefresh: async function() {
+    const that = this;
+    that.clearPage();
+    await that.search();
+    common_vendor.index.stopPullDownRefresh();
+  },
+  methods: {
+    searchToken() {
+      const that = this;
+      try {
+        const res = common_vendor.index.getStorageSync("token");
+        if (res)
+          that.$set(that, `user`, res);
+      } catch (e) {
+        common_vendor.index.showToast({
+          title: err.errmsg,
+          icon: "error",
+          duration: 2e3
+        });
+      }
+    },
+    searchConfig() {
+      const that = this;
+      try {
+        const res = common_vendor.index.getStorageSync("config");
+        if (res)
+          that.$set(that, `config`, res);
+      } catch (e) {
+        common_vendor.index.showToast({
+          title: err.errmsg,
+          icon: "error",
+          duration: 2e3
+        });
+      }
+    },
+    async search() {
+      const that = this;
+      if (!that.user._id)
+        return;
+      let info = {
+        skip: that.skip,
+        limit: that.limit,
+        user: that.user._id
+      };
+      const res = await that.$api(`/chat`, "GET", {
+        ...info
+      });
+      if (res.errcode == "0") {
+        let list = [...res.data.reverse(), ...that.msgList];
+        that.$set(that, `msgList`, list);
+        that.$set(that, `total`, res.total);
+      } else {
+        common_vendor.index.showToast({
+          title: res.errmsg
+        });
+      }
+      that.goBottom();
+    },
+    // 进行图片的预览
+    previewImg(e) {
+      common_vendor.index.previewImage({
+        current: 0,
+        urls: [e],
+        longPressActions: {
+          itemList: ["发送给朋友", "保存图片", "收藏"],
+          success: function(data) {
+            console.log("选中了第" + (data.tapIndex + 1) + "个按钮,第" + (data.index + 1) + "张图片");
+          },
+          fail: function(err2) {
+            console.log(err2.errMsg);
+          }
+        }
+      });
+    },
+    // 判断是否是选择图片刷新
+    choseImg(e) {
+      const that = this;
+      that.$set(that, `is_img`, e);
+    },
+    //接受输入内容
+    async inputs(e) {
+      const that = this;
+      let user = that.user;
+      if (user._id) {
+        let data = {
+          "user": user._id,
+          "speaker": user._id,
+          "content": e.message,
+          "time": common_vendor.hooks().format("YYYY-MM-DD HH:mm:ss"),
+          "msg_type": e.type
+        };
+        let res = await that.$api(`/chat`, `POST`, data);
+        if (res.errcode == "0") {
+          that.msgList.push(res.data);
+        } else {
+          common_vendor.index.showToast({
+            title: res.errmsg,
+            icon: "none"
+          });
+        }
+        that.goBottom();
+      } else {
+        common_vendor.index.navigateTo({
+          url: `/pagesIndex/login/index`
+        });
+      }
+    },
+    //输入框高度
+    heights(e) {
+      const that = this;
+      that.goBottom();
+    },
+    // 滚动到底部
+    async goBottom() {
+      const that = this;
+      that.scrollToView = "";
+      that.$nextTick(function() {
+        that.scrollToView = "msg123456789";
+      });
+    },
+    // 下拉刷新分页
+    getFresh(e) {
+      const that = this;
+      that.$set(that, `triggered`, true);
+      that.$set(that, `is_img`, false);
+      let msgList = that.msgList;
+      let limit = that.limit;
+      setTimeout(() => {
+        if (that.total > msgList.length) {
+          common_vendor.index.showLoading({
+            title: "加载中",
+            mask: true
+          });
+          let page = that.page + 1;
+          that.$set(that, `page`, page);
+          let skip = page * limit;
+          that.$set(that, `skip`, skip);
+          that.$set(that, `is_bottom`, false);
+          that.search();
+          common_vendor.index.hideLoading();
+        } else {
+          common_vendor.index.showToast({
+            title: `没有更多聊天记录了`,
+            icon: "none"
+          });
+        }
+        that.triggered = false;
+      }, 1e3);
+    },
+    // 分页
+    toPage(e) {
+      const that = this;
+      let list = that.list;
+      let limit = that.limit;
+      if (that.total > list.length) {
+        common_vendor.index.showLoading({
+          title: "加载中",
+          mask: true
+        });
+        let page = that.page + 1;
+        that.$set(that, `page`, page);
+        let skip = page * limit;
+        that.$set(that, `skip`, skip);
+        that.search();
+        common_vendor.index.hideLoading();
+      } else
+        that.$set(that, `is_bottom`, true);
+    },
+    // 清空列表
+    clearPage() {
+      const that = this;
+      that.$set(that, `msgList`, []);
+      that.$set(that, `skip`, 0);
+      that.$set(that, `limit`, 6);
+      that.$set(that, `page`, 0);
+    }
+  }
+};
+if (!Array) {
+  const _component_submit_1 = common_vendor.resolveComponent("submit_1");
+  _component_submit_1();
+}
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+  return {
+    a: common_vendor.f($data.msgList, (item, index, i0) => {
+      return common_vendor.e({
+        a: item.time != ""
+      }, item.time != "" ? {
+        b: common_vendor.t(item.time)
+      } : {}, {
+        c: item.speaker != $data.user._id
+      }, item.speaker != $data.user._id ? common_vendor.e({
+        d: $data.config.logo_url && $data.config.logo_url.length > 0 ? $data.config.logo_url[0].url : "",
+        e: item.msg_type == "0"
+      }, item.msg_type == "0" ? {
+        f: common_vendor.t(item.content)
+      } : item.msg_type == "1" ? {
+        h: item.content,
+        i: common_vendor.o(($event) => $options.previewImg(item.content), index)
+      } : {}, {
+        g: item.msg_type == "1"
+      }) : item.speaker == $data.user._id ? common_vendor.e({
+        k: $data.user.logo && $data.user.logo.length > 0 ? $data.user.logo[0].url : "",
+        l: item.msg_type == "0"
+      }, item.msg_type == "0" ? {
+        m: common_vendor.t(item.content)
+      } : item.msg_type == "1" ? {
+        o: item.content,
+        p: common_vendor.o(($event) => $options.previewImg(item.content), index)
+      } : {}, {
+        n: item.msg_type == "1"
+      }) : {}, {
+        j: item.speaker == $data.user._id,
+        q: index,
+        r: "msg" + item._id
+      });
+    }),
+    b: $data.scrollToView,
+    c: $data.triggered,
+    d: common_vendor.o((...args) => $options.getFresh && $options.getFresh(...args)),
+    e: common_vendor.o($options.choseImg),
+    f: common_vendor.o($options.inputs),
+    g: common_vendor.o($options.heights)
+  };
+}
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-22cb3e28"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/customer/index.vue"]]);
+wx.createPage(MiniProgramPage);

+ 6 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/index.json

@@ -0,0 +1,6 @@
+{
+  "navigationBarTitleText": "在线咨询",
+  "usingComponents": {
+    "submit_1": "./common/submit_1"
+  }
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/index.wxml


+ 104 - 0
unpackage/dist/dev/mp-weixin/pagesHome/customer/index.wxss

@@ -0,0 +1,104 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+.main.data-v-22cb3e28 {
+  display: flex;
+  flex-direction: column;
+  width: 100vw;
+  height: 100vh;
+  overflow: hidden;
+}
+.main .one.data-v-22cb3e28 {
+  position: relative;
+  flex-grow: 1;
+}
+.main .one .scroll-view .chat-ls.data-v-22cb3e28 {
+  padding: 2vw 2vw 0 2vw;
+}
+.main .one .scroll-view .chat-ls .chat-time.data-v-22cb3e28 {
+  font-size: 24rpx;
+  color: rgba(39, 40, 50, 0.3);
+  line-height: 34rpx;
+  padding: 10rpx 0rpx;
+  text-align: center;
+}
+.main .one .scroll-view .chat-ls .msg-m.data-v-22cb3e28 {
+  display: flex;
+  padding: 20rpx 0;
+}
+.main .one .scroll-view .chat-ls .msg-m .user-img.data-v-22cb3e28 {
+  flex: none;
+  width: 80rpx;
+  height: 80rpx;
+  border-radius: 40rpx;
+  border: 1px solid #c0c0c0;
+}
+.main .one .scroll-view .chat-ls .msg-m .message.data-v-22cb3e28 {
+  flex: none;
+  max-width: 480rpx;
+}
+.main .one .scroll-view .chat-ls .msg-m .img.data-v-22cb3e28 {
+  margin: 0 20rpx;
+}
+.main .one .scroll-view .chat-ls .msg-m .msg-text.data-v-22cb3e28 {
+  font-size: 32rpx;
+  color: #272832;
+  line-height: 44rpx;
+  padding: 18rpx 24rpx;
+  word-break: break-all;
+}
+.main .one .scroll-view .chat-ls .msg-m .msg-img.data-v-22cb3e28 {
+  max-width: 400rpx;
+  border-radius: 20rpx;
+}
+.main .one .scroll-view .chat-ls .msg-left.data-v-22cb3e28 {
+  flex-direction: row;
+}
+.main .one .scroll-view .chat-ls .msg-left .msg-text.data-v-22cb3e28 {
+  word-break: break-all;
+  margin-left: 16rpx;
+  background-color: #f1f1f1;
+  border-radius: 0rpx 20rpx 20rpx 20rpx;
+}
+.main .one .scroll-view .chat-ls .msg-left .ms-img.data-v-22cb3e28 {
+  margin-left: 16rpx;
+}
+.main .one .scroll-view .chat-ls .msg-right.data-v-22cb3e28 {
+  flex-direction: row-reverse;
+}
+.main .one .scroll-view .chat-ls .msg-right .msg-text.data-v-22cb3e28 {
+  margin-right: 16rpx;
+  background-color: var(--f3CColor);
+  border-radius: 20rpx 0rpx 20rpx 20rpx;
+}
+.main .one .scroll-view .chat-ls .msg-right .ms-img.data-v-22cb3e28 {
+  margin-right: 16rpx;
+}
+.main .two.data-v-22cb3e28 {
+  background-color: #f0f0f0;
+  border-top: 1px solid rgba(39, 40, 50, 0.1);
+}
+.scroll-view.data-v-22cb3e28 {
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+}
+.scroll-view .list-scroll-view.data-v-22cb3e28 {
+  display: flex;
+  flex-direction: column;
+}
+.is_bottom.data-v-22cb3e28 {
+  width: 100%;
+  text-align: center;
+}
+.is_bottom text.data-v-22cb3e28 {
+  padding: 2vw 0;
+  display: inline-block;
+  color: var(--f85Color);
+  font-size: var(--font14Size);
+}

+ 31 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.js

@@ -0,0 +1,31 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
+  __name: "index",
+  setup(__props) {
+    var _a, _b;
+    (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
+    (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
+    const config = common_vendor.ref({ logo: [], file: [] });
+    common_vendor.ref([]);
+    common_vendor.ref(0);
+    common_vendor.ref([]);
+    common_vendor.onShow(async () => {
+      await searchConfig();
+      await searchOther();
+      await search();
+    });
+    const searchConfig = async () => {
+      config.value = common_vendor.index.getStorageSync("config");
+    };
+    const searchOther = async () => {
+    };
+    const search = async () => {
+    };
+    return (_ctx, _cache) => {
+      return {};
+    };
+  }
+});
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-36eb9460"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/notarization/index.vue"]]);
+wx.createPage(MiniProgramPage);

+ 4 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "赋强公证",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.wxml

@@ -0,0 +1 @@
+<view class="content data-v-36eb9460"><view class="one data-v-36eb9460"> 赋强公证 </view></view>

+ 11 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notarization/index.wxss

@@ -0,0 +1,11 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+.content.data-v-36eb9460 {
+  display: flex;
+  flex-direction: column;
+  background-color: var(--f1Color);
+}

+ 31 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notice/index.js

@@ -0,0 +1,31 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
+  __name: "index",
+  setup(__props) {
+    var _a, _b;
+    (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
+    (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
+    const config = common_vendor.ref({ logo: [], file: [] });
+    common_vendor.ref([]);
+    common_vendor.ref(0);
+    common_vendor.ref([]);
+    common_vendor.onShow(async () => {
+      await searchConfig();
+      await searchOther();
+      await search();
+    });
+    const searchConfig = async () => {
+      config.value = common_vendor.index.getStorageSync("config");
+    };
+    const searchOther = async () => {
+    };
+    const search = async () => {
+    };
+    return (_ctx, _cache) => {
+      return {};
+    };
+  }
+});
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bf729b11"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/notice/index.vue"]]);
+wx.createPage(MiniProgramPage);

+ 4 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notice/index.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "办证须知",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notice/index.wxml

@@ -0,0 +1 @@
+<view class="content data-v-bf729b11"><view class="one data-v-bf729b11"> 办证须知 </view></view>

+ 11 - 0
unpackage/dist/dev/mp-weixin/pagesHome/notice/index.wxss

@@ -0,0 +1,11 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+.content.data-v-bf729b11 {
+  display: flex;
+  flex-direction: column;
+  background-color: var(--f1Color);
+}

+ 31 - 0
unpackage/dist/dev/mp-weixin/pagesHome/path/index.js

@@ -0,0 +1,31 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
+  __name: "index",
+  setup(__props) {
+    var _a, _b;
+    (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
+    (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
+    const config = common_vendor.ref({ logo: [], file: [] });
+    common_vendor.ref([]);
+    common_vendor.ref(0);
+    common_vendor.ref([]);
+    common_vendor.onShow(async () => {
+      await searchConfig();
+      await searchOther();
+      await search();
+    });
+    const searchConfig = async () => {
+      config.value = common_vendor.index.getStorageSync("config");
+    };
+    const searchOther = async () => {
+    };
+    const search = async () => {
+    };
+    return (_ctx, _cache) => {
+      return {};
+    };
+  }
+});
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0a708db0"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/path/index.vue"]]);
+wx.createPage(MiniProgramPage);

+ 4 - 0
unpackage/dist/dev/mp-weixin/pagesHome/path/index.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "申办流程",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesHome/path/index.wxml

@@ -0,0 +1 @@
+<view class="content data-v-0a708db0"><view class="one data-v-0a708db0"> 申办流程 </view></view>

+ 11 - 0
unpackage/dist/dev/mp-weixin/pagesHome/path/index.wxss

@@ -0,0 +1,11 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+.content.data-v-0a708db0 {
+  display: flex;
+  flex-direction: column;
+  background-color: var(--f1Color);
+}

+ 0 - 66
unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.js

@@ -1,66 +0,0 @@
-// pagesMy/pages/record/index.js
-Page({
-
-  /**
-   * 页面的初始数据
-   */
-  data: {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面加载
-   */
-  onLoad(options) {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面初次渲染完成
-   */
-  onReady() {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面显示
-   */
-  onShow() {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面隐藏
-   */
-  onHide() {
-
-  },
-
-  /**
-   * 生命周期函数--监听页面卸载
-   */
-  onUnload() {
-
-  },
-
-  /**
-   * 页面相关事件处理函数--监听用户下拉动作
-   */
-  onPullDownRefresh() {
-
-  },
-
-  /**
-   * 页面上拉触底事件的处理函数
-   */
-  onReachBottom() {
-
-  },
-
-  /**
-   * 用户点击右上角分享
-   */
-  onShareAppMessage() {
-
-  }
-})

+ 0 - 5
unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.json

@@ -1,5 +0,0 @@
-{
-  "navigationBarTitleText": "申办记录",
-  "enablePullDownRefresh": true,
-  "usingComponents": {}
-}

+ 0 - 2
unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.wxml

@@ -1,2 +0,0 @@
-<!--pagesMy/pages/record/index.wxml-->
-<text>pagesMy/pages/record/index.wxml</text>

+ 0 - 1
unpackage/dist/dev/mp-weixin/pagesMy/pages/record/index.wxss

@@ -1 +0,0 @@
-/* pagesMy/pages/record/index.wxss */

+ 144 - 0
unpackage/dist/dev/mp-weixin/pagesMy/record/index.js

@@ -0,0 +1,144 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+if (!Array) {
+  const _easycom_u_search2 = common_vendor.resolveComponent("u-search");
+  _easycom_u_search2();
+}
+const _easycom_u_search = () => "../../node-modules/uview-plus/components/u-search/u-search.js";
+if (!Math) {
+  _easycom_u_search();
+}
+const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
+  __name: "index",
+  setup(__props) {
+    var _a, _b;
+    const $api = (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
+    (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
+    common_vendor.computed(() => {
+      return common_vendor.index.getStorageSync("openid");
+    });
+    const searchInfo = common_vendor.ref({});
+    const config = common_vendor.ref({ logoUrl: [] });
+    const list = common_vendor.ref([]);
+    const total = common_vendor.ref(0);
+    const skip = common_vendor.ref(0);
+    const limit = common_vendor.ref(6);
+    const page = common_vendor.ref(0);
+    const is_bottom = common_vendor.ref(false);
+    common_vendor.ref(0);
+    const statusList = common_vendor.ref([]);
+    common_vendor.onLoad(async () => {
+      await searchOther();
+      await searchConfig();
+      await search();
+    });
+    const searchOther = async () => {
+      let res;
+      res = await $api(`dictData`, "GET", { code: "valuation", is_use: "0" });
+      if (res.errcode === 0)
+        statusList.value = res.data;
+    };
+    const searchConfig = async () => {
+      config.value = common_vendor.index.getStorageSync("config");
+    };
+    const search = async () => {
+      const info = {
+        skip: skip.value,
+        limit: limit.value
+        // openid: openid.value
+      };
+      const res = await $api("estimate", "GET", {
+        ...info,
+        ...searchInfo.value
+      });
+      if (res.errcode === 0) {
+        list.value = list.value.concat(res.data);
+        total.value = res.total;
+      } else {
+        common_vendor.index.showToast({
+          title: res.errmsg || "",
+          icon: "error"
+        });
+      }
+    };
+    const getDict = (data, model) => {
+      let list2;
+      switch (model) {
+        case "status":
+          list2 = statusList.value;
+          break;
+      }
+      if (!list2)
+        return;
+      const res = list2.find((f) => f.value == data);
+      return (res == null ? void 0 : res.label) || "暂无";
+    };
+    const toChange = () => {
+      common_vendor.index.navigateTo({
+        url: `/pagesHome/type/index`
+      });
+    };
+    const toPage = () => {
+      if (total.value > list.value.length) {
+        common_vendor.index.showLoading({
+          title: "加载中",
+          mask: true
+        });
+        page.value = page.value + 1;
+        skip.value = page.value * limit.value;
+        search();
+        common_vendor.index.hideLoading();
+      } else
+        is_bottom.value = true;
+    };
+    return (_ctx, _cache) => {
+      return common_vendor.e({
+        a: common_vendor.o(toChange),
+        b: common_vendor.p({
+          shape: "square",
+          ["show-action"]: false,
+          placeholder: "品牌/车系"
+        }),
+        c: common_vendor.f(list.value, (item, index, i0) => {
+          return common_vendor.e({
+            a: common_vendor.t(item.brand || "暂无"),
+            b: common_vendor.t(item.bank || "暂无"),
+            c: common_vendor.t(item.type || "暂无"),
+            d: item.start
+          }, item.start ? {
+            e: common_vendor.t(item.start || "暂无")
+          } : {}, {
+            f: item.course
+          }, item.course ? {
+            g: common_vendor.t(item.course || "暂无")
+          } : {}, {
+            h: item.city
+          }, item.city ? {
+            i: common_vendor.t(item.city || "暂无")
+          } : {}, {
+            j: item.place
+          }, item.place ? {
+            k: common_vendor.t(item.place || "暂无")
+          } : {}, {
+            l: item.estimate
+          }, item.estimate ? {
+            m: common_vendor.t(item.estimate || "暂无")
+          } : {}, {
+            n: item.status
+          }, item.status ? {
+            o: common_vendor.t(getDict(item.status, "status"))
+          } : {}, {
+            p: index
+          });
+        }),
+        d: is_bottom.value
+      }, is_bottom.value ? {
+        e: common_vendor.t(config.value.bottom_title || "没有更多了!")
+      } : {}, {
+        f: common_vendor.o(toPage)
+      });
+    };
+  }
+});
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8d61a382"], ["__file", "D:/project/赋强公证/notarization_applet/pagesMy/record/index.vue"]]);
+wx.createPage(MiniProgramPage);

+ 7 - 0
unpackage/dist/dev/mp-weixin/pagesMy/record/index.json

@@ -0,0 +1,7 @@
+{
+  "navigationBarTitleText": "申办记录",
+  "enablePullDownRefresh": true,
+  "usingComponents": {
+    "u-search": "../../node-modules/uview-plus/components/u-search/u-search"
+  }
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesMy/record/index.wxml


+ 58 - 0
unpackage/dist/dev/mp-weixin/pagesMy/record/index.wxss

@@ -0,0 +1,58 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+/* uni.scss */
+.content.data-v-8d61a382 {
+  display: flex;
+  flex-direction: column;
+  width: 100vw;
+  height: 100vh;
+}
+.content .top.data-v-8d61a382 {
+  margin: 2vw;
+}
+.content .bottom.data-v-8d61a382 {
+  position: relative;
+  flex-grow: 1;
+  background-color: var(--f9Color);
+}
+.content .bottom .list.data-v-8d61a382 {
+  background-color: var(--mainColor);
+  border: 1px solid var(--f5Color);
+  padding: 2vw;
+  margin: 2vw 2vw 0 2vw;
+  border-radius: 5px;
+}
+.content .bottom .list .name.data-v-8d61a382 {
+  font-size: var(--font16Size);
+  margin: 0 0 1vw 0;
+}
+.content .bottom .list .other.data-v-8d61a382 {
+  font-size: var(--font14Size);
+}
+.content .bottom .list .other text.data-v-8d61a382:first-child {
+  color: var(--f85Color);
+}
+.scroll-view.data-v-8d61a382 {
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+}
+.scroll-view .list-scroll-view.data-v-8d61a382 {
+  display: flex;
+  flex-direction: column;
+}
+.is_bottom.data-v-8d61a382 {
+  width: 100%;
+  text-align: center;
+}
+.is_bottom text.data-v-8d61a382 {
+  padding: 2vw 0;
+  display: inline-block;
+  color: var(--f85Color);
+  font-size: var(--font12Size);
+}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 6 - 10
unpackage/dist/dev/mp-weixin/static/iconfont-weapp/icon/icon.wxss


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 30 - 35
unpackage/dist/dev/mp-weixin/static/iconfont-weapp/iconfont-weapp-icon.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 6 - 10
unpackage/dist/dev/mp-weixin/static/iconfont-weapp/iconfont-weapp-icon.wxss