zs 1 tahun lalu
induk
melakukan
af4c1f7d21
100 mengubah file dengan 677 tambahan dan 10703 penghapusan
  1. 5 93
      pages.json
  2. 3 6
      pages/home/index.vue
  3. 41 44
      pages/index/index.vue
  4. 0 143
      pagesHome/brand/index.vue
  5. 0 766
      pagesHome/car/index.vue
  6. 0 110
      pagesHome/city/index.vue
  7. 0 73
      pagesHome/condition/common/classify.js
  8. 0 425
      pagesHome/condition/index.vue
  9. 0 226
      pagesHome/picture/index.vue
  10. 0 251
      pagesHome/rank/index.vue
  11. 0 346
      pagesHome/record/index.vue
  12. 0 492
      pagesHome/search/index.vue
  13. 0 371
      pagesHome/sell/index.vue
  14. 0 666
      pagesHome/shop/index.vue
  15. 0 135
      pagesHome/type/index.vue
  16. 0 214
      pagesMy/car/index.vue
  17. 0 340
      pagesMy/collect/index.vue
  18. 0 13
      unpackage/dist/dev/mp-weixin/app.js
  19. 1 14
      unpackage/dist/dev/mp-weixin/app.json
  20. 561 2328
      unpackage/dist/dev/mp-weixin/common/vendor.js
  21. 0 332
      unpackage/dist/dev/mp-weixin/components/slider-range/index.js
  22. 0 4
      unpackage/dist/dev/mp-weixin/components/slider-range/index.json
  23. 0 1
      unpackage/dist/dev/mp-weixin/components/slider-range/index.wxml
  24. 0 113
      unpackage/dist/dev/mp-weixin/components/slider-range/index.wxss
  25. 0 164
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-album/u-album.js
  26. 0 6
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-album/u-album.json
  27. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-album/u-album.wxml
  28. 0 45
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-album/u-album.wxss
  29. 0 193
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js
  30. 0 7
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json
  31. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml
  32. 0 165
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss
  33. 0 103
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.js
  34. 0 6
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.json
  35. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.wxml
  36. 0 52
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.wxss
  37. 0 75
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-divider/u-divider.js
  38. 0 6
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-divider/u-divider.json
  39. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-divider/u-divider.wxml
  40. 0 32
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-divider/u-divider.wxss
  41. 0 113
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.js
  42. 0 7
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.json
  43. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.wxml
  44. 0 92
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.wxss
  45. 0 170
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form/u-form.js
  46. 0 4
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form/u-form.json
  47. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form/u-form.wxml
  48. 0 0
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form/u-form.wxss
  49. 0 38
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.js
  50. 0 4
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.json
  51. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.wxml
  52. 0 34
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.wxss
  53. 0 49
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.js
  54. 0 4
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.json
  55. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.wxml
  56. 0 15
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.wxss
  57. 0 250
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.js
  58. 0 6
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.json
  59. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.wxml
  60. 0 65
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.wxss
  61. 0 34
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js
  62. 0 4
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json
  63. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml
  64. 0 18
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss
  65. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js
  66. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js
  67. 0 78
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.js
  68. 0 7
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.json
  69. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.wxml
  70. 0 20
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.wxss
  71. 0 149
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.js
  72. 0 6
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.json
  73. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.wxml
  74. 0 61
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.wxss
  75. 0 157
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js
  76. 0 6
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json
  77. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml
  78. 0 89
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss
  79. 0 121
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-subsection/u-subsection.js
  80. 0 4
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-subsection/u-subsection.json
  81. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-subsection/u-subsection.wxml
  82. 0 95
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-subsection/u-subsection.wxss
  83. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-swiper-indicator/u-swiper-indicator.js
  84. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-swiper/u-swiper.js
  85. 1 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js
  86. 0 58
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js
  87. 0 4
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.json
  88. 0 1
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxml
  89. 0 111
      unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss
  90. 15 19
      unpackage/dist/dev/mp-weixin/pages/home/index.js
  91. 2 1
      unpackage/dist/dev/mp-weixin/pages/home/index.json
  92. 1 1
      unpackage/dist/dev/mp-weixin/pages/home/index.wxml
  93. 0 3
      unpackage/dist/dev/mp-weixin/pages/home/index.wxss
  94. 43 4
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  95. 0 88
      unpackage/dist/dev/mp-weixin/pagesHome/brand/index.js
  96. 0 8
      unpackage/dist/dev/mp-weixin/pagesHome/brand/index.json
  97. 0 1
      unpackage/dist/dev/mp-weixin/pagesHome/brand/index.wxml
  98. 0 54
      unpackage/dist/dev/mp-weixin/pagesHome/brand/index.wxss
  99. 0 271
      unpackage/dist/dev/mp-weixin/pagesHome/car/index.js
  100. 0 0
      unpackage/dist/dev/mp-weixin/pagesHome/car/index.json

+ 5 - 93
pages.json

@@ -19,7 +19,11 @@
 		{
 			"path": "pages/home/index",
 			"style": {
-				"navigationBarTitleText": "赋强公证"
+				"navigationBarTitleText": "赋强公证",
+				"navigationStyle": "custom",
+				"app-plus": {
+					"titleNView": false //禁用原生导航栏  
+				}
 			}
 		},
 		{
@@ -45,86 +49,6 @@
 						"backgroundColorBottom": "#F4F5F6"
 					}
 				},
-				{
-					"path": "search/index",
-					"style": {
-						"navigationBarTitleText": "全部车源",
-						"enablePullDownRefresh": true
-					}
-				},
-				{
-					"path": "brand/index",
-					"style": {
-						"navigationBarTitleText": "品牌选择"
-					}
-				},
-				{
-					"path": "city/index",
-					"style": {
-						"navigationBarTitleText": "城市选择"
-					}
-				},
-				{
-					"path": "record/index",
-					"style": {
-						"navigationBarTitleText": "车辆信息"
-					}
-				},
-				{
-					"path": "sell/index",
-					"style": {
-						"navigationBarTitleText": "车辆估值"
-					}
-				},
-				{
-					"path": "rank/index",
-					"style": {
-						"navigationBarTitleText": "排行榜",
-						"navigationBarTextStyle": "black",
-						"navigationBarBackgroundColor": "#F8F8F8",
-						"backgroundColor": "#F8F8F8",
-						"backgroundColorTop": "#F4F5F6",
-						"backgroundColorBottom": "#F4F5F6"
-					}
-				},
-				{
-					"path": "condition/index",
-					"style": {
-						"navigationBarTitleText": "更多筛选"
-					}
-				},
-				{
-					"path": "car/index",
-					"style": {
-						"navigationBarTitleText": "车辆信息"
-					}
-				},
-				{
-					"path": "shop/index",
-					"style": {
-						"navigationBarTitleText": "车行详情"
-					}
-				},
-				{
-					"path": "picture/index",
-					"style": {
-						"navigationBarTitleText": "图片详情",
-						"navigationBarBackgroundColor": "#F8F8F8",
-						"backgroundColor": "#F8F8F8",
-						"backgroundColorTop": "#F4F5F6",
-						"backgroundColorBottom": "#F4F5F6"
-					}
-				},
-				{
-					"path": "type/index",
-					"style": {
-						"navigationBarTitleText": "搜索",
-						"navigationBarBackgroundColor": "#F8F8F8",
-						"backgroundColor": "#F8F8F8",
-						"backgroundColorTop": "#F4F5F6",
-						"backgroundColorBottom": "#F4F5F6"
-					}
-				},
 				{
 					"path": "login/index",
 					"style": {
@@ -151,18 +75,6 @@
 						"backgroundColorTop": "#F4F5F6",
 						"backgroundColorBottom": "#F4F5F6"
 					}
-				},
-				{
-					"path": "collect/index",
-					"style": {
-						"navigationBarTitleText": "我的收藏"
-					}
-				},
-				{
-					"path": "car/index",
-					"style": {
-						"navigationBarTitleText": "评估车辆"
-					}
 				}
 			]
 		}

+ 3 - 6
pages/home/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content">
 		<view class="top">
-			<u-search shape="square" :show-action="false" placeholder="品牌/车系" @focus="toChange"></u-search>
+			<u-swiper :list="config.file" height="240px" indicator indicatorMode="line" circular></u-swiper>
 		</view>
 		<view class="bottom">
 			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
@@ -40,8 +40,7 @@
 	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
 	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
 	// 基本信息
-	const config = ref({ logoUrl: [] });
-	// 列表
+	const config = ref({ logo: [], file: [] });
 	const list = ref([]);
 	const total = ref(0);
 	const skip = ref(0);
@@ -127,9 +126,7 @@
 		width: 100vw;
 		height: 100vh;
 
-		.top {
-			margin: 2vw;
-		}
+		.top {}
 
 		.bottom {
 			position: relative;

+ 41 - 44
pages/index/index.vue

@@ -31,51 +31,48 @@
 	};
 	// 查询
 	const search = async () => {
-		uni.reLaunch({
-			url: `/pages/home/index`
+		uni.getStorage({
+			key: 'openid',
+			success: function (res) {
+				uni.reLaunch({
+					url: `/pages/home/index`
+				})
+			},
+			fail: function (err) {
+				uni.login({
+					success: async function (res) {
+						if (res.code) {
+							uni.reLaunch({
+								url: `/pages/home/index`
+							})
+							const aee = await $app('/wechat/api/login/app', 'GET', {
+								js_code: res.code,
+								config: $config.wx_projectkey
+							})
+							if (aee.errcode == '0') {
+								uni.setStorage({
+									key: "openid",
+									data: aee.data.openid
+								})
+								uni.reLaunch({
+									url: `/pages/home/index`
+								})
+							} else {
+								uni.showToast({
+									title: aee.errmsg,
+									icon: 'none'
+								})
+							}
+						} else {
+							uni.showToast({
+								title: res.errMsg,
+								icon: 'none'
+							})
+						}
+					}
+				});
+			}
 		})
-		// uni.getStorage({
-		// 	key: 'openid',
-		// 	success: function (res) {
-		// 		uni.reLaunch({
-		// 			url: `/pages/home/index`
-		// 		})
-		// 	},
-		// 	fail: function (err) {
-		// 		uni.login({
-		// 			success: async function (res) {
-		// 				if (res.code) {
-		// 					uni.reLaunch({
-		// 						url: `/pages/home/index`
-		// 					})
-		// 					const aee = await $app('/wechat/api/login/app', 'GET', {
-		// 						js_code: res.code,
-		// 						config: $config.wx_projectkey
-		// 					})
-		// 					if (aee.errcode == '0') {
-		// 						uni.setStorage({
-		// 							key: "openid",
-		// 							data: aee.data.openid
-		// 						})
-		// 						uni.reLaunch({
-		// 							url: `/pages/home/index`
-		// 						})
-		// 					} else {
-		// 						uni.showToast({
-		// 							title: aee.errmsg,
-		// 							icon: 'none'
-		// 						})
-		// 					}
-		// 				} else {
-		// 					uni.showToast({
-		// 						title: res.errMsg,
-		// 						icon: 'none'
-		// 					})
-		// 				}
-		// 			}
-		// 		});
-		// 	}
-		// })
 	};
 </script>
 <style lang="scss" scoped>

+ 0 - 143
pagesHome/brand/index.vue

@@ -1,143 +0,0 @@
-<template>
-	<u-index-list :index-list="indexList" :sticky="false" activeColor="#2979ff">
-		<!-- <view :slot="header" class="list">
-			<view class="text">热门品牌</view>
-			<view class="one">
-				<view class="list" v-for="(item, index) in list" :key="index" @tap="toCommon(item)">
-					<view class="icon">
-						<image class="image" :src="item.url&&item.url.length>0?item.url[0].url:'/static/logo.png'">
-						</image>
-					</view>
-					<view class="title">{{item.name}}</view>
-				</view>
-			</view>
-		</view> -->
-		<template :key="index" v-for="(item, index) in itemArr">
-			<!-- #ifdef APP-NVUE -->
-			<u-index-anchor color="#333333" bg-color="#f9f9f9" :text="indexList[index]"></u-index-anchor>
-			<!-- #endif -->
-			<u-index-item>
-				<!-- #ifndef APP-NVUE -->
-				<u-index-anchor color="#333333" bg-color="#f9f9f9" :text="indexList[index]"></u-index-anchor>
-				<!-- #endif -->
-				<view class="list-cell" v-for="(cell, index) in item" @tap="toCommon(cell)">
-					<image class="image" :src="item.url&&item.url.length>0?item.url[0].url:'/static/logo.png'">
-					</image>
-					<view class="title">{{cell.name}}</view>
-				</view>
-			</u-index-item>
-		</template>
-	</u-index-list>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	// 基本信息
-	const config = ref({ logoUrl: [] });
-	const indexList = ref([]);
-	const itemArr = ref([]);
-	const type = ref('0');
-	// const list = ref([{ name: '奥迪', url: [], type: '0' }, { name: '本田', url: [], type: '0' }, { name: '别克', url: [], type: '0' },
-	// { name: '奥迪', url: [], type: '0' }, { name: '大众', url: [], type: '0' }, { name: '长城', url: [], type: '0' },
-	// { name: '福特', url: [], type: '0' }, { name: '丰田', url: [], type: '0' }, { name: '长安', url: [], type: '0' },
-	// { name: '日产', url: [], type: '0' }]);
-	onLoad(async (options) => {
-		type.value = options && options.type
-		await searchConfig();
-		await search();
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		const res = await $api('brand/index', 'GET', {});
-		if (res.errcode === 0) {
-			itemArr.value = res.data.data1
-			indexList.value = res.data.data2
-		} else {
-			uni.showToast({
-				title: res.errmsg || '',
-				icon: 'error',
-			});
-		}
-	};
-	const toCommon = (item) => {
-		if (type.value == '4') {
-			uni.navigateTo({
-				url: `/pagesHome/search/index?brand=${item.name}`
-			})
-		} else {
-			uni.$emit('toRoute', item)
-			// 4. 返回上一页面
-			uni.navigateBack({
-				delta: 1 // 返回的页面数
-			})
-		}
-	};
-</script>
-<style lang="scss" scoped>
-	.list {
-		.text {
-			margin: 2vw;
-			font-weight: bold;
-			font-size: var(--font16Size);
-		}
-
-		.one {
-			display: flex;
-			justify-content: space-between;
-			flex-wrap: wrap;
-			align-items: center;
-			padding: 2vw 4vw;
-
-			.list {
-				display: flex;
-				flex-direction: column;
-				align-items: center;
-				width: 18vw;
-				margin: 0 0 1vw 0;
-
-				.image {
-					width: 40px;
-					height: 40px;
-					border-radius: 40px;
-				}
-
-				.title {
-					margin: 0 0 1vw 0;
-					font-size: var(--font14Size);
-				}
-			}
-		}
-	}
-
-
-	.list-cell {
-		display: flex;
-		align-items: center;
-		box-sizing: border-box;
-		width: 100%;
-		padding: 10px 24rpx;
-		overflow: hidden;
-		color: #323233;
-		font-size: 14px;
-		line-height: 24px;
-		background-color: #fff;
-
-		.image {
-			width: 40px;
-			height: 40px;
-			border-radius: 40px;
-		}
-
-		.title {
-			margin: 0 0 0 1vw;
-		}
-	}
-</style>

+ 0 - 766
pagesHome/car/index.vue

@@ -1,766 +0,0 @@
-<template>
-	<view class="content">
-		<view class="main">
-			<scroll-view scroll-y="true" class="scroll-view">
-				<view class="list-scroll-view">
-					<view class="top">
-						<u-swiper :list="info.file" height="300px" keyName="url" @change="e => currentNum = e.current"
-							:autoplay="false" indicatorStyle="right: 20px" radius="0">
-							<template #indicator>
-								<view class="indicator-num">
-									<text
-										class="indicator-num__text">{{ currentNum + 1 }}/{{ info.file?.length }}</text>
-								</view>
-							</template>
-						</u-swiper>
-					</view>
-					<view class="bottom">
-						<view class="one">
-							<view class="left">
-								<view class="money">
-									<text>{{info.real_pay||'0'}}</text>
-									<text>万</text>
-								</view>
-								<view class="price">
-									<text>新车含税价</text>
-									<text>{{info.price||'0'}}万</text>
-								</view>
-							</view>
-							<view class="right">
-								<button class="button" size="mini" type="default" open-type="getPhoneNumber"
-									@getphonenumber="PhoneNumber">聊聊价格</button>
-							</view>
-						</view>
-						<view class="two">
-							<view class="two_1 textOver">{{info.series||'暂无'}} {{info.year||'暂无'}}款
-								{{info.style||'暂无'}}
-							</view>
-							<view class="two_2">
-								<view class="other">
-									<span>{{info.series}}</span>&nbsp;
-									<u-icon name="arrow-right" size="12"></u-icon>
-								</view>
-								<!-- <view class="other">
-									<span>{{info.rank}}·</span>
-									<span>第{{info.rankNum}}名</span>&nbsp;
-									<u-icon name="arrow-right" size="12"></u-icon>
-								</view> -->
-							</view>
-							<view class="two_3" @tap="toChat">
-								<view class="left">
-									<text>分期购车</text>
-									<text>首付{{info.first_pay}}万开回家</text>
-								</view>
-								<view class="right">
-									<u-icon name="arrow-right" size="16"></u-icon>
-								</view>
-							</view>
-						</view>
-						<view class="two thr">
-							<view class="thr_1">
-								<text>档案</text>
-								<view class="info">
-									<view class="list">
-										<view class="info_1">{{moment(info.f_time).format('YYYY-MM')||'暂无日期'}}</view>
-										<view class="info_2">上牌时间</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{info.mileage||'暂无'}}万公里</view>
-										<view class="info_2">表显里程</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{getDict(info.emission,'emission')}}</view>
-										<view class="info_2">排放标准</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{info.place||'暂无'}}</view>
-										<view class="info_2">车源地</view>
-									</view>
-									<u-icon name="arrow-right" size="16" @tap="toRecord"></u-icon>
-								</view>
-							</view>
-							<view class="thr_1">
-								<text>参数</text>
-								<view class="info">
-									<view class="list">
-										<view class="info_1">{{info.hundred_time||'0'}}s</view>
-										<view class="info_2">百公里加速</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{info.displacement||'暂无'}}</view>
-										<view class="info_2">发动机</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{info.wheelbase||'暂无'}}</view>
-										<view class="info_2">轴距</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{getDict(info.type,'type')}}</view>
-										<view class="info_2">变速箱</view>
-									</view>
-								</view>
-							</view>
-						</view>
-						<view class="two thr2">
-							<view class="thr_1">
-								<text>用车成本</text>
-								<view class="info">
-									<view class="list">
-										<view class="info_1">{{info.oil||'0'}}L</view>
-										<view class="info_2">百公里油耗</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{info.premium||'0'}}元</view>
-										<view class="info_2">年均保险费</view>
-									</view>
-									<view class="list">
-										<view class="info_1">{{info.maintenance||'0'}}元</view>
-										<view class="info_2">年均保养费</view>
-									</view>
-								</view>
-							</view>
-						</view>
-						<view class="two four">
-							<view class="four_1">
-								<view class="left">
-									<image class="image"
-										:src="shop.logo&&shop.logo?.length>0?shop.logo[0].url:'https://cdn.uviewui.com/uview/album/1.jpg'">
-									</image>
-								</view>
-								<view class="right">
-									<view class="right_1" @tap="toShop">
-										<text>{{shop.name||'暂无'}}</text>
-										<u-icon :bold="true" color="#000" name="arrow-right" size="16"></u-icon>
-									</view>
-									<view class="right_2">
-										<text>在售车源: </text>
-										<text>{{shop.num||0}}辆</text>
-									</view>
-								</view>
-							</view>
-							<view class="four_2">
-								<u-button icon="phone" text="咨询卖家车况" size="normal" type="info"
-									@click="toChat"></u-button>
-							</view>
-						</view>
-						<view class="two five">
-							<view class="name">实拍</view>
-							<view class="text">外观漆面</view>
-							<view class="five_1">
-								<view class="five_1">
-									<image class="image" @tap="toPicture(0,info.file)"
-										:src="info.file&&info.file?.length>0?info.file[0].url:'https://cdn.uviewui.com/uview/album/1.jpg'">
-									</image>
-								</view>
-								<view class="five_2">
-									<image class="image" @tap="toPicture(1,info.file)"
-										:src="info.file&&info.file?.length>1?info.file[1].url:'https://cdn.uviewui.com/uview/album/5.jpg'">
-									</image>
-									<image class="image" @tap="toPicture(2,info.file)"
-										:src="info.file&&info.file?.length>2?info.file[2].url:'https://cdn.uviewui.com/uview/album/2.jpg'">
-									</image>
-								</view>
-							</view>
-							<view class="text">中控内饰</view>
-							<view class="five_2">
-								<image class="image" @tap="toPicture(3,info.file)"
-									:src="info.file&&info.file?.length>3?info.file[3].url:'https://cdn.uviewui.com/uview/album/3.jpg'">
-								</image>
-								<image class="image" @tap="toPicture(4,info.file)"
-									:src="info.file&&info.file?.length>4?info.file[4].url:'https://cdn.uviewui.com/uview/album/4.jpg'">
-								</image>
-							</view>
-							<view class="five_3">
-								<u-button text="查看更多图片" size="normal" type="info" @click="toMore"></u-button>
-							</view>
-						</view>
-						<view class="six">
-							<view class="title">为你推荐</view>
-							<view class="listL">
-								<view class="list" v-for="(item, index) in list" :key="index" @tap="toView(item)">
-									<view class="list_1">
-										<view class="left">
-											<image class="image"
-												:src="item.file&&item.file.length>0?item.file[0].url:''">
-											</image>
-										</view>
-										<view class="right">
-											<view class="name textOver">{{item.series||'暂无'}} {{item.year||'暂无'}}款
-												{{item.style||'暂无'}}
-											</view>
-											<view class="other">
-												<text v-if="item.year">{{item.year||'暂无'}}年 | </text>
-												<text v-if="item.mileage">{{item.mileage||'暂无'}}公里 | </text>
-												<text v-if="item.place">{{item.place||'暂无'}}</text>
-											</view>
-											<view class="money">
-												<text>{{item.total_money||'0'}}</text>
-												<text>万</text>
-											</view>
-										</view>
-									</view>
-								</view>
-							</view>
-						</view>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-		<view class="foot">
-			<view class="foot_1">
-				<view class="left" @click="toChat">
-					<u-icon color="#000" name="red-packet" size="20"></u-icon>
-					<text>分期购车</text>
-				</view>
-				<!-- <view class="left" @click="toCollect">
-					<u-icon color="#000" name="heart" size="20"></u-icon>
-					<text>收藏</text>
-				</view> -->
-			</view>
-			<view class="foot_2">
-				<button class="left-btn" @click="toChat">联系卖家</button>
-				<button class="right-btn" @click="toChat">询底价</button>
-			</view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import moment from 'moment';
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 基本信息
-	const config = ref({});
-	// id
-	const id = ref('');
-	// 轮播图
-	const currentNum = ref(1);
-	// 详情
-	const info = ref({});
-	// 店铺
-	const shop = ref({});
-	// 列表
-	const list = ref([]);
-	// 字典表
-	const emissionList = ref([]);
-	const boxTypeList = ref([]);
-	onLoad(async (options) => {
-		id.value = options && options.id
-		await searchConfig();
-		await search();
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		if (id.value) {
-			const res = await $api(`car/${id.value}`, 'GET', {});
-			if (res.errcode === 0) {
-				info.value = res.data
-				await searchShop(res.data?.shop)
-				await searchOther();
-			} else {
-				uni.showToast({
-					title: res.errmsg || '',
-					icon: 'error',
-				});
-			}
-		}
-	};
-	// 店铺信息
-	const searchShop = async (e) => {
-		if (!e) return
-		const res = await $api(`shop/${e}`, 'GET', {});
-		if (res.errcode === 0) {
-			shop.value = res.data
-		} else {
-			uni.showToast({
-				title: res.errmsg || '',
-				icon: 'error',
-			});
-		}
-	};
-	// 查询其他信息
-	const searchOther = async () => {
-		const info = {
-			skip: 0,
-			limit: 20,
-			status: '0',
-			shop: shop.value._id
-		}
-		const arr = await $api('car', 'GET', info);
-		if (arr.errcode === 0) {
-			list.value = arr.data
-			shop.value.num = arr.total
-		} else {
-			uni.showToast({
-				title: arr.errmsg || '',
-				icon: 'error',
-			});
-		}
-		let res;
-		// 变速箱
-		res = await $api(`dictData`, 'GET', { code: 'boxType', is_use: '0' });
-		if (res.errcode === 0) boxTypeList.value = res.data;
-		// 排放标准
-		res = await $api(`dictData`, 'GET', { code: 'emission', is_use: '0' });
-		if (res.errcode === 0) emissionList.value = res.data;
-	};
-	// 数据处理
-	const getDict = (data, model) => {
-		let list;
-		switch (model) {
-			case 'type':
-				list = boxTypeList.value;
-				break;
-			case 'emission':
-				list = emissionList.value;
-				break;
-			default:
-				break;
-		}
-		if (!list) return;
-		const res = list.find((f) => f.value == data);
-		return res?.label || '暂无';
-	};
-	// 获取手机号
-	const PhoneNumber = (e) => {
-		console.log(e);
-	};
-	// 档案
-	const toRecord = () => {
-		uni.navigateTo({
-			url: `/pagesHome/record/index?id=${info.value.id || info.value._id}`
-		})
-	};
-	// 查看详情
-	const toView = (item) => {
-		uni.navigateTo({
-			url: `/pagesHome/car/index?id=${item.id || item._id}`
-		})
-	};
-	// 联系卖家
-	const toChat = (item) => {
-		uni.makePhoneCall({
-			phoneNumber: shop.value?.tel,
-			success: function () {
-				console.log('拨打电话成功');
-			},
-			fail: function () {
-				uni.showToast({
-					title: '拨打电话失败',
-					icon: 'error',
-				});
-			}
-		});
-	};
-	// 店铺详情
-	const toShop = () => {
-		uni.navigateTo({
-			url: `/pagesHome/shop/index?id=${shop.value.id || shop.value._id}&name=${shop.value.name}`
-		})
-	};
-	// 图片预览
-	const toPicture = (index, e) => {
-		const urls = e.map((item, index) => {
-			return item.url
-		})
-		uni.previewImage({
-			current: index,
-			urls
-		})
-	}
-	// 查看更多图片
-	const toMore = () => {
-		uni.navigateTo({
-			url: `/pagesHome/picture/index?id=${info.value.id || info.value._id}&shop=${shop.value._id}`
-		})
-	};
-	// 收藏
-	const toCollect = () => {
-		console.log('收藏');
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.main {
-			position: relative;
-			flex-grow: 1;
-
-			.top {
-				position: relative;
-
-				.indicator-num {
-					padding: 2px 0;
-					background-color: rgba(0, 0, 0, 0.35);
-					border-radius: 5px;
-					width: 35px;
-					@include flex;
-					justify-content: center;
-
-					&__text {
-						color: var(--mainColor);
-						font-size: var(--font12Size);
-					}
-				}
-			}
-
-			.bottom {
-				background-color: #f1f1f1;
-
-				.one {
-					display: flex;
-					justify-content: space-between;
-					align-items: center;
-					padding: 3vw;
-					background: linear-gradient(to bottom, #FFE4B5, #f1f1f1);
-
-					.left {
-						.money {
-							color: var(--fF0Color);
-							font-size: var(--font12Size);
-
-							text:first-child {
-								font-size: var(--font18Size);
-							}
-						}
-
-						.price {
-							margin: 1vw 0 0 0;
-							color: var(--f69Color);
-							font-size: var(--font12Size);
-						}
-					}
-
-					.right {
-						.button {
-							background-color: var(--fFFColor);
-						}
-					}
-				}
-
-				.two {
-					margin: 2vw 3vw;
-					padding: 2vw;
-					background-color: var(--mainColor);
-					border-radius: 5px;
-
-					.two_1 {
-						font-size: var(--font16Size);
-						font-weight: bold;
-					}
-
-					.two_2 {
-						display: flex;
-						align-items: center;
-						margin: 2vw 0 0 0;
-						padding: 2vw 0;
-						border-bottom: 1px solid var(--f5Color);
-
-						.other {
-							display: flex;
-							align-items: center;
-							color: var(--f828Color);
-							font-size: var(--font12Size);
-							margin: 0 5px 0 0;
-						}
-					}
-
-					.two_3 {
-						display: flex;
-						align-items: center;
-						justify-content: space-between;
-						padding: 2vw 0;
-
-						.left {
-							display: flex;
-							justify-content: space-between;
-							align-items: center;
-
-							text {
-								font-size: var(--font14Size);
-								margin: 0 5px 0 0;
-							}
-
-							text:first-child {
-								background-color: rgba(255, 127, 80, 0.35);
-								color: #FF7F50;
-								padding: 2px 5px;
-								font-size: var(--font12Size);
-							}
-						}
-					}
-				}
-
-				.thr {
-					.thr_1 {
-						display: flex;
-
-						.info {
-							display: flex;
-							width: 89%;
-							margin: 0 0 2vw 0;
-
-							.list {
-								font-size: var(--font14Size);
-								text-align: center;
-								width: 19vw;
-
-								.info_2 {
-									color: var(--f828Color);
-									margin: 1vw 0 0 0;
-								}
-							}
-						}
-
-						text {
-							margin: 0 2vw 0 0;
-							color: var(--f828Color);
-							font-size: var(--font14Size);
-						}
-					}
-				}
-
-				.thr2 {
-					.thr_1 {
-						display: flex;
-
-						.info {
-							display: flex;
-							justify-content: space-around;
-							width: 89%;
-							margin: 0 0 2vw 0;
-
-							.list {
-								font-size: var(--font14Size);
-								text-align: center;
-								width: 19vw;
-
-								.info_1 {
-									font-weight: bold;
-								}
-
-								.info_2 {
-									color: var(--f828Color);
-									margin: 1vw 0 0 0;
-								}
-							}
-						}
-
-						text {
-							width: 8vw;
-							margin: 0 2vw 0 0;
-							color: var(--f828Color);
-							font-size: var(--font14Size);
-						}
-					}
-				}
-
-				.four {
-
-					.four_1 {
-						display: flex;
-						align-items: center;
-
-						.left {
-							.image {
-								width: 120px;
-								height: 80px;
-							}
-						}
-
-						.right {
-							margin: 0 0 0 2vw;
-
-							.right_1 {
-								display: flex;
-								align-items: center;
-								font-size: var(--font16Size);
-								font-weight: bold;
-
-								text {
-									margin: 0 1vw 1vw 0;
-								}
-							}
-
-							.right_2 {
-								margin: 2vw 0 0 0;
-								color: var(--f828Color);
-								font-size: var(--font14Size);
-							}
-						}
-					}
-
-					.four_2 {
-						margin: 2vw 0 0 0;
-					}
-				}
-
-				.five {
-					.name {
-						font-size: var(--font16Size);
-					}
-
-					.text {
-						padding: 2vw 0;
-						color: var(--f69Color);
-						font-size: var(--font14Size);
-					}
-
-					.five_1 {
-						border-radius: 5px;
-
-						.image {
-							width: 100%;
-							height: 230px;
-							border-radius: 5px;
-						}
-					}
-
-					.five_2 {
-						display: flex;
-						justify-content: space-between;
-						border-radius: 5px;
-
-						.image {
-							width: 49%;
-							height: 120px;
-							border-radius: 5px;
-						}
-					}
-
-					.five_3 {
-						margin: 2vw 0 0 0;
-					}
-				}
-
-				.six {
-					padding: 0 2vw 2vw 2vw;
-
-					.title {
-						font-size: var(--font16Size);
-						padding: 0 1vw;
-					}
-
-					.listL {
-						display: flex;
-						flex-wrap: wrap;
-						justify-content: space-between;
-
-						.list {
-							width: 47vw;
-							margin: 2vw 0 0 0;
-							border-radius: 5px;
-							border: 1px solid var(--f5Color);
-							background-color: var(--mainColor);
-
-							.list_1 {
-								.left {
-									.image {
-										width: 100%;
-										height: 120px;
-										border-radius: 5px 5px 0 0;
-									}
-								}
-
-								.right {
-									display: flex;
-									flex-direction: column;
-									justify-content: space-between;
-									padding: 0 2vw;
-
-									.name {
-										font-size: var(--font14Size);
-									}
-
-									.other {
-										color: var(--f85Color);
-										font-size: var(--font12Size);
-									}
-
-									.money {
-										color: var(--fF0Color);
-										font-size: var(--font12Size);
-										margin: 0 0 1vw 0;
-
-										text:first-child {
-											font-size: var(--font18Size);
-										}
-									}
-								}
-							}
-						}
-					}
-				}
-			}
-		}
-
-		.foot {
-			display: flex;
-			justify-content: space-between;
-			align-items: center;
-			height: 8vh;
-			padding: 2vw 1vw;
-
-			.foot_1 {
-				display: flex;
-				justify-content: center;
-				width: 20%;
-
-				.left {
-					display: flex;
-					flex-direction: column;
-					align-items: center;
-					font-size: var(--font14Size);
-				}
-			}
-
-			.foot_2 {
-				display: flex;
-				justify-content: space-around;
-				align-items: center;
-				width: 85%;
-
-				.left-btn {
-					background-color: var(--fF0Color);
-					color: var(--mainColor);
-					font-size: var(--font16Size);
-				}
-
-				.right-btn {
-					background-color: var(--fFFColor);
-					color: var(--mainColor);
-					width: 50vw;
-					font-size: var(--font16Size);
-				}
-			}
-		}
-	}
-
-	.scroll-view {
-		position: absolute;
-		top: 0;
-		left: 0;
-		right: 0;
-		bottom: 0;
-
-		.list-scroll-view {
-			display: flex;
-			flex-direction: column;
-		}
-	}
-</style>

+ 0 - 110
pagesHome/city/index.vue

@@ -1,110 +0,0 @@
-<template>
-	<view class="main-Location">
-		<!-- 字母区域 -->
-		<view class="Location-Letter">
-			<view hover-class="Click-Latter" @tap="getLetter('ScrollTop')">*</view>
-			<view v-for="(l,i) in LatterName" :key="i" hover-class="Click-Latter" @tap="getLetter(l)"
-				:style="{'color': LetterId === l ? '#2979ff' : '#000' }">{{l}}</view>
-		</view>
-		<scroll-view scroll-y="true" class="ynq-ScrollView" :scroll-into-view="LetterId">
-			<!-- 城市列表 -->
-			<view class="ynq-CityList">
-				<block v-for="(item,index) in CityList" :key="index">
-					<view class="ynq-CityLetter" :id="item.initial">{{item.initial}}</view>
-					<view class="ynq-CityLine">
-						<text @tap="getStorage(item_city)" v-for="(item_city,name_index) in item.list"
-							:key="name_index">{{item_city.name}}</text>
-					</view>
-				</block>
-			</view>
-		</scroll-view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	// 字段
-	const field = ref('');
-	const CityName = ref('');
-	const LatterName = ref(['全', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']);
-	const CityList = ref($config.china);
-	const LetterId = ref('');
-	onLoad(async (options) => {
-		field.value = options && options.field || ''
-	})
-	// 获取定位点
-	const getLetter = (name) => {
-		LetterId.value = name
-		//  跳转城市首字母定位
-		uni.pageScrollTo({
-			selector: '#' + name,
-			duration: 300
-		})
-	};
-	// 存储城市缓存(点击城市)
-	const getStorage = (item) => {
-		item.field = field.value
-		uni.$emit('toCity', item)
-		// 4. 返回上一页面
-		uni.navigateBack({
-			delta: 1 // 返回的页面数
-		})
-	};
-</script>
-<style lang="scss" scoped>
-	.main-Location {
-		height: 100vh;
-	}
-
-	// 侧边字母选择栏
-	.Location-Letter {
-		position: fixed;
-		right: 5px;
-		top: 80px;
-		width: 15px;
-		z-index: 100;
-		color: #c8c9cc;
-
-		view {
-			display: block;
-			width: 15px;
-			text-align: center;
-			padding: 1px 0 0 0;
-			font-size: var(--font12Size);
-			transition: ease .3s;
-			-webkit-transition: ease .3s;
-		}
-	}
-
-	// 城市列表
-	.ynq-CityList {
-
-		padding: 10px 0;
-
-		.ynq-CityLetter {
-			font-size: var(--font16Size);
-			border-bottom: 1px solid #f7f7f7;
-			padding: 5px;
-			background-color: #f4f4f5;
-			border-bottom: 0.5px solid #dadbde;
-		}
-
-		.ynq-CityLine {
-			background-color: #fff;
-			margin: 10px 0;
-
-			text {
-				display: block;
-				line-height: 30px;
-				padding: 10px 15px;
-				font-size: var(--font14Size);
-				border-bottom: 1px solid var(--f4Color);
-			}
-		}
-	}
-</style>

+ 0 - 73
pagesHome/condition/common/classify.js

@@ -1,73 +0,0 @@
-export default [{
-		"name": "品牌",
-		"type": '1',
-		"value": '0',
-		"text": '全部品牌'
-	},
-	{
-		"name": "车源地",
-		"type": '1',
-		"value": '1',
-		"text": '全国'
-	},
-	{
-		"name": "价格",
-		"unit": '万元',
-		"content": '不限',
-		"type": '2',
-		"value": [],
-		"min": 0,
-		"step": 10,
-		"max": 60
-	},
-	{
-		"name": "车龄",
-		"unit": '年',
-		"content": '不限',
-		"type": '2',
-		"value": [],
-		"min": 0,
-		"step": 2,
-		"max": 12
-	},
-	{
-		"name": "里程",
-		"unit": '万公里',
-		"content": '不限',
-		"type": '2',
-		"value": [],
-		"min": 0,
-		"step": 2,
-		"max": 12
-	},
-	{
-		"name": "变速箱",
-		"type": 'boxType',
-		"foods": []
-	},
-	{
-		"name": "车身结构",
-		"type": 'structure',
-		"foods": []
-	},
-	{
-		"name": "排放标准",
-		"type": 'emission',
-		"foods": []
-	},
-	{
-		"name": "能源类型",
-		"type": 'energy',
-		"foods": []
-	},
-	{
-		"name": "排量",
-		"type": 'displacement',
-		"foods": []
-	},
-	{
-		"name": "座椅",
-		"type": 'set',
-		"foods": []
-	},
-]

+ 0 - 425
pagesHome/condition/index.vue

@@ -1,425 +0,0 @@
-<template>
-	<view class="content">
-		<view class="info">
-			<scroll-view scroll-y="true" class="scroll-view">
-				<view class="list-scroll-view">
-					<view class="u-menu-wrap">
-						<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view"
-							:scroll-top="scrollTop">
-							<view v-for="(item,index) in tabbar" :key="index" :id="'item' + index" class="u-tab-item"
-								:class="[current == index ? 'u-tab-item-active' : '']" @tap="swichMenu(index)">
-								<text class="u-line-1">{{item.name}}</text>
-							</view>
-						</scroll-view>
-						<scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box"
-							:scroll-into-view="itemId" @scroll="rightScroll">
-							<view class="page-view">
-								<view class="class-item" :id="'item' + index" v-for="(item,index) in tabbar"
-									:key="index">
-									<view class="item-title">
-										<view v-if="item.type!='2'">{{item.name}}</view>
-										<view v-else class="title">
-											<view class="left">{{item.name}} <span class="span">({{item.unit}})</span>
-											</view>
-											<view class="right">{{item.content||'不限'}}</view>
-										</view>
-									</view>
-									<view class="item-container">
-										<view v-if="item.type=='1'" class="thumb-box1">
-											<u-button :text="item.text" size="normal" type="info"
-												@click="toCommon(item.value)"></u-button>
-										</view>
-										<view v-else-if="item.type=='2'" class="thumb-box2">
-											<slider-range :value="item.value" :min="item.min" :max="item.max"
-												:step="item.step" :scale="{ show: true}"
-												@change="event=>changeSliderValue(event,item)">
-											</slider-range>
-										</view>
-										<view v-else v-for="(item1, index1) in item.foods" :key="index1"
-											@tap="toSelect(item,item1)" class="thumb-box3">
-											<view :class="[item1?.is_open==false?'title_1':'title_2']">{{item1.label}}
-											</view>
-										</view>
-									</view>
-								</view>
-							</view>
-						</scroll-view>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-		<view class="foot">
-			<view class="left" @tap="toReset">重置</view>
-			<view class="right">
-				<view class="button" @tap="toSearch">共{{total}}辆车符合条件</view>
-			</view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import Vue from 'vue';
-	import classifyData from '@/pagesHome/condition/common/classify.js';
-	import SliderRange from '@/components/slider-range/index.vue'
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad, onShow } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 基本信息
-	const config = ref({});
-	const id = ref('');
-	const total = ref(0);
-	// 滑动菜单的值
-	const scrollTop = ref(0); //tab标题的滚动条位置
-	const current = ref(0); // 预设当前项的值
-	const itemId = ref(''); // 栏目右边scroll-view用于滚动的id
-	const tabbar = ref([]);
-	const scrollRightTop = ref(0); // 右边栏目scroll-view的滚动条高度
-	const cityInfo = ref({}); // 城市信息
-	const searchList = ref([]); // 选中的搜索信息
-	// 查询
-	const searchInfo = ref({});
-	// 字典表
-	const boxTypeList = ref([]);
-	const structureList = ref([]);
-	const emissionList = ref([]);
-	const energyList = ref([]);
-	const displacementList = ref([]);
-	const setList = ref([]);
-	onLoad(async (options) => {
-		id.value = options && options.id
-		await searchOther();
-		await searchCar();
-		await searchConfig();
-		await search();
-	})
-	onShow(async () => {
-		uni.$on('toRoute', function (data) {
-			searchInfo.value.brand = data.name
-			tabbar.value = tabbar.value.map((item, index) => {
-				if (item.type == '1' && item.value == '0') item.text = data.name
-				return item
-			})
-		})
-		uni.$on('toCity', function (data) {
-			searchInfo.value.place = data.name
-			tabbar.value = tabbar.value.map((item, index) => {
-				if (item.type == '1' && item.value == '1') item.text = data.name
-				return item
-			})
-		})
-		await searchCar();
-	})
-	// 查询其他信息
-	const searchOther = async () => {
-		let res;
-		// 变速箱
-		res = await $api(`dictData`, 'GET', { code: 'boxType', is_use: '0' });
-		if (res.errcode === 0) boxTypeList.value = res.data;
-		// 车身结构
-		res = await $api(`dictData`, 'GET', { code: 'structure', is_use: '0' });
-		if (res.errcode === 0) structureList.value = res.data;
-		// 排放标准
-		res = await $api(`dictData`, 'GET', { code: 'emission', is_use: '0' });
-		if (res.errcode === 0) emissionList.value = res.data;
-		// 能源类型
-		res = await $api(`dictData`, 'GET', { code: 'energy', is_use: '0' });
-		if (res.errcode === 0) energyList.value = res.data;
-		// 排量
-		res = await $api(`dictData`, 'GET', { code: 'displacement', is_use: '0' });
-		if (res.errcode === 0) displacementList.value = res.data;
-		// 座椅
-		res = await $api(`dictData`, 'GET', { code: 'set', is_use: '0' });
-		if (res.errcode === 0) setList.value = res.data;
-	};
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 车辆信息
-	const searchCar = async () => {
-		const info = {
-			skip: 0,
-			limit: 1,
-			status: '0'
-		}
-		for (let val of searchList.value) {
-			if (val.code == 'displacement') info[val.code] = val.label
-			else info[val.code] = val.value
-		}
-		const res = await $api('car', 'GET', {
-			...info,
-			...searchInfo.value
-		});
-		if (res.errcode === 0) {
-			total.value = res.total
-		} else {
-			uni.showToast({
-				title: res.errmsg || '',
-				icon: 'error',
-			});
-		}
-	};
-	// 查询
-	const search = async () => {
-		const data = classifyData.map((item, index) => {
-			if (item.type == 'boxType') {
-				// 变速箱
-				boxTypeList.value.forEach(v => {
-					v['is_open'] = false;
-				});
-				item.foods = boxTypeList.value;
-			} else if (item.type == 'structure') {
-				// 车身结构
-				structureList.value.forEach(v => {
-					v['is_open'] = false;
-				});
-				item.foods = structureList.value;
-			} else if (item.type == 'emission') {
-				// 排放标准
-				emissionList.value.forEach(v => {
-					v['is_open'] = false;
-				});
-				item.foods = emissionList.value;
-			} else if (item.type == 'energy') {
-				// 能源类型
-				energyList.value.forEach(v => {
-					v['is_open'] = false;
-				});
-				item.foods = energyList.value
-			} else if (item.type == 'displacement') {
-				// 排量
-				displacementList.value.forEach(v => {
-					v['is_open'] = false;
-				});
-				item.foods = displacementList.value;
-			} else if (item.type == 'set') {
-				// 座椅
-				setList.value.forEach(v => {
-					v['is_open'] = false;
-				});
-				item.foods = setList.value;
-			}
-			return item
-		})
-		tabbar.value = data
-	};
-	// 点击左边的栏目切换
-	const swichMenu = (index) => {
-		if (index == current.value) return;
-		current.value = index;
-		itemId.value = `item${index}`
-	};
-	// 右侧滚动
-	const rightScroll = async (e) => {
-		scrollTop.value = e.scrollTop
-	};
-	// 品牌/城市
-	const toCommon = (type) => {
-		if (type == '0') {
-			uni.navigateTo({
-				url: `/pagesHome/brand/index`
-			})
-		} else {
-			uni.navigateTo({
-				url: `/pagesHome/city/index`
-			})
-		}
-	};
-	// 刻度选择
-	const changeSliderValue = async (e, data) => {
-		tabbar.value = tabbar.value.map((item, index) => {
-			if (item.name == data.name) {
-				if (e.firstValue == 0) item.content = `${e.secondValue}${item.unit}以下`
-				else item.content = `${e.firstValue}-${e.secondValue}${item.unit}`
-				item.value = e.values
-			}
-			return item
-		})
-		if (data.name == '价格') searchInfo.value.money = data.content
-		else if (data.name == '车龄') searchInfo.value.year = data.content
-		else searchInfo.value.mileage = data.content
-		await searchCar();
-	};
-	// 选择
-	const toSelect = async (arr, data) => {
-		searchList.value.push(data)
-		tabbar.value = tabbar.value.map((item, index) => {
-			if (item.type == arr.type) {
-				item.foods = item.foods.map((item1, index1) => {
-					if (item1.value == data.value) item1.is_open = !item1.is_open
-					return item1
-				})
-			}
-			return item
-		})
-		await searchCar();
-	};
-	// 查找
-	const toSearch = () => {
-		uni.navigateTo({
-			url: `/pagesHome/search/index`
-		})
-	};
-	// 重置
-	const toReset = async () => {
-		searchInfo.value = {}
-		searchList.value = []
-		await search()
-		await searchCar()
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.info {
-			position: relative;
-			flex-grow: 1;
-
-			.u-menu-wrap {
-				flex: 1;
-				display: flex;
-				overflow: hidden;
-			}
-
-			.u-tab-view {
-				width: 100px;
-				background: var(--f6Color);
-			}
-
-			.u-tab-item {
-				height: 55px;
-				background: var(--f6Color);
-				box-sizing: border-box;
-				display: flex;
-				align-items: center;
-				justify-content: center;
-				font-size: var(--font14Size);
-				color: #444;
-				line-height: 1;
-			}
-
-			.u-tab-item-active {
-				position: relative;
-				color: var(--f00Color);
-				font-size: var(--font15Size);
-				font-weight: 600;
-				background-color: var(--mainColor);
-				border-left: 4px solid var(--fFFColor);
-			}
-
-			.right-box {
-				height: 705px;
-				background-color: rgb(250, 250, 250);
-			}
-
-			.page-view {
-				padding: 8px;
-			}
-
-			.class-item {
-				margin-bottom: 15px;
-				background-color: var(--mainColor);
-				padding: 8px;
-				border-radius: 4px;
-			}
-
-			.item-title {
-				font-size: var(--font14Size);
-				margin: 0 0 2vw 0;
-
-				.title {
-					display: flex;
-					align-items: center;
-					justify-content: space-between;
-
-					.left {
-						font-weight: bold;
-
-						.span {
-							font-size: var(--font12Size);
-							color: var(--f85Color);
-						}
-					}
-				}
-			}
-
-			.item-menu-name {
-				font-size: var(--font12Size);
-			}
-
-			.item-container {
-				display: flex;
-				flex-wrap: wrap;
-
-
-				.thumb-box1 {
-					width: 100%;
-				}
-
-				.thumb-box2 {
-					width: 100%;
-				}
-
-				.thumb-box3 {
-					font-size: var(--font12Size);
-					width: 23vw;
-					text-align: center;
-
-					.title_1 {
-						padding: 2vw;
-						margin: 1vw;
-						background-color: var(--f5Color);
-					}
-
-					.title_2 {
-						padding: 2vw;
-						margin: 1vw;
-						background: rgba(255, 222, 173, 0.35);
-						border: 1px solid var(--fFFColor);
-					}
-				}
-
-			}
-		}
-
-		.foot {
-			display: flex;
-			justify-content: space-around;
-			align-items: center;
-			padding: 2vw;
-
-			.right {
-				.button {
-					text-align: center;
-					width: 65vw;
-					padding: 4vw 6vw;
-					font-size: var(--font16Size);
-					background-color: var(--fFFColor);
-				}
-			}
-		}
-	}
-
-	.scroll-view {
-		position: absolute;
-		top: 0;
-		left: 0;
-		right: 0;
-		bottom: 0;
-
-		.list-scroll-view {
-			display: flex;
-			flex-direction: column;
-		}
-	}
-</style>

+ 0 - 226
pagesHome/picture/index.vue

@@ -1,226 +0,0 @@
-<template>
-	<view class="content">
-		<view class="top">
-			<view v-for="(item,index) in imageList" :key="index" @tap="swichMenu(index)">
-				<text :class="[current == index ? 'border' : '']"
-					class="text">{{item.name}}({{item?.url?.length||0}})</text>
-			</view>
-		</view>
-		<view class="info">
-			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" :scroll-into-view="itemId">
-				<view class="list-scroll-view">
-					<view class="one" v-for="(item,index) in imageList" :key="index">
-						<view class="text" :id="'item' + index">{{item.name}}({{item?.url?.length||0}})</view>
-						<u-album :urls="item.url" @albumWidth="width => albumWidth = width"
-							multipleSize="110"></u-album>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-		<view class="foot">
-			<view class="foot_1">
-				<view class="left" @click="toChat">
-					<u-icon color="#ffffff" name="red-packet" size="20"></u-icon>
-					<text>分期购车</text>
-				</view>
-			</view>
-			<view class="foot_2">
-				<button class="left-btn" @click="toChat">联系卖家</button>
-				<button class="right-btn" @click="toChat">询底价</button>
-			</view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 基本信息
-	const config = ref({});
-	const id = ref('');
-	const current = ref(0);
-	const itemId = ref(''); // 栏目右边scroll-view用于滚动的id
-	const imageList = ref([{ name: '外观', url: [] }, { name: '内饰', url: [] }, { name: '空间', url: [] }]);
-	// 店铺
-	const shop = ref({});
-	onLoad(async (options) => {
-		id.value = options && options.id
-		const shopId = options && options.shop
-		await searchConfig();
-		await searchOther(shopId);
-		await search();
-	})
-	// 查询其他信息
-	const searchOther = async (id) => {
-		let res;
-		res = await $api(`shop/${id}`, 'GET', {});
-		if (res.errcode === 0) {
-			shop.value = res.data
-		} else {
-			uni.showToast({
-				title: res.errmsg || '',
-				icon: 'error',
-			});
-		}
-	};
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		if (id.value) {
-			const res = await $api(`car/${id.value}`, 'GET', {});
-			if (res.errcode === 0) {
-				if (res.data?.file?.length > 0) {
-					res.data.file = res.data.file.map((item, index) => {
-						return item.url
-					})
-					var one = res.data.file.slice(0, 9);
-					var two = res.data.file.slice(9, 18);
-					var thr = res.data.file.slice(18, 21);
-					imageList.value = imageList.value.map((item, index) => {
-						if (index == 0) item.url = one
-						else if (index == 1) item.url = two
-						else if (index == 2) item.url = thr
-						return item
-					})
-				}
-			} else {
-				uni.showToast({
-					title: res.errmsg || '',
-					icon: 'error',
-				});
-			}
-		}
-	};
-	// 联系卖家
-	const toChat = () => {
-		uni.makePhoneCall({
-			phoneNumber: shop.value?.tel,
-			success: function () {
-				console.log('拨打电话成功');
-			},
-			fail: function () {
-				uni.showToast({
-					title: '拨打电话失败',
-					icon: 'error',
-				});
-			}
-		});
-	};
-	// 点击切换
-	const swichMenu = (index) => {
-		if (index == current.value) return;
-		current.value = index;
-		itemId.value = `item${index}`
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-		color: var(--mainColor);
-		background-color: var(--f00Color);
-
-		.top {
-			display: flex;
-			padding: 2vw;
-
-			.border {
-				color: var(--fFFColor);
-			}
-
-			.text {
-				padding: 2vw;
-				font-size: var(--font16Size);
-				font-weight: bold;
-			}
-		}
-
-		.info {
-			position: relative;
-			flex-grow: 1;
-
-			.one {
-				padding: 2vw 4vw;
-
-				.text {
-					margin: 0 0 2vw 0;
-					font-size: var(--font14Size);
-					font-weight: bold;
-				}
-
-				.u-album {
-					display: flex;
-					flex-direction: column;
-					align-items: center;
-				}
-			}
-		}
-
-		.foot {
-			display: flex;
-			justify-content: space-between;
-			align-items: center;
-			height: 8vh;
-			padding: 2vw 1vw;
-
-			.foot_1 {
-				display: flex;
-				justify-content: space-between;
-				width: 18%;
-
-				.left {
-					display: flex;
-					flex-direction: column;
-					align-items: center;
-					color: var(--mainColor);
-					font-size: var(--font14Size);
-				}
-			}
-
-			.foot_2 {
-				display: flex;
-				justify-content: space-around;
-				align-items: center;
-				width: 85%;
-
-				.left-btn {
-					background-color: var(--fF0Color);
-					color: var(--mainColor);
-					font-size: var(--font16Size);
-				}
-
-				.right-btn {
-					background-color: var(--fFFColor);
-					color: var(--mainColor);
-					width: 55vw;
-					font-size: var(--font16Size);
-				}
-			}
-		}
-	}
-
-	.scroll-view {
-		position: absolute;
-		top: 0;
-		left: 0;
-		right: 0;
-		bottom: 0;
-
-		.list-scroll-view {
-			display: flex;
-			flex-direction: column;
-		}
-	}
-</style>

+ 0 - 251
pagesHome/rank/index.vue

@@ -1,251 +0,0 @@
-<template>
-	<view class="content">
-		<view class="top">
-			<u-subsection mode="subsection" activeColor="#2979ff" :list="tabList" :current="curNow"
-				@change="sectionChange"></u-subsection>
-		</view>
-		<view class="bottom">
-			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
-				<view class="list-scroll-view">
-					<view class="list" v-for="(item, index) in list" :key="index" @tap="toView(item)">
-						<view class="rank" :class="[`rank${index+1}`]">TOP{{index+1}}</view>
-						<view class="left">
-							<image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''">
-							</image>
-						</view>
-						<view class="right">
-							<view class="name textOver">{{item.series||'暂无'}} {{item.year||'暂无'}}款
-								{{item.style||'暂无'}}
-							</view>
-							<view class="other">
-								<text v-if="item.year">{{item.year||'暂无'}}年 | </text>
-								<text v-if="item.mileage">{{item.mileage||'暂无'}}万公里 | </text>
-								<text v-if="item.place">{{item.place||'暂无'}}</text>
-							</view>
-							<view class="money">
-								<text>{{item.total_money||'0'}}</text>
-								<text>万</text>
-							</view>
-						</view>
-					</view>
-					<view class="is_bottom" v-if="is_bottom">
-						<text>{{config.bottom_title||'没有更多了!'}}</text>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	const tabList = ref(['销量榜', '保值榜', '店铺规模榜']);
-	const curNow = ref(0);
-	// 基本信息
-	const config = ref({ logoUrl: [] });
-	// 列表
-	const list = ref([]);
-	const total = ref(0);
-	const skip = ref(0);
-	const limit = ref(6);
-	const page = ref(0);
-	// 数据是否触底
-	const is_bottom = ref(false);
-	const scrollTop = ref(0);
-	onLoad(async () => {
-		await searchConfig();
-		await search();
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		const info = {
-			skip: skip.value,
-			limit: limit.value,
-			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',
-			});
-		}
-	};
-	const toRoute = (item) => {
-		uni.navigateTo({
-			url: `/${item.route}`,
-		})
-	};
-	// 跳转
-	const sectionChange = (index) => {
-		curNow.value = index;
-	};
-	// 查看详情
-	const toView = (item) => {
-		uni.navigateTo({
-			url: `/pagesHome/car/index?id=${item.id || item._id}`
-		})
-	};
-	// 联系卖家
-	const toChat = (item) => {
-		uni.makePhoneCall({
-			phoneNumber: item.shop || '110',
-			success: function () {
-				console.log('拨打电话成功');
-			},
-			fail: function () {
-				uni.showToast({
-					title: '拨打电话失败',
-					icon: 'error',
-				});
-			}
-		});
-	};
-	// 清空失效数据
-	const toDelete = () => {
-		console.log('清空失效数据');
-	};
-	// 分页
-	const toPage = () => {
-		if (total.value > list.value.length) {
-			uni.showLoading({
-				title: '加载中',
-				mask: true
-			})
-			page.value = page.value + 1;
-			skip.value = page.value * limit.value;
-			search();
-			uni.hideLoading();
-		} else is_bottom.value = true
-	};
-	// 清空列表
-	const clearPage = () => {
-		list.value = []
-		skip.value = 0
-		limit.value = 6
-		page.value = 0
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.top {
-			padding: 2vw;
-		}
-
-		.bottom {
-			position: relative;
-			flex-grow: 1;
-
-			.list {
-				position: relative;
-				display: flex;
-				margin: 2vw 0 0 0;
-				padding: 2vw 2vw 0 2vw;
-
-				.rank {
-					position: absolute;
-					top: -2px;
-					left: 2px;
-					padding: 2px 4px;
-					font-size: var(--font14Size);
-					color: var(--mainColor);
-					font-weight: bold;
-					background-color: var(--f99Color);
-					border-top-left-radius: 8px;
-					/* 左上角 */
-					border-bottom-right-radius: 8px;
-					/* 右下角 */
-				}
-
-				.rank1 {
-					background-color: #817AE3;
-				}
-
-				.rank2 {
-					background-color: #FF6A88;
-				}
-
-				.rank3 {
-					background-color: #FBAB7E;
-				}
-
-
-				.left {
-					.image {
-						width: 100px;
-						height: 70px;
-						border-radius: 2px;
-					}
-				}
-
-				.right {
-					display: flex;
-					flex-direction: column;
-					justify-content: space-between;
-					margin: 0 0 0 2vw;
-					width: 100%;
-
-					.name {
-						font-size: var(--font14Size);
-					}
-
-					.other {
-						color: var(--f85Color);
-						font-size: var(--font12Size);
-					}
-
-					.money {
-						color: var(--fF0Color);
-						font-size: var(--font12Size);
-
-						text:first-child {
-							font-size: var(--font18Size);
-						}
-					}
-				}
-			}
-		}
-	}
-
-	.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(--font12Size);
-		}
-	}
-</style>

+ 0 - 346
pagesHome/record/index.vue

@@ -1,346 +0,0 @@
-<template>
-	<view class="content">
-		<view class="one">
-			<u-notice-bar :text="text"></u-notice-bar>
-		</view>
-		<view class="two">
-			<view class="two_1">
-				<view class="table_column">
-					<view class="left">
-						商品编号
-					</view>
-					<view class="right">
-						{{info._id||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						商品名称
-					</view>
-					<view class="right">
-						{{info.series||'暂无'}} {{info.year||'暂无'}}款
-						{{info.style||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						车辆识别号(VIN)
-					</view>
-					<view class="right">
-						{{info.vin? '已上传' : '未上传'}}
-					</view>
-				</view>
-			</view>
-			<view class="text">档案手续</view>
-			<view class="two_2">
-				<view class="table_column">
-					<view class="left">
-						表显里程
-					</view>
-					<view class="right">
-						{{info.mileage||'暂无'}}万公里
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						排放标准
-					</view>
-					<view class="right">
-						{{getDict(info.emission, 'emission')}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						首次上牌
-					</view>
-					<view class="right">
-						{{moment(info.f_time).format('YYYY-MM')||'暂无日期'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						过户次数
-					</view>
-					<view class="right">
-						{{info.number||'0'}}次
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						车源地
-					</view>
-					<view class="right">
-						{{info.place||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						车牌地
-					</view>
-					<view class="right">
-						{{info.license||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						外观颜色
-					</view>
-					<view class="right">
-						{{info.out_color||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						内饰颜色
-					</view>
-					<view class="right">
-						{{info.in_color||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						车辆使用性质
-					</view>
-					<view class="right">
-						{{getDict(info.use_type, 'use_type')}}
-					</view>
-				</view>
-			</view>
-			<view class="text">功能配置</view>
-			<view class="two_2">
-				<view class="table_column">
-					<view class="left">
-						能源类型
-					</view>
-					<view class="right">
-						{{getDict(info.energy, 'energy')}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						排量
-					</view>
-					<view class="right">
-						{{info.displacement||'暂无'}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						级别
-					</view>
-					<view class="right">
-						{{getDict(info.level, 'level')}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						变速箱
-					</view>
-					<view class="right">
-						{{getDict(info.type, 'type')}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						驱动方式
-					</view>
-					<view class="right">
-						{{getDict(info.drive, 'drive')}}
-					</view>
-				</view>
-				<view class="table_column">
-					<view class="left">
-						座位数
-					</view>
-					<view class="right">
-						{{getDict(info.set, 'set')}}
-					</view>
-				</view>
-			</view>
-			<u-divider text="以上为全部内容"></u-divider>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import moment from 'moment';
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 基本信息
-	const config = ref({});
-	const id = ref('');
-	const text = ref('以下内容为商家填写 购车前请谨慎核对,以实际情况为准');
-	const info = ref({});
-	// 字典表
-	const useTypeList = ref([]);
-	const boxTypeList = ref([]);
-	const structureList = ref([]);
-	const emissionList = ref([]);
-	const energyList = ref([]);
-	const setList = ref([]);
-	const levelList = ref([]);
-	const driveList = ref([]);
-	onLoad(async (options) => {
-		id.value = options && options.id
-		await searchConfig();
-		await searchOther();
-		await search();
-	})
-	// 查询其他信息
-	const searchOther = async () => {
-		let res;
-		// 车辆使用性质
-		res = await $api(`dictData`, 'GET', { code: 'useType', is_use: '0' });
-		if (res.errcode === 0) useTypeList.value = res.data;
-		// 变速箱
-		res = await $api(`dictData`, 'GET', { code: 'boxType', is_use: '0' });
-		if (res.errcode === 0) boxTypeList.value = res.data;
-		// 车身结构
-		res = await $api(`dictData`, 'GET', { code: 'structure', is_use: '0' });
-		if (res.errcode === 0) structureList.value = res.data;
-		// 排放标准
-		res = await $api(`dictData`, 'GET', { code: 'emission', is_use: '0' });
-		if (res.errcode === 0) emissionList.value = res.data;
-		// 能源类型
-		res = await $api(`dictData`, 'GET', { code: 'energy', is_use: '0' });
-		if (res.errcode === 0) energyList.value = res.data;
-		// 座椅
-		res = await $api(`dictData`, 'GET', { code: 'set', is_use: '0' });
-		if (res.errcode === 0) setList.value = res.data;
-		// 车辆级别
-		res = await $api(`dictData`, 'GET', { code: 'level', is_use: '0' });
-		if (res.errcode === 0) levelList.value = res.data;
-		// 驱动方式
-		res = await $api(`dictData`, 'GET', { code: 'drive', is_use: '0' });
-		if (res.errcode === 0) driveList.value = res.data;
-	};
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		if (id.value) {
-			const res = await $api(`car/${id.value}`, 'GET', {});
-			if (res.errcode === 0) {
-				info.value = res.data
-			} else {
-				uni.showToast({
-					title: res.errmsg || '',
-					icon: 'error',
-				});
-			}
-		}
-	};
-	// 数据处理
-	const getDict = (data, model) => {
-		let list;
-		switch (model) {
-			case 'use_type':
-				list = useTypeList.value;
-				break;
-			case 'type':
-				list = boxTypeList.value;
-				break;
-			case 'structure':
-				list = structureList.value;
-				break;
-			case 'emission':
-				list = emissionList.value;
-				break;
-			case 'energy':
-				list = energyList.value;
-				break;
-			case 'set':
-				list = setList.value;
-				break;
-			case 'level':
-				list = levelList.value;
-				break;
-			case 'drive':
-				list = driveList.value;
-				break;
-			default:
-				break;
-		}
-		if (!list) return;
-		const res = list.find((f) => f.value == data);
-		return res?.label || '暂无';
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.two {
-			padding: 2vw;
-
-			.two_1 {
-				margin: 2vw;
-
-				.table_column {
-					display: flex;
-					font-size: var(--font12Size);
-
-					.left {
-						width: 25vw;
-						text-align: center;
-						padding: 2vw;
-						border: 1px solid #e7e6e4;
-					}
-
-					.right {
-						width: 65vw;
-						padding: 2vw;
-						border: 1px solid #e7e6e4;
-						background-color: #f4f4f5;
-					}
-				}
-			}
-
-			.text {
-				margin: 2vw;
-				font-size: var(--font16Size);
-				font-weight: bold;
-			}
-
-			.two_2 {
-				margin: 2vw;
-				display: flex;
-				flex-wrap: wrap;
-
-				.table_column {
-					display: flex;
-					font-size: var(--font12Size);
-					width: 46vw;
-
-					.left {
-						display: flex;
-						align-items: center;
-						justify-content: center;
-						padding: 2vw;
-						border: 1px solid #e7e6e4;
-						width: 20vw;
-					}
-
-					.right {
-						padding: 2vw;
-						border: 1px solid #e7e6e4;
-						background-color: #f4f4f5;
-						width: 24vw;
-					}
-				}
-			}
-		}
-	}
-</style>

+ 0 - 492
pagesHome/search/index.vue

@@ -1,492 +0,0 @@
-<template>
-	<view class="content">
-		<view class="top">
-			<u-search shape="square" :show-action="false" placeholder="请输入车辆的名称或品牌" @focus="toChange"></u-search>
-			<view class="search">
-				<view class="list" v-for="(item, index) in searchList" :key="index" @tap="toSearch(item)">
-					<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}</view>
-					<u-icon color="#000" size="10px" v-if="item.is_open==false" name="arrow-down-fill"></u-icon>
-					<u-icon color="#2979ff" size="10px" v-else name="arrow-up-fill"></u-icon>
-				</view>
-			</view>
-			<view v-show="is_show" @tap="toClose" class="popup-layer">
-				<view class="popup-content">
-					<view class="search_1" v-if="type=='0'">
-						<view class="list" v-for="(item, index) in sortList" :key="index" @tap="toSelect(item,type)">
-							<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}</view>
-						</view>
-					</view>
-					<view class="search_1" v-else-if="type=='2'">
-						<view class="list" v-for="(item, index) in moneyList" :key="index" @tap="toSelect(item,type)">
-							<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}</view>
-						</view>
-					</view>
-				</view>
-			</view>
-			<view class="search_2" v-if="searchInfo.brand||searchInfo.money||moreList.length>0">
-				<view class="left">
-					<scroll-view scroll-x="true">
-						<view class="scroll">
-							<view v-if="searchInfo&&searchInfo.brand" class="title" @tap="toDelete({},'0')">
-								<span>{{searchInfo.brand}}</span>&nbsp;
-								<u-icon color="#000" size="14px" name="close"></u-icon>
-							</view>
-							<view v-if="searchInfo&&searchInfo.money" class="title" @tap="toDelete({},'1')">
-								<span>{{searchInfo.money}}</span>&nbsp;
-								<u-icon color="#000" size="14px" name="close"></u-icon>
-							</view>
-							<view v-if="moreList.length>0" class="title" v-for="(item, index) in moreList" :key="index"
-								@tap="toDelete(item,'2')">
-								<span>{{item.title}}</span>&nbsp;
-								<u-icon color="#000" size="14px" name="close"></u-icon>
-							</view>
-						</view>
-					</scroll-view>
-				</view>
-				<view class="right">
-					<view class="right_1" @tap="toReset">重置</view>
-				</view>
-			</view>
-		</view>
-		<view class="bottom">
-			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
-				<view class="list-scroll-view">
-					<view class="one">
-						<view class="list" v-for="(item, index) in list" :key="index" @tap="toView(item)">
-							<view class="left">
-								<image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''">
-								</image>
-							</view>
-							<view class="right">
-								<view class="name textOver">{{item.series||'暂无'}} {{item.year||'暂无'}}款
-									{{item.style||'暂无'}}
-								</view>
-								<view class="other">
-									<text v-if="item.year">{{item.year||'暂无'}}年 | </text>
-									<text v-if="item.mileage">{{item.mileage||'暂无'}}公里 | </text>
-									<text v-if="item.place">{{item.place||'暂无'}}</text>
-								</view>
-								<view class="right_1">
-									<view class="money">
-										<text>{{item.total_money||'0'}}</text>
-										<text>万</text>
-									</view>
-									<view>
-										<button @tap.stop="toChat(item)" class="button" size="mini"
-											type="default">询底价</button>
-									</view>
-								</view>
-							</view>
-						</view>
-					</view>
-					<view class="is_bottom" v-if="is_bottom">
-						<text>{{config.bottom_title||'没有更多了!'}}</text>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad, onShow } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	// 基本信息
-	const config = ref({ logoUrl: [] });
-	const type = ref('0');
-	const is_show = ref(false);
-	//查询
-	const searchList = ref([{ title: '默认排序', type: '0', is_open: false }, { title: '品牌', type: '1', is_open: false }, { title: '价格', type: '2', is_open: false }, { title: '更多筛选', type: '3', is_open: false }]);
-	//排序
-	const sortList = ref([{ title: '默认排序', type: '0', is_open: true }, { title: '最新上架', type: '1', is_open: false }, { title: '车龄最短', type: '2', is_open: false }, { title: '里程最少', type: '3', is_open: false }, { title: '价格最高', type: '4', is_open: false }, { title: '价格最低', type: '5', is_open: false }]);
-	//价格
-	const moneyList = ref([{ title: '不限价格', type: '0', is_open: true }, { title: '10万以下', type: '1', is_open: false }, { title: '10-15万', type: '2', is_open: false }, { title: '15-20万', type: '3', is_open: false }, { title: '20-25万', type: '4', is_open: false }, { title: '25-30万', type: '5', is_open: false }, { title: '30-50万', type: '6', is_open: false }, { title: '50万以上', type: '7', is_open: false }]);
-	// 选择的查询条件
-	const searchInfo = ref({});
-	const moreList = ref([]);
-	// 列表
-	const list = ref([]);
-	const total = ref(0);
-	const skip = ref(0);
-	const limit = ref(6);
-	const page = ref(0);
-	// 数据是否触底
-	const is_bottom = ref(false);
-	const scrollTop = ref(0);
-	onLoad(async (options) => {
-		if (options && options.type != '3') {
-			searchInfo.value.brand = options && options.brand || ''
-			searchInfo.value.money = options && options.money || ''
-		}
-		await searchConfig();
-	})
-	onShow(async () => {
-		uni.$on('toRoute', function (data) {
-			if (data && data.name) searchInfo.value.brand = data.name
-		})
-		await clearPage();
-		await search();
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		const info = {
-			skip: skip.value,
-			limit: limit.value,
-			status: '0'
-		}
-		if (searchInfo.value.brand) info.brand = searchInfo.value.brand
-		if (searchInfo.value.money) info.money = searchInfo.value.money
-		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',
-			});
-		}
-	};
-	// 查询
-	const toSearch = (value) => {
-		// 判断点击的是那个筛选
-		searchList.value = searchList.value.map((item, index) => {
-			if (item.type == value.type && !item.is_open) item.is_open = true
-			else item.is_open = false
-			return item
-		})
-		type.value = value.type
-		if (value.type == '1') {
-			toClose()
-			uni.navigateTo({
-				url: `/pagesHome/brand/index`,
-			})
-		}
-		else if (value.type == '3') {
-			toClose()
-			uni.navigateTo({
-				url: `/pagesHome/condition/index`,
-			})
-		} else is_show.value = searchList.value.some(item => item.is_open == true)
-	};
-	// 搜索
-	const toChange = () => {
-		uni.navigateTo({
-			url: `/pagesHome/type/index`
-		})
-	};
-	// 关闭筛选
-	const toClose = () => {
-		is_show.value = false
-		searchList.value = searchList.value.map((item, index) => {
-			item.is_open = false
-			return item
-		})
-	};
-	// 选择
-	const toSelect = async (data, type) => {
-		// 判断点击的是那个筛选
-		if (type == '0') {
-			sortList.value = sortList.value.map((item, index) => {
-				if (item.type == data.type) item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			searchList.value = searchList.value.map((i, index) => {
-				if (i.type == '0') i.title = data.title
-				return i
-			})
-		} else {
-			moneyList.value = moneyList.value.map((item, index) => {
-				if (item.type == data.type) item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			if (data.type != '0') searchInfo.value.money = data.title
-			else searchInfo.value.money = ''
-		}
-		await clearPage();
-		await search();
-	};
-	// 删除筛选
-	const toDelete = async (item, type) => {
-		if (type == '0') searchInfo.value.brand = ''
-		else if (type == '1') {
-			moneyList.value = moneyList.value.map((item, index) => {
-				if (item.type == '0') item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			searchInfo.value.money = ''
-		}
-		else moreList.value = moreList.value.filter((i, index) => i.type != item.type)
-		await clearPage();
-		await search();
-	};
-	// 重置
-	const toReset = async () => {
-		searchInfo.value.brand = ''
-		searchInfo.value.money = ''
-		moreList.value = []
-		toClear();
-		await clearPage();
-		await search();
-	};
-	// 清除
-	const toClear = () => {
-		searchList.value = searchList.value.map((i, index) => {
-			if (i.type == '0') i.title = '默认排序'
-			return i
-		})
-		moneyList.value = moneyList.value.map((item, index) => {
-			if (item.type == '0') item.is_open = true
-			else item.is_open = false
-			return item
-		})
-		sortList.value = sortList.value.map((item, index) => {
-			if (item.type == '0') item.is_open = true
-			else item.is_open = false
-			return item
-		})
-	};
-	// 联系卖家
-	const toChat = (item) => {
-		uni.makePhoneCall({
-			phoneNumber: item.shop?.tel,
-			success: function () {
-				console.log('拨打电话成功');
-			},
-			fail: function () {
-				uni.showToast({
-					title: '拨打电话失败',
-					icon: 'error',
-				});
-			}
-		});
-	};
-	// 查看详情
-	const toView = (item) => {
-		uni.navigateTo({
-			url: `/pagesHome/car/index?id=${item.id || item._id}`
-		})
-	};
-	// 分页
-	const toPage = () => {
-		if (total.value > list.value.length) {
-			uni.showLoading({
-				title: '加载中',
-				mask: true
-			})
-			page.value = page.value + 1;
-			skip.value = page.value * limit.value;
-			search();
-			uni.hideLoading();
-		} else is_bottom.value = true
-	};
-	// 清空列表
-	const clearPage = () => {
-		list.value = []
-		skip.value = 0
-		limit.value = 6
-		page.value = 0
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.top {
-			margin: 2vw;
-
-			.search {
-				display: flex;
-				justify-content: space-between;
-				align-items: center;
-				padding: 2vw 2vw 0 2vw;
-
-				.list {
-					display: flex;
-					align-items: center;
-					padding: 1vw 0;
-
-					.title_1 {
-						margin: 0 1vw 0 0;
-						font-size: var(--font14Size);
-					}
-
-					.title_2 {
-						margin: 0 1vw 0 0;
-						font-size: var(--font14Size);
-						color: var(--fFFColor);
-					}
-				}
-			}
-
-			.popup-layer {
-				position: absolute;
-				z-index: 999999;
-				background: rgba(0, 0, 0, .3);
-				height: calc(100% - 50px);
-				width: 100%;
-				left: 0px;
-				overflow: hidden;
-				height: 87.5vh;
-			}
-
-			.popup-content {
-				position: absolute;
-				width: 100%;
-				z-index: 1000000;
-				background: #FFFFFF;
-				transition: all .3s ease;
-
-				.search_1 {
-					display: flex;
-					flex-wrap: wrap;
-					padding: 2vw;
-
-					.list {
-						font-size: var(--font14Size);
-						width: 24vw;
-						text-align: center;
-
-						.title_1 {
-							padding: 2vw;
-							margin: 1vw;
-							background-color: var(--f5Color);
-						}
-
-						.title_2 {
-							padding: 2vw;
-							margin: 1vw;
-							background: rgba(255, 222, 173, 0.35);
-							border: 1px solid var(--fFFColor);
-						}
-					}
-				}
-			}
-
-			.search_2 {
-				padding: 2vw;
-				background-color: var(--f5Color);
-				display: flex;
-				justify-content: space-between;
-				align-items: center;
-
-				.left {
-					width: 80vw;
-
-					.scroll {
-						display: flex;
-						white-space: nowrap;
-
-						.title {
-							font-size: var(--font14Size);
-							display: flex;
-							padding: 2vw;
-							margin: 1vw;
-							background-color: var(--mainColor);
-						}
-					}
-				}
-			}
-		}
-
-		.bottom {
-			position: relative;
-			flex-grow: 1;
-
-			.one {
-				margin: 0 2vw 2vw 2vw;
-
-				.list {
-					display: flex;
-					margin: 1vw 0 0 0;
-					padding: 1vw;
-
-					.left {
-						.image {
-							width: 130px;
-							height: 100px;
-							border-radius: 2px;
-						}
-					}
-
-					.right {
-						display: flex;
-						flex-direction: column;
-						justify-content: space-between;
-						margin: 0 0 0 2vw;
-						width: 100%;
-
-						.name {
-							font-size: var(--font14Size);
-						}
-
-						.other {
-							color: var(--f85Color);
-							font-size: var(--font12Size);
-						}
-
-						.right_1 {
-							display: flex;
-							justify-content: space-between;
-							align-items: center;
-
-							.money {
-								color: var(--fF0Color);
-								font-size: var(--font12Size);
-
-								text:first-child {
-									font-size: var(--font18Size);
-								}
-							}
-
-							.button {
-								background-color: var(--fFFColor);
-							}
-						}
-					}
-				}
-			}
-		}
-	}
-
-	.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(--font12Size);
-		}
-	}
-</style>

+ 0 - 371
pagesHome/sell/index.vue

@@ -1,371 +0,0 @@
-<template>
-	<view class="content">
-		<view class="info">
-			<scroll-view scroll-y="true" class="scroll-view">
-				<view class="list-scroll-view">
-					<view class="one">
-						<view class="text">
-							免费估值 精准报价
-						</view>
-					</view>
-					<view class="two">
-						<view class="text">为爱车估值</view>
-						<view class="two_1" @tap="toSelect" v-if="!form.brand&&!form.brand?.title">
-							<u-icon name="plus-circle-fill" size="20" color="#2979ff"></u-icon>
-							<text>请选择车辆品牌</text>
-						</view>
-						<view class="two_2" @tap="toSelect" v-else>
-							<image class="image"
-								:src="form.brand?.url&&form.brand?.url.length>0?form.brand?.url[0].url:'/static/logo.png'">
-							</image>
-							<view class="title">{{form.brand}}</view>
-							<u-icon name="arrow-right"></u-icon>
-						</view>
-						<u--form class="form" :model="form" ref="uForm" :rules="rules" labelWidth="65"
-							:border-bottom="true">
-							<u-form-item label="车辆车系" prop="bank">
-								<input class="input" v-model="form.bank" placeholder="填写车辆车系" />
-								<template #right>
-									<u-icon name="arrow-right"></u-icon>
-								</template>
-							</u-form-item>
-							<u-form-item label="车辆车型" prop="type">
-								<input class="input" v-model="form.type" placeholder="填写车辆车型" />
-								<template #right>
-									<u-icon name="arrow-right"></u-icon>
-								</template>
-							</u-form-item>
-							<u-form-item label="上牌日期" prop="start">
-								<picker name="date" @change="dateChange" mode="date">
-									<view class="picker">{{form.start||'请选择'}}</view>
-								</picker>
-								<template #right>
-									<u-icon name="arrow-right"></u-icon>
-								</template>
-							</u-form-item>
-							<u-form-item label="行驶里程" prop="course">
-								<picker name="course" @change="courseChange" :value="index" :range="courseList"
-									range-key="label">
-									<view class="picker">{{form.course||'请选择'}}</view>
-								</picker>
-								<template #right>
-									<u-icon name="arrow-right"></u-icon>
-								</template>
-							</u-form-item>
-							<u-form-item label="上牌城市" prop="city">
-								<text class="picker" @tap="toCity">{{form.city||'请选择'}}</text>
-								<template #right>
-									<u-icon name="arrow-right"></u-icon>
-								</template>
-							</u-form-item>
-							<u-form-item label="估值地区" prop="place">
-								<text class="picker" @tap="toPlace">{{form.place||'请选择'}}</text>
-								<template #right>
-									<u-icon name="arrow-right"></u-icon>
-								</template>
-							</u-form-item>
-							<u-form-item label="联系人" prop="contacts">
-								<input class="input" v-model="form.contacts" placeholder="填写联系人" />
-							</u-form-item>
-							<u-form-item label="联系电话" prop="tel">
-								<input class="input" v-model="form.tel" placeholder="填写常用手机号" />
-							</u-form-item>
-						</u--form>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-		<view class="foot">
-			<view class="foot_1">
-				<button class="btn" @click="toEvaluate">免费估价</button>
-			</view>
-			<view class="foot_2">
-				<checkbox-group @change="changeAgree">
-					<label>
-						<checkbox color="#2979ff" style="transform:scale(0.7)" :checked="agree" />
-						<text @tap.stop="toAgree">已阅读并同意 《个人信息保护声明》,提交后将会有1-3家服务商为您提供报价服务</text>
-					</label>
-				</checkbox-group>
-			</view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad, onShow } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	// 基本信息
-	const config = ref({});
-	// 用户协议
-	const agree = ref(false);
-	// 用户信息
-	const user = ref({});
-	const form = ref({ brand: '', bank: '', type: '', start: '', course: '', place: '', city: '', tel: '' });
-	const rules = {
-		'bank': {
-			type: 'string',
-			required: true,
-			message: '请输入车辆车系',
-			trigger: ['blur', 'change'],
-		},
-		'type': {
-			type: 'string',
-			required: true,
-			message: '请输入车辆车型',
-			trigger: ['blur', 'change'],
-		},
-		'start': {
-			type: 'string',
-			required: true,
-			message: '请选择上牌日期',
-			trigger: ['blur', 'change'],
-		},
-		'course': {
-			type: 'string',
-			required: true,
-			message: '请选择行驶里程',
-			trigger: ['blur', 'change'],
-		},
-		'tel': {
-			type: 'string',
-			required: true,
-			message: '请输入手机号',
-			trigger: ['blur', 'change'],
-		}
-	}
-	const uForm = ref(null);
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 字典表
-	const courseList = ref([{ value: '1', label: '1万公里' }, { value: '2', label: '2万公里' }, { value: '3', label: '3万公里' }, { value: '4', label: '4万公里' }, { value: '5', label: '5万公里' }]);
-	onLoad(async () => {
-		await searchConfig();
-	})
-	onShow(() => {
-		uni.$on('toRoute', function (data) {
-			form.value.brand = data.name
-		})
-		uni.$on('toCity', function (data) {
-			form.value[data.field] = data.name
-		})
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 上牌日期
-	const dateChange = (e) => {
-		form.value.start = e.target.value;
-	};
-	// 行驶里程
-	const courseChange = (e) => {
-		const data = courseList.value[e.detail.value]
-		if (data) form.value.course = data.label
-	};
-	// 选择上牌城市
-	const toCity = () => {
-		uni.navigateTo({
-			url: `/pagesHome/city/index?field=${'city'}`,
-		})
-	};
-	// 选择估值城市
-	const toPlace = () => {
-		uni.navigateTo({
-			url: `/pagesHome/city/index?field=${'place'}`,
-		})
-	};
-	// 选择品牌
-	const toSelect = () => {
-		uni.navigateTo({
-			url: `/pagesHome/brand/index`,
-		})
-	};
-	// 估价
-	const toEvaluate = async () => {
-		if (agree.value) {
-			if (openid.value) {
-				uForm.value.validate().then(async res => {
-					if (form.value.place || form.value.city) {
-						form.value.openid = openid.value
-						const res = await $api(`estimate`, 'POST', form.value);
-						if (res.errcode == 0) {
-							uni.showToast({
-								title: '免费估价申请成功',
-								icon: 'none'
-							})
-							uni.navigateBack({
-								delta: 1
-							})
-						} else {
-							uni.showToast({
-								title: res.errmsg,
-								icon: 'none'
-							})
-						}
-					} else {
-						uni.showToast({
-							title: '缺少城市信息',
-							icon: 'none'
-						})
-					}
-				}).catch(err => {
-					console.log(err, '校验失败');
-				})
-			} else {
-				uni.showToast({
-					title: '系统更新中,请稍后再试!',
-					icon: 'none'
-				})
-			}
-		} else {
-			uni.showToast({
-				title: '请阅读并同意用户协议和隐私政策',
-				icon: 'none'
-			})
-		}
-	};
-	// 查看隐私协议
-	const toAgree = () => {
-		uni.navigateTo({
-			url: `/pagesHome/agree/index`
-		})
-	};
-	// 同意隐私协议
-	const changeAgree = () => {
-		agree.value = !agree.value;
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.info {
-			position: relative;
-			flex-grow: 1;
-			background-color: var(--f1Color);
-
-			.one {
-				display: flex;
-				align-items: center;
-				justify-content: center;
-				height: 25vh;
-				background: linear-gradient(to bottom, #2979ff, #f1f1f1);
-
-				.text {
-					background-image: -webkit-linear-gradient(left, #000, #2979ff 10%, #2979ff 20%, #2979ff 30%, #2979ff 40%, #2979ff 50%, #2979ff 60%, #2979ff 70%, #2979ff 80%, #2979ff 90%, #000 100%);
-					-webkit-text-fill-color: transparent;
-					-webkit-background-clip: text;
-					-webkit-background-size: 200% 100%;
-					-webkit-animation: masked-animation 4s linear infinite;
-					font-size: 30px;
-					font-weight: bold;
-				}
-
-				@keyframes masked-animation {
-					0% {
-						background-position: 0 0;
-					}
-
-					100% {
-						background-position: -100% 0;
-					}
-				}
-			}
-
-			.two {
-				background-color: var(--mainColor);
-				margin: 0 3vw 2vw 3vw;
-				padding: 2vw;
-				border-radius: 10px;
-
-				.text {
-					font-size: var(--font16Size);
-					font-weight: bold;
-					padding: 2vw;
-				}
-
-				.two_1 {
-					display: flex;
-					align-items: center;
-					justify-content: center;
-					background-color: var(--f1Color);
-					padding: 6vw 2vw;
-
-					text {
-						font-size: var(--font16Size);
-						margin: 0 0 0 1vw;
-					}
-				}
-
-				.two_2 {
-					display: flex;
-					align-items: center;
-					color: #323233;
-					padding: 2vw 0;
-					font-size: var(--font16Size);
-					border-bottom: 1px solid var(--f5Color);
-
-					.image {
-						width: 60px;
-						height: 60px;
-						border-radius: 60px;
-					}
-
-					.title {
-						width: 75%;
-						margin: 0 0 0 2vw;
-					}
-				}
-
-				.form {
-					.picker {
-						padding: 2vw;
-					}
-
-					.input {
-						padding: 2vw;
-					}
-				}
-			}
-		}
-
-		.foot {
-			padding: 2vw;
-
-			.foot_1 {
-				.btn {
-					background-color: var(--fFFColor);
-					font-size: var(--font16Size);
-				}
-			}
-
-			.foot_2 {
-				font-size: var(--font12Size);
-				color: var(--f85Color);
-				margin: 1vw;
-			}
-		}
-	}
-
-	.scroll-view {
-		position: absolute;
-		top: 0;
-		left: 0;
-		right: 0;
-		bottom: 0;
-
-		.list-scroll-view {
-			display: flex;
-			flex-direction: column;
-		}
-	}
-</style>

+ 0 - 666
pagesHome/shop/index.vue

@@ -1,666 +0,0 @@
-<template>
-	<view class="content">
-		<view class="info">
-			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
-				<view class="list-scroll-view">
-					<view class="top">
-						<image class="image"
-							:src="shop.logo&&shop.logo?.length>0?shop.logo[0].url:'https://cdn.uviewui.com/uview/album/1.jpg'" />
-					</view>
-					<view class="bottom">
-						<view class="one">
-							<view class="name">
-								{{shop.name||'暂无'}}
-							</view>
-							<view class="other">
-								<view class="left">
-									<view class="left_1">
-										<span>在售 {{shop.sale||'0'}} 辆</span>
-										|
-										<span>已售 {{shop.sold||'0'}} 辆</span>
-									</view>
-									<view class="left_2">
-										<span>{{shop.status=='0'?'营业中':'休息中'}}</span>&nbsp;
-										<span>{{shop.start_time||'8:00'}}-{{shop.end_time||'17:00'}}</span>
-									</view>
-									<view class="left_3" @tap="toImage">
-										<u-icon name="file-text" size="16"></u-icon>
-										<text>营业执照</text>
-									</view>
-								</view>
-								<view class="center">
-									<u-line direction="col"></u-line>
-								</view>
-								<view class="right">{{shop.address||'暂无'}}</view>
-							</view>
-						</view>
-						<view class="two">
-							<view class="search">
-								<view class="searchlist" v-for="(item, index) in searchList" :key="index"
-									@tap="toSearch(item)">
-									<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}</view>
-									<u-icon color="#000" size="10px" v-if="item.is_open==false"
-										name="arrow-down-fill"></u-icon>
-									<u-icon color="#2979ff" size="10px" v-else name="arrow-up-fill"></u-icon>
-								</view>
-							</view>
-							<view v-show="is_show" @tap="toClose" class="popup-layer">
-								<view class="popup-content">
-									<view class="search_1" v-if="type=='0'">
-										<view class="list" v-for="(item, index) in sortList" :key="index"
-											@tap="toSelect(item,type)">
-											<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}
-											</view>
-										</view>
-									</view>
-									<view class="search_1" v-else-if="type=='2'">
-										<view class="list" v-for="(item, index) in moneyList" :key="index"
-											@tap="toSelect(item,type)">
-											<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}
-											</view>
-										</view>
-									</view>
-									<view class="search_1" v-else-if="type=='3'">
-										<view class="list" v-for="(item, index) in yearList" :key="index"
-											@tap="toSelect(item,type)">
-											<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}
-											</view>
-										</view>
-									</view>
-									<view class="search_1" v-else>
-										<view class="list" v-for="(item, index) in yearList" :key="index"
-											@tap="toSelect(item,type)">
-											<view :class="[item.is_open==false?'title_1':'title_2']">{{item.title}}
-											</view>
-										</view>
-									</view>
-								</view>
-							</view>
-							<view class="search_2" v-if="searchInfo.brand||searchInfo.money||moreList.length>0">
-								<view class="left">
-									<scroll-view scroll-x="true">
-										<view class="scroll">
-											<view v-if="searchInfo&&searchInfo.brand" class="title"
-												@tap="toDelete({},'0')">
-												<span>{{searchInfo.brand}}</span>&nbsp;
-												<u-icon color="#000" size="14px" name="close"></u-icon>
-											</view>
-											<view v-if="searchInfo&&searchInfo.money" class="title"
-												@tap="toDelete({},'1')">
-												<span>{{searchInfo.money}}</span>&nbsp;
-												<u-icon color="#000" size="14px" name="close"></u-icon>
-											</view>
-											<view v-if="searchInfo&&searchInfo.year" class="title"
-												@tap="toDelete({},'2')">
-												<span>{{searchInfo.year}}</span>&nbsp;
-												<u-icon color="#000" size="14px" name="close"></u-icon>
-											</view>
-											<view v-if="moreList.length>0" class="title"
-												v-for="(item, index) in moreList" :key="index"
-												@tap="toDelete(item,'3')">
-												<span>{{item.title}}</span>&nbsp;
-												<u-icon color="#000" size="14px" name="close"></u-icon>
-											</view>
-										</view>
-									</scroll-view>
-								</view>
-								<view class="right">
-									<view class="right_1" @tap="toReset">重置</view>
-								</view>
-							</view>
-							<!-- 瀑布流布局列表 -->
-							<view class="pubuBox">
-								<view class="pubuItem">
-									<view class="list" v-for="(item, index) in list" :key="index" @tap="toView(item)">
-										<view class="list_1">
-											<view class="left">
-												<image class="image"
-													:src="item.file&&item.file.length>0?item.file[0].url:''">
-												</image>
-											</view>
-											<view class="right">
-												<view class="name textOver">{{item.series||'暂无'}} {{item.year||'暂无'}}款
-													{{item.style||'暂无'}}
-												</view>
-												<view class="other">
-													<text v-if="item.year">{{item.year||'暂无'}}年 | </text>
-													<text v-if="item.mileage">{{item.mileage||'暂无'}}公里 | </text>
-													<text v-if="item.place">{{item.place||'暂无'}}</text>
-												</view>
-												<view class="money">
-													<text>{{item.total_money||'0'}}</text>
-													<text>万</text>
-												</view>
-											</view>
-										</view>
-									</view>
-								</view>
-							</view>
-							<view class="is_bottom" v-if="is_bottom">
-								<text>{{config.bottom_title||'没有更多了!'}}</text>
-							</view>
-						</view>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-		<view class="foot">
-			<u-button icon="phone" text="电话联系" size="normal" type="info" @click="toChat"></u-button>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad, onShow } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 基本信息
-	const config = ref({});
-	const id = ref('');
-	// 店铺
-	const shop = ref({});
-	const type = ref('0');
-	const is_show = ref(false);
-	//查询
-	const searchList = ref([{ title: '默认排序', type: '0', is_open: false }, { title: '品牌', type: '1', is_open: false }, { title: '价格', type: '2', is_open: false }, { title: '车龄', type: '3', is_open: false }, { title: '更多筛选', type: '4', is_open: false }]);
-	//排序
-	const sortList = ref([{ title: '默认排序', type: '0', is_open: true }, { title: '最新上架', type: '1', is_open: false }, { title: '车龄最短', type: '2', is_open: false }, { title: '里程最少', type: '3', is_open: false }, { title: '价格最高', type: '4', is_open: false }, { title: '价格最低', type: '5', is_open: false }]);
-	//价格
-	const moneyList = ref([{ title: '不限价格', type: '0', is_open: true }, { title: '10万以下', type: '1', is_open: false }, { title: '10-15万', type: '2', is_open: false }, { title: '15-20万', type: '3', is_open: false }, { title: '20-25万', type: '4', is_open: false }, { title: '25-30万', type: '5', is_open: false }, { title: '30-50万', type: '6', is_open: false }, { title: '50万以上', type: '7', is_open: false }]);
-	//车龄
-	const yearList = ref([{ title: '不限车龄', type: '0', is_open: true }, { title: '2年以下', type: '1', is_open: false }, { title: '4年以下', type: '2', is_open: false }, { title: '6年以下', type: '3', is_open: false }]);
-	// 选择的查询条件
-	const searchInfo = ref({});
-	const moreList = ref([]);
-	// 列表
-	const list = ref([]);
-	const total = ref(0);
-	const skip = ref(0);
-	const limit = ref(6);
-	const page = ref(0);
-	// 数据是否触底
-	const is_bottom = ref(false);
-	const scrollTop = ref(0);
-	onLoad(async (options) => {
-		id.value = options && options.id
-		uni.setNavigationBarTitle({
-			title: options && options.name || '车行详情'
-		});
-		await searchConfig();
-		await search();
-	})
-	onShow(async () => {
-		uni.$on('toRoute', function (data) {
-			if (data && data.name) searchInfo.value.brand = data.name
-		})
-		await clearPage();
-		await searchOther();
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		if (id.value) {
-			const res = await $api(`shop/${id.value}`, 'GET', {});
-			if (res.errcode === 0) {
-				shop.value = res.data
-			} else {
-				uni.showToast({
-					title: res.errmsg || '',
-					icon: 'error',
-				});
-			}
-		}
-	};
-	// 查询其他信息
-	const searchOther = async () => {
-		let res;
-		const info = {
-			skip: skip.value,
-			limit: limit.value,
-			status: '0',
-			shop: id.value
-		}
-		if (searchInfo.value.brand) info.brand = searchInfo.value.brand
-		if (searchInfo.value.money) info.money = searchInfo.value.money
-		if (searchInfo.value.year) info.year = searchInfo.value.year
-		res = await $api('car', 'GET', {
-			...info,
-		});
-		if (res.errcode === 0) {
-			list.value = list.value.concat(res.data)
-			total.value = res.total
-			shop.value.sale = res.total
-		} else {
-			uni.showToast({
-				title: res.errmsg || '',
-				icon: 'error',
-			});
-		}
-		res = await $api('car', 'GET', {
-			skip: 0,
-			limit: 1,
-			status: '0',
-			shop: id.value
-		});
-		if (res.errcode === 0) shop.value.sold = res.total
-	};
-	// 查询
-	const toSearch = (value) => {
-		// 判断点击的是那个筛选
-		searchList.value = searchList.value.map((item, index) => {
-			if (item.type == value.type && !item.is_open) item.is_open = true
-			else item.is_open = false
-			return item
-		})
-		type.value = value.type
-		if (value.type == '1') {
-			toClose()
-			uni.navigateTo({
-				url: `/pagesHome/brand/index`,
-			})
-		}
-		else if (value.type == '4') {
-			toClose()
-			uni.navigateTo({
-				url: `/pagesHome/condition/index`,
-			})
-		} else is_show.value = searchList.value.some(item => item.is_open == true)
-	};
-	// 关闭筛选
-	const toClose = () => {
-		is_show.value = false
-		searchList.value = searchList.value.map((item, index) => {
-			item.is_open = false
-			return item
-		})
-	};
-	// 选择
-	const toSelect = async (data, type) => {
-		// 判断点击的是那个筛选
-		if (type == '0') {
-			sortList.value = sortList.value.map((item, index) => {
-				if (item.type == data.type) item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			searchList.value = searchList.value.map((i, index) => {
-				if (i.type == '0') i.title = data.title
-				return i
-			})
-		} else if (type == '2') {
-			moneyList.value = moneyList.value.map((item, index) => {
-				if (item.type == data.type) item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			if (data.type != '0') searchInfo.value.money = data.title
-			else searchInfo.value.money = ''
-		} else {
-			yearList.value = yearList.value.map((item, index) => {
-				if (item.type == data.type) item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			if (data.type != '0') searchInfo.value.year = data.title
-			else searchInfo.value.year = ''
-		}
-		await clearPage();
-		await searchOther();
-	};
-	// 删除筛选
-	const toDelete = async (item, type) => {
-		if (type == '0') searchInfo.value.brand = ''
-		else if (type == '1') {
-			moneyList.value = moneyList.value.map((item, index) => {
-				if (item.type == '0') item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			searchInfo.value.money = ''
-		}
-		else if (type == '2') {
-			yearList.value = yearList.value.map((item, index) => {
-				if (item.type == '0') item.is_open = true
-				else item.is_open = false
-				return item
-			})
-			searchInfo.value.year = ''
-		}
-		else moreList.value = moreList.value.filter((i, index) => i.type != item.type)
-		await clearPage();
-		await searchOther();
-	};
-	// 重置
-	const toReset = async () => {
-		await toDelete({}, '0')
-		await toDelete({}, '1')
-		await toDelete({}, '2')
-		moreList.value = []
-		await toClear();
-	};
-	// 清除
-	const toClear = () => {
-		searchList.value = searchList.value.map((i, index) => {
-			if (i.type == '0') i.title = '默认排序'
-			return i
-		})
-		sortList.value = sortList.value.map((item, index) => {
-			if (item.type == '0') item.is_open = true;
-			else item.is_open = false
-			return item
-		})
-	};
-	// 联系卖家
-	const toChat = () => {
-		uni.makePhoneCall({
-			phoneNumber: shop.value?.tel,
-			success: function () {
-				console.log('拨打电话成功');
-			},
-			fail: function () {
-				uni.showToast({
-					title: '拨打电话失败',
-					icon: 'error',
-				});
-			}
-		});
-	};
-	// 查看详情
-	const toView = (item) => {
-		uni.navigateTo({
-			url: `/pagesHome/car/index?id=${item.id || item._id}`
-		})
-	};
-	// 预览营业执照
-	const toImage = () => {
-		if (shop.value?.file.length > 0) {
-			// 预览图片
-			uni.previewImage({
-				urls: [shop.value.file[0].url],
-				longPressActions: {
-					itemList: ['发送给朋友', '保存图片', '收藏'],
-					success: function (data) {
-						console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
-					},
-					fail: function (err) {
-						console.log(err.errMsg);
-					}
-				}
-			});
-		}
-	};
-	// 分页
-	const toPage = () => {
-		if (total.value > list.value.length) {
-			uni.showLoading({
-				title: '加载中',
-				mask: true
-			})
-			page.value = page.value + 1;
-			skip.value = page.value * limit.value;
-			search();
-			uni.hideLoading();
-		} else is_bottom.value = true
-	};
-	// 清空列表
-	const clearPage = () => {
-		list.value = []
-		skip.value = 0
-		limit.value = 6
-		page.value = 0
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.info {
-			position: relative;
-			flex-grow: 1;
-			background-color: var(--f1Color);
-
-			.top {
-
-				.image {
-					width: 100%;
-					height: 55vw;
-				}
-			}
-
-			.bottom {
-				margin: -8vw 2vw 0 2vw;
-
-				.one {
-					border-radius: 5px;
-					padding: 2vw;
-					background-color: var(--mainColor);
-
-					.name {
-						font-size: var(--font16Size);
-					}
-
-					.other {
-						display: flex;
-						justify-content: space-between;
-						font-size: var(--font12Size);
-						padding: 2vw 0;
-
-						.left {
-							width: 45%;
-
-							.left_2 {
-								margin: 1vw 0;
-							}
-
-							.left_3 {
-								display: flex;
-								align-items: center;
-
-								text {
-									margin: 0 0 1vw 0;
-									color: #606266;
-								}
-							}
-						}
-
-						.right {
-							width: 45%;
-						}
-					}
-				}
-
-				.two {
-					.search {
-						display: flex;
-						justify-content: space-between;
-						align-items: center;
-						padding: 2vw 2vw 0 2vw;
-
-						.searchlist {
-							display: flex;
-							align-items: center;
-							padding: 1vw 0;
-
-							.title_1 {
-								margin: 0 1vw 0 0;
-								font-size: var(--font14Size);
-							}
-
-							.title_2 {
-								margin: 0 1vw 0 0;
-								font-size: var(--font14Size);
-								color: var(--fFFColor);
-							}
-						}
-					}
-
-					.popup-layer {
-						position: absolute;
-						z-index: 999999;
-						background: rgba(0, 0, 0, .3);
-						height: calc(100% - 50px);
-						width: 100%;
-						left: 0px;
-						overflow: hidden;
-						height: 87.5vh;
-					}
-
-					.popup-content {
-						position: absolute;
-						width: 100%;
-						z-index: 1000000;
-						background: #FFFFFF;
-						transition: all .3s ease;
-
-						.search_1 {
-							display: flex;
-							flex-wrap: wrap;
-							padding: 2vw;
-
-							.list {
-								font-size: var(--font14Size);
-								width: 24vw;
-								text-align: center;
-
-								.title_1 {
-									padding: 2vw;
-									margin: 1vw;
-									background-color: var(--f5Color);
-								}
-
-								.title_2 {
-									padding: 2vw;
-									margin: 1vw;
-									background: rgba(255, 222, 173, 0.35);
-									border: 1px solid var(--fFFColor);
-								}
-							}
-						}
-					}
-
-					.search_2 {
-						padding: 2vw;
-						background-color: var(--f5Color);
-						display: flex;
-						justify-content: space-between;
-						align-items: center;
-
-						.left {
-							width: 80vw;
-
-							.scroll {
-								display: flex;
-								white-space: nowrap;
-
-								.title {
-									font-size: var(--font14Size);
-									display: flex;
-									padding: 2vw;
-									margin: 1vw;
-									background-color: var(--mainColor);
-								}
-							}
-						}
-					}
-
-					.pubuBox {
-						padding: 2vw 0;
-					}
-
-					.pubuItem {
-						column-count: 2;
-						column-gap: 2vw;
-					}
-
-					.list {
-						box-sizing: border-box;
-						border-radius: 2vw;
-						overflow: hidden;
-						background-color: var(--mainColor);
-						break-inside: avoid;
-						/*避免在元素内部插入分页符*/
-						box-sizing: border-box;
-						margin-bottom: 2vw;
-
-						.list_1 {
-							.left {
-								.image {
-									width: 100%;
-									height: 120px;
-									border-radius: 5px 5px 0 0;
-								}
-							}
-
-							.right {
-								display: flex;
-								flex-direction: column;
-								justify-content: space-between;
-								padding: 0 2vw;
-
-								.name {
-									font-size: var(--font14Size);
-								}
-
-								.other {
-									color: var(--f85Color);
-									font-size: var(--font12Size);
-								}
-
-								.money {
-									color: var(--fF0Color);
-									font-size: var(--font12Size);
-									margin: 0 0 1vw 0;
-
-									text:first-child {
-										font-size: var(--font18Size);
-									}
-								}
-							}
-						}
-					}
-				}
-			}
-		}
-
-		.foot {
-			padding: 2vw 1vw;
-		}
-	}
-
-	.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(--font12Size);
-		}
-	}
-</style>

+ 0 - 135
pagesHome/type/index.vue

@@ -1,135 +0,0 @@
-<template>
-	<view class="content">
-		<view class="one">
-			<u-search shape="square" v-model="value" :show-action="true" action-text="取消" placeholder="想买什么车"
-				@change="toChange" @custom="toCustom"></u-search>
-		</view>
-		<view class="two" v-if="!value&&moreList.length>0">
-			<view class="two_1">
-				<view class="left">
-					搜索历史
-				</view>
-				<view class="right" @tap="toRest">
-					<u-icon size="18px" name="trash"></u-icon>
-				</view>
-			</view>
-			<view class="two_2">
-				<view class="title" v-for="(item, index) in moreList" :key="index">
-					<span @tap="toView(item)">{{item.name}}</span>&nbsp;
-					<u-icon size="15px" name="close" @tap="toDelete(item)"></u-icon>
-				</view>
-			</view>
-		</view>
-		<view class="thr" v-else>
-			<view class="list" v-for="(item, index) in list" :key="index" @tap="toView(item)">
-				<view class="left">
-					<image v-if="item.file" class="image" :src="item.file&&item.file.length>0?item.file[0].url:''">
-					</image>
-					<u-icon v-else size="16px" name="search"></u-icon>
-				</view>
-				<view class="right">
-					{{item.name}}
-				</view>
-			</view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onShow } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const value = ref('');
-	const list = ref([{ name: "本田" }]);
-	const moreList = ref([{ name: "本田" }]);
-	onShow(() => {
-		search();
-		toCustom();
-	})
-	// 查询
-	const search = async () => {
-	};
-	// 搜索
-	const toChange = async () => {
-	};
-	// 取消
-	const toCustom = async () => {
-		value.value = ''
-	};
-	// 查看详情
-	const toView = (item) => {
-		uni.navigateTo({
-			url: `/pagesHome/search/index?type=${item.type || ''}`
-		})
-	};
-	// 取消
-	const toRest = async () => {
-		console.log('重置');
-	};
-	// 删除
-	const toDelete = async () => {
-		console.log('删除');
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.one {
-			padding: 2vw;
-		}
-
-		.two {
-			padding: 2vw;
-			font-size: var(--font14Size);
-
-			.two_1 {
-				margin: 2vw;
-				display: flex;
-				justify-content: space-between;
-			}
-
-			.two_2 {
-				margin: 2vw 0 0 0;
-				display: flex;
-				flex-wrap: wrap;
-
-				.title {
-					display: flex;
-					align-items: center;
-					padding: 2vw;
-					margin: 1vw;
-					background-color: var(--f9Color);
-				}
-			}
-		}
-
-		.thr {
-			.list {
-				display: flex;
-				align-items: center;
-				margin: 1vw 1vw 0 1vw;
-				padding: 2vw;
-				border-bottom: 1px solid var(--f9Color);
-			}
-
-			.left {
-				.image {
-					width: 40px;
-					height: 40px;
-					border-radius: 40px;
-				}
-			}
-
-			.right {
-				margin: 0 0 0 2vw;
-				font-size: var(--font14Size);
-			}
-		}
-	}
-</style>

+ 0 - 214
pagesMy/car/index.vue

@@ -1,214 +0,0 @@
-<template>
-	<view class="content">
-		<view class="top">
-			<u-search shape="square" :show-action="false" placeholder="品牌/车系" @focus="toChange"></u-search>
-		</view>
-		<view class="bottom">
-			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
-				<view class="list-scroll-view">
-					<view class="list" v-for="(item, index) in list" :key="index">
-						<view class="name textOver">
-							<text>{{item.brand||'暂无'}} {{item.bank||'暂无'}} {{item.type||'暂无'}}</text>
-						</view>
-						<view class="other textOver" v-if="item.start">
-							<text>上牌日期:</text>
-							<text>{{item.start||'暂无'}}</text>
-						</view>
-						<view class="other textOver" v-if="item.course">
-							<text>行驶里程:</text>
-							<text>{{item.course||'暂无'}}</text>
-						</view>
-						<view class="other textOver" v-if="item.city">
-							<text>上牌城市:</text>
-							<text>{{item.city||'暂无'}}</text>
-						</view>
-						<view class="other textOver" v-if="item.place">
-							<text>估值地区:</text>
-							<text>{{item.place||'暂无'}}</text>
-						</view>
-						<view class="other textOver" v-if="item.estimate">
-							<text>预估价格:</text>
-							<text style="color: red;">{{item.estimate||'暂无'}}万元</text>
-						</view>
-						<view class="other textOver" v-if="item.status">
-							<text>状态:</text>
-							<text style="color: red;">{{getDict(item.status,'status')}}</text>
-						</view>
-					</view>
-					<view class="is_bottom" v-if="is_bottom">
-						<text>{{config.bottom_title||'没有更多了!'}}</text>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, computed, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	// openid
-	const openid = computed(() => {
-		return uni.getStorageSync('openid');
-	})
-	// 查询
-	const searchInfo = ref({});
-	// 基本信息
-	const config = ref({ logoUrl: [] });
-	// 列表
-	const list = ref([]);
-	const total = ref(0);
-	const skip = ref(0);
-	const limit = ref(6);
-	const page = ref(0);
-	// 数据是否触底
-	const is_bottom = ref(false);
-	const scrollTop = ref(0);
-	// 字典表
-	const statusList = ref([]);
-	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;
-	};
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.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 {
-			uni.showToast({
-				title: res.errmsg || '',
-				icon: 'error',
-			});
-		}
-	};
-	// 数据处理
-	const getDict = (data, model) => {
-		let list;
-		switch (model) {
-			case 'status':
-				list = statusList.value;
-				break;
-			default:
-				break;
-		}
-		if (!list) return;
-		const res = list.find((f) => f.value == data);
-		return res?.label || '暂无';
-	};
-	// 搜索
-	const toChange = () => {
-		uni.navigateTo({
-			url: `/pagesHome/type/index`
-		})
-	};
-	// 分页
-	const toPage = () => {
-		if (total.value > list.value.length) {
-			uni.showLoading({
-				title: '加载中',
-				mask: true
-			})
-			page.value = page.value + 1;
-			skip.value = page.value * limit.value;
-			search();
-			uni.hideLoading();
-		} else is_bottom.value = true
-	};
-	// 清空列表
-	const clearPage = () => {
-		list.value = []
-		skip.value = 0
-		limit.value = 6
-		page.value = 0
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.top {
-			margin: 2vw;
-		}
-
-		.bottom {
-			position: relative;
-			flex-grow: 1;
-			background-color: var(--f9Color);
-
-			.list {
-				background-color: var(--mainColor);
-				border: 1px solid var(--f5Color);
-				padding: 2vw;
-				margin: 2vw 2vw 0 2vw;
-				border-radius: 5px;
-
-				.name {
-					font-size: var(--font16Size);
-					margin: 0 0 1vw 0;
-				}
-
-				.other {
-					font-size: var(--font14Size);
-
-					text:first-child {
-						color: var(--f85Color);
-					}
-				}
-			}
-		}
-	}
-
-	.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(--font12Size);
-		}
-	}
-</style>

+ 0 - 340
pagesMy/collect/index.vue

@@ -1,340 +0,0 @@
-<template>
-	<view class="content">
-		<view class="top">
-			<u-search shape="square" :show-action="false" placeholder="品牌/车系" @focus="toChange"></u-search>
-		</view>
-		<view class="bottom">
-			<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
-				<view class="list-scroll-view">
-					<view class="text" @tap="toDelete">
-						<u-icon name="trash" size="15"></u-icon>
-						<text>清理已失效的车辆</text>
-					</view>
-					<view class="list" v-for="(item, index) in list" :key="index" @tap="toView(item)">
-						<view class="left">
-							<image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''">
-							</image>
-						</view>
-						<view class="right">
-							<view class="name textOver">{{item.name||'暂无'}}</view>
-							<view class="other">
-								<text v-if="item.year">{{item.year||'暂无'}}| </text>
-								<text v-if="item.kilometer">{{item.kilometer||'暂无'}} | </text>
-								<text v-if="item.city">{{item.city||'暂无'}}</text>
-							</view>
-							<view class="right_1">
-								<view class="money">
-									<text>{{item.money||'0'}}</text>
-									<text>万</text>
-								</view>
-								<view>
-									<button @tap.stop="toChat(item)" class="button" size="mini"
-										type="default">询底价</button>
-								</view>
-							</view>
-						</view>
-					</view>
-					<view class="is_bottom" v-if="is_bottom">
-						<text>{{config.bottom_title||'没有更多了!'}}</text>
-					</view>
-				</view>
-			</scroll-view>
-		</view>
-	</view>
-</template>
-
-<script setup lang="ts">
-	import { getCurrentInstance, ref } from 'vue';
-	//该依赖已内置不需要单独安装
-	import { onLoad } from "@dcloudio/uni-app";
-	// 请求接口
-	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
-	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	// 基本信息
-	const config = ref({ logoUrl: [] });
-	// 列表
-	const list = ref([
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/1.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/2.jpg' }],
-			name: '捷豹XEL 2020款 2.0T 200PS S进取优雅版',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/3.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/4.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/5.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/6.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/7.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/8.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/9.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		},
-		{
-			id: '1',
-			file: [{ url: 'https://cdn.uviewui.com/uview/album/10.jpg' }],
-			name: '夏朗 2013款 1.8TSI 标配型 欧IV',
-			year: '2014年 ',
-			city: '丹东',
-			kilometer: '8万公里',
-			money: '7.80'
-		}]);
-	const total = ref(0);
-	const skip = ref(0);
-	const limit = ref(6);
-	const page = ref(0);
-	// 数据是否触底
-	const is_bottom = ref(false);
-	const scrollTop = ref(0);
-	onLoad(async () => {
-		await searchConfig();
-		await search();
-	})
-	// config信息
-	const searchConfig = async () => {
-		config.value = uni.getStorageSync('config');
-	};
-	// 查询
-	const search = async () => {
-		// const info = {
-		// 	skip: skip.value,
-		// 	limit: limit.value,
-		// 	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',
-		// 	});
-		// }
-	};
-	// 搜索
-	const toChange = () => {
-		uni.navigateTo({
-			url: `/pagesHome/type/index`
-		})
-	};
-	const toRoute = (item) => {
-		uni.navigateTo({
-			url: `/${item.route}`,
-		})
-	};
-	// 查看详情
-	const toView = (item) => {
-		uni.navigateTo({
-			url: `/pagesHome/car/index?id=${item.id || item._id}`
-		})
-	};
-	// 联系卖家
-	const toChat = (item) => {
-		uni.makePhoneCall({
-			phoneNumber: item.shop || '110',
-			success: function () {
-				console.log('拨打电话成功');
-			},
-			fail: function () {
-				uni.showToast({
-					title: '拨打电话失败',
-					icon: 'error',
-				});
-			}
-		});
-	};
-	// 清空失效数据
-	const toDelete = () => {
-		console.log('清空失效数据');
-	};
-	// 分页
-	const toPage = () => {
-		if (total.value > list.value.length) {
-			uni.showLoading({
-				title: '加载中',
-				mask: true
-			})
-			page.value = page.value + 1;
-			skip.value = page.value * limit.value;
-			search();
-			uni.hideLoading();
-		} else is_bottom.value = true
-	};
-	// 清空列表
-	const clearPage = () => {
-		list.value = []
-		skip.value = 0
-		limit.value = 6
-		page.value = 0
-	};
-</script>
-<style lang="scss" scoped>
-	.content {
-		display: flex;
-		flex-direction: column;
-		width: 100vw;
-		height: 100vh;
-
-		.top {
-			margin: 2vw;
-		}
-
-		.bottom {
-			position: relative;
-			flex-grow: 1;
-
-			.text {
-				display: flex;
-				justify-content: flex-end;
-				padding: 2vw;
-				font-size: var(--font14Size);
-				color: #606266;
-
-				text {
-					margin: 0 0 0 1vw;
-				}
-			}
-
-			.list {
-				display: flex;
-				margin: 1vw 0 0 0;
-				padding: 1vw;
-
-				.left {
-					.image {
-						width: 130px;
-						height: 100px;
-						border-radius: 2px;
-					}
-				}
-
-				.right {
-					display: flex;
-					flex-direction: column;
-					justify-content: space-between;
-					margin: 0 0 0 2vw;
-					width: 100%;
-
-					.name {
-						font-size: var(--font14Size);
-					}
-
-					.other {
-						color: var(--f85Color);
-						font-size: var(--font12Size);
-					}
-
-					.right_1 {
-						display: flex;
-						justify-content: space-between;
-						align-items: center;
-
-						.money {
-							color: var(--fF0Color);
-							font-size: var(--font12Size);
-
-							text:first-child {
-								font-size: var(--font18Size);
-							}
-						}
-
-						.button {
-							background-color: var(--fFFColor);
-						}
-					}
-				}
-			}
-		}
-	}
-
-	.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(--font12Size);
-		}
-	}
-</style>

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

@@ -9,21 +9,8 @@ if (!Math) {
   "./pages/home/index.js";
   "./pages/my/index.js";
   "./pagesHome/agree/index.js";
-  "./pagesHome/search/index.js";
-  "./pagesHome/brand/index.js";
-  "./pagesHome/city/index.js";
-  "./pagesHome/record/index.js";
-  "./pagesHome/sell/index.js";
-  "./pagesHome/rank/index.js";
-  "./pagesHome/condition/index.js";
-  "./pagesHome/car/index.js";
-  "./pagesHome/shop/index.js";
-  "./pagesHome/picture/index.js";
-  "./pagesHome/type/index.js";
   "./pagesHome/login/index.js";
   "./pagesMy/basic/index.js";
-  "./pagesMy/collect/index.js";
-  "./pagesMy/car/index.js";
 }
 const _sfc_main = {
   onLaunch: function() {

+ 1 - 14
unpackage/dist/dev/mp-weixin/app.json

@@ -9,26 +9,13 @@
       "root": "pagesHome",
       "pages": [
         "agree/index",
-        "search/index",
-        "brand/index",
-        "city/index",
-        "record/index",
-        "sell/index",
-        "rank/index",
-        "condition/index",
-        "car/index",
-        "shop/index",
-        "picture/index",
-        "type/index",
         "login/index"
       ]
     },
     {
       "root": "pagesMy",
       "pages": [
-        "basic/index",
-        "collect/index",
-        "car/index"
+        "basic/index"
       ]
     }
   ],

File diff ditekan karena terlalu besar
+ 561 - 2328
unpackage/dist/dev/mp-weixin/common/vendor.js


+ 0 - 332
unpackage/dist/dev/mp-weixin/components/slider-range/index.js

@@ -1,332 +0,0 @@
-"use strict";
-const common_vendor = require("../../common/vendor.js");
-const completeUnit = (val = 0, unit = "rpx") => {
-  if (isNaN(Number(val)))
-    return val;
-  return val + unit;
-};
-const multiplication = (val1, val2) => {
-  let dotIndex = String(val2).indexOf(".");
-  if (dotIndex != -1) {
-    let floatLength = String(val2).length - (dotIndex + 1);
-    return val1 * (val2 * Math.pow(10, floatLength)) / Math.pow(10, floatLength);
-  } else {
-    return val1 * val2;
-  }
-};
-const _sfc_main = {
-  name: "slider-range",
-  props: {
-    value: {
-      type: [Number, Array],
-      default: () => []
-    },
-    valueType: {
-      type: String,
-      default: "max"
-    },
-    min: {
-      type: Number,
-      default: 0
-    },
-    max: {
-      type: Number,
-      default: 100
-    },
-    step: {
-      type: Number,
-      default: 1
-    },
-    height: {
-      type: [Number, String],
-      default: 12
-    },
-    disabled: {
-      type: Boolean,
-      default: false
-    },
-    tips: {
-      type: Boolean,
-      default: true
-    },
-    scale: {
-      type: [Boolean, Object],
-      default: true
-    },
-    backgroundStyle: {
-      type: Object,
-      default: () => {
-        return { width: "100%" };
-      }
-    },
-    activeStyle: {
-      type: Object,
-      default: () => {
-        return {};
-      }
-    }
-  },
-  data() {
-    return {
-      // 两个值
-      firstValue: 0,
-      secondValue: 0,
-      // 两个滑点
-      firstBlock: {
-        show: true,
-        zIndex: 1
-      },
-      secondBlock: {
-        show: true,
-        zIndex: 2
-      },
-      // 滑动中
-      dragging: "",
-      // 刻度线设置
-      scaleInfo: {
-        show: true,
-        min: true,
-        max: true,
-        interval: "auto",
-        color: "#333",
-        tickColor: "#999",
-        fontSize: 22,
-        format: null
-      },
-      scaleLine: []
-    };
-  },
-  computed: {
-    getStep() {
-      if (this.max - this.min < this.step)
-        return this.max - this.min;
-      return this.step;
-    },
-    // 滑点坐标
-    getFirstBlockPosition() {
-      return (this.firstValue - this.min) / (this.max - this.min) * 100 + "%";
-    },
-    getSecondBlockPosition() {
-      return (this.secondValue - this.min) / (this.max - this.min) * 100 + "%";
-    },
-    // 背景条样式
-    getBackgroundStyle() {
-      return {
-        ...this.backgroundStyle,
-        height: completeUnit(this.height)
-      };
-    },
-    // 选中条样式
-    getActiveStyle() {
-      let min = Math.min(this.firstValue, this.secondValue);
-      let max = Math.max(this.firstValue, this.secondValue);
-      return {
-        ...this.activeStyle,
-        left: (min - this.min) / (this.max - this.min) * 100 + "%",
-        width: (max - min) / (this.max - this.min) * 100 + "%"
-      };
-    }
-  },
-  mounted() {
-    this.create();
-  },
-  methods: {
-    create() {
-      if (this.max <= this.min) {
-        throw "[slider-range] max 属性不应小于或等于 min 属性";
-      }
-      if (typeof this.value == "number") {
-        let value = this.value;
-        if (this.value > this.max)
-          value = this.max;
-        if (this.value < this.min)
-          value = this.min;
-        if (this.valueType == "max") {
-          this.firstBlock.show = false;
-          this.firstValue = this.min;
-          this.secondValue = value;
-        } else {
-          this.secondBlock.show = false;
-          this.secondValue = this.max;
-          this.firstValue = value;
-        }
-      } else {
-        let firstValue = this.value[0] || this.min;
-        if (firstValue > this.max)
-          firstValue = this.max;
-        if (firstValue < this.min)
-          firstValue = this.min;
-        let secondValue = this.value[1] || this.max;
-        if (secondValue > this.max)
-          secondValue = this.max;
-        if (secondValue < this.min)
-          secondValue = this.min;
-        this.firstValue = firstValue;
-        this.secondValue = secondValue;
-        this.firstBlock.show = true;
-        this.secondBlock.show = true;
-      }
-      if (typeof this.scale != "object") {
-        this.scaleInfo.show = !!this.scale;
-      } else {
-        this.scaleInfo = { ...this.scaleInfo, ...this.scale };
-      }
-      if (!this.scaleInfo.show)
-        return;
-      let interval = this.scaleInfo.interval;
-      let step = this.getStep > 0 ? this.getStep : 1;
-      if (typeof interval != "number") {
-        interval = Math.ceil((this.max - this.min) / step / 10);
-      } else {
-        interval = interval + 1;
-      }
-      let cumsum = this.min;
-      let arr = [];
-      while (cumsum <= this.max) {
-        arr.push({
-          value: cumsum,
-          label: cumsum,
-          color: this.scaleInfo.color,
-          fontSize: completeUnit(this.scaleInfo.fontSize),
-          tickColor: this.scaleInfo.tickColor,
-          left: (cumsum - this.min) / (this.max - this.min) * 100 + "%"
-        });
-        cumsum = cumsum + multiplication(interval, step);
-      }
-      if (arr[0].value == this.min && !this.scaleInfo.min)
-        arr = arr.slice(1);
-      if (arr[arr.length - 1].value == this.max && !this.scaleInfo.max)
-        arr = arr.slice(0, arr.length - 1);
-      if (arr[arr.length - 1].value != this.max && this.scaleInfo.max)
-        arr.push({
-          value: this.max,
-          label: this.max,
-          color: this.scaleInfo.color,
-          fontSize: completeUnit(this.scaleInfo.fontSize),
-          tickColor: this.scaleInfo.tickColor,
-          left: "100%"
-        });
-      let format = this.scaleInfo.format;
-      if (typeof format == "function") {
-        arr = arr.map((item, index) => {
-          return format(item, index);
-        });
-      }
-      this.scaleLine = [...arr];
-      this.$forceUpdate();
-    },
-    onTouchStart(e) {
-      if (this.disabled)
-        return;
-      this.dragging = e.currentTarget.dataset.sort;
-      e.currentTarget.dataset.sort == "firstBlock" ? this.firstBlock.zIndex = this.secondBlock.zIndex + 1 : this.secondBlock.zIndex = this.firstBlock.zIndex + 1;
-      this.startDragPostion = e.changedTouches ? e.changedTouches[0].pageX : e.pageX;
-      this.startValue = e.currentTarget.dataset.sort == "firstBlock" ? this.firstValue : this.secondValue;
-      this.$emit("start", {
-        block: e.currentTarget.dataset.sort,
-        value: this.startValue,
-        values: [Math.min(this.firstValue, this.secondValue), Math.max(this.firstValue, this.secondValue)]
-      });
-    },
-    onTouchMove(e) {
-      if (this.disabled)
-        return;
-      this.onDrag(e);
-    },
-    onTouchEnd(e) {
-      this.dragging = "";
-      if (this.disabled)
-        return;
-      this.onDrag(e, true);
-    },
-    onDrag(e, end = false) {
-      let pageX = e.changedTouches ? e.changedTouches[0].pageX : e.pageX;
-      let view = common_vendor.index.createSelectorQuery().in(this).select(".block-bar");
-      view.boundingClientRect((data) => {
-        let diff = (pageX - this.startDragPostion) / data.width * (this.max - this.min);
-        this.onUpdateValue(this.startValue + diff, e.currentTarget.dataset.sort, end);
-      }).exec();
-    },
-    onUpdateValue(value, sort, end = false) {
-      if (value < this.min)
-        value = this.min;
-      if (value > this.max)
-        value = this.max;
-      if (this.getStep > 0 && value != this.min && value != this.max) {
-        value = this.min + multiplication(Math.round((value - this.min) / this.getStep), this.getStep);
-      } else {
-        value = Number(value.toFixed(2));
-      }
-      if (sort == "firstBlock") {
-        this.firstValue = value;
-      } else {
-        this.secondValue = value;
-      }
-      this.$emit("change", {
-        firstValue: this.firstValue,
-        secondValue: this.secondValue,
-        values: [Math.min(this.firstValue, this.secondValue), Math.max(this.firstValue, this.secondValue)]
-      });
-      if (end) {
-        this.$emit("end", {
-          block: sort,
-          value,
-          values: [Math.min(this.firstValue, this.secondValue), Math.max(this.firstValue, this.secondValue)]
-        });
-      }
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: $data.scaleInfo.show
-  }, $data.scaleInfo.show ? {
-    b: common_vendor.f($data.scaleLine, (scaleItem, scaleIndex, i0) => {
-      return {
-        a: common_vendor.t(scaleItem.label),
-        b: scaleItem.tickColor,
-        c: scaleIndex,
-        d: scaleItem.left,
-        e: scaleItem.color,
-        f: scaleItem.fontSize
-      };
-    })
-  } : {}, {
-    c: $props.tips
-  }, $props.tips ? common_vendor.e({
-    d: $data.dragging == "firstBlock"
-  }, $data.dragging == "firstBlock" ? {
-    e: common_vendor.t($data.firstValue),
-    f: $options.getFirstBlockPosition,
-    g: $data.firstBlock.zIndex
-  } : {}, {
-    h: $data.dragging == "secondBlock"
-  }, $data.dragging == "secondBlock" ? {
-    i: common_vendor.t($data.secondValue),
-    j: $options.getSecondBlockPosition,
-    k: $data.secondBlock.zIndex
-  } : {}) : {}, {
-    l: common_vendor.s($options.getActiveStyle),
-    m: common_vendor.s($options.getBackgroundStyle),
-    n: $data.firstBlock.show
-  }, $data.firstBlock.show ? {
-    o: $options.getFirstBlockPosition,
-    p: $data.firstBlock.zIndex,
-    q: common_vendor.o((...args) => $options.onTouchStart && $options.onTouchStart(...args)),
-    r: common_vendor.o((...args) => $options.onTouchMove && $options.onTouchMove(...args)),
-    s: common_vendor.o((...args) => $options.onTouchEnd && $options.onTouchEnd(...args))
-  } : {}, {
-    t: $data.secondBlock.show
-  }, $data.secondBlock.show ? {
-    v: $options.getSecondBlockPosition,
-    w: $data.secondBlock.zIndex,
-    x: common_vendor.o((...args) => $options.onTouchStart && $options.onTouchStart(...args)),
-    y: common_vendor.o((...args) => $options.onTouchMove && $options.onTouchMove(...args)),
-    z: common_vendor.o((...args) => $options.onTouchEnd && $options.onTouchEnd(...args))
-  } : {}, {
-    A: $props.disabled ? 1 : "",
-    B: $props.tips || $data.scaleInfo.show ? 1 : ""
-  });
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d6b6bfbf"], ["__file", "D:/project/赋强公证/notarization_applet/components/slider-range/index.vue"]]);
-wx.createComponent(Component);

+ 0 - 4
unpackage/dist/dev/mp-weixin/components/slider-range/index.json

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/components/slider-range/index.wxml


File diff ditekan karena terlalu besar
+ 0 - 113
unpackage/dist/dev/mp-weixin/components/slider-range/index.wxss


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

@@ -1,164 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-album",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14],
-  data() {
-    return {
-      // 单图的宽度
-      singleWidth: 0,
-      // 单图的高度
-      singleHeight: 0,
-      // 单图时,如果无法获取图片的尺寸信息,让图片宽度默认为容器的一定百分比
-      singlePercent: 0.6
-    };
-  },
-  watch: {
-    urls: {
-      immediate: true,
-      handler(newVal) {
-        if (newVal.length === 1) {
-          this.getImageRect();
-        }
-      }
-    }
-  },
-  emits: ["albumWidth"],
-  computed: {
-    imageStyle() {
-      return (index1, index2) => {
-        const { space, rowCount, multipleSize, urls } = this, { addUnit, addStyle } = common_vendor.index.$u, rowLen = this.showUrls.length;
-        this.urls.length;
-        const style = {
-          marginRight: addUnit(space),
-          marginBottom: addUnit(space)
-        };
-        if (index1 === rowLen)
-          style.marginBottom = 0;
-        if (index2 === rowCount || index1 === rowLen && index2 === this.showUrls[index1 - 1].length)
-          style.marginRight = 0;
-        return style;
-      };
-    },
-    // 将数组划分为二维数组
-    showUrls() {
-      const arr = [];
-      this.urls.map((item, index) => {
-        if (index + 1 <= this.maxCount) {
-          const itemIndex = Math.floor(index / this.rowCount);
-          if (!arr[itemIndex]) {
-            arr[itemIndex] = [];
-          }
-          arr[itemIndex].push(item);
-        }
-      });
-      return arr;
-    },
-    imageWidth() {
-      return common_vendor.index.$u.addUnit(
-        this.urls.length === 1 ? this.singleWidth : this.multipleSize
-      );
-    },
-    imageHeight() {
-      return common_vendor.index.$u.addUnit(
-        this.urls.length === 1 ? this.singleHeight : this.multipleSize
-      );
-    },
-    // 此变量无实际用途,仅仅是为了利用computed特性,让其在urls长度等变化时,重新计算图片的宽度
-    // 因为用户在某些特殊的情况下,需要让文字与相册的宽度相等,所以这里事件的形式对外发送
-    albumWidth() {
-      let width = 0;
-      if (this.urls.length === 1) {
-        width = this.singleWidth;
-      } else {
-        width = this.showUrls[0].length * this.multipleSize + this.space * (this.showUrls[0].length - 1);
-      }
-      this.$emit("albumWidth", width);
-      return width;
-    }
-  },
-  methods: {
-    // 预览图片
-    onPreviewTap(url) {
-      const urls = this.urls.map((item) => {
-        return this.getSrc(item);
-      });
-      common_vendor.index.previewImage({
-        current: url,
-        urls
-      });
-    },
-    // 获取图片的路径
-    getSrc(item) {
-      return common_vendor.index.$u.test.object(item) ? this.keyName && item[this.keyName] || item.src : item;
-    },
-    // 单图时,获取图片的尺寸
-    // 在小程序中,需要将网络图片的的域名添加到小程序的download域名才可能获取尺寸
-    // 在没有添加的情况下,让单图宽度默认为盒子的一定宽度(singlePercent)
-    getImageRect() {
-      const src = this.getSrc(this.urls[0]);
-      common_vendor.index.getImageInfo({
-        src,
-        success: (res) => {
-          const isHorizotal = res.width >= res.height;
-          this.singleWidth = isHorizotal ? this.singleSize : res.width / res.height * this.singleSize;
-          this.singleHeight = !isHorizotal ? this.singleSize : res.height / res.width * this.singleWidth;
-        },
-        fail: () => {
-          this.getComponentWidth();
-        }
-      });
-    },
-    // 获取组件的宽度
-    async getComponentWidth() {
-      await common_vendor.index.$u.sleep(30);
-      this.$uGetRect(".u-album__row").then((size) => {
-        this.singleWidth = size.width * this.singlePercent;
-      });
-    }
-  }
-};
-if (!Array) {
-  const _easycom_u__text2 = common_vendor.resolveComponent("u--text");
-  _easycom_u__text2();
-}
-const _easycom_u__text = () => "../u-text/u-text.js";
-if (!Math) {
-  _easycom_u__text();
-}
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return {
-    a: common_vendor.f($options.showUrls, (arr, index, i0) => {
-      return {
-        a: common_vendor.f(arr, (item, index1, i1) => {
-          return common_vendor.e({
-            a: $options.getSrc(item),
-            b: _ctx.showMore && _ctx.urls.length > _ctx.rowCount * $options.showUrls.length && index === $options.showUrls.length - 1 && index1 === $options.showUrls[$options.showUrls.length - 1].length - 1
-          }, _ctx.showMore && _ctx.urls.length > _ctx.rowCount * $options.showUrls.length && index === $options.showUrls.length - 1 && index1 === $options.showUrls[$options.showUrls.length - 1].length - 1 ? {
-            c: "6fcabaad-0-" + i0 + "-" + i1,
-            d: common_vendor.p({
-              text: `+${_ctx.urls.length - _ctx.maxCount}`,
-              color: "#fff",
-              size: _ctx.multipleSize * 0.3,
-              align: "center",
-              customStyle: "justify-content: center"
-            })
-          } : {}, {
-            e: index1,
-            f: common_vendor.s($options.imageStyle(index + 1, index1 + 1)),
-            g: common_vendor.o(($event) => _ctx.previewFullImage ? $options.onPreviewTap($options.getSrc(item)) : "", index1)
-          });
-        }),
-        b: index
-      };
-    }),
-    b: _ctx.urls.length === 1 ? $options.imageHeight > 0 ? _ctx.singleMode : "widthFix" : _ctx.multipleMode,
-    c: common_vendor.s({
-      width: $options.imageWidth,
-      height: $options.imageHeight
-    }),
-    d: $options.albumWidth
-  };
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6fcabaad"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-album/u-album.vue"]]);
-wx.createComponent(Component);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-album/u-album.wxml


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

@@ -1,45 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-6fcabaad, scroll-view.data-v-6fcabaad, swiper-item.data-v-6fcabaad {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-album.data-v-6fcabaad {
-
-  display: flex;
-
-  flex-direction: column;
-}
-.u-album__row.data-v-6fcabaad {
-
-  display: flex;
-
-  flex-direction: row;
-  flex-wrap: wrap;
-}
-.u-album__row__wrapper.data-v-6fcabaad {
-  position: relative;
-}
-.u-album__row__wrapper__text.data-v-6fcabaad {
-  position: absolute;
-  top: 0;
-  left: 0;
-  right: 0;
-  bottom: 0;
-  background-color: rgba(0, 0, 0, 0.3);
-
-  display: flex;
-
-  flex-direction: row;
-  justify-content: center;
-  align-items: center;
-}

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

@@ -1,193 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-button",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.button, common_vendor.openType, common_vendor.props$11],
-  data() {
-    return {};
-  },
-  computed: {
-    // 生成bem风格的类名
-    bemClass() {
-      if (!this.color) {
-        return this.bem(
-          "button",
-          ["type", "shape", "size"],
-          ["disabled", "plain", "hairline"]
-        );
-      } else {
-        return this.bem(
-          "button",
-          ["shape", "size"],
-          ["disabled", "plain", "hairline"]
-        );
-      }
-    },
-    loadingColor() {
-      if (this.plain) {
-        return this.color ? this.color : common_vendor.index.$u.config.color[`u-${this.type}`];
-      }
-      if (this.type === "info") {
-        return "#c9c9c9";
-      }
-      return "rgb(200, 200, 200)";
-    },
-    iconColorCom() {
-      if (this.iconColor)
-        return this.iconColor;
-      if (this.plain) {
-        return this.color ? this.color : this.type;
-      } else {
-        return this.type === "info" ? "#000000" : "#ffffff";
-      }
-    },
-    baseColor() {
-      let style = {};
-      if (this.color) {
-        style.color = this.plain ? this.color : "white";
-        if (!this.plain) {
-          style["background-color"] = this.color;
-        }
-        if (this.color.indexOf("gradient") !== -1) {
-          style.borderTopWidth = 0;
-          style.borderRightWidth = 0;
-          style.borderBottomWidth = 0;
-          style.borderLeftWidth = 0;
-          if (!this.plain) {
-            style.backgroundImage = this.color;
-          }
-        } else {
-          style.borderColor = this.color;
-          style.borderWidth = "1px";
-          style.borderStyle = "solid";
-        }
-      }
-      return style;
-    },
-    // nvue版本按钮的字体不会继承父组件的颜色,需要对每一个text组件进行单独的设置
-    nvueTextStyle() {
-      let style = {};
-      if (this.type === "info") {
-        style.color = "#323233";
-      }
-      if (this.color) {
-        style.color = this.plain ? this.color : "white";
-      }
-      style.fontSize = this.textSize + "px";
-      return style;
-    },
-    // 字体大小
-    textSize() {
-      let fontSize = 14, { size } = this;
-      if (size === "large")
-        fontSize = 16;
-      if (size === "normal")
-        fontSize = 14;
-      if (size === "small")
-        fontSize = 12;
-      if (size === "mini")
-        fontSize = 10;
-      return fontSize;
-    }
-  },
-  emits: [
-    "click",
-    "getphonenumber",
-    "getuserinfo",
-    "error",
-    "opensetting",
-    "launchapp"
-  ],
-  methods: {
-    clickHandler() {
-      if (!this.disabled && !this.loading) {
-        common_vendor.index.$u.throttle(() => {
-          this.$emit("click");
-        }, this.throttleTime);
-      }
-    },
-    // 下面为对接uniapp官方按钮开放能力事件回调的对接
-    getphonenumber(res) {
-      this.$emit("getphonenumber", res);
-    },
-    getuserinfo(res) {
-      this.$emit("getuserinfo", res);
-    },
-    error(res) {
-      this.$emit("error", res);
-    },
-    opensetting(res) {
-      this.$emit("opensetting", res);
-    },
-    launchapp(res) {
-      this.$emit("launchapp", res);
-    }
-  }
-};
-if (!Array) {
-  const _easycom_u_loading_icon2 = common_vendor.resolveComponent("u-loading-icon");
-  const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
-  (_easycom_u_loading_icon2 + _easycom_u_icon2)();
-}
-const _easycom_u_loading_icon = () => "../u-loading-icon/u-loading-icon.js";
-const _easycom_u_icon = () => "../u-icon/u-icon.js";
-if (!Math) {
-  (_easycom_u_loading_icon + _easycom_u_icon)();
-}
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: _ctx.loading
-  }, _ctx.loading ? {
-    b: common_vendor.p({
-      mode: _ctx.loadingMode,
-      size: _ctx.loadingSize * 1.15,
-      color: $options.loadingColor
-    }),
-    c: common_vendor.t(_ctx.loadingText || _ctx.text),
-    d: common_vendor.s({
-      fontSize: $options.textSize + "px"
-    })
-  } : common_vendor.e({
-    e: _ctx.icon
-  }, _ctx.icon ? {
-    f: common_vendor.p({
-      name: _ctx.icon,
-      color: $options.iconColorCom,
-      size: $options.textSize * 1.35,
-      customStyle: {
-        marginRight: "2px"
-      }
-    })
-  } : {}, {
-    g: common_vendor.t(_ctx.text),
-    h: common_vendor.s({
-      fontSize: $options.textSize + "px"
-    })
-  }), {
-    i: Number(_ctx.hoverStartTime),
-    j: Number(_ctx.hoverStayTime),
-    k: _ctx.formType,
-    l: _ctx.openType,
-    m: _ctx.appParameter,
-    n: _ctx.hoverStopPropagation,
-    o: _ctx.sendMessageTitle,
-    p: _ctx.sendMessagePath,
-    q: _ctx.lang,
-    r: _ctx.dataName,
-    s: _ctx.sessionFrom,
-    t: _ctx.sendMessageImg,
-    v: _ctx.showMessageCard,
-    w: common_vendor.o((...args) => $options.getphonenumber && $options.getphonenumber(...args)),
-    x: common_vendor.o((...args) => $options.getuserinfo && $options.getuserinfo(...args)),
-    y: common_vendor.o((...args) => $options.error && $options.error(...args)),
-    z: common_vendor.o((...args) => $options.opensetting && $options.opensetting(...args)),
-    A: common_vendor.o((...args) => $options.launchapp && $options.launchapp(...args)),
-    B: !_ctx.disabled && !_ctx.loading ? "u-button--active" : "",
-    C: common_vendor.s($options.baseColor),
-    D: common_vendor.s(_ctx.$u.addStyle(_ctx.customStyle)),
-    E: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args)),
-    F: common_vendor.n($options.bemClass)
-  });
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-461e713c"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-button/u-button.vue"]]);
-wx.createComponent(Component);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml


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

@@ -1,165 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-461e713c, scroll-view.data-v-461e713c, swiper-item.data-v-461e713c {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-button.data-v-461e713c {
-  width: 100%;
-}
-.u-button__text.data-v-461e713c {
-  white-space: nowrap;
-  line-height: 1;
-}
-.u-button.data-v-461e713c:before {
-  position: absolute;
-  top: 50%;
-  left: 50%;
-  width: 100%;
-  height: 100%;
-  border: inherit;
-  border-radius: inherit;
-  transform: translate(-50%, -50%);
-  opacity: 0;
-  content: " ";
-  background-color: #000;
-  border-color: #000;
-}
-.u-button--active.data-v-461e713c:before {
-  opacity: 0.15;
-}
-.u-button__icon + .u-button__text.data-v-461e713c:not(:empty), .u-button__loading-text.data-v-461e713c {
-  margin-left: 4px;
-}
-.u-button--plain.u-button--primary.data-v-461e713c {
-  color: #3c9cff;
-}
-.u-button--plain.u-button--info.data-v-461e713c {
-  color: #909399;
-}
-.u-button--plain.u-button--success.data-v-461e713c {
-  color: #5ac725;
-}
-.u-button--plain.u-button--error.data-v-461e713c {
-  color: #f56c6c;
-}
-.u-button--plain.u-button--warning.data-v-461e713c {
-  color: #f56c6c;
-}
-.u-button.data-v-461e713c {
-  height: 40px;
-  position: relative;
-  align-items: center;
-  justify-content: center;
-
-  display: flex;
-
-  flex-direction: row;
-  box-sizing: border-box;
-  flex-direction: row;
-}
-.u-button__text.data-v-461e713c {
-  font-size: 15px;
-}
-.u-button__loading-text.data-v-461e713c {
-  font-size: 15px;
-  margin-left: 4px;
-}
-.u-button--large.data-v-461e713c {
-  width: 100%;
-  height: 50px;
-  padding: 0 15px;
-}
-.u-button--normal.data-v-461e713c {
-  padding: 0 12px;
-  font-size: 14px;
-}
-.u-button--small.data-v-461e713c {
-  min-width: 60px;
-  height: 30px;
-  padding: 0px 8px;
-  font-size: 12px;
-}
-.u-button--mini.data-v-461e713c {
-  height: 22px;
-  font-size: 10px;
-  min-width: 50px;
-  padding: 0px 8px;
-}
-.u-button--disabled.data-v-461e713c {
-  opacity: 0.5;
-}
-.u-button--info.data-v-461e713c {
-  color: #323233;
-  background-color: #fff;
-  border-color: #ebedf0;
-  border-width: 1px;
-  border-style: solid;
-}
-.u-button--success.data-v-461e713c {
-  color: #fff;
-  background-color: #5ac725;
-  border-color: #5ac725;
-  border-width: 1px;
-  border-style: solid;
-}
-.u-button--primary.data-v-461e713c {
-  color: #fff;
-  background-color: #3c9cff;
-  border-color: #3c9cff;
-  border-width: 1px;
-  border-style: solid;
-}
-.u-button--error.data-v-461e713c {
-  color: #fff;
-  background-color: #f56c6c;
-  border-color: #f56c6c;
-  border-width: 1px;
-  border-style: solid;
-}
-.u-button--warning.data-v-461e713c {
-  color: #fff;
-  background-color: #f9ae3d;
-  border-color: #f9ae3d;
-  border-width: 1px;
-  border-style: solid;
-}
-.u-button--block.data-v-461e713c {
-
-  display: flex;
-
-  flex-direction: row;
-  width: 100%;
-}
-.u-button--circle.data-v-461e713c {
-  border-top-right-radius: 100px;
-  border-top-left-radius: 100px;
-  border-bottom-left-radius: 100px;
-  border-bottom-right-radius: 100px;
-}
-.u-button--square.data-v-461e713c {
-  border-bottom-left-radius: 3px;
-  border-bottom-right-radius: 3px;
-  border-top-left-radius: 3px;
-  border-top-right-radius: 3px;
-}
-.u-button__icon.data-v-461e713c {
-  min-width: 1em;
-  line-height: inherit !important;
-  vertical-align: top;
-}
-.u-button--plain.data-v-461e713c {
-  background-color: #fff;
-}
-.u-button--hairline.data-v-461e713c {
-  border-width: 0.5px !important;
-}

+ 0 - 103
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.js

@@ -1,103 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
-  watch: {
-    text: {
-      immediate: true,
-      handler(newValue, oldValue) {
-        if (!common_vendor.index.$u.test.array(newValue)) {
-          common_vendor.index.$u.error("noticebar组件direction为column时,要求text参数为数组形式");
-        }
-      }
-    }
-  },
-  computed: {
-    // 文字内容的样式
-    textStyle() {
-      let style = {};
-      style.color = this.color;
-      style.fontSize = common_vendor.index.$u.addUnit(this.fontSize);
-      return style;
-    },
-    // 垂直或者水平滚动
-    vertical() {
-      if (this.mode == "horizontal")
-        return false;
-      else
-        return true;
-    }
-  },
-  data() {
-    return {
-      index: 0
-    };
-  },
-  emits: ["click", "close"],
-  methods: {
-    noticeChange(e) {
-      this.index = e.detail.current;
-    },
-    // 点击通告栏
-    clickHandler() {
-      this.$emit("click", this.index);
-    },
-    // 点击关闭按钮
-    close() {
-      this.$emit("close");
-    }
-  }
-};
-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.icon
-  }, _ctx.icon ? {
-    b: common_vendor.p({
-      name: _ctx.icon,
-      color: _ctx.color,
-      size: "19"
-    })
-  } : {}, {
-    c: common_vendor.f(_ctx.text, (item, index, i0) => {
-      return {
-        a: common_vendor.t(item),
-        b: index
-      };
-    }),
-    d: common_vendor.s($options.textStyle),
-    e: _ctx.disableTouch,
-    f: _ctx.step ? false : true,
-    g: _ctx.duration,
-    h: common_vendor.o((...args) => $options.noticeChange && $options.noticeChange(...args)),
-    i: ["link", "closable"].includes(_ctx.mode)
-  }, ["link", "closable"].includes(_ctx.mode) ? common_vendor.e({
-    j: _ctx.mode === "link"
-  }, _ctx.mode === "link" ? {
-    k: common_vendor.p({
-      name: "arrow-right",
-      size: 17,
-      color: _ctx.color
-    })
-  } : {}, {
-    l: _ctx.mode === "closable"
-  }, _ctx.mode === "closable" ? {
-    m: common_vendor.o($options.close),
-    n: common_vendor.p({
-      name: "close",
-      size: 16,
-      color: _ctx.color
-    })
-  } : {}) : {}, {
-    o: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args))
-  });
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6c9dce4e"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-column-notice/u-column-notice.vue"]]);
-wx.createComponent(Component);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.wxml


+ 0 - 52
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-column-notice/u-column-notice.wxss

@@ -1,52 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-6c9dce4e, scroll-view.data-v-6c9dce4e, swiper-item.data-v-6c9dce4e {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-notice.data-v-6c9dce4e {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  justify-content: space-between;
-}
-.u-notice__left-icon.data-v-6c9dce4e {
-  align-items: center;
-  margin-right: 5px;
-}
-.u-notice__right-icon.data-v-6c9dce4e {
-  margin-left: 5px;
-  align-items: center;
-}
-.u-notice__swiper.data-v-6c9dce4e {
-  height: 16px;
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  flex: 1;
-}
-.u-notice__swiper__item.data-v-6c9dce4e {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  overflow: hidden;
-}
-.u-notice__swiper__item__text.data-v-6c9dce4e {
-  font-size: 14px;
-  color: #f9ae3d;
-}

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

@@ -1,75 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-divider",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
-  computed: {
-    textStyle() {
-      const style = {};
-      style.fontSize = common_vendor.index.$u.addUnit(this.textSize);
-      style.color = this.textColor;
-      return style;
-    },
-    // 左边线条的的样式
-    leftLineStyle() {
-      const style = {};
-      if (this.textPosition === "left") {
-        style.width = "80rpx";
-      } else {
-        style.flex = 1;
-      }
-      return style;
-    },
-    // 右边线条的的样式
-    rightLineStyle() {
-      const style = {};
-      if (this.textPosition === "right") {
-        style.width = "80rpx";
-      } else {
-        style.flex = 1;
-      }
-      return style;
-    }
-  },
-  emits: ["click"],
-  methods: {
-    // divider组件被点击时触发
-    click() {
-      this.$emit("click");
-    }
-  }
-};
-if (!Array) {
-  const _easycom_u_line2 = common_vendor.resolveComponent("u-line");
-  _easycom_u_line2();
-}
-const _easycom_u_line = () => "../u-line/u-line.js";
-if (!Math) {
-  _easycom_u_line();
-}
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: common_vendor.p({
-      color: _ctx.lineColor,
-      customStyle: $options.leftLineStyle,
-      hairline: _ctx.hairline,
-      dashed: _ctx.dashed
-    }),
-    b: _ctx.dot
-  }, _ctx.dot ? {} : _ctx.text ? {
-    d: common_vendor.t(_ctx.text),
-    e: common_vendor.s($options.textStyle)
-  } : {}, {
-    c: _ctx.text,
-    f: common_vendor.p({
-      color: _ctx.lineColor,
-      customStyle: $options.rightLineStyle,
-      hairline: _ctx.hairline,
-      dashed: _ctx.dashed
-    }),
-    g: common_vendor.s(_ctx.$u.addStyle(_ctx.customStyle)),
-    h: common_vendor.o((...args) => $options.click && $options.click(...args))
-  });
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-363a2c1a"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-divider/u-divider.vue"]]);
-wx.createComponent(Component);

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

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

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-divider/u-divider.wxml

@@ -1 +0,0 @@
-<view class="u-divider data-v-363a2c1a" style="{{g}}" bindtap="{{h}}"><u-line wx:if="{{a}}" class="data-v-363a2c1a" u-i="363a2c1a-0" bind:__l="__l" u-p="{{a}}"></u-line><text wx:if="{{b}}" class="u-divider__dot data-v-363a2c1a">●</text><text wx:elif="{{c}}" class="u-divider__text data-v-363a2c1a" style="{{e}}">{{d}}</text><u-line wx:if="{{f}}" class="data-v-363a2c1a" u-i="363a2c1a-1" bind:__l="__l" u-p="{{f}}"></u-line></view>

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

@@ -1,32 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-363a2c1a, scroll-view.data-v-363a2c1a, swiper-item.data-v-363a2c1a {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-divider.data-v-363a2c1a {
-
-  display: flex;
-
-  flex-direction: row;
-  flex-direction: row;
-  align-items: center;
-  margin: 15px 0;
-}
-.u-divider__text.data-v-363a2c1a {
-  margin: 0 15px;
-}
-.u-divider__dot.data-v-363a2c1a {
-  font-size: 12px;
-  margin: 0 12px;
-  color: #c0c4cc;
-}

+ 0 - 113
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.js

@@ -1,113 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-form-item",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8],
-  data() {
-    return {
-      // 错误提示语
-      message: "",
-      parentData: {
-        // 提示文本的位置
-        labelPosition: "left",
-        // 提示文本对齐方式
-        labelAlign: "left",
-        // 提示文本的样式
-        labelStyle: {},
-        // 提示文本的宽度
-        labelWidth: 45,
-        // 错误提示方式
-        errorType: "message"
-      }
-    };
-  },
-  // 组件创建完成时,将当前实例保存到u-form中
-  computed: {
-    propsLine() {
-      return common_vendor.index.$u.props.line;
-    }
-  },
-  mounted() {
-    this.init();
-  },
-  emits: ["click"],
-  methods: {
-    init() {
-      this.updateParentData();
-      if (!this.parent) {
-        common_vendor.index.$u.error("u-form-item需要结合u-form组件使用");
-      }
-    },
-    // 获取父组件的参数
-    updateParentData() {
-      this.getParentData("u-form");
-    },
-    // 移除u-form-item的校验结果
-    clearValidate() {
-      this.message = null;
-    },
-    // 清空当前的组件的校验结果,并重置为初始值
-    resetField() {
-      const value = common_vendor.index.$u.getProperty(this.parent.originalModel, this.prop);
-      common_vendor.index.$u.setProperty(this.parent.model, this.prop, value);
-      this.message = null;
-    },
-    // 点击组件
-    clickHandler() {
-      this.$emit("click");
-    }
-  }
-};
-if (!Array) {
-  const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
-  const _easycom_u_line2 = common_vendor.resolveComponent("u-line");
-  (_easycom_u_icon2 + _easycom_u_line2)();
-}
-const _easycom_u_icon = () => "../u-icon/u-icon.js";
-const _easycom_u_line = () => "../u-line/u-line.js";
-if (!Math) {
-  (_easycom_u_icon + _easycom_u_line)();
-}
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: _ctx.required || _ctx.leftIcon || _ctx.label
-  }, _ctx.required || _ctx.leftIcon || _ctx.label ? common_vendor.e({
-    b: _ctx.required
-  }, _ctx.required ? {} : {}, {
-    c: _ctx.leftIcon
-  }, _ctx.leftIcon ? {
-    d: common_vendor.p({
-      name: _ctx.leftIcon,
-      ["custom-style"]: _ctx.leftIconStyle
-    })
-  } : {}, {
-    e: common_vendor.t(_ctx.label),
-    f: common_vendor.s($data.parentData.labelStyle),
-    g: common_vendor.s({
-      justifyContent: $data.parentData.labelAlign === "left" ? "flex-start" : $data.parentData.labelAlign === "center" ? "center" : "flex-end"
-    }),
-    h: _ctx.$u.addUnit(_ctx.labelWidth || $data.parentData.labelWidth),
-    i: $data.parentData.labelPosition === "left" ? 0 : "5px"
-  }) : {}, {
-    j: _ctx.$slots.right
-  }, _ctx.$slots.right ? {} : {}, {
-    k: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args)),
-    l: common_vendor.s(_ctx.$u.addStyle(_ctx.customStyle)),
-    m: common_vendor.s({
-      flexDirection: $data.parentData.labelPosition === "left" ? "row" : "column"
-    }),
-    n: !!$data.message && $data.parentData.errorType === "message"
-  }, !!$data.message && $data.parentData.errorType === "message" ? {
-    o: common_vendor.t($data.message),
-    p: _ctx.$u.addUnit($data.parentData.labelPosition === "top" ? 0 : _ctx.labelWidth || $data.parentData.labelWidth)
-  } : {}, {
-    q: _ctx.borderBottom
-  }, _ctx.borderBottom ? {
-    r: common_vendor.p({
-      color: $data.message && $data.parentData.errorType === "border-bottom" ? _ctx.$u.color.error : $options.propsLine.color,
-      customStyle: `margin-top: ${$data.message && $data.parentData.errorType === "message" ? "5px" : 0}`
-    })
-  } : {});
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b4fd400b"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-form-item/u-form-item.vue"]]);
-wx.createComponent(Component);

+ 0 - 7
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.json

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.wxml


+ 0 - 92
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form-item/u-form-item.wxss

@@ -1,92 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-b4fd400b, scroll-view.data-v-b4fd400b, swiper-item.data-v-b4fd400b {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-form-item.data-v-b4fd400b {
-
-  display: flex;
-
-  flex-direction: column;
-  font-size: 14px;
-  color: #303133;
-}
-.u-form-item__body.data-v-b4fd400b {
-
-  display: flex;
-
-  flex-direction: row;
-  padding: 10px 0;
-}
-.u-form-item__body__left.data-v-b4fd400b {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-}
-.u-form-item__body__left__content.data-v-b4fd400b {
-  position: relative;
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  padding-right: 10rpx;
-  flex: 1;
-}
-.u-form-item__body__left__content__icon.data-v-b4fd400b {
-  margin-right: 8rpx;
-}
-.u-form-item__body__left__content__required.data-v-b4fd400b {
-  position: absolute;
-  left: -9px;
-  color: #f56c6c;
-  line-height: 20px;
-  font-size: 20px;
-  top: 3px;
-}
-.u-form-item__body__left__content__label.data-v-b4fd400b {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  flex: 1;
-  color: #303133;
-  font-size: 15px;
-}
-.u-form-item__body__right.data-v-b4fd400b {
-  flex: 1;
-}
-.u-form-item__body__right__content.data-v-b4fd400b {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  flex: 1;
-}
-.u-form-item__body__right__content__slot.data-v-b4fd400b {
-  flex: 1;
-}
-.u-form-item__body__right__content__icon.data-v-b4fd400b {
-  margin-left: 10rpx;
-  color: #c0c4cc;
-  font-size: 30rpx;
-}
-.u-form-item__body__right__message.data-v-b4fd400b {
-  font-size: 12px;
-  line-height: 12px;
-  color: #f56c6c;
-}

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

@@ -1,170 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-common_vendor.Schema.warning = function() {
-};
-const _sfc_main = {
-  name: "u-form",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
-  provide() {
-    return {
-      uForm: this
-    };
-  },
-  data() {
-    return {
-      formRules: {},
-      // 规则校验器
-      validator: {},
-      // 原始的model快照,用于resetFields方法重置表单时使用
-      originalModel: null
-    };
-  },
-  watch: {
-    // 监听规则的变化
-    rules: {
-      immediate: true,
-      handler(n) {
-        this.setRules(n);
-      }
-    },
-    // 监听属性的变化,通知子组件u-form-item重新获取信息
-    propsChange(n) {
-      var _a;
-      if ((_a = this.children) == null ? void 0 : _a.length) {
-        this.children.map((child) => {
-          typeof child.updateParentData == "function" && child.updateParentData();
-        });
-      }
-    },
-    // 监听model的初始值作为重置表单的快照
-    model: {
-      immediate: true,
-      handler(n) {
-        if (!this.originalModel) {
-          this.originalModel = common_vendor.index.$u.deepClone(n);
-        }
-      }
-    }
-  },
-  computed: {
-    propsChange() {
-      return [
-        this.errorType,
-        this.borderBottom,
-        this.labelPosition,
-        this.labelWidth,
-        this.labelAlign,
-        this.labelStyle
-      ];
-    }
-  },
-  created() {
-    this.children = [];
-  },
-  methods: {
-    // 手动设置校验的规则,如果规则中有函数的话,微信小程序中会过滤掉,所以只能手动调用设置规则
-    setRules(rules) {
-      if (Object.keys(rules).length === 0)
-        return;
-      if (Object.keys(this.model).length === 0) {
-        common_vendor.index.$u.error("设置rules,model必须设置!如果已经设置,请刷新页面。");
-        return;
-      }
-      this.formRules = rules;
-      this.validator = new common_vendor.Schema(rules);
-    },
-    // 清空所有u-form-item组件的内容,本质上是调用了u-form-item组件中的resetField()方法
-    resetFields() {
-      this.resetModel();
-    },
-    // 重置model为初始值的快照
-    resetModel(obj) {
-      this.children.map((child) => {
-        const prop = child == null ? void 0 : child.prop;
-        const value = common_vendor.index.$u.getProperty(this.originalModel, prop);
-        common_vendor.index.$u.setProperty(this.model, prop, value);
-      });
-    },
-    // 清空校验结果
-    clearValidate(props) {
-      props = [].concat(props);
-      this.children.map((child) => {
-        if (props[0] === void 0 || props.includes(child.prop)) {
-          child.message = null;
-        }
-      });
-    },
-    // 对部分表单字段进行校验
-    async validateField(value, callback, event = null) {
-      this.$nextTick(() => {
-        const errorsRes = [];
-        value = [].concat(value);
-        this.children.map((child) => {
-          const childErrors = [];
-          if (value.includes(child.prop)) {
-            const propertyVal = common_vendor.index.$u.getProperty(
-              this.model,
-              child.prop
-            );
-            const propertyChain = child.prop.split(".");
-            const propertyName = propertyChain[propertyChain.length - 1];
-            const rule = this.formRules[child.prop];
-            if (!rule)
-              return;
-            const rules = [].concat(rule);
-            for (let i = 0; i < rules.length; i++) {
-              const ruleItem = rules[i];
-              const trigger = [].concat(ruleItem == null ? void 0 : ruleItem.trigger);
-              if (event && !trigger.includes(event))
-                continue;
-              const validator = new common_vendor.Schema({
-                [propertyName]: ruleItem
-              });
-              validator.validate(
-                {
-                  [propertyName]: propertyVal
-                },
-                (errors, fields) => {
-                  var _a;
-                  if (common_vendor.index.$u.test.array(errors)) {
-                    errorsRes.push(...errors);
-                    childErrors.push(...errors);
-                  }
-                  child.message = ((_a = childErrors[0]) == null ? void 0 : _a.message) ? childErrors[0].message : null;
-                }
-              );
-            }
-          }
-        });
-        typeof callback === "function" && callback(errorsRes);
-      });
-    },
-    // 校验全部数据
-    validate(callback) {
-      if (Object.keys(this.formRules).length === 0) {
-        common_vendor.index.$u.error("未设置rules,请看文档说明!如果已经设置,请刷新页面。");
-        return;
-      }
-      return new Promise((resolve, reject) => {
-        this.$nextTick(() => {
-          const formItemProps = this.children.map(
-            (item) => item.prop
-          );
-          this.validateField(formItemProps, (errors) => {
-            if (errors.length) {
-              this.errorType === "toast" && common_vendor.index.$u.toast(errors[0].message);
-              reject(errors);
-            } else {
-              resolve(true);
-            }
-          });
-        });
-      });
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return {};
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-form/u-form.vue"]]);
-wx.createComponent(Component);

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

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

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-form/u-form.wxml

@@ -1 +0,0 @@
-<view class="u-form"><slot/></view>

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


+ 0 - 38
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.js

@@ -1,38 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-index-anchor",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$3],
-  data() {
-    return {};
-  },
-  mounted() {
-    this.init();
-  },
-  methods: {
-    init() {
-      const indexList = common_vendor.index.$u.$parent.call(this, "u-index-list");
-      if (!indexList) {
-        return common_vendor.index.$u.error("u-index-anchor必须要搭配u-index-list组件使用");
-      }
-      indexList.anchors.push(this);
-      const indexListItem = common_vendor.index.$u.$parent.call(this, "u-index-item");
-      if (!indexListItem) {
-        return common_vendor.index.$u.error("u-index-anchor必须要搭配u-index-item组件使用");
-      }
-      indexListItem.id = this.text.charCodeAt(0);
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return {
-    a: common_vendor.t(_ctx.text),
-    b: _ctx.$u.addUnit(_ctx.size),
-    c: _ctx.color,
-    d: `u-index-anchor-${_ctx.text}`,
-    e: _ctx.$u.addUnit(_ctx.height),
-    f: _ctx.bgColor
-  };
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e7d138dd"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-index-anchor/u-index-anchor.vue"]]);
-wx.createComponent(Component);

+ 0 - 4
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.json

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

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.wxml

@@ -1 +0,0 @@
-<view class="u-index-anchor u-border-bottom data-v-e7d138dd" ref="{{d}}" style="{{'height:' + e + ';' + ('background-color:' + f)}}"><text class="u-index-anchor__text data-v-e7d138dd" style="{{'font-size:' + b + ';' + ('color:' + c)}}">{{a}}</text></view>

+ 0 - 34
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-anchor/u-index-anchor.wxss

@@ -1,34 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-e7d138dd, scroll-view.data-v-e7d138dd, swiper-item.data-v-e7d138dd {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-index-anchor.data-v-e7d138dd {
-  position: -webkit-sticky;
-  position: sticky;
-  top: 0;
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  padding-left: 15px;
-  z-index: 1;
-}
-.u-index-anchor__text.data-v-e7d138dd {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-}

+ 0 - 49
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.js

@@ -1,49 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-index-item",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$4],
-  data() {
-    return {
-      // 本组件到滚动条顶部的距离
-      top: 0,
-      height: 0,
-      id: ""
-    };
-  },
-  created() {
-    this.anchor = {};
-  },
-  mounted() {
-    this.init();
-  },
-  methods: {
-    init() {
-      this.getParentData("u-index-list");
-      if (!this.parent) {
-        return common_vendor.index.$u.error("u-index-item必须要搭配u-index-list组件使用");
-      }
-      common_vendor.index.$u.sleep().then(() => {
-        this.getIndexItemRect().then((size) => {
-          this.top = Math.ceil(size.top);
-          this.height = Math.ceil(size.height);
-        });
-      });
-    },
-    getIndexItemRect() {
-      return new Promise((resolve) => {
-        this.$uGetRect(".u-index-item").then((size) => {
-          resolve(size);
-        });
-      });
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return {
-    a: `u-index-item-${$data.id}`,
-    b: common_vendor.n(`u-index-item-${$data.id}`)
-  };
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0d40bf6c"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-index-item/u-index-item.vue"]]);
-wx.createComponent(Component);

+ 0 - 4
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.json

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

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.wxml

@@ -1 +0,0 @@
-<view id="{{a}}" class="{{['u-index-item', 'data-v-0d40bf6c', b]}}"><slot/></view>

+ 0 - 15
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-item/u-index-item.wxss

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

+ 0 - 250
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.js

@@ -1,250 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const indexList = () => {
-  const indexList2 = [];
-  const charCodeOfA = "A".charCodeAt(0);
-  for (let i = 0; i < 26; i++) {
-    indexList2.push(String.fromCharCode(charCodeOfA + i));
-  }
-  return indexList2;
-};
-const _sfc_main = {
-  name: "u-index-list",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5],
-  // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
-  options: {
-    virtualHost: true
-  },
-  data() {
-    return {
-      // 当前正在被选中的字母索引
-      activeIndex: -1,
-      touchmoveIndex: 1,
-      // 索引字母的信息
-      letterInfo: {
-        height: 0,
-        itemHeight: 0,
-        top: 0
-      },
-      // 设置字母指示器的高度,后面为了让指示器跟随字母,并将尖角部分指向字母的中部,需要依赖此值
-      indicatorHeight: 50,
-      // 字母放大指示器的top值,为了让其指向当前激活的字母
-      // indicatorTop: 0
-      // 当前是否正在被触摸状态
-      touching: false,
-      // 滚动条顶部top值
-      scrollTop: 0,
-      // scroll-view的高度
-      scrollViewHeight: 0,
-      // 系统信息
-      sys: common_vendor.index.$u.sys(),
-      scrolling: false,
-      scrollIntoView: ""
-    };
-  },
-  computed: {
-    // 如果有传入外部的indexList锚点数组则使用,否则使用内部生成A-Z字母
-    uIndexList() {
-      return this.indexList.length ? this.indexList : indexList();
-    },
-    // 字母放大指示器的top值,为了让其指向当前激活的字母
-    indicatorTop() {
-      const {
-        top,
-        itemHeight
-      } = this.letterInfo;
-      return Math.floor(top + itemHeight * this.activeIndex + itemHeight / 2 - this.indicatorHeight / 2);
-    }
-  },
-  watch: {
-    // 监听字母索引的变化,重新设置尺寸
-    uIndexList: {
-      immediate: true,
-      handler() {
-        common_vendor.index.$u.sleep().then(() => {
-          this.setIndexListLetterInfo();
-        });
-      }
-    }
-  },
-  created() {
-    this.children = [];
-    this.anchors = [];
-    this.init();
-  },
-  mounted() {
-    this.setIndexListLetterInfo();
-  },
-  methods: {
-    init() {
-      let customNavHeight = common_vendor.index.$u.getPx(this.customNavHeight);
-      this.scrollViewHeight = this.sys.windowHeight - customNavHeight;
-    },
-    // 索引列表被触摸
-    touchStart(e) {
-      const touchStart = e.changedTouches[0];
-      if (!touchStart)
-        return;
-      this.touching = true;
-      const {
-        pageY
-      } = touchStart;
-      const currentIndex = this.getIndexListLetter(pageY);
-      this.setValueForTouch(currentIndex);
-    },
-    // 索引字母列表被触摸滑动中
-    touchMove(e) {
-      let touchMove = e.changedTouches[0];
-      if (!touchMove)
-        return;
-      if (!this.touching) {
-        this.touching = true;
-      }
-      const {
-        pageY
-      } = touchMove;
-      const currentIndex = this.getIndexListLetter(pageY);
-      this.setValueForTouch(currentIndex);
-    },
-    // 触摸结束
-    touchEnd(e) {
-      common_vendor.index.$u.sleep(300).then(() => {
-        this.touching = false;
-      });
-    },
-    // 获取索引列表的尺寸以及单个字符的尺寸信息
-    getIndexListLetterRect() {
-      return new Promise((resolve) => {
-        this.$uGetRect(".u-index-list__letter").then((size) => {
-          resolve(size);
-        });
-      });
-    },
-    // 设置indexList索引的尺寸信息
-    setIndexListLetterInfo() {
-      this.getIndexListLetterRect().then((size) => {
-        const {
-          height
-        } = size;
-        const sys = common_vendor.index.$u.sys();
-        const windowHeight = sys.windowHeight;
-        let customNavHeight = 0;
-        if (this.customNavHeight == 0) {
-          customNavHeight = -(sys.statusBarHeight + 44);
-        } else {
-          customNavHeight = common_vendor.index.$u.getPx(this.customNavHeight);
-        }
-        this.letterInfo = {
-          height,
-          // 为了让字母列表对屏幕绝对居中,让其对导航栏进行修正,也即往上偏移导航栏的一半高度
-          top: (windowHeight - height) / 2 + customNavHeight / 2,
-          itemHeight: Math.floor(height / this.uIndexList.length)
-        };
-      });
-    },
-    // 获取当前被触摸的索引字母
-    getIndexListLetter(pageY) {
-      const {
-        top,
-        height,
-        itemHeight
-      } = this.letterInfo;
-      if (pageY < top) {
-        return 0;
-      } else if (pageY >= top + height) {
-        return this.uIndexList.length - 1;
-      } else {
-        return Math.floor((pageY - top) / itemHeight);
-      }
-    },
-    // 设置各项由触摸而导致变化的值
-    setValueForTouch(currentIndex) {
-      if (currentIndex === this.activeIndex)
-        return;
-      this.activeIndex = currentIndex;
-      this.scrollTop = this.children[currentIndex].top;
-    },
-    getHeaderRect() {
-      return new Promise((resolve) => {
-        dom.getComponentRect(this.$refs.header, (res) => {
-          resolve(res.size);
-        });
-      });
-    },
-    // scroll-view的滚动事件
-    async scrollHandler(e) {
-      if (this.touching || this.scrolling)
-        return;
-      this.scrolling = true;
-      common_vendor.index.$u.sleep(10).then(() => {
-        this.scrolling = false;
-      });
-      let scrollTop = 0;
-      const len = this.children.length;
-      let children = this.children;
-      this.anchors;
-      scrollTop = e.detail.scrollTop;
-      for (let i = 0; i < len; i++) {
-        const item = children[i], nextItem = children[i + 1];
-        if (scrollTop <= children[0].top || scrollTop >= children[len - 1].top + children[len - 1].height) {
-          this.activeIndex = -1;
-          break;
-        } else if (!nextItem) {
-          this.activeIndex = len - 1;
-          break;
-        } else if (scrollTop > item.top && scrollTop < nextItem.top) {
-          this.activeIndex = i;
-          break;
-        }
-      }
-    }
-  }
-};
-if (!Array) {
-  const _easycom_u_transition2 = common_vendor.resolveComponent("u-transition");
-  _easycom_u_transition2();
-}
-const _easycom_u_transition = () => "../u-transition/u-transition.js";
-if (!Math) {
-  _easycom_u_transition();
-}
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: _ctx.$slots.header
-  }, _ctx.$slots.header ? {} : {}, {
-    b: _ctx.$slots.footer
-  }, _ctx.$slots.footer ? {} : {}, {
-    c: $data.scrollTop,
-    d: $data.scrollIntoView,
-    e: _ctx.$u.addUnit($data.scrollViewHeight),
-    f: common_vendor.o((...args) => $options.scrollHandler && $options.scrollHandler(...args)),
-    g: common_vendor.f($options.uIndexList, (item, index, i0) => {
-      return {
-        a: common_vendor.t(item),
-        b: $data.activeIndex === index ? "#fff" : _ctx.inactiveColor,
-        c: index,
-        d: $data.activeIndex === index ? _ctx.activeColor : "transparent"
-      };
-    }),
-    h: _ctx.$u.addUnit($data.letterInfo.top || 100),
-    i: common_vendor.o((...args) => $options.touchStart && $options.touchStart(...args)),
-    j: common_vendor.o((...args) => $options.touchMove && $options.touchMove(...args)),
-    k: common_vendor.o((...args) => $options.touchEnd && $options.touchEnd(...args)),
-    l: common_vendor.o((...args) => $options.touchEnd && $options.touchEnd(...args)),
-    m: common_vendor.t($options.uIndexList[$data.activeIndex]),
-    n: _ctx.$u.addUnit($data.indicatorHeight),
-    o: _ctx.$u.addUnit($data.indicatorHeight),
-    p: common_vendor.p({
-      mode: "fade",
-      show: $data.touching,
-      customStyle: {
-        position: "fixed",
-        right: "50px",
-        top: _ctx.$u.addUnit($options.indicatorTop),
-        zIndex: 2
-      }
-    })
-  });
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5e193795"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-index-list/u-index-list.vue"]]);
-wx.createComponent(Component);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.wxml


+ 0 - 65
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-index-list/u-index-list.wxss

@@ -1,65 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-5e193795, scroll-view.data-v-5e193795, swiper-item.data-v-5e193795 {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-index-list__letter.data-v-5e193795 {
-  position: fixed;
-  right: 0;
-  text-align: center;
-  z-index: 3;
-  padding: 0 6px;
-}
-.u-index-list__letter__item.data-v-5e193795 {
-  width: 16px;
-  height: 16px;
-  border-radius: 100px;
-  margin: 1px 0;
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  justify-content: center;
-}
-.u-index-list__letter__item--active.data-v-5e193795 {
-  background-color: #3c9cff;
-}
-.u-index-list__letter__item__index.data-v-5e193795 {
-  font-size: 12px;
-  text-align: center;
-  line-height: 12px;
-}
-.u-index-list__indicator.data-v-5e193795 {
-  width: 50px;
-  height: 50px;
-  border-radius: 100px 100px 0 100px;
-  text-align: center;
-  color: #ffffff;
-  background-color: #c9c9c9;
-  transform: rotate(-45deg);
-
-  display: flex;
-
-  flex-direction: row;
-  justify-content: center;
-  align-items: center;
-}
-.u-index-list__indicator__text.data-v-5e193795 {
-  font-size: 28px;
-  line-height: 28px;
-  font-weight: bold;
-  color: #fff;
-  transform: rotate(45deg);
-  text-align: center;
-}

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

@@ -1,34 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-line",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13],
-  computed: {
-    lineStyle() {
-      const style = {};
-      style.margin = this.margin;
-      if (this.direction === "row") {
-        style.borderBottomWidth = "1px";
-        style.borderBottomStyle = this.dashed ? "dashed" : "solid";
-        style.width = common_vendor.index.$u.addUnit(this.length);
-        if (this.hairline)
-          style.transform = "scaleY(0.5)";
-      } else {
-        style.borderLeftWidth = "1px";
-        style.borderLeftStyle = this.dashed ? "dashed" : "solid";
-        style.height = common_vendor.index.$u.addUnit(this.length);
-        if (this.hairline)
-          style.transform = "scaleX(0.5)";
-      }
-      style.borderColor = this.color;
-      return common_vendor.index.$u.deepMerge(style, common_vendor.index.$u.addStyle(this.customStyle));
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return {
-    a: common_vendor.s($options.lineStyle)
-  };
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bbd9963c"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-line/u-line.vue"]]);
-wx.createComponent(Component);

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

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

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml

@@ -1 +0,0 @@
-<view class="u-line data-v-bbd9963c" style="{{a}}"></view>

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

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

+ 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$21],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
   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$19],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$3],
   data() {
     return {
       // Array.form可以通过一个伪数组对象创建指定长度的数组

+ 0 - 78
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.js

@@ -1,78 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-notice-bar",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
-  data() {
-    return {
-      show: true
-    };
-  },
-  emits: ["click", "close"],
-  methods: {
-    // 点击通告栏
-    click(index) {
-      this.$emit("click", index);
-      if (this.url && this.linkType) {
-        this.openPage();
-      }
-    },
-    // 点击关闭按钮
-    close() {
-      this.show = false;
-      this.$emit("close");
-    }
-  }
-};
-if (!Array) {
-  const _easycom_u_column_notice2 = common_vendor.resolveComponent("u-column-notice");
-  const _easycom_u_row_notice2 = common_vendor.resolveComponent("u-row-notice");
-  (_easycom_u_column_notice2 + _easycom_u_row_notice2)();
-}
-const _easycom_u_column_notice = () => "../u-column-notice/u-column-notice.js";
-const _easycom_u_row_notice = () => "../u-row-notice/u-row-notice.js";
-if (!Math) {
-  (_easycom_u_column_notice + _easycom_u_row_notice)();
-}
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: $data.show
-  }, $data.show ? common_vendor.e({
-    b: _ctx.direction === "column" || _ctx.direction === "row" && _ctx.step
-  }, _ctx.direction === "column" || _ctx.direction === "row" && _ctx.step ? {
-    c: common_vendor.o($options.close),
-    d: common_vendor.o($options.click),
-    e: common_vendor.p({
-      color: _ctx.color,
-      bgColor: _ctx.bgColor,
-      text: _ctx.text,
-      mode: _ctx.mode,
-      step: _ctx.step,
-      icon: _ctx.icon,
-      ["disable-touch"]: _ctx.disableTouch,
-      fontSize: _ctx.fontSize,
-      duration: _ctx.duration
-    })
-  } : {
-    f: common_vendor.o($options.close),
-    g: common_vendor.o($options.click),
-    h: common_vendor.p({
-      color: _ctx.color,
-      bgColor: _ctx.bgColor,
-      text: _ctx.text,
-      mode: _ctx.mode,
-      fontSize: _ctx.fontSize,
-      speed: _ctx.speed,
-      url: _ctx.url,
-      linkType: _ctx.linkType,
-      icon: _ctx.icon
-    })
-  }, {
-    i: common_vendor.s({
-      backgroundColor: _ctx.bgColor
-    }),
-    j: common_vendor.s(_ctx.$u.addStyle(_ctx.customStyle))
-  }) : {});
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-63dbbc8e"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-notice-bar/u-notice-bar.vue"]]);
-wx.createComponent(Component);

+ 0 - 7
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.json

@@ -1,7 +0,0 @@
-{
-  "component": true,
-  "usingComponents": {
-    "u-column-notice": "../u-column-notice/u-column-notice",
-    "u-row-notice": "../u-row-notice/u-row-notice"
-  }
-}

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.wxml

@@ -1 +0,0 @@
-<view wx:if="{{a}}" class="u-notice-bar data-v-63dbbc8e" style="{{i + ';' + j}}"><block wx:if="{{b}}"><u-column-notice wx:if="{{e}}" class="data-v-63dbbc8e" bindclose="{{c}}" bindclick="{{d}}" u-i="63dbbc8e-0" bind:__l="__l" u-p="{{e}}"></u-column-notice></block><block wx:else><u-row-notice wx:if="{{h}}" class="data-v-63dbbc8e" bindclose="{{f}}" bindclick="{{g}}" u-i="63dbbc8e-1" bind:__l="__l" u-p="{{h}}"></u-row-notice></block></view>

+ 0 - 20
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-notice-bar/u-notice-bar.wxss

@@ -1,20 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-63dbbc8e, scroll-view.data-v-63dbbc8e, swiper-item.data-v-63dbbc8e {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-notice-bar.data-v-63dbbc8e {
-  overflow: hidden;
-  padding: 9px 12px;
-  flex: 1;
-}

+ 0 - 149
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.js

@@ -1,149 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-row-notice",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
-  data() {
-    return {
-      animationDuration: "0",
-      // 动画执行时间
-      animationPlayState: "paused",
-      // 动画的开始和结束执行
-      // nvue下,内容发生变化,导致滚动宽度也变化,需要标志为是否需要重新计算宽度
-      // 不能在内容变化时直接重新计算,因为nvue的animation模块上一次的滚动不是刚好结束,会有影响
-      nvueInit: true,
-      show: true
-    };
-  },
-  watch: {
-    text: {
-      immediate: true,
-      handler(newValue, oldValue) {
-        this.vue();
-        if (!common_vendor.index.$u.test.string(newValue)) {
-          common_vendor.index.$u.error("noticebar组件direction为row时,要求text参数为字符串形式");
-        }
-      }
-    },
-    fontSize() {
-      this.vue();
-    },
-    speed() {
-      this.vue();
-    }
-  },
-  computed: {
-    // 文字内容的样式
-    textStyle() {
-      let style = {};
-      style.color = this.color;
-      style.fontSize = common_vendor.index.$u.addUnit(this.fontSize);
-      return style;
-    },
-    animationStyle() {
-      let style = {};
-      style.animationDuration = this.animationDuration;
-      style.animationPlayState = this.animationPlayState;
-      return style;
-    },
-    // 内部对用户传入的数据进一步分割,放到多个text标签循环,否则如果用户传入的字符串很长(100个字符以上)
-    // 放在一个text标签中进行滚动,在低端安卓机上,动画可能会出现抖动现象,需要分割到多个text中可解决此问题
-    innerText() {
-      let result = [], len = 20;
-      const textArr = this.text.split("");
-      for (let i = 0; i < textArr.length; i += len) {
-        result.push(textArr.slice(i, i + len).join(""));
-      }
-      return result;
-    }
-  },
-  mounted() {
-    this.init();
-  },
-  emits: ["click", "close"],
-  methods: {
-    init() {
-      this.vue();
-      if (!common_vendor.index.$u.test.string(this.text)) {
-        common_vendor.index.$u.error("noticebar组件direction为row时,要求text参数为字符串形式");
-      }
-    },
-    // vue版处理
-    async vue() {
-      let textWidth = 0;
-      await common_vendor.index.$u.sleep();
-      textWidth = (await this.$uGetRect(".u-notice__content__text")).width;
-      (await this.$uGetRect(".u-notice__content")).width;
-      this.animationDuration = `${textWidth / common_vendor.index.$u.getPx(this.speed)}s`;
-      this.animationPlayState = "paused";
-      setTimeout(() => {
-        this.animationPlayState = "running";
-      }, 10);
-    },
-    // nvue版处理
-    async nvue() {
-    },
-    loopAnimation(textWidth, boxWidth) {
-    },
-    getNvueRect(el) {
-    },
-    // 点击通告栏
-    clickHandler(index) {
-      this.$emit("click");
-    },
-    // 点击右侧按钮,需要判断点击的是关闭图标还是箭头图标
-    close() {
-      this.$emit("close");
-    }
-  }
-};
-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.icon
-  }, _ctx.icon ? {
-    b: common_vendor.p({
-      name: _ctx.icon,
-      color: _ctx.color,
-      size: "19"
-    })
-  } : {}, {
-    c: common_vendor.f($options.innerText, (item, index, i0) => {
-      return {
-        a: common_vendor.t(item),
-        b: index
-      };
-    }),
-    d: common_vendor.s($options.textStyle),
-    e: common_vendor.s($options.animationStyle),
-    f: ["link", "closable"].includes(_ctx.mode)
-  }, ["link", "closable"].includes(_ctx.mode) ? common_vendor.e({
-    g: _ctx.mode === "link"
-  }, _ctx.mode === "link" ? {
-    h: common_vendor.p({
-      name: "arrow-right",
-      size: 17,
-      color: _ctx.color
-    })
-  } : {}, {
-    i: _ctx.mode === "closable"
-  }, _ctx.mode === "closable" ? {
-    j: common_vendor.o($options.close),
-    k: common_vendor.p({
-      name: "close",
-      size: 16,
-      color: _ctx.color
-    })
-  } : {}) : {}, {
-    l: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args))
-  });
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-462e724c"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-row-notice/u-row-notice.vue"]]);
-wx.createComponent(Component);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.wxml


+ 0 - 61
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-row-notice/u-row-notice.wxss

@@ -1,61 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-462e724c, scroll-view.data-v-462e724c, swiper-item.data-v-462e724c {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-notice.data-v-462e724c {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  justify-content: space-between;
-}
-.u-notice__left-icon.data-v-462e724c {
-  align-items: center;
-  margin-right: 5px;
-}
-.u-notice__right-icon.data-v-462e724c {
-  margin-left: 5px;
-  align-items: center;
-}
-.u-notice__content.data-v-462e724c {
-  text-align: right;
-  flex: 1;
-
-  display: flex;
-
-  flex-direction: row;
-  flex-wrap: nowrap;
-  overflow: hidden;
-}
-.u-notice__content__text.data-v-462e724c {
-  font-size: 14px;
-  color: #f9ae3d;
-  padding-left: 100%;
-  word-break: keep-all;
-  white-space: nowrap;
-  animation: u-loop-animation-462e724c 10s linear infinite both;
-
-  display: flex;
-
-  flex-direction: row;
-}
-@keyframes u-loop-animation-462e724c {
-0% {
-    transform: translate3d(0, 0, 0);
-}
-100% {
-    transform: translate3d(-100%, 0, 0);
-}
-}

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

@@ -1,157 +0,0 @@
-"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],
-  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);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml


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

@@ -1,89 +0,0 @@
-/**
- * 这里是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;
-}

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

@@ -1,121 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-subsection",
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
-  data() {
-    return {
-      // 组件尺寸
-      itemRect: {
-        width: 0,
-        height: 0
-      }
-    };
-  },
-  watch: {
-    list(newValue, oldValue) {
-      this.init();
-    },
-    current: {
-      immediate: true,
-      handler(n) {
-      }
-    }
-  },
-  computed: {
-    wrapperStyle() {
-      const style = {};
-      if (this.mode === "button") {
-        style.backgroundColor = this.bgColor;
-      }
-      return style;
-    },
-    // 滑块的样式
-    barStyle() {
-      const style = {};
-      style.width = `${this.itemRect.width}px`;
-      style.height = `${this.itemRect.height}px`;
-      style.transform = `translateX(${this.current * this.itemRect.width}px)`;
-      if (this.mode === "subsection") {
-        style.backgroundColor = this.activeColor;
-      }
-      return style;
-    },
-    // 分段器item的样式
-    itemStyle(index) {
-      return (index2) => {
-        const style = {};
-        if (this.mode === "subsection") {
-          style.borderColor = this.activeColor;
-          style.borderWidth = "1px";
-          style.borderStyle = "solid";
-        }
-        return style;
-      };
-    },
-    // 分段器文字颜色
-    textStyle(index) {
-      return (index2) => {
-        const style = {};
-        style.fontWeight = this.bold && this.current === index2 ? "bold" : "normal";
-        style.fontSize = common_vendor.index.$u.addUnit(this.fontSize);
-        if (this.mode === "subsection") {
-          style.color = this.current === index2 ? "#fff" : this.inactiveColor;
-        } else {
-          style.color = this.current === index2 ? this.activeColor : this.inactiveColor;
-        }
-        return style;
-      };
-    }
-  },
-  mounted() {
-    this.init();
-  },
-  emits: ["change"],
-  methods: {
-    init() {
-      common_vendor.index.$u.sleep().then(() => this.getRect());
-    },
-    // 判断展示文本
-    getText(item) {
-      return typeof item === "object" ? item[this.keyName] : item;
-    },
-    // 获取组件的尺寸
-    getRect() {
-      this.$uGetRect(".u-subsection__item--0").then((size) => {
-        this.itemRect = size;
-      });
-    },
-    clickHandler(index) {
-      this.$emit("change", index);
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return {
-    a: common_vendor.s($options.barStyle),
-    b: common_vendor.n(_ctx.mode === "button" && "u-subsection--button__bar"),
-    c: common_vendor.n(_ctx.current === 0 && _ctx.mode === "subsection" && "u-subsection__bar--first"),
-    d: common_vendor.n(_ctx.current > 0 && _ctx.current < _ctx.list.length - 1 && _ctx.mode === "subsection" && "u-subsection__bar--center"),
-    e: common_vendor.n(_ctx.current === _ctx.list.length - 1 && _ctx.mode === "subsection" && "u-subsection__bar--last"),
-    f: common_vendor.f(_ctx.list, (item, index, i0) => {
-      return {
-        a: common_vendor.t($options.getText(item)),
-        b: common_vendor.s($options.textStyle(index)),
-        c: common_vendor.n(`u-subsection__item--${index}`),
-        d: common_vendor.n(index < _ctx.list.length - 1 && "u-subsection__item--no-border-right"),
-        e: common_vendor.n(index === 0 && "u-subsection__item--first"),
-        f: common_vendor.n(index === _ctx.list.length - 1 && "u-subsection__item--last"),
-        g: `u-subsection__item--${index}`,
-        h: common_vendor.s($options.itemStyle(index)),
-        i: common_vendor.o(($event) => $options.clickHandler(index), index),
-        j: index
-      };
-    }),
-    g: common_vendor.n(`u-subsection--${_ctx.mode}`),
-    h: common_vendor.s(_ctx.$u.addStyle(_ctx.customStyle)),
-    i: common_vendor.s($options.wrapperStyle)
-  };
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7b2e14a2"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-subsection/u-subsection.vue"]]);
-wx.createComponent(Component);

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

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

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-subsection/u-subsection.wxml


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

@@ -1,95 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-7b2e14a2, scroll-view.data-v-7b2e14a2, swiper-item.data-v-7b2e14a2 {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-subsection.data-v-7b2e14a2 {
-
-  display: flex;
-
-  flex-direction: row;
-  position: relative;
-  overflow: hidden;
-  width: 100%;
-  box-sizing: border-box;
-}
-.u-subsection--button.data-v-7b2e14a2 {
-  height: 32px;
-  background-color: #eeeeef;
-  padding: 3px;
-  border-radius: 3px;
-  align-items: stretch;
-}
-.u-subsection--button__bar.data-v-7b2e14a2 {
-  background-color: #ffffff;
-  border-radius: 3px !important;
-}
-.u-subsection--subsection.data-v-7b2e14a2 {
-  height: 30px;
-}
-.u-subsection__bar.data-v-7b2e14a2 {
-  position: absolute;
-  transition-property: transform, color;
-  transition-duration: 0.3s;
-  transition-timing-function: ease-in-out;
-}
-.u-subsection__bar--first.data-v-7b2e14a2 {
-  border-top-left-radius: 3px;
-  border-bottom-left-radius: 3px;
-  border-top-right-radius: 0px;
-  border-bottom-right-radius: 0px;
-}
-.u-subsection__bar--center.data-v-7b2e14a2 {
-  border-top-left-radius: 0px;
-  border-bottom-left-radius: 0px;
-  border-top-right-radius: 0px;
-  border-bottom-right-radius: 0px;
-}
-.u-subsection__bar--last.data-v-7b2e14a2 {
-  border-top-left-radius: 0px;
-  border-bottom-left-radius: 0px;
-  border-top-right-radius: 3px;
-  border-bottom-right-radius: 3px;
-}
-.u-subsection__item.data-v-7b2e14a2 {
-
-  display: flex;
-
-  flex-direction: row;
-  flex: 1;
-  justify-content: center;
-  align-items: center;
-  position: relative;
-}
-.u-subsection__item--no-border-right.data-v-7b2e14a2 {
-  border-right-width: 0 !important;
-}
-.u-subsection__item--first.data-v-7b2e14a2 {
-  border-top-left-radius: 3px;
-  border-bottom-left-radius: 3px;
-}
-.u-subsection__item--last.data-v-7b2e14a2 {
-  border-top-right-radius: 3px;
-  border-bottom-right-radius: 3px;
-}
-.u-subsection__item__text.data-v-7b2e14a2 {
-  font-size: 12px;
-  line-height: 12px;
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  transition-property: color;
-  transition-duration: 0.3s;
-}

+ 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$20],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$4],
   data() {
     return {
       lineWidth: 22

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

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

+ 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$15],
+  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.button, common_vendor.openType, common_vendor.props$5],
   emits: ["click"],
   computed: {
     valueStyle() {

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

@@ -1,58 +0,0 @@
-"use strict";
-const common_vendor = require("../../../../common/vendor.js");
-const _sfc_main = {
-  name: "u-transition",
-  data() {
-    return {
-      inited: false,
-      // 是否显示/隐藏组件
-      viewStyle: {},
-      // 组件内部的样式
-      status: "",
-      // 记录组件动画的状态
-      transitionEnded: false,
-      // 组件是否结束的标记
-      display: false,
-      // 组件是否展示
-      classes: ""
-      // 应用的类名
-    };
-  },
-  emits: ["click", "beforeEnter", "enter", "afterEnter", "beforeLeave", "leave", "afterLeave"],
-  computed: {
-    mergeStyle() {
-      const { viewStyle, customStyle } = this;
-      return {
-        transitionDuration: `${this.duration}ms`,
-        // display: `${this.display ? '' : 'none'}`,
-        transitionTimingFunction: this.timingFunction,
-        // 避免自定义样式影响到动画属性,所以写在viewStyle前面
-        ...common_vendor.index.$u.addStyle(customStyle),
-        ...viewStyle
-      };
-    }
-  },
-  // 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象
-  mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transition, common_vendor.props$16],
-  watch: {
-    show: {
-      handler(newVal) {
-        newVal ? this.vueEnter() : this.vueLeave();
-      },
-      // 表示同时监听初始化时的props的show的意思
-      immediate: true
-    }
-  }
-};
-function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
-  return common_vendor.e({
-    a: $data.inited
-  }, $data.inited ? {
-    b: common_vendor.o((...args) => _ctx.clickHandler && _ctx.clickHandler(...args)),
-    c: common_vendor.n($data.classes),
-    d: common_vendor.s($options.mergeStyle),
-    e: common_vendor.o((...args) => _ctx.noop && _ctx.noop(...args))
-  } : {});
-}
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0573594d"], ["__file", "D:/project/赋强公证/notarization_applet/node_modules/uview-plus/components/u-transition/u-transition.vue"]]);
-wx.createComponent(Component);

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

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

+ 0 - 1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxml

@@ -1 +0,0 @@
-<view wx:if="{{a}}" ref="u-transition" bindtap="{{b}}" class="{{['u-transition', 'data-v-0573594d', c]}}" style="{{d}}" bindtouchmove="{{e}}"><slot/></view>

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

@@ -1,111 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-view.data-v-0573594d, scroll-view.data-v-0573594d, swiper-item.data-v-0573594d {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-
-/**
- * vue版本动画内置的动画模式有如下:
- * fade:淡入
- * zoom:缩放
- * fade-zoom:缩放淡入
- * fade-up:上滑淡入
- * fade-down:下滑淡入
- * fade-left:左滑淡入
- * fade-right:右滑淡入
- * slide-up:上滑进入
- * slide-down:下滑进入
- * slide-left:左滑进入
- * slide-right:右滑进入
- */
-.u-fade-enter-active.data-v-0573594d,
-.u-fade-leave-active.data-v-0573594d {
-  transition-property: opacity;
-}
-.u-fade-enter.data-v-0573594d,
-.u-fade-leave-to.data-v-0573594d {
-  opacity: 0;
-}
-.u-fade-zoom-enter.data-v-0573594d,
-.u-fade-zoom-leave-to.data-v-0573594d {
-  transform: scale(0.95);
-  opacity: 0;
-}
-.u-fade-zoom-enter-active.data-v-0573594d,
-.u-fade-zoom-leave-active.data-v-0573594d {
-  transition-property: transform, opacity;
-}
-.u-fade-down-enter-active.data-v-0573594d,
-.u-fade-down-leave-active.data-v-0573594d,
-.u-fade-left-enter-active.data-v-0573594d,
-.u-fade-left-leave-active.data-v-0573594d,
-.u-fade-right-enter-active.data-v-0573594d,
-.u-fade-right-leave-active.data-v-0573594d,
-.u-fade-up-enter-active.data-v-0573594d,
-.u-fade-up-leave-active.data-v-0573594d {
-  transition-property: opacity, transform;
-}
-.u-fade-up-enter.data-v-0573594d,
-.u-fade-up-leave-to.data-v-0573594d {
-  transform: translate3d(0, 100%, 0);
-  opacity: 0;
-}
-.u-fade-down-enter.data-v-0573594d,
-.u-fade-down-leave-to.data-v-0573594d {
-  transform: translate3d(0, -100%, 0);
-  opacity: 0;
-}
-.u-fade-left-enter.data-v-0573594d,
-.u-fade-left-leave-to.data-v-0573594d {
-  transform: translate3d(-100%, 0, 0);
-  opacity: 0;
-}
-.u-fade-right-enter.data-v-0573594d,
-.u-fade-right-leave-to.data-v-0573594d {
-  transform: translate3d(100%, 0, 0);
-  opacity: 0;
-}
-.u-slide-down-enter-active.data-v-0573594d,
-.u-slide-down-leave-active.data-v-0573594d,
-.u-slide-left-enter-active.data-v-0573594d,
-.u-slide-left-leave-active.data-v-0573594d,
-.u-slide-right-enter-active.data-v-0573594d,
-.u-slide-right-leave-active.data-v-0573594d,
-.u-slide-up-enter-active.data-v-0573594d,
-.u-slide-up-leave-active.data-v-0573594d {
-  transition-property: transform;
-}
-.u-slide-up-enter.data-v-0573594d,
-.u-slide-up-leave-to.data-v-0573594d {
-  transform: translate3d(0, 100%, 0);
-}
-.u-slide-down-enter.data-v-0573594d,
-.u-slide-down-leave-to.data-v-0573594d {
-  transform: translate3d(0, -100%, 0);
-}
-.u-slide-left-enter.data-v-0573594d,
-.u-slide-left-leave-to.data-v-0573594d {
-  transform: translate3d(-100%, 0, 0);
-}
-.u-slide-right-enter.data-v-0573594d,
-.u-slide-right-leave-to.data-v-0573594d {
-  transform: translate3d(100%, 0, 0);
-}
-.u-zoom-enter-active.data-v-0573594d,
-.u-zoom-leave-active.data-v-0573594d {
-  transition-property: transform;
-}
-.u-zoom-enter.data-v-0573594d,
-.u-zoom-leave-to.data-v-0573594d {
-  transform: scale(0.95);
-}

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

@@ -1,12 +1,12 @@
 "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_swiper2 = common_vendor.resolveComponent("u-swiper");
+  _easycom_u_swiper2();
 }
-const _easycom_u_search = () => "../../node-modules/uview-plus/components/u-search/u-search.js";
+const _easycom_u_swiper = () => "../../node-modules/uview-plus/components/u-swiper/u-swiper.js";
 if (!Math) {
-  _easycom_u_search();
+  _easycom_u_swiper();
 }
 const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
   __name: "index",
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     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({ logoUrl: [] });
+    const config = common_vendor.ref({ logo: [], file: [] });
     const list = common_vendor.ref([]);
     const total = common_vendor.ref(0);
     const skip = common_vendor.ref(0);
@@ -42,11 +42,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
         status: "0"
       });
     };
-    const toChange = () => {
-      common_vendor.index.navigateTo({
-        url: `/pagesHome/type/index`
-      });
-    };
     const toView = (item) => {
       common_vendor.index.navigateTo({
         url: `/pagesHome/car/index?id=${item.id || item._id}`
@@ -73,13 +68,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     };
     return (_ctx, _cache) => {
       return common_vendor.e({
-        a: common_vendor.o(toChange),
-        b: common_vendor.p({
-          shape: "square",
-          ["show-action"]: false,
-          placeholder: "品牌/车系"
+        a: common_vendor.p({
+          list: config.value.file,
+          height: "240px",
+          indicator: true,
+          indicatorMode: "line",
+          circular: true
         }),
-        c: common_vendor.f(list.value, (item, index, i0) => {
+        b: common_vendor.f(list.value, (item, index, i0) => {
           return {
             a: item.file && item.file.length > 0 ? item.file[0].url : "",
             b: common_vendor.t(item.series || "暂无"),
@@ -90,11 +86,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
             g: common_vendor.o(($event) => toView(item), index)
           };
         }),
-        d: is_bottom.value
+        c: is_bottom.value
       }, is_bottom.value ? {
-        e: common_vendor.t(config.value.bottom_title || "没有更多了!")
+        d: common_vendor.t(config.value.bottom_title || "没有更多了!")
       } : {}, {
-        f: common_vendor.o(toPage)
+        e: common_vendor.o(toPage)
       });
     };
   }

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

@@ -1,6 +1,7 @@
 {
   "navigationBarTitleText": "赋强公证",
+  "navigationStyle": "custom",
   "usingComponents": {
-    "u-search": "../../node-modules/uview-plus/components/u-search/u-search"
+    "u-swiper": "../../node-modules/uview-plus/components/u-swiper/u-swiper"
   }
 }

File diff ditekan karena terlalu besar
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/home/index.wxml


+ 0 - 3
unpackage/dist/dev/mp-weixin/pages/home/index.wxss

@@ -10,9 +10,6 @@
   width: 100vw;
   height: 100vh;
 }
-.content .top.data-v-4978fed5 {
-  margin: 2vw;
-}
 .content .bottom.data-v-4978fed5 {
   position: relative;
   flex-grow: 1;

+ 43 - 4
unpackage/dist/dev/mp-weixin/pages/index/index.js

@@ -5,8 +5,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
   setup(__props) {
     var _a, _b, _c;
     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.$app;
-    (_c = common_vendor.getCurrentInstance()) == null ? void 0 : _c.appContext.config.globalProperties.$config;
+    const $app = (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$app;
+    const $config = (_c = common_vendor.getCurrentInstance()) == null ? void 0 : _c.appContext.config.globalProperties.$config;
     const config = common_vendor.ref({ logo: [] });
     common_vendor.onLoad(async () => {
       await searchConfig();
@@ -23,8 +23,47 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
       }
     };
     const search = async () => {
-      common_vendor.index.reLaunch({
-        url: `/pages/home/index`
+      common_vendor.index.getStorage({
+        key: "openid",
+        success: function(res) {
+          common_vendor.index.reLaunch({
+            url: `/pages/home/index`
+          });
+        },
+        fail: function(err) {
+          common_vendor.index.login({
+            success: async function(res) {
+              if (res.code) {
+                common_vendor.index.reLaunch({
+                  url: `/pages/home/index`
+                });
+                const aee = await $app("/wechat/api/login/app", "GET", {
+                  js_code: res.code,
+                  config: $config.wx_projectkey
+                });
+                if (aee.errcode == "0") {
+                  common_vendor.index.setStorage({
+                    key: "openid",
+                    data: aee.data.openid
+                  });
+                  common_vendor.index.reLaunch({
+                    url: `/pages/home/index`
+                  });
+                } else {
+                  common_vendor.index.showToast({
+                    title: aee.errmsg,
+                    icon: "none"
+                  });
+                }
+              } else {
+                common_vendor.index.showToast({
+                  title: res.errMsg,
+                  icon: "none"
+                });
+              }
+            }
+          });
+        }
       });
     };
     return (_ctx, _cache) => {

+ 0 - 88
unpackage/dist/dev/mp-weixin/pagesHome/brand/index.js

@@ -1,88 +0,0 @@
-"use strict";
-const common_vendor = require("../../common/vendor.js");
-if (!Array) {
-  const _easycom_u_index_anchor2 = common_vendor.resolveComponent("u-index-anchor");
-  const _easycom_u_index_item2 = common_vendor.resolveComponent("u-index-item");
-  const _easycom_u_index_list2 = common_vendor.resolveComponent("u-index-list");
-  (_easycom_u_index_anchor2 + _easycom_u_index_item2 + _easycom_u_index_list2)();
-}
-const _easycom_u_index_anchor = () => "../../node-modules/uview-plus/components/u-index-anchor/u-index-anchor.js";
-const _easycom_u_index_item = () => "../../node-modules/uview-plus/components/u-index-item/u-index-item.js";
-const _easycom_u_index_list = () => "../../node-modules/uview-plus/components/u-index-list/u-index-list.js";
-if (!Math) {
-  (_easycom_u_index_anchor + _easycom_u_index_item + _easycom_u_index_list)();
-}
-const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
-  __name: "index",
-  setup(__props) {
-    var _a;
-    const $api = (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
-    const config = common_vendor.ref({ logoUrl: [] });
-    const indexList = common_vendor.ref([]);
-    const itemArr = common_vendor.ref([]);
-    const type = common_vendor.ref("0");
-    common_vendor.onLoad(async (options) => {
-      type.value = options && options.type;
-      await searchConfig();
-      await search();
-    });
-    const searchConfig = async () => {
-      config.value = common_vendor.index.getStorageSync("config");
-    };
-    const search = async () => {
-      const res = await $api("brand/index", "GET", {});
-      if (res.errcode === 0) {
-        itemArr.value = res.data.data1;
-        indexList.value = res.data.data2;
-      } else {
-        common_vendor.index.showToast({
-          title: res.errmsg || "",
-          icon: "error"
-        });
-      }
-    };
-    const toCommon = (item) => {
-      if (type.value == "4") {
-        common_vendor.index.navigateTo({
-          url: `/pagesHome/search/index?brand=${item.name}`
-        });
-      } else {
-        common_vendor.index.$emit("toRoute", item);
-        common_vendor.index.navigateBack({
-          delta: 1
-          // 返回的页面数
-        });
-      }
-    };
-    return (_ctx, _cache) => {
-      return {
-        a: common_vendor.f(itemArr.value, (item, index, i0) => {
-          return {
-            a: "bd19021e-2-" + i0 + "," + ("bd19021e-1-" + i0),
-            b: common_vendor.p({
-              color: "#333333",
-              ["bg-color"]: "#f9f9f9",
-              text: indexList.value[index]
-            }),
-            c: common_vendor.f(item, (cell, index2, i1) => {
-              return {
-                a: common_vendor.t(cell.name),
-                b: common_vendor.o(($event) => toCommon(cell))
-              };
-            }),
-            d: item.url && item.url.length > 0 ? item.url[0].url : "/static/logo.png",
-            e: "bd19021e-1-" + i0 + ",bd19021e-0",
-            f: index
-          };
-        }),
-        b: common_vendor.p({
-          ["index-list"]: indexList.value,
-          sticky: false,
-          activeColor: "#2979ff"
-        })
-      };
-    };
-  }
-});
-const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bd19021e"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/brand/index.vue"]]);
-wx.createPage(MiniProgramPage);

+ 0 - 8
unpackage/dist/dev/mp-weixin/pagesHome/brand/index.json

@@ -1,8 +0,0 @@
-{
-  "navigationBarTitleText": "品牌选择",
-  "usingComponents": {
-    "u-index-anchor": "../../node-modules/uview-plus/components/u-index-anchor/u-index-anchor",
-    "u-index-item": "../../node-modules/uview-plus/components/u-index-item/u-index-item",
-    "u-index-list": "../../node-modules/uview-plus/components/u-index-list/u-index-list"
-  }
-}

File diff ditekan karena terlalu besar
+ 0 - 1
unpackage/dist/dev/mp-weixin/pagesHome/brand/index.wxml


+ 0 - 54
unpackage/dist/dev/mp-weixin/pagesHome/brand/index.wxss

@@ -1,54 +0,0 @@
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
-/* uni.scss */
-.list .text.data-v-bd19021e {
-  margin: 2vw;
-  font-weight: bold;
-  font-size: var(--font16Size);
-}
-.list .one.data-v-bd19021e {
-  display: flex;
-  justify-content: space-between;
-  flex-wrap: wrap;
-  align-items: center;
-  padding: 2vw 4vw;
-}
-.list .one .list.data-v-bd19021e {
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  width: 18vw;
-  margin: 0 0 1vw 0;
-}
-.list .one .list .image.data-v-bd19021e {
-  width: 40px;
-  height: 40px;
-  border-radius: 40px;
-}
-.list .one .list .title.data-v-bd19021e {
-  margin: 0 0 1vw 0;
-  font-size: var(--font14Size);
-}
-.list-cell.data-v-bd19021e {
-  display: flex;
-  align-items: center;
-  box-sizing: border-box;
-  width: 100%;
-  padding: 10px 24rpx;
-  overflow: hidden;
-  color: #323233;
-  font-size: 14px;
-  line-height: 24px;
-  background-color: #fff;
-}
-.list-cell .image.data-v-bd19021e {
-  width: 40px;
-  height: 40px;
-  border-radius: 40px;
-}
-.list-cell .title.data-v-bd19021e {
-  margin: 0 0 0 1vw;
-}

+ 0 - 271
unpackage/dist/dev/mp-weixin/pagesHome/car/index.js

@@ -1,271 +0,0 @@
-"use strict";
-const common_vendor = require("../../common/vendor.js");
-if (!Array) {
-  const _easycom_u_swiper2 = common_vendor.resolveComponent("u-swiper");
-  const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
-  const _easycom_u_button2 = common_vendor.resolveComponent("u-button");
-  (_easycom_u_swiper2 + _easycom_u_icon2 + _easycom_u_button2)();
-}
-const _easycom_u_swiper = () => "../../node-modules/uview-plus/components/u-swiper/u-swiper.js";
-const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
-const _easycom_u_button = () => "../../node-modules/uview-plus/components/u-button/u-button.js";
-if (!Math) {
-  (_easycom_u_swiper + _easycom_u_icon + _easycom_u_button)();
-}
-const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
-  __name: "index",
-  setup(__props) {
-    var _a;
-    const $api = (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
-    common_vendor.computed(() => {
-      return common_vendor.index.getStorageSync("openid");
-    });
-    const config = common_vendor.ref({});
-    const id = common_vendor.ref("");
-    const currentNum = common_vendor.ref(1);
-    const info = common_vendor.ref({});
-    const shop = common_vendor.ref({});
-    const list = common_vendor.ref([]);
-    const emissionList = common_vendor.ref([]);
-    const boxTypeList = common_vendor.ref([]);
-    common_vendor.onLoad(async (options) => {
-      id.value = options && options.id;
-      await searchConfig();
-      await search();
-    });
-    const searchConfig = async () => {
-      config.value = common_vendor.index.getStorageSync("config");
-    };
-    const search = async () => {
-      var _a2;
-      if (id.value) {
-        const res = await $api(`car/${id.value}`, "GET", {});
-        if (res.errcode === 0) {
-          info.value = res.data;
-          await searchShop((_a2 = res.data) == null ? void 0 : _a2.shop);
-          await searchOther();
-        } else {
-          common_vendor.index.showToast({
-            title: res.errmsg || "",
-            icon: "error"
-          });
-        }
-      }
-    };
-    const searchShop = async (e) => {
-      if (!e)
-        return;
-      const res = await $api(`shop/${e}`, "GET", {});
-      if (res.errcode === 0) {
-        shop.value = res.data;
-      } else {
-        common_vendor.index.showToast({
-          title: res.errmsg || "",
-          icon: "error"
-        });
-      }
-    };
-    const searchOther = async () => {
-      const info2 = {
-        skip: 0,
-        limit: 20,
-        status: "0",
-        shop: shop.value._id
-      };
-      const arr = await $api("car", "GET", info2);
-      if (arr.errcode === 0) {
-        list.value = arr.data;
-        shop.value.num = arr.total;
-      } else {
-        common_vendor.index.showToast({
-          title: arr.errmsg || "",
-          icon: "error"
-        });
-      }
-      let res;
-      res = await $api(`dictData`, "GET", { code: "boxType", is_use: "0" });
-      if (res.errcode === 0)
-        boxTypeList.value = res.data;
-      res = await $api(`dictData`, "GET", { code: "emission", is_use: "0" });
-      if (res.errcode === 0)
-        emissionList.value = res.data;
-    };
-    const getDict = (data, model) => {
-      let list2;
-      switch (model) {
-        case "type":
-          list2 = boxTypeList.value;
-          break;
-        case "emission":
-          list2 = emissionList.value;
-          break;
-      }
-      if (!list2)
-        return;
-      const res = list2.find((f) => f.value == data);
-      return (res == null ? void 0 : res.label) || "暂无";
-    };
-    const PhoneNumber = (e) => {
-      console.log(e);
-    };
-    const toRecord = () => {
-      common_vendor.index.navigateTo({
-        url: `/pagesHome/record/index?id=${info.value.id || info.value._id}`
-      });
-    };
-    const toView = (item) => {
-      common_vendor.index.navigateTo({
-        url: `/pagesHome/car/index?id=${item.id || item._id}`
-      });
-    };
-    const toChat = (item) => {
-      var _a2;
-      common_vendor.index.makePhoneCall({
-        phoneNumber: (_a2 = shop.value) == null ? void 0 : _a2.tel,
-        success: function() {
-          console.log("拨打电话成功");
-        },
-        fail: function() {
-          common_vendor.index.showToast({
-            title: "拨打电话失败",
-            icon: "error"
-          });
-        }
-      });
-    };
-    const toShop = () => {
-      common_vendor.index.navigateTo({
-        url: `/pagesHome/shop/index?id=${shop.value.id || shop.value._id}&name=${shop.value.name}`
-      });
-    };
-    const toPicture = (index, e) => {
-      const urls = e.map((item, index2) => {
-        return item.url;
-      });
-      common_vendor.index.previewImage({
-        current: index,
-        urls
-      });
-    };
-    const toMore = () => {
-      common_vendor.index.navigateTo({
-        url: `/pagesHome/picture/index?id=${info.value.id || info.value._id}&shop=${shop.value._id}`
-      });
-    };
-    return (_ctx, _cache) => {
-      var _a2, _b, _c, _d, _e, _f, _g;
-      return {
-        a: common_vendor.t(currentNum.value + 1),
-        b: common_vendor.t((_a2 = info.value.file) == null ? void 0 : _a2.length),
-        c: common_vendor.o((e) => currentNum.value = e.current),
-        d: common_vendor.p({
-          list: info.value.file,
-          height: "300px",
-          keyName: "url",
-          autoplay: false,
-          indicatorStyle: "right: 20px",
-          radius: "0"
-        }),
-        e: common_vendor.t(info.value.real_pay || "0"),
-        f: common_vendor.t(info.value.price || "0"),
-        g: common_vendor.o(PhoneNumber),
-        h: common_vendor.t(info.value.series || "暂无"),
-        i: common_vendor.t(info.value.year || "暂无"),
-        j: common_vendor.t(info.value.style || "暂无"),
-        k: common_vendor.t(info.value.series),
-        l: common_vendor.p({
-          name: "arrow-right",
-          size: "12"
-        }),
-        m: common_vendor.t(info.value.first_pay),
-        n: common_vendor.p({
-          name: "arrow-right",
-          size: "16"
-        }),
-        o: common_vendor.o(toChat),
-        p: common_vendor.t(common_vendor.unref(common_vendor.hooks)(info.value.f_time).format("YYYY-MM") || "暂无日期"),
-        q: common_vendor.t(info.value.mileage || "暂无"),
-        r: common_vendor.t(getDict(info.value.emission, "emission")),
-        s: common_vendor.t(info.value.place || "暂无"),
-        t: common_vendor.o(toRecord),
-        v: common_vendor.p({
-          name: "arrow-right",
-          size: "16"
-        }),
-        w: common_vendor.t(info.value.hundred_time || "0"),
-        x: common_vendor.t(info.value.displacement || "暂无"),
-        y: common_vendor.t(info.value.wheelbase || "暂无"),
-        z: common_vendor.t(getDict(info.value.type, "type")),
-        A: common_vendor.t(info.value.oil || "0"),
-        B: common_vendor.t(info.value.premium || "0"),
-        C: common_vendor.t(info.value.maintenance || "0"),
-        D: shop.value.logo && ((_b = shop.value.logo) == null ? void 0 : _b.length) > 0 ? shop.value.logo[0].url : "https://cdn.uviewui.com/uview/album/1.jpg",
-        E: common_vendor.t(shop.value.name || "暂无"),
-        F: common_vendor.p({
-          bold: true,
-          color: "#000",
-          name: "arrow-right",
-          size: "16"
-        }),
-        G: common_vendor.o(toShop),
-        H: common_vendor.t(shop.value.num || 0),
-        I: common_vendor.o(toChat),
-        J: common_vendor.p({
-          icon: "phone",
-          text: "咨询卖家车况",
-          size: "normal",
-          type: "info"
-        }),
-        K: common_vendor.o(($event) => toPicture(0, info.value.file)),
-        L: info.value.file && ((_c = info.value.file) == null ? void 0 : _c.length) > 0 ? info.value.file[0].url : "https://cdn.uviewui.com/uview/album/1.jpg",
-        M: common_vendor.o(($event) => toPicture(1, info.value.file)),
-        N: info.value.file && ((_d = info.value.file) == null ? void 0 : _d.length) > 1 ? info.value.file[1].url : "https://cdn.uviewui.com/uview/album/5.jpg",
-        O: common_vendor.o(($event) => toPicture(2, info.value.file)),
-        P: info.value.file && ((_e = info.value.file) == null ? void 0 : _e.length) > 2 ? info.value.file[2].url : "https://cdn.uviewui.com/uview/album/2.jpg",
-        Q: common_vendor.o(($event) => toPicture(3, info.value.file)),
-        R: info.value.file && ((_f = info.value.file) == null ? void 0 : _f.length) > 3 ? info.value.file[3].url : "https://cdn.uviewui.com/uview/album/3.jpg",
-        S: common_vendor.o(($event) => toPicture(4, info.value.file)),
-        T: info.value.file && ((_g = info.value.file) == null ? void 0 : _g.length) > 4 ? info.value.file[4].url : "https://cdn.uviewui.com/uview/album/4.jpg",
-        U: common_vendor.o(toMore),
-        V: common_vendor.p({
-          text: "查看更多图片",
-          size: "normal",
-          type: "info"
-        }),
-        W: common_vendor.f(list.value, (item, index, i0) => {
-          return common_vendor.e({
-            a: item.file && item.file.length > 0 ? item.file[0].url : "",
-            b: common_vendor.t(item.series || "暂无"),
-            c: common_vendor.t(item.year || "暂无"),
-            d: common_vendor.t(item.style || "暂无"),
-            e: item.year
-          }, item.year ? {
-            f: common_vendor.t(item.year || "暂无")
-          } : {}, {
-            g: item.mileage
-          }, item.mileage ? {
-            h: common_vendor.t(item.mileage || "暂无")
-          } : {}, {
-            i: item.place
-          }, item.place ? {
-            j: common_vendor.t(item.place || "暂无")
-          } : {}, {
-            k: common_vendor.t(item.total_money || "0"),
-            l: index,
-            m: common_vendor.o(($event) => toView(item), index)
-          });
-        }),
-        X: common_vendor.p({
-          color: "#000",
-          name: "red-packet",
-          size: "20"
-        }),
-        Y: common_vendor.o(toChat),
-        Z: common_vendor.o(toChat),
-        aa: common_vendor.o(toChat)
-      };
-    };
-  }
-});
-const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-6b665083"], ["__file", "D:/project/赋强公证/notarization_applet/pagesHome/car/index.vue"]]);
-wx.createPage(MiniProgramPage);

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


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini