瀏覽代碼

Merge branch 'master' of http://git.zthymaoyi.com/gongdecai/wangluohuoyun-huozhuapp

gjy 3 年之前
父節點
當前提交
e7fe3a8939
共有 100 個文件被更改,包括 680 次插入1820 次删除
  1. 17 17
      App.vue
  2. 4 8
      manifest.json
  3. 2 2
      pages/carSource/driverSee.vue
  4. 3 2
      pages/carSource/index.vue
  5. 13 5
      pages/mine/cargoowner/cargoowner.vue
  6. 5 6
      pages/mine/cargoowner/editpersonalinformation.vue
  7. 100 46
      pages/mine/company/addcompany.vue
  8. 174 51
      pages/mine/company/editcompany.vue
  9. 14 12
      pages/mine/confirm.vue
  10. 20 47
      pages/mine/index.vue
  11. 4 2
      pages/news/index.vue
  12. 45 27
      pages/order/index.vue
  13. 2 2
      pages/order/orderDetails.vue
  14. 1 1
      pages/public/login.vue
  15. 35 25
      pages/release/addAddress.vue
  16. 34 19
      pages/release/editAddress.vue
  17. 56 38
      pages/release/release.vue
  18. 151 170
      pages/release/selectAddress.vue
  19. 0 0
      static/images/mine/gh.png
  20. 0 0
      static/images/mine/zm.png
  21. 0 0
      unpackage/dist/build/.automator/app-plus/.automator.json
  22. 0 0
      unpackage/dist/build/app-plus/__uniappchooselocation.js
  23. 二進制
      unpackage/dist/build/app-plus/__uniapperror.png
  24. 0 0
      unpackage/dist/build/app-plus/__uniappes6.js
  25. 0 0
      unpackage/dist/build/app-plus/__uniapppicker.js
  26. 0 0
      unpackage/dist/build/app-plus/__uniappquillimageresize.js
  27. 0 0
      unpackage/dist/build/app-plus/__uniappscan.js
  28. 二進制
      unpackage/dist/build/app-plus/__uniappsuccess.png
  29. 0 25
      unpackage/dist/build/app-plus/__uniappview.html
  30. 0 1
      unpackage/dist/build/app-plus/app-config.js
  31. 二進制
      unpackage/dist/build/app-plus/components/bert-suggest/icons/contact.png
  32. 二進制
      unpackage/dist/build/app-plus/components/bert-suggest/icons/image.png
  33. 二進制
      unpackage/dist/build/app-plus/components/bert-suggest/icons/suggestion.png
  34. 0 1
      unpackage/dist/build/app-plus/hybrid/html/axios.min.js
  35. 0 147
      unpackage/dist/build/app-plus/hybrid/html/base64.js
  36. 0 273
      unpackage/dist/build/app-plus/hybrid/html/crypto.js
  37. 二進制
      unpackage/dist/build/app-plus/hybrid/html/img/1.png
  38. 二進制
      unpackage/dist/build/app-plus/hybrid/html/img/shipinrenzheng.png
  39. 0 0
      unpackage/dist/build/app-plus/hybrid/html/index.js
  40. 0 182
      unpackage/dist/build/app-plus/hybrid/html/map.html
  41. 0 37
      unpackage/dist/build/app-plus/hybrid/html/play.html
  42. 0 428
      unpackage/dist/build/app-plus/hybrid/html/video.html
  43. 0 0
      unpackage/dist/build/app-plus/hybrid/html/video.js
  44. 0 5
      unpackage/dist/build/app-plus/hybrid/html/vue.min.js
  45. 二進制
      unpackage/dist/build/app-plus/static/ITkoala-amap/amap.png
  46. 二進制
      unpackage/dist/build/app-plus/static/ITkoala-amap/close.png
  47. 二進制
      unpackage/dist/build/app-plus/static/ITkoala-amap/selectedStart.png
  48. 二進制
      unpackage/dist/build/app-plus/static/ITkoala-amap/sharp.png
  49. 二進制
      unpackage/dist/build/app-plus/static/ITkoala-amap/start.png
  50. 二進制
      unpackage/dist/build/app-plus/static/banner@2x.png
  51. 0 221
      unpackage/dist/build/app-plus/static/css/common.scss
  52. 0 20
      unpackage/dist/build/app-plus/static/css/font.css
  53. 二進制
      unpackage/dist/build/app-plus/static/icon_delete.png
  54. 二進制
      unpackage/dist/build/app-plus/static/icon_down.png
  55. 二進制
      unpackage/dist/build/app-plus/static/iconfont.ttf
  56. 二進制
      unpackage/dist/build/app-plus/static/images/carSource/exchange.png
  57. 二進制
      unpackage/dist/build/app-plus/static/images/carSource/mescroll-empty.png
  58. 二進制
      unpackage/dist/build/app-plus/static/images/carSource/yaoqing.png
  59. 二進制
      unpackage/dist/build/app-plus/static/images/common/bz@2x.png
  60. 二進制
      unpackage/dist/build/app-plus/static/images/common/cy@2x.png
  61. 二進制
      unpackage/dist/build/app-plus/static/images/common/dingdan@2x(1).png
  62. 二進制
      unpackage/dist/build/app-plus/static/images/common/dingdan@2x.png
  63. 二進制
      unpackage/dist/build/app-plus/static/images/common/huoyuan@2x(1).png
  64. 二進制
      unpackage/dist/build/app-plus/static/images/common/huoyuan@2x.png
  65. 二進制
      unpackage/dist/build/app-plus/static/images/common/iconmy@2x.png
  66. 二進制
      unpackage/dist/build/app-plus/static/images/common/jt.png
  67. 二進制
      unpackage/dist/build/app-plus/static/images/common/mesicon@2x.png
  68. 二進制
      unpackage/dist/build/app-plus/static/images/common/my@2x.png
  69. 二進制
      unpackage/dist/build/app-plus/static/images/common/quxiao@2x.png
  70. 二進制
      unpackage/dist/build/app-plus/static/images/common/sh.png
  71. 二進制
      unpackage/dist/build/app-plus/static/images/common/sx.png
  72. 二進制
      unpackage/dist/build/app-plus/static/images/common/tg.png
  73. 二進制
      unpackage/dist/build/app-plus/static/images/common/tianjiazhaopian@2x.png
  74. 二進制
      unpackage/dist/build/app-plus/static/images/common/top@2x.png
  75. 二進制
      unpackage/dist/build/app-plus/static/images/common/wtg.png
  76. 二進制
      unpackage/dist/build/app-plus/static/images/common/xiaoxi@2x.png
  77. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/Mask@2x.png
  78. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/banner@2x.png
  79. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/change.png
  80. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/jt.png
  81. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/jx.png
  82. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/jxbf.png
  83. 二進制
      unpackage/dist/build/app-plus/static/images/goodSource/msgicon@2x.png
  84. 二進制
      unpackage/dist/build/app-plus/static/images/help/banner@2x.png
  85. 二進制
      unpackage/dist/build/app-plus/static/images/help/tu1@2x.png
  86. 二進制
      unpackage/dist/build/app-plus/static/images/help/zy.png
  87. 二進制
      unpackage/dist/build/app-plus/static/images/login/bg.png
  88. 二進制
      unpackage/dist/build/app-plus/static/images/login/bg@2x.png
  89. 二進制
      unpackage/dist/build/app-plus/static/images/login/bg@3x.png
  90. 二進制
      unpackage/dist/build/app-plus/static/images/login/bg_slices/bg.png
  91. 二進制
      unpackage/dist/build/app-plus/static/images/login/bg_slices/bg@2x.png
  92. 二進制
      unpackage/dist/build/app-plus/static/images/login/bg_slices/bg@3x.png
  93. 二進制
      unpackage/dist/build/app-plus/static/images/login/duihao2.png
  94. 二進制
      unpackage/dist/build/app-plus/static/images/login/duihao2@2x.png
  95. 二進制
      unpackage/dist/build/app-plus/static/images/login/duihao2@3x.png
  96. 二進制
      unpackage/dist/build/app-plus/static/images/login/guanbi@2x.png
  97. 二進制
      unpackage/dist/build/app-plus/static/images/login/logo.png
  98. 二進制
      unpackage/dist/build/app-plus/static/images/login/logo@2x.png
  99. 二進制
      unpackage/dist/build/app-plus/static/images/login/logo@3x.png
  100. 二進制
      unpackage/dist/build/app-plus/static/images/login/select.png

+ 17 - 17
App.vue

@@ -21,23 +21,23 @@
 		},
 		onLaunch: function() {
 			let that = this
-			uni.onTabBarMidButtonTap(() => {
-				console.log("点击发布")
-				if (!that.hasLogin) {
-					// uni.$u.route('/pages/public/login');
-					uni.navigateTo({
-						url: "/pages/public/login",
-						animationType: "slide-in-bottom", // 动画类型
-						animationDuration: 150, // 窗口动画持续时间,单位为 ms
-						fail(err) {
-							console.log(err)
-						},
-						success(res) {
-							console.log(res)
-						}
-					})
-				}
-			})
+			// uni.onTabBarMidButtonTap(() => {
+			// 	console.log("点击发布")
+			// 	if (!that.hasLogin) {
+			// 		// uni.$u.route('/pages/public/login');
+			// 		uni.navigateTo({
+			// 			url: "/pages/public/login",
+			// 			animationType: "slide-in-bottom", // 动画类型
+			// 			animationDuration: 150, // 窗口动画持续时间,单位为 ms
+			// 			fail(err) {
+			// 				console.log(err)
+			// 			},
+			// 			success(res) {
+			// 				console.log(res)
+			// 			}
+			// 		})
+			// 	}
+			// })
 			uni.getSystemInfo({
 				success: function(e) {
 					Vue.prototype.statusBar = e.statusBarHeight

+ 4 - 8
manifest.json

@@ -20,8 +20,7 @@
         "modules" : {
             "Maps" : {},
             "VideoPlayer" : {},
-            "Geolocation" : {},
-            "iBeacon" : {}
+            "Geolocation" : {}
         },
         /* 应用发布信息 */
         "distribute" : {
@@ -36,8 +35,6 @@
                     "<uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\"/>",
                     "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
                     "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
-                    "<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
                     "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
                     "<uses-permission android:name=\"android.permission.CAMERA\"/>",
                     "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
@@ -51,10 +48,9 @@
                     "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
                     "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
                     "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
-                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
-                    "<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
-                    "<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
-                ]
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ],
+                "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
             },
             /* ios打包配置 */
             "ios" : {},

+ 2 - 2
pages/carSource/driverSee.vue

@@ -18,7 +18,7 @@
 			</view>
 		</view>
 			<view class="row2 flex">
-			<view class="flex item">&
+			<view class="flex item">
 				<view class="pf-name">评分</view>
 				<view class="pf-number">{{ping.zong}}</view>
 			</view>
@@ -67,7 +67,7 @@
 			<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback"
 				class="mescroll">
 				<view class="flex flex-space-between">
-					<view :class="haoType == '' ? 'btn-active':'btn'" @click="btnChange('')">全部({{ping.haoPing+ping.chaPing}}})</view>
+					<view :class="haoType == '' ? 'btn-active':'btn'" @click="btnChange('')">全部({{ping.haoPing+ping.chaPing}})</view>
 					<!-- <view :class="btnData == 2 ? 'btn-active':'btn'" @click="btnChange(2)">最新(1)</view> -->
 					<view :class="haoType == 1 ? 'btn-active':'btn'" @click="btnChange(1)">好评({{ping.haoPing}})</view>
 					<view :class="haoType == 2 ? 'btn-active':'btn'" @click="btnChange(2)">差评({{ping.chaPing}})</view>

+ 3 - 2
pages/carSource/index.vue

@@ -26,7 +26,7 @@
 				</itmisterAddressPickerOther>
 			</view>
 			<view class="route">
-				<view v-for="(item,index) in routeData">
+				<view v-for="(item,index) in routeData" @click="driverLook(item)">
 					<view class="flex route_item">
 						<view style="width: 20%;">
 							<u-avatar :src="item.driverPortrait" size="60"></u-avatar>
@@ -213,6 +213,7 @@
 		},
 		onLoad() {},
 		methods: {
+			
 			driverLook(item) {
 				this.$u.route("/pages/carSource/driverSee", {
 					commonId: item.commonId
@@ -545,7 +546,7 @@
 
 			.center_top {
 				width: 40%;
-				margin: 60rpx auto 0;
+				margin: 70rpx auto 0;
 
 				.center_top_btn {
 					width: 50%;

+ 13 - 5
pages/mine/cargoowner/cargoowner.vue

@@ -31,10 +31,10 @@
 							<view v-else style='font-size:21px;'>{{personage.name}}</view>
 							<view v-if="personage.authenticationStatus!='已认证'" class='flex flex-space-between'
 								style='width:100%;color:#999999;font-size:14px;'>您的身份信息{{personage.authenticationStatus?personage.authenticationStatus:'未认证'}}状态
-								<!-- <u-icon name="arrow-right" color="#7E7E7E" size="10" v-if="datastatus"></u-icon> -->
+								<u-icon name="arrow-right" color="#7E7E7E" size="10" v-if="datastatus"></u-icon>
 							</view>
 							<view v-else class='flex flex-space-between' style='width:100%;color:#999999;font-size:14px;'>
-								{{phone}}
+								{{starUserphone}}
 								<u-icon name="arrow-right" color="#7E7E7E" size="10"></u-icon>
 							</view>
 						</view>
@@ -112,14 +112,21 @@
 			this.getList()
 		},
 		computed: {
-			...mapState(['hasLogin', 'userInfo']),
+			...mapState(['hasLogin', 'userInfo', "firstAuthentication"]),
+			// 手机号中间4位加*
+			starUserphone() {
+				let reg = /^(\d{3})\d{4}(\d{4})$/;
+				if (this.phone) {
+					return this.phone.replace(reg, "$1****$2");
+				}
+			}
 		},
 		methods: {
 			toEditPage(){
 				if(this.personage&&this.personage.authenticationStatus=='已认证'){
 					uni.$u.route("/pages/mine/cargoowner/editpersonalinformation",this.personage);
 				}else{
-					
+					uni.$u.route("/pages/mine/cargoowner/editpersonalinformation",this.personage);
 				}
 			},
 			edit(val){
@@ -176,7 +183,8 @@
 								// } else {
 								// 	this.status = true
 								// }
-								this.phone = this.personage.phone.replace(this.personage.phone.substring(3, 7), "****")
+								this.phone = this.personage.phone
+								// this.phone = this.personage.phone.replace(this.personage.phone.substring(3, 7), "****")
 							}
 
 						} else {

+ 5 - 6
pages/mine/cargoowner/editpersonalinformation.vue

@@ -110,6 +110,7 @@
 			@select="imgTypeSelect" @cancel='isShowimgType=false' :closeOnClickOverlay="true" :closeOnClickAction="true"
 			@close="isShowimgType=false">
 		</u-action-sheet>
+		<u-toast ref="uToast"></u-toast>
 	</view>
 </template>
 
@@ -269,14 +270,14 @@
 					})
 					return true
 				}
-				if (this.dataDetails.name.length<2||this.dataDetails.name.length<10) {
+				if (this.dataDetails.name.length<2||this.dataDetails.name.length>10) {
 					this.$refs.uToast.show({
 						type: 'error',
 						message: "姓名输入错误!",
 					})
 					return true
 				}
-				if (this.dataDetails.call.length<4) {
+				if (this.dataDetails.call.length>4) {
 					this.$refs.uToast.show({
 						type: 'error',
 						message: "称呼输入错误!",
@@ -290,7 +291,7 @@
 					})
 					return true
 				}
-				if (this.dataDetails.call.length<18) {
+				if (this.dataDetails.cardNumber.length != 18) {
 					this.$refs.uToast.show({
 						type: 'error',
 						message: "身份证号输入错误!",
@@ -346,13 +347,11 @@
 
 			imgTypeSelect(val) {
 				let that = this
-				console.log(val)
-				console.log(this.uploadType)
 					uni.chooseImage({
 						count: 1,
 						success: function(res) {
 							console.log(JSON.stringify(res.tempFilePaths));
-							uploadImage(res.tempFilePaths[0], 'appData/',
+							uploadImage("image",res.tempFilePaths[0], 'appData/',
 								result => {
 									// 上传成功回调函数
 									console.log('图片地址', result)

+ 100 - 46
pages/mine/company/addcompany.vue

@@ -33,7 +33,7 @@
 			<view class="flex row">
 				<view class="left-text">营业期限截止日期</view>
 				<view style='font-size:14px;width:50%;' class='flex flex-space-between'
-					@click="selectValidityPeriod(0)">
+					@click="selectData(0)">
 					<view :style="{'color':dataDetails.businessTermDate ? '#000':'#C6CBD5'}">
 						{{dataDetails.businessTermDate?dataDetails.businessTermDate:'选择期限截止日期'}}
 					</view>
@@ -75,18 +75,51 @@
 					</u--input>
 				</view>
 			</view>
-			<!-- <view class="flex mt20 align-center">
-				<view class="left">注册实缴金额</view>
-				<view class="flex right align-center">
-					<u--input placeholder="输入企业注册实缴金额" inputAlign='left' border="none"
-						v-model="dataDetails.registeredPaidAmount">
+			<view class="title">上传身份证人像面</view>
+			<view @click.stop="uploadImg(2)" class="picture picture1" v-if="!dataDetails.cardAddressUrl">
+				<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
+				<view class="text">上传身份证人像面</view>
+			</view>
+			<view v-if="dataDetails.cardAddressUrl" @click.stop="uploadImg(2)"
+				class="preview-card-img picture">
+				<image class="" :src="dataDetails.cardAddressUrl" mode="aspectFit" style=""></image>
+			</view>
+			<view class="title">上传身份证国徽面</view>
+			<view @click="uploadImg(3)" class="picture picture2" v-if="!dataDetails.cardBackAddressUrl">
+				<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
+				<view class="text">上传身份证国徽面</view>
+			</view>
+			<view v-if="dataDetails.cardBackAddressUrl" @click.stop="uploadImg(3)"
+				class="preview-card-img picture">
+				<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit" style=""></image>
+			</view>
+			<view class="flex border-bottom mt20 align-center">
+				<view class="left">身份证号</view>
+				<view class="flex right">
+					<u--input disabledColor='#fff' placeholder="输入身份证号" inputAlign='left' border="none"
+						v-model="dataDetails.cardNumber">
 					</u--input>
-					<view>万元</view>
 				</view>
-			</view> -->
+			</view>
+		<view class="flex row">
+			<view class="left-text">身份证有效期</view>
+			<view style='font-size:14px;width:50%;' class='flex flex-space-between'
+				@click="selectData(1)">
+				<view :style="{'color':dataDetails.cardValidityDate ? '#000':'#C6CBD5'}">
+					{{dataDetails.cardValidityDate?dataDetails.cardValidityDate:'选择期限截止日期'}}
+				</view>
+				<view>
+					<u-icon name="arrow-right" color="#7E7E7E" size="10"></u-icon>
+				</view>
+			</view>
+		</view>
+		<!-- 	<view class="flex row noborder">
+					<view class="left-text">身份证截止日期</view>
+					<view class="" @click="selectData(1)">
+						{{dataDetails.cardValidityDate?dataDetails.cardValidityDate:'选择身份证截止日期>'}}
+					</view>
+				</view> -->
 		</view>
-		<!-- http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4 -->
-		<!-- dataDetails.videoAddressUrl -->
 		<view class='content3' v-if="!dataDetails.videoAddressUrl"
 			@click="goDetailPage('/pages/mine/company/companyvideo')">
 			<view class="left-text">视频验证(打开摄像头并阅读提示文字)</view>
@@ -236,7 +269,8 @@
 					videoAddressUrl: null,
 					legalPersonName: ''
 
-				}
+				},
+				dataType:""
 			}
 		},
 		onShow() {
@@ -267,6 +301,29 @@
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		methods: {
+			selectData(num) {
+				this.dataType = num
+				this.isShowcardValidity = true
+			},
+			confirmValidityPeriod(e) {
+				switch (this.dataType) {
+					case 0:
+						if (e.value[0] == '长期') {
+							this.dataDetails.businessTermDate = e.value[0]
+						} else {
+							this.dataDetails.businessTermDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
+						}
+						break
+					case 1:
+						if (e.value[0] == '长期') {
+							this.dataDetails.cardValidityDate = e.value[0]
+						} else {
+							this.dataDetails.cardValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
+						}
+						break
+				}
+				this.isShowcardValidity = false
+			},
 			screenChange(e) {
 				let fullScreen = e.detail.fullScreen; // 值true为进入全屏,false为退出全屏
 				console.log(e, "全屏");
@@ -518,11 +575,10 @@
 
 				}
 			},
-			clickcancel() {
-				this.isShowcardValidity = false
-			},
+			// clickcancel() {
+			// 	this.isShowcardValidity = false
+			// },
 			imgTypeSelect(val) {
-				debugger
 				var _this = this
 				// if (val.name == '相册') {
 					uni.chooseImage({
@@ -533,9 +589,8 @@
 							uploadImage('image', res.tempFilePaths[0], 'appData/',
 								result => {
 									// 上传成功回调函数
-									console.log('图片地址', result)
-
 									switch (_this.uploadType) {
+										
 										// 身份正面
 										case 1:
 											_this.dataDetails.businessLicenseAddressUrl = result
@@ -571,10 +626,23 @@
 											break
 											// 身份反面
 										case 2:
-											_this.dataDetails.propertyAddressUrl = result
-											console.log(_this.dataDetails.propertyAddressUrl)
+											_this.dataDetails.cardAddressUrl = result
+											// 识别
+											_this.$request.baseRequest('get',
+													'/driverInfo/personShibie', {
+														personImg: result,
+													}).then(res => {
+													_this.dataDetails.cardNumber = res.data.recPersonNo
+													_this.$forceUpdate()
+												})
+												.catch(res => {
+													uni.$u.toast(res.message);
+												});
+											
 											break
 										case 3:
+										_this.dataDetails.cardBackAddressUrl = result
+											_this.$forceUpdate()
 											break;
 									}
 								}
@@ -647,30 +715,8 @@
 			selectValidityPeriod(type) {
 				this.ValidityPeriodType = type
 				this.imgTypeSelect()
-				// this.isShowcardValidity = true
-			},
-			confirmValidityPeriod(e) {
-				switch (this.ValidityPeriodType) {
-					case 0:
-						if (e.value[0] == '长期') {
-							this.dataDetails.businessTermDate = e.value[0]
-						} else {
-							this.dataDetails.businessTermDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
-						}
-						break
-					case 1:
-						if (e.value[0] == '长期') {
-							this.dataDetails.siteLeaseDate = e.value[0]
-						} else {
-							this.dataDetails.siteLeaseDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
-						}
-						break
-				}
-				console.log('confirm', e)
-
-
-				this.isShowcardValidity = false
 			},
+			
 			changeHandler(e) {
 				const {
 					columnIndex,
@@ -740,8 +786,8 @@
 	.picture {
 		margin-top: 20rpx;
 		background: #F5F6FA;
-		width: 212rpx;
-		height: 212rpx;
+		width: 100%;
+		height: 440rpx;
 		border-radius: 20rpx;
 		display: flex;
 		flex-direction: column;
@@ -749,6 +795,15 @@
 		align-items: center;
 		color: #6A7282;
 	}
+	.picture1 {
+		background: url(../../../static/images/mine/zm.png);
+		background-size: 100% 100%;
+	}
+	.picture2 {
+		background: url(../../../static/images/mine/gh.png);
+		background-size: 100% 100%;
+	}
+	
 
 	.content1 {
 		background: #fff;
@@ -785,13 +840,12 @@
 				margin-top: 20rpx;
 			}
 		}
-
+		
 		.picture7 {
 			background: url(../../../static/mine/cy.png);
 			background-size: 100% 100%;
 		}
 
-
 		.xj-image {
 			width: 100rpx;
 			height: 100rpx;

+ 174 - 51
pages/mine/company/editcompany.vue

@@ -24,7 +24,7 @@
 			<view class="flex row">
 				<view class="left-text">营业期限截止日期</view>
 				<view style='font-size:14px;width:50%;' class='flex flex-space-between'
-					@click="selectValidityPeriod(0)">
+					@click="selectData(0)">
 					<view :style="{'color':dataDetails.businessTermDate ? '#000':'#C6CBD5'}">
 						{{dataDetails.businessTermDate?dataDetails.businessTermDate:'选择期限截止日期'}}
 					</view>
@@ -66,6 +66,44 @@
 					</u--input>
 				</view>
 			</view>
+			<view class="title">上传身份证人像面</view>
+				<view @click.stop="uploadImg(2)" class="picture picture1" v-if="!dataDetails.cardAddressUrl">
+					<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
+					<view class="text">上传身份证人像面</view>
+				</view>
+				<view v-if="dataDetails.cardAddressUrl" @click.stop="uploadImg(2)"
+					class="preview-card-img picture">
+					<image class="" :src="dataDetails.cardAddressUrl" mode="aspectFit" style=""></image>
+				</view>
+				<view class="title">上传身份证国徽面</view>
+				<view @click="uploadImg(3)" class="picture picture2" v-if="!dataDetails.cardBackAddressUrl">
+					<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
+					<view class="text">上传身份证国徽面</view>
+				</view>
+				<view v-if="dataDetails.cardBackAddressUrl" @click.stop="uploadImg(3)"
+					class="preview-card-img picture">
+					<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit" style=""></image>
+				</view>
+				<view class="flex border-bottom mt20 align-center">
+					<view class="left">身份证号</view>
+					<view class="flex right">
+						<u--input disabledColor='#fff' placeholder="输入身份证号" inputAlign='left' border="none"
+							v-model="dataDetails.cardNumber">
+						</u--input>
+					</view>
+				</view>
+			<view class="flex row">
+				<view class="left-text">身份证有效期</view>
+				<view style='font-size:14px;width:50%;' class='flex flex-space-between'
+					@click="selectData(1)">
+					<view :style="{'color':dataDetails.cardValidityDate ? '#000':'#C6CBD5'}">
+						{{dataDetails.cardValidityDate?dataDetails.cardValidityDate:'选择期限截止日期'}}
+					</view>
+					<view>
+						<u-icon name="arrow-right" color="#7E7E7E" size="10"></u-icon>
+					</view>
+				</view>
+			</view>
 			<view class="flex border-bottom mt20 align-center">
 				<view class="left">通讯地址</view>
 				<view class="flex right">
@@ -235,11 +273,11 @@
 					videoAddressUrl: null,
 					legalPersonName: ''
 
-				}
+				},
+				dataType:""
 			}
 		},
 		onShow() {
-			console.log(uni.getStorageSync("videoSrc"))
 			var viderSrc = uni.getStorageSync("videoSrc")
 			if (viderSrc) {
 				this.dataDetails.videoAddressUrl = viderSrc
@@ -248,7 +286,6 @@
 		onLoad(options) {
 			this.dataDetails.id = options.id
 			this.validityPeriod = this.$helper.makeValidityPeriod(0, '长期')
-			console.log(this)
 			this.dataDetails.commonId = this.userInfo.id
 			this.dataDetails.phone = this.userInfo.phone
 			console.log('```````````````')
@@ -263,6 +300,29 @@
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		methods: {
+			selectData(num) {
+				this.dataType = num
+				this.isShowcardValidity = true
+			},
+			confirmValidityPeriod(e) {
+				switch (this.dataType) {
+					case 0:
+						if (e.value[0] == '长期') {
+							this.dataDetails.businessTermDate = e.value[0]
+						} else {
+							this.dataDetails.businessTermDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
+						}
+						break
+					case 1:
+						if (e.value[0] == '长期') {
+							this.dataDetails.cardValidityDate = e.value[0]
+						} else {
+							this.dataDetails.cardValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
+						}
+						break
+				}
+				this.isShowcardValidity = false
+			},
 			screenChange(e) {
 				let fullScreen = e.detail.fullScreen; // 值true为进入全屏,false为退出全屏
 				console.log(e, "全屏");
@@ -505,55 +565,131 @@
 			},
 			imgTypeSelect(val) {
 				var _this = this
-				if (val.name == '相册') {
+				// if (val.name == '相册') {
 					uni.chooseImage({
 						count: 1,
-						sourceType: this.$helper.chooseImage.sourceType,
+						// sourceType: ,
 						success: function(res) {
 							console.log(JSON.stringify(res.tempFilePaths));
 							uploadImage('image', res.tempFilePaths[0], 'appData/',
 								result => {
 									// 上传成功回调函数
-									console.log('图片地址', result)
-
 									switch (_this.uploadType) {
+										
 										// 身份正面
 										case 1:
 											_this.dataDetails.businessLicenseAddressUrl = result
+											// 识别
+											_this.$request.baseRequest('get',
+													'/cargoOwnerInfo/api/licenseShibie', {
+														licenseImg: result,
+													}).then(res => {
+													if (res.code == '200') {
+														if(res.data){
+															if (res.data.validPeriod == '29991231') {
+																_this.dataDetails.businessTermDate = '长期'
+															}
+															_this.dataDetails.unifiedSocialCreditCode = res
+																.data.regNum
+															_this.dataDetails.legalPersonName = res.data
+																.licensePerson
+															_this.dataDetails.companyName = res.data
+																.licenseName
+															console.log(res)
+															_this.$forceUpdate()
+														}else{
+															uni.$u.toast('请上传营业执照');
+														}
+													}
+			
+												})
+												.catch(res => {
+													console.log(res)
+													uni.$u.toast(res.message);
+												});
 											console.log(_this.dataDetails.businessLicenseAddressUrl)
 											break
 											// 身份反面
 										case 2:
-											_this.dataDetails.propertyAddressUrl = result
-											console.log(_this.dataDetails.propertyAddressUrl)
+											_this.dataDetails.cardAddressUrl = result
+											// 识别
+											_this.$request.baseRequest('get',
+													'/driverInfo/personShibie', {
+														personImg: result,
+													}).then(res => {
+													_this.dataDetails.cardNumber = res.data.recPersonNo
+													_this.$forceUpdate()
+												})
+												.catch(res => {
+													uni.$u.toast(res.message);
+												});
+											
 											break
 										case 3:
+										_this.dataDetails.cardBackAddressUrl = result
+											_this.$forceUpdate()
 											break;
 									}
 								}
 							)
 						}
 					});
-				} else {
-					uni.chooseImage({
-						count: 1,
-						sourceType: ['camera'],
-						success: function(res) {
-							console.log(JSON.stringify(res.tempFilePaths));
-							uploadImage('image', res.tempFilePaths[0], 'appData/',
-								result => {
-									// 上传成功回调函数
-									console.log('图片地址', result)
-									_this.dataDetails.businessLicenseAddressUrl = result
-								}
-							)
-						}
-					});
-				}
+				// } else {
+				// 	uni.chooseImage({
+				// 		count: 1,
+				// 		sourceType: ['camera'],
+				// 		success: function(res) {
+				// 			console.log(JSON.stringify(res.tempFilePaths));
+				// 			uploadImage('image', res.tempFilePaths[0], 'appData/',
+				// 				result => {
+				// 					// 上传成功回调函数
+				// 					console.log('图片地址', result)
+				// 					switch (_this.uploadType) {
+				// 						// 身份正面
+				// 						case 1:
+				// 							// 识别
+				// 							_this.$request.baseRequest('get',
+				// 									'/cargoOwnerInfo/api/licenseShibie', {
+				// 										licenseImg: result,
+				// 									}).then(res => {
+				// 									if (res.code == '200') {
+				// 										if (res.data.validPeriod == '29991231') {
+				// 											_this.dataDetails.businessTermDate = '长期'
+				// 										}
+				// 										_this.dataDetails.unifiedSocialCreditCode = res
+				// 											.data.regNum
+				// 										_this.dataDetails.legalPersonName = res.data
+				// 											.licensePerson
+				// 										_this.dataDetails.companyName = res.data
+				// 											.licenseName
+				// 										console.log(res)
+				// 										_this.$forceUpdate()
+				// 									}
+			
+				// 								})
+				// 								.catch(res => {
+				// 									uni.$u.toast(res.message);
+				// 								});
+				// 							_this.dataDetails.businessLicenseAddressUrl = result
+				// 							console.log(_this.dataDetails.businessLicenseAddressUrl)
+				// 							break
+				// 							// 身份反面
+				// 						case 2:
+				// 							_this.dataDetails.propertyAddressUrl = result
+				// 							console.log(_this.dataDetails.propertyAddressUrl)
+				// 							break
+				// 						case 3:
+				// 							break;
+				// 					}
+				// 				}
+				// 			)
+				// 		}
+				// 	});
+				// }
 			},
 			uploadImg(type) {
 				this.uploadType = type
-				this.isShowimgType = true
+				this.imgTypeSelect()
 				// this.index = index
 			},
 			goDetailPage(src) {
@@ -564,28 +700,7 @@
 				this.ValidityPeriodType = type
 				this.isShowcardValidity = true
 			},
-			confirmValidityPeriod(e) {
-				switch (this.ValidityPeriodType) {
-					case 0:
-						if (e.value[0] == '长期') {
-							this.dataDetails.businessTermDate = e.value[0]
-						} else {
-							this.dataDetails.businessTermDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
-						}
-						break
-					case 1:
-						if (e.value[0] == '长期') {
-							this.dataDetails.siteLeaseDate = e.value[0]
-						} else {
-							this.dataDetails.siteLeaseDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
-						}
-						break
-				}
-				console.log('confirm', e)
-
-
-				this.isShowcardValidity = false
-			},
+		
 			changeHandler(e) {
 				const {
 					columnIndex,
@@ -656,8 +771,8 @@
 	.picture {
 		margin-top: 20rpx;
 		background: #F5F6FA;
-		width: 212rpx;
-		height: 212rpx;
+		width: 100%;
+		height: 440rpx;
 		border-radius: 20rpx;
 		display: flex;
 		flex-direction: column;
@@ -665,6 +780,14 @@
 		align-items: center;
 		color: #6A7282;
 	}
+	.picture1 {
+		background: url(../../../static/images/mine/zm.png);
+		background-size: 100% 100%;
+	}
+	.picture2 {
+		background: url(../../../static/images/mine/gh.png);
+		background-size: 100% 100%;
+	}
 
 	.content1 {
 		background: #fff;

+ 14 - 12
pages/mine/confirm.vue

@@ -11,32 +11,34 @@
 </template>
 
 <script>
+	import {
+		mapState
+	} from 'vuex';
 	export default {
 		data() {
 			return {
-				sessionId: '',
 				token: '',
-				httpUrl: '',
-				username: '',
-				msg: ''
+				msg: '',
+				phone: '',
 			}
 		},
+		computed: {
+			...mapState(['hasLogin', 'userInfo', "firstAuthentication"]),
+		},
 		onLoad(option) {
-			this.sessionId = option.sessionId;
 			this.token = option.token;
-			this.httpUrl = option.httpUrl;
-			this.username = option.username;
 			console.log(option);
 		},
 		methods: {
 			mobileOkPcLogin() {
-				this.$request.baseRequest('post', '/user/mobileOkPcLogin', {
-						sessionId: this.sessionId,
+				this.$request.baseRequest('post', '/login/loginCode', {
+						phone: this.userInfo.phone,
 						token: this.token
 					}).then(res => {
-						let resultData = res.data;
-						_this.msg = resultData.msg;
-						console.log(resultData);
+						console.log(1111111111111111111)
+						console.log(res)
+						this.msg = res.message;
+						console.log(this.msg);
 					})
 					.catch(res => {
 						uni.$u.toast(res.message);

+ 20 - 47
pages/mine/index.vue

@@ -3,7 +3,7 @@
 	<view class="container">
 		<view class='container_content'>
 			<view class="head">
-				<view style='margin-bottom:14px;' class="row flex flex-end">
+				<view style='margin-bottom:14px;' class="row flex flex-end" v-if='hasLogin'>
 					<u--image class='image' :showLoading="true" src="../../static/mine/saoma.png" width="20px"
 						height="20px" @click="scanCode()"></u--image>
 					<u--image @click="goDetailPage('/pages/mine/set')" style='margin-right:0;' class='image'
@@ -19,7 +19,7 @@
 							<view v-if='status' class='currectstatus'>已认证</view>
 							<view v-if='!status' class='currectstatus1'>未认证</view>
 						</view>
-						<view class='phone'>{{phone}}</view>
+						<view class='phone'>{{starUserphone}}</view>
 					</view>
 					<view class='information' v-else @click="toLogin">立即登录</view>
 				</view>
@@ -192,11 +192,12 @@
 						} else {
 							this.cargoCall = "女士"
 						}
+					}else{
+						this.userName = this.userInfo.userName
 					}
-
 				})
-				this.phone = this.userInfo.phone ? this.userInfo.phone.replace(this.userInfo.phone.substring(3, 7),
-					"****") : ''
+				// this.phone = this.userInfo.phone ? this.userInfo.phone.replace(this.userInfo.phone.substring(3, 7),"****") : ''
+				this.phone = this.userInfo.phone
 				if (!this.cargoCall) {
 					this.userName = this.userInfo.userName
 				}
@@ -213,12 +214,12 @@
 		computed: {
 			...mapState(['hasLogin', 'userInfo', "firstAuthentication"]),
 			// 手机号中间4位加*
-			// starUserphone() {
-			// 	let reg = /^(\d{3})\d{4}(\d{4})$/;
-			// 	if (this.userphone) {
-			// 		return this.userphone.replace(reg, "$1****$2");
-			// 	}
-			// }
+			starUserphone() {
+				let reg = /^(\d{3})\d{4}(\d{4})$/;
+				if (this.phone) {
+					return this.phone.replace(reg, "$1****$2");
+				}
+			}
 		},
 		methods: {
 			scanCode() {
@@ -226,50 +227,22 @@
 				uni.scanCode({
 					onlyFromCamera: true,
 					success: function(res) {
-						console.log('条码类型:' + res.scanType);
 						console.log('条码内容:' + res.result);
-						_this.sessionId = res.result;
-						uni.getStorage({
-							key: 'info',
-							success: (resStore) => {
-								let infoJson = JSON.parse(resStore.data);
-								console.log(infoJson);
-								_this.token = infoJson.token;
-								_this.httpUrl = infoJson.httpUrl;
-								console.log(_this.token, _this.httpUrl);
-								_this.mobileScanOk();
-							}
-						});
+
+						_this.token = res.result.split('?token=')[1];
+						_this.mobileScanOk();
 					}
 				});
 			},
 			mobileScanOk() {
-				this.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
-					sessionId: this.sessionId,
+				this.$request.baseRequest('get', '/login/loginInfo', {
 					token: this.token
 				}).then(res => {
-					let resultData = res.data;
+					let resultData = res;
 					console.log(resultData);
-					if (resultData.code == 0) {
-
-						let status = resultData.data.status;
-						if (status == 1) { //登录成功
-							this.username = resultData.data.username;
-							uni.navigateTo({
-								url: `./confirm?token=${this.token}&sessionId=${this.sessionId}&httpUrl=${this.httpUrl}&username=${this.username}`
-							});
-						} else {
-							uni.showToast({
-								title: resultData.msg,
-								duration: 2000
-							});
-						}
-					} else {
-						uni.showToast({
-							title: resultData.msg,
-							duration: 2000
-						});
-					}
+					uni.navigateTo({
+						url: `./confirm?token=${this.token}`
+					});
 
 				})
 			},

+ 4 - 2
pages/news/index.vue

@@ -1,10 +1,11 @@
 <template>
-	<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback"
-		style="background-color: #F5F6FA;">
+		<view>
 		<u-navbar title="消息中心" leftIconSize='0' :bgColor="bgColor" :placeholder='true' leftIconColor="#fff"
 			titleStyle='color:#fff' rightText='一键已读' @rightClick="rightClick">
 		</u-navbar>
 		<view class="top-bgc"></view>
+		<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback"
+			style="background-color: #F5F6FA;">
 		<view class="content">
 			<view class="info-item flex" v-for="(item,index) in news" :key="index" @click="read(item)">
 				<view class="left">
@@ -49,6 +50,7 @@
 			</u-modal>
 		</view>
 	</mescroll-body>
+	</view>
 </template>
 
 <script>

+ 45 - 27
pages/order/index.vue

@@ -1,7 +1,6 @@
 <!-- 货源 -->
 <template>
 	<view class="content">
-		<view class="fixed1"></view>
 		<!-- <view v-if="!isSearch"> -->
 		<!-- 		<view class="fixed">
 				<view class='title flex flex-center'>
@@ -15,25 +14,30 @@
 							}"></u-tabs>
 			</view> -->
 		<view class="top-content">
-			<u-search placeholder="搜索订单" v-model="searchKeyWord" bgColor='white' :actionStyle='searchStyle'
-				@custom="getSearch" @search="getSearch" :clearabled="true"></u-search>
-			<view class="tab-content">
-				<u-tabs :list="tabList" @click="clickTab" lineColor='transparent' :current='tabIndex'
-					:inactiveStyle="{color:'white'}" :activeStyle="{
-									color: '#2772FB',
-									fontWeight: 'bold',
-									transform: 'scale(1.05)',
-									background:'white',
-									padding:'10rpx 20rpx',
-									'border-radius':'40rpx'
-								}" class="tabs"></u-tabs>
-				<view class="right-btn" @click="showMenu=true">
-					<u-icon name="grid-fill" color="white" size="28"></u-icon>
-					<view class="">
-						全部
+			
+				<view class="fixed1"></view>
+			<view class="fix-content">
+				<u-search placeholder="搜索订单" v-model="searchKeyWord" bgColor='white' :actionStyle='searchStyle'
+					@custom="getSearch" @search="getSearch" :clearabled="true"></u-search>
+				<view class="tab-content">
+					<u-tabs :list="tabList" @click="clickTab" lineColor='transparent' :current='tabIndex'
+						:inactiveStyle="{color:'white'}" :activeStyle="{
+										color: '#2772FB',
+										fontWeight: 'bold',
+										transform: 'scale(1.05)',
+										background:'white',
+										padding:'10rpx 20rpx',
+										'border-radius':'40rpx'
+									}" class="tabs"></u-tabs>
+					<view class="right-btn" @click="showMenu=true">
+						<u-icon name="grid-fill" color="white" size="28"></u-icon>
+						<view class="">
+							全部
+						</view>
 					</view>
 				</view>
 			</view>
+		
 		</view>
 		<view class="all-menu">
 			<u-transition :show="showMenu" mode="fade">
@@ -138,7 +142,7 @@
 						<view v-if="good.cargoOwnerStatus=='待确认装车'" class="start normal" @click.stop="toDetail(good.id)"
 							>确认装车</view>
 						<!-- <view class="start normal" @click.stop="confirmLoading(good,1)">确认装车</view> -->
-						<view class="start normal" v-if="good.cargoOwnerStatus!='待接单'&&good.cargoOwnerStatus!='未装车'">
+						<view class="start normal" v-if="good.cargoOwnerStatus!='待接单'&&good.cargoOwnerStatus!='未装车'" @click="$helper.contactCustomerService()">
 							联系客服</view>
 							<view class="start normal" @click.stop="toDetail(good.id)"
 								v-if="good.cargoOwnerStatus=='待收货'">确认卸车</view>
@@ -217,6 +221,7 @@
 					position: "absolute",
 					right: "30rpx",
 					padding: "6rpx 20rpx",
+					margin:'0 20rpx 0 0',
 					"border-radius": '30rpx'
 				},
 				searchKeyWord: '',
@@ -311,7 +316,10 @@
 			let _status = await that.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
 				phone: this.userInfo.phone,
 			}).then(res => {
-				return res.data.authenticationStatus
+				if(res.data){
+					return res.data.authenticationStatus
+				}
+				
 			})
 			if (_status == '已禁用') {
 				this.isShowAlert = true
@@ -574,11 +582,6 @@
 				this.isShowAlert = false
 			},
 			getSearch(e) {
-
-				// = uni.getStorageSync('useSearchList')
-
-				// this.useSearchList.unshift(e)
-				// uni.setStorageSync("useSearchList", this.useSearchList)
 				console.log("点击搜索", e)
 				this.upCallback({
 					size: 10,
@@ -594,7 +597,9 @@
 				});
 			},
 			upCallback(page) {
-				if (this.searchType == 0) this.searchType = ''
+				if (!this.searchType) {
+					this.searchType = 0
+				}
 				this.$request.baseRequest('get', '/orderInfo/selectCargoOwnerOrder', {
 						cargoCommonId: this.userInfo.id,
 						searchKeyWord: this.searchKeyWord,
@@ -636,11 +641,22 @@
 </script>
 
 <style scoped lang="scss">
+	.content{
+		padding-bottom: 160px;
+	}
 	.top-content {
 		background: url(../../static/images/order/bg.png) no-repeat;
 		background-size: cover;
 		padding: 20rpx;
-		padding-bottom: 320rpx;
+		position: fixed;
+		z-index: 99;
+		width: 100%;
+		// margin-top: var(--status-bar-height);
+		// padding-bottom: 320rpx;
+	}
+	.fix-content{
+		// width: 96%;
+		margin-right: 20rpx;
 	}
 
 	// .banner {
@@ -676,6 +692,8 @@
 		top: 0;
 		height: var(--status-bar-height);
 		background: #317AFE;
+		// position: fixed;
+		// z-index: 9999;
 	}
 
 	// .banner-img {
@@ -883,7 +901,7 @@
 
 	.mescroll {
 		// margin-top: calc(var(--status-bar-height) + 140rpx);
-		top: -320rpx;
+		top: 280rpx;
 	}
 
 	.sline {

+ 2 - 2
pages/order/orderDetails.vue

@@ -6,7 +6,7 @@
 			<view class='title flex flex-center'>
 				<u-icon class="back" name="arrow-left" color="" size="20" @click="back"></u-icon>
 				<view class="nav-title">订单详情</view>
-				<u-icon class="search" name="server-fill" color="" size="28" @click="$helper.contactCustomerService">
+				<u-icon class="search" name="server-fill" color="" size="28" @click="$helper.contactCustomerService()">
 				</u-icon>
 			</view>
 		</view>
@@ -47,7 +47,7 @@
 				<u-button class="btn" text="付款" @click="closed"
 					v-if="dataObj.cargoOwnerStatus=='待结算'||dataObj.cargoOwnerStatus=='已结算'"></u-button>
 				<u-button class="btn" text="还款" @click="stop" v-if="dataObj.cargoOwnerStatus=='待还款'"></u-button>
-				<u-button class="btn" text="联系客服"
+				<u-button class="btn" text="联系客服" @click="$helper.contactCustomerService()"
 					v-if="dataObj.cargoOwnerStatus!='待接单'&&dataObj.cargoOwnerStatus!='未装车'">
 				</u-button>
 			</view>

+ 1 - 1
pages/public/login.vue

@@ -119,6 +119,7 @@
 		onShow() {
 			// this.loginType = "wechat"
 			this.$api.logout()
+			console.log("login onShow")
 		},
 		onLoad(options) {
 
@@ -162,7 +163,6 @@
 						identification:2
 					}).then(res => {
 						if (res.code == 200) {
-							console.log("userInfo", res.data)
 							uni.setStorageSync('userInfo', res.data)
 							that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
 								reCommonId: this.userInfo.id,

+ 35 - 25
pages/release/addAddress.vue

@@ -115,32 +115,42 @@
 			toMap() {
 				let that = this
 				// this.isShowMap = true
-				uni.chooseLocation({
-					success: function(res) {
-						console.log(res);
-						console.log('位置名称:' + res.name);
-						console.log('详细地址:' + res.address);
-						console.log('纬度:' + res.latitude);
-						console.log('经度:' + res.longitude);
-						// let _address = that.$helper.formatLocation(res.address)
-						// console.log('----------------------------')
-						// console.log(_address)
-						// that.addressInfo.latitude = res.latitude
-						// that.addressInfo.longitude = res.longitude
-						// that.addressInfo.detailedAddress = _address.Village
-						// that.addressInfo.province = _address.Province
-						// that.addressInfo.city = _address.City
-						// that.addressInfo.area = _address.Country
-						// that.addressInfo.commonId = that.userInfo.id
-						// that.$forceUpdate()
-					},
-					fail(err) {
-						console.log(err)
-					},
-					complete(res1) {
-						console.log(res1)
+				uni.getLocation({
+					type: 'wgs84',
+					success: function (res) {
+						console.log('当前位置的经度:' + res.longitude);
+						console.log('当前位置的纬度:' + res.latitude);
+						uni.chooseLocation({
+							latitude: res.latitude,
+							longitude: res.longitude,
+							success: function(res) {
+								console.log(res);
+								console.log('位置名称:' + res.name);
+								console.log('详细地址:' + res.address);
+								console.log('纬度:' + res.latitude);
+								console.log('经度:' + res.longitude);
+								let _address = that.$helper.formatLocation(res.address)
+								console.log('----------------------------')
+								console.log(_address)
+								that.addressInfo.latitude = res.latitude
+								that.addressInfo.longitude = res.longitude
+								that.addressInfo.detailedAddress = _address.Village
+								that.addressInfo.province = _address.Province
+								that.addressInfo.city = _address.City
+								that.addressInfo.area = _address.Country
+								that.addressInfo.commonId = that.userInfo.id
+								that.$forceUpdate()
+							},
+							fail(err) {
+								console.log(err)
+							},
+							complete(res1) {
+								console.log(res1)
+							}
+						});
 					}
-				});
+				})
+				
 				// console.log(123)
 				// uni.$u.route('/pages/release/map', {
 				// 	id: 1,

+ 34 - 19
pages/release/editAddress.vue

@@ -114,26 +114,41 @@
 			toMap() {
 				let that = this
 				// this.isShowMap = true
-				uni.chooseLocation({
-					success: function(res) {
-						console.log(res);
-
-						console.log('位置名称:' + res.name);
-						console.log('详细地址:' + res.address);
-						console.log('纬度:' + res.latitude);
-						console.log('经度:' + res.longitude);
-						let _address = that.$helper.formatLocation(res.address)
-						console.log(_address)
-						that.addressInfo.latitude = res.latitude
-						that.addressInfo.longitude = res.longitude
-						that.addressInfo.detailedAddress = _address.village
-						that.addressInfo.province = _address.province
-						that.addressInfo.city = _address.city
-						that.addressInfo.area = _address.county
-						that.addressInfo.commonId = that.userInfo.id
-
+				uni.getLocation({
+					type: 'wgs84',
+					success: function (res) {
+						console.log('当前位置的经度:' + res.longitude);
+						console.log('当前位置的纬度:' + res.latitude);
+						uni.chooseLocation({
+							latitude: res.latitude,
+							longitude: res.longitude,
+							success: function(res) {
+								console.log(res);
+								console.log('位置名称:' + res.name);
+								console.log('详细地址:' + res.address);
+								console.log('纬度:' + res.latitude);
+								console.log('经度:' + res.longitude);
+								let _address = that.$helper.formatLocation(res.address)
+								console.log('----------------------------')
+								console.log(_address)
+								that.addressInfo.latitude = res.latitude
+								that.addressInfo.longitude = res.longitude
+								that.addressInfo.detailedAddress = _address.Village
+								that.addressInfo.province = _address.Province
+								that.addressInfo.city = _address.City
+								that.addressInfo.area = _address.Country
+								that.addressInfo.commonId = that.userInfo.id
+								that.$forceUpdate()
+							},
+							fail(err) {
+								console.log(err)
+							},
+							complete(res1) {
+								console.log(res1)
+							}
+						});
 					}
-				});
+				})
 				// console.log(123)
 				// uni.$u.route('/pages/release/map', {
 				// 	id: 1,

+ 56 - 38
pages/release/release.vue

@@ -269,7 +269,7 @@
 					goodsName: '',
 					billingMethod: '元/吨',
 					freightPrice: '',
-					freightAdvance: true,
+					freightAdvance: false,
 					sender: '',
 					senderPhone: '',
 					receiver: '',
@@ -333,36 +333,50 @@
 			this.goToRecord()
 		},
 		onShow() {
+			_this = this
+			// #ifdef APP-PLUS
+			// let _status = this.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
+			// 	phone: this.userInfo.phone
+			// }).then(res => {
+			// 	uni.setStorageSync("firstAuthentication",res.data)
+			// 	return res.data.authenticationStatus
+			// })
+			// if (_status == '已禁用') {
+			// 	this.isShowAlert = true
+			// 	this.alertTitle = '账号审核中'
+			// 	this.confirmText = '退出APP'
+			// 	this.showCancelButton = false
+			// 	return
+			// } else {
+			// }
+			// #endif
 			if (!this.hasLogin) {
 				uni.$u.route('/pages/public/login');
 				return
 			}
-			if (uni.getStorageSync('firstAuthentication').authenticationStatus == '已认证') {
-				uni.$u.route('/pages/components/empty/index');
-			} else if (uni.getStorageSync('firstAuthentication').authenticationStatus == '审核中') {
-				uni.showToast({
-					title: '身份信息审核中'
-				})
-			} else {
-				this.alertTitle = '身份信息未认证,去认证?'
-				this.showCancelButton = false
-				this.isShowAlert = true
-				// uni.showLoading({
-				// 	title: '请重新提交身份信息',
-				// 		complete() {
-				// 			uni.switchTab({
-				// 				url:'/pages/mine/index'
-
-				// 			})
-				// 			}
-				// })
-			}
+			this.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
+				phone: this.userInfo.phone
+			}).then(res => {
+				uni.setStorageSync("firstAuthentication", res.data)
+				let _obj = res.data
+				if (_obj.authenticationStatus == '已认证') {
+					uni.$u.route('/pages/components/empty/index');
+				} else if (_obj.authenticationStatus == '审核中') {
+					uni.showToast({
+						title: '身份信息审核中'
+					})
+				} else {
+					this.alertTitle = '身份信息未认证,去认证?'
+					this.showCancelButton = false
+					this.isShowAlert = true
+				}
+			})
+
 			this.validityPeriod = this.$helper.makeValidityPeriod(0, '随时')
 			this.validityPeriodcq = this.$helper.makeValidityPeriod(0, '长期')
 			let _faddress = uni.getStorageSync('storage_faddress');
 			let _saddress = uni.getStorageSync('storage_saddress');
 			if (_faddress) {
-
 				this.dataObj.sendCity = _faddress.city
 				this.dataObj.sendArea = _faddress.area
 				this.dataObj.sendPrivate = _faddress.province
@@ -398,21 +412,25 @@
 			this.getSFList()
 		},
 		async onLoad() {
-			_this = this
-			// #ifdef APP-PLUS
-			let _status = await this.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
-				phone: this.userInfo.phone,
-			}).then(res => {
-				return res.data.authenticationStatus
-			})
-			if (_status == '已禁用') {
-				this.isShowAlert = true
-				this.alertTitle = '账号审核中'
-				this.confirmText = '退出APP'
-				this.showCancelButton = false
-				return
-			} else {}
-			// #endif
+
+			// _this = this
+			// // #ifdef APP-PLUS
+			// let _status = await this.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
+			// 	phone: this.userInfo.phone,
+			// }).then(res => {
+			// 	if(res.data){
+			// 		return res.data.authenticationStatus
+			// 	}
+				
+			// })
+			// if (_status == '已禁用') {
+			// 	this.isShowAlert = true
+			// 	this.alertTitle = '账号审核中'
+			// 	this.confirmText = '退出APP'
+			// 	this.showCancelButton = false
+			// 	return
+			// } else {}
+			// // #endif
 
 		},
 		computed: {
@@ -746,7 +764,7 @@
 							duration: 2000
 						})
 					});
-				
+
 			},
 			cancelClick() {
 				this.isShowAlert = false

+ 151 - 170
pages/release/selectAddress.vue

@@ -69,7 +69,7 @@
 				dataList: [],
 				searchKeyWord: '',
 				radiolist1: [
-					
+
 					{
 						name: '默认装货',
 						disabled: false
@@ -89,7 +89,7 @@
 			console.log(options)
 			this.type = options.type
 			that = this
-			
+
 		},
 		onShow() {
 			this.getList()
@@ -103,7 +103,7 @@
 				}
 				// uni.$u.route('/pages/release/release');
 				uni.navigateBack({
-					delta:1
+					delta: 1
 				})
 			},
 			getList() {
@@ -128,7 +128,7 @@
 									this.dataList[i].radiovalue = '默认卸货'
 								}
 							}
-							
+
 							uni.hideLoading()
 						}
 
@@ -225,178 +225,159 @@
 				// 0临时地址 1 新增地址
 				if (type == 0) {
 					let that = this
-					uni.chooseLocation({
+					uni.getLocation({
+						type: 'wgs84',
 						success: function(res) {
-							console.log(res);
-							console.log('位置名称:' + res.name);
-							console.log('详细地址:' + res.address);
-							console.log('纬度:' + res.latitude);
-							console.log('经度:' + res.longitude);
-							var locationObj = that.$helper.formatLocation(res);
-							console.log(locationObj)
-							that.temporaryAddress.latitude = res.latitude
-							that.temporaryAddress.longitude = res.longitude
-							that.temporaryAddress.detailedAddress = locationObj.ADDRESS
-							that.temporaryAddress.province = locationObj.REGION_PROVINCE
-							that.temporaryAddress.city = locationObj.REGION_CITY
-							that.temporaryAddress.area = locationObj.REGION_COUNTRY
-							that.temporaryAddress.commonId = that.userInfo.id
-							that.configAddress(that.temporaryAddress)
-						},
-						fail: function() {
-							uni.getSetting({
+							console.log('当前位置的经度:' + res.longitude);
+							console.log('当前位置的纬度:' + res.latitude);
+							uni.chooseLocation({
 								success: function(res) {
-									var statu = res.authSetting;
-									if (!statu['scope.userLocation']) {
-										uni.showModal({
-											title: '是否授权当前位置',
-											content: '需要获取您的地理位置,请确认授权,否则地图功能将无法使用',
-											success: function(tip) {
-												if (tip.confirm) {
-													uni.openSetting({
-														success: function(
-															data) {
-															if (data
-																.authSetting[
-																	"scope.userLocation"
-																] === true
-															) {
-																uni.showToast({
-																	title: '授权成功',
-																	icon: 'success',
-																	duration: 1000
-																})
-																//授权成功之后,再调用chooseLocation选择地方
-																uni.chooseLocation({
-																	success: function(
-																		res
-																	) {
-																		console
-																			.log(
-																				res
-																			);
-																		console
-																			.log(
-																				'位置名称:' +
-																				res
-																				.name
-																			);
-																		console
-																			.log(
-																				'详细地址:' +
-																				res
-																				.address
-																			);
-																		console
-																			.log(
-																				'纬度:' +
-																				res
-																				.latitude
-																			);
-																		console
-																			.log(
-																				'经度:' +
-																				res
-																				.longitude
-																			);
-																		var locationObj =
-																			that
-																			.$helper
-																			.formatLocation(
-																				res
-																			);
-																		console
-																			.log(
-																				locationObj
-																			)
-																		that.temporaryAddress
-																			.latitude =
-																			res
-																			.latitude
-																		that.temporaryAddress
-																			.longitude =
-																			res
-																			.longitude
-																		that.temporaryAddress
-																			.detailedAddress =
-																			locationObj
-																			.ADDRESS
-																		that.temporaryAddress
-																			.province =
-																			locationObj
-																			.REGION_PROVINCE
-																		that.temporaryAddress
-																			.city =
-																			locationObj
-																			.REGION_CITY
-																		that.temporaryAddress
-																			.area =
-																			locationObj
-																			.REGION_COUNTRY
-																		that.temporaryAddress
-																			.commonId =
-																			that
-																			.userInfo
-																			.id
-																		that.configAddress(
-																			that
-																			.temporaryAddress
-																		)
-																	},
-																})
-															} else {
-																uni.showToast({
-																	title: '授权失败',
-																	icon: 'none',
-																	duration: 1000
-																})
-															}
-														}
-													})
-												}
-											}
-										})
-									}
+									console.log(res);
+									console.log('位置名称:' + res.name);
+									console.log('详细地址:' + res.address);
+									console.log('纬度:' + res.latitude);
+									console.log('经度:' + res.longitude);
+									var locationObj = that.$helper.formatLocation(res);
+									console.log(locationObj)
+									that.temporaryAddress.latitude = res.latitude
+									that.temporaryAddress.longitude = res.longitude
+									that.temporaryAddress.detailedAddress = locationObj.ADDRESS
+									that.temporaryAddress.province = locationObj.REGION_PROVINCE
+									that.temporaryAddress.city = locationObj.REGION_CITY
+									that.temporaryAddress.area = locationObj.REGION_COUNTRY
+									that.temporaryAddress.commonId = that.userInfo.id
+									that.configAddress(that.temporaryAddress)
 								},
-								fail: function(res) {
-									uni.showToast({
-										title: '调用授权窗口失败',
-										icon: 'none',
-										duration: 1000
-									})
+								fail: function() {
+								// 	uni.getSetting({
+								// 		success: function(res) {
+								// 			var statu = res.authSetting;
+								// 			if (!statu['scope.userLocation']) {
+								// 				uni.showModal({
+								// 					title: '是否授权当前位置',
+								// 					content: '需要获取您的地理位置,请确认授权,否则地图功能将无法使用',
+								// 					success: function(tip) {
+								// 						if (tip.confirm) {
+								// 							uni.openSetting({
+								// 								success: function(
+								// 									data
+								// 									) {
+								// 									if (data
+								// 										.authSetting[
+								// 											"scope.userLocation"
+								// 										] ===
+								// 										true
+								// 									) {
+								// 										uni.showToast({
+								// 											title: '授权成功',
+								// 											icon: 'success',
+								// 											duration: 1000
+								// 										})
+								// 										//授权成功之后,再调用chooseLocation选择地方
+								// 										uni.chooseLocation({
+								// 											success: function(
+								// 												res
+								// 											) {
+								// 												console
+								// 													.log(
+								// 														res
+								// 													);
+								// 												console
+								// 													.log(
+								// 														'位置名称:' +
+								// 														res
+								// 														.name
+								// 													);
+								// 												console
+								// 													.log(
+								// 														'详细地址:' +
+								// 														res
+								// 														.address
+								// 													);
+								// 												console
+								// 													.log(
+								// 														'纬度:' +
+								// 														res
+								// 														.latitude
+								// 													);
+								// 												console
+								// 													.log(
+								// 														'经度:' +
+								// 														res
+								// 														.longitude
+								// 													);
+								// 												var locationObj =
+								// 													that
+								// 													.$helper
+								// 													.formatLocation(
+								// 														res
+								// 													);
+								// 												console
+								// 													.log(
+								// 														locationObj
+								// 													)
+								// 												that.temporaryAddress
+								// 													.latitude =
+								// 													res
+								// 													.latitude
+								// 												that.temporaryAddress
+								// 													.longitude =
+								// 													res
+								// 													.longitude
+								// 												that.temporaryAddress
+								// 													.detailedAddress =
+								// 													locationObj
+								// 													.ADDRESS
+								// 												that.temporaryAddress
+								// 													.province =
+								// 													locationObj
+								// 													.REGION_PROVINCE
+								// 												that.temporaryAddress
+								// 													.city =
+								// 													locationObj
+								// 													.REGION_CITY
+								// 												that.temporaryAddress
+								// 													.area =
+								// 													locationObj
+								// 													.REGION_COUNTRY
+								// 												that.temporaryAddress
+								// 													.commonId =
+								// 													that
+								// 													.userInfo
+								// 													.id
+								// 												that.configAddress(
+								// 													that
+								// 													.temporaryAddress
+								// 												)
+								// 											},
+								// 										})
+								// 									} else {
+								// 										uni.showToast({
+								// 											title: '授权失败',
+								// 											icon: 'none',
+								// 											duration: 1000
+								// 										})
+								// 									}
+								// 								}
+								// 							})
+								// 						}
+								// 					}
+								// 				})
+								// 			}
+								// 		},
+								// 		fail: function(res) {
+								// 			uni.showToast({
+								// 				title: '调用授权窗口失败',
+								// 				icon: 'none',
+								// 				duration: 1000
+								// 			})
+								// 		}
+								// 	})
+								
 								}
-							})
+							});
 						}
 					})
-					// that.$helper.getLocation(that.temporaryAddress)
-					// console.log('1111111111111111111111111111111111')
-					// console.log(that.temporaryAddress)
-					// let that = this
-					// // this.isShowMap = true
-					// uni.chooseLocation({
-					// 	success: function(res) {
-					// 		console.log(res);
-					// 		console.log('位置名称:' + res.name);
-					// 		console.log('详细地址:' + res.address);
-					// 		console.log('纬度:' + res.latitude);
-					// 		console.log('经度:' + res.longitude);
-					// 		// let _address = that.$helper.getAddress(res.address)
-					// 		let _address = that.$helper.getLocation(res.address)
-					// 		console.log(_address)
-					// 		// that.temporaryAddress.latitude = res.latitude
-					// 		// that.temporaryAddress.longitude = res.longitude
-					// 		// that.temporaryAddress.detailedAddress = _address.village
-					// 		// that.temporaryAddress.province = _address.province
-					// 		// that.temporaryAddress.city = _address.city
-					// 		// that.temporaryAddress.area = _address.county
-					// 		// that.temporaryAddress.commonId = that.userInfo.id
-					// 		// that.configAddress(that.temporaryAddress)
-					// 	}
-					// });
-					// // console.log(123)
-					// // uni.$u.route('/pages/release/map', {
-					// // 	id: 1,
-					// // });
 				} else {
 					uni.$u.route('/pages/release/addAddress', {
 						type: type,

+ 0 - 0
unpackage/dist/build/app-plus/static/mine/gh.png → static/images/mine/gh.png


+ 0 - 0
unpackage/dist/build/app-plus/static/mine/zm.png → static/images/mine/zm.png


+ 0 - 0
unpackage/dist/build/.automator/app-plus/.automator.json


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/app-plus/__uniappchooselocation.js


二進制
unpackage/dist/build/app-plus/__uniapperror.png


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/app-plus/__uniappes6.js


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/app-plus/__uniapppicker.js


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/app-plus/__uniappquillimageresize.js


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/app-plus/__uniappscan.js


二進制
unpackage/dist/build/app-plus/__uniappsuccess.png


+ 0 - 25
unpackage/dist/build/app-plus/__uniappview.html

@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-
-  <head>
-    <meta charset="UTF-8" />
-    <script>
-      var __UniViewStartTime__ = Date.now();
-      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
-        CSS.supports('top: constant(a)'))
-      document.write(
-        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
-        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
-    </script>
-    <title>View</title>
-    <link rel="stylesheet" href="view.css" />
-  </head>
-
-  <body>
-    <div id="app"></div>
-    <script src="__uniappes6.js"></script>
-    <script src="view.umd.min.js"></script>
-    <script src="app-view.js"></script>
-  </body>
-
-</html>

+ 0 - 1
unpackage/dist/build/app-plus/app-config.js

@@ -1 +0,0 @@
-(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]);

二進制
unpackage/dist/build/app-plus/components/bert-suggest/icons/contact.png


二進制
unpackage/dist/build/app-plus/components/bert-suggest/icons/image.png


二進制
unpackage/dist/build/app-plus/components/bert-suggest/icons/suggestion.png


文件差異過大導致無法顯示
+ 0 - 1
unpackage/dist/build/app-plus/hybrid/html/axios.min.js


+ 0 - 147
unpackage/dist/build/app-plus/hybrid/html/base64.js

@@ -1,147 +0,0 @@
-(function() {
-	var base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-	var base64DecodeChars = new Array(
-		-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-		-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-		-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,
-		52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1,
-		-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
-		15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,
-		-1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
-		41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1);
-	 Window.base64 = {
-		encode: function encode(str) {
-			var out, i, len;
-			var c1, c2, c3;
-			len = str.length;
-			i = 0;
-			out = "";
-			while (i < len) {
-				c1 = str.charCodeAt(i++) & 0xff;
-				if (i == len) {
-					out += base64EncodeChars.charAt(c1 >> 2);
-					out += base64EncodeChars.charAt((c1 & 0x3) << 4);
-					out += "==";
-					break;
-				}
-				c2 = str.charCodeAt(i++);
-				if (i == len) {
-					out += base64EncodeChars.charAt(c1 >> 2);
-					out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4));
-					out += base64EncodeChars.charAt((c2 & 0xF) << 2);
-					out += "=";
-					break;
-				}
-				c3 = str.charCodeAt(i++);
-				out += base64EncodeChars.charAt(c1 >> 2);
-				out += base64EncodeChars.charAt(((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4));
-				out += base64EncodeChars.charAt(((c2 & 0xF) << 2) | ((c3 & 0xC0) >> 6));
-				out += base64EncodeChars.charAt(c3 & 0x3F);
-			}
-			return out;
-		},
-		decode: function decode(str) {
-			var c1, c2, c3, c4;
-			var i, len, out;
-			len = str.length;
-			i = 0;
-			out = "";
-			while (i < len) {
-				/* c1 */
-				do {
-					c1 = base64DecodeChars[str.charCodeAt(i++) & 0xff];
-				} while (i < len && c1 == -1);
-				if (c1 == -1)
-					break;
-				/* c2 */
-				do {
-					c2 = base64DecodeChars[str.charCodeAt(i++) & 0xff];
-				} while (i < len && c2 == -1);
-				if (c2 == -1)
-					break;
-				out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4));
-				/* c3 */
-				do {
-					c3 = str.charCodeAt(i++) & 0xff;
-					if (c3 == 61)
-						return out;
-					c3 = base64DecodeChars[c3];
-				} while (i < len && c3 == -1);
-				if (c3 == -1)
-					break;
-				out += String.fromCharCode(((c2 & 0XF) << 4) | ((c3 & 0x3C) >> 2));
-				/* c4 */
-				do {
-					c4 = str.charCodeAt(i++) & 0xff;
-					if (c4 == 61)
-						return out;
-					c4 = base64DecodeChars[c4];
-				} while (i < len && c4 == -1);
-				if (c4 == -1)
-					break;
-				out += String.fromCharCode(((c3 & 0x03) << 6) | c4);
-			}
-			return out;
-		},
-		utf16to8: function utf16to8(str) {
-			var out, i, len, c;
-			out = "";
-			len = str.length;
-			for (i = 0; i < len; i++) {
-				c = str.charCodeAt(i);
-				if ((c >= 0x0001) && (c <= 0x007F)) {
-					out += str.charAt(i);
-				} else if (c > 0x07FF) {
-					out += String.fromCharCode(0xE0 | ((c >> 12) & 0x0F));
-					out += String.fromCharCode(0x80 | ((c >> 6) & 0x3F));
-					out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F));
-				} else {
-					out += String.fromCharCode(0xC0 | ((c >> 6) & 0x1F));
-					out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F));
-				}
-			}
-			return out;
-		},
-		utf8to16: function utf8to16(str) {
-			var out, i, len, c;
-			var char2, char3;
-			out = "";
-			len = str.length;
-			i = 0;
-			while (i < len) {
-				c = str.charCodeAt(i++);
-				switch (c >> 4) {
-					case 0:
-					case 1:
-					case 2:
-					case 3:
-					case 4:
-					case 5:
-					case 6:
-					case 7:
-						// 0xxxxxxx
-						out += str.charAt(i - 1);
-						break;
-					case 12:
-					case 13:
-						// 110x xxxx 10xx xxxx
-						char2 = str.charCodeAt(i++);
-						out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F));
-						break;
-					case 14:
-						// 1110 xxxx 10xx xxxx 10xx xxxx
-						char2 = str.charCodeAt(i++);
-						char3 = str.charCodeAt(i++);
-						out += String.fromCharCode(((c & 0x0F) << 12) |
-							((char2 & 0x3F) << 6) |
-							((char3 & 0x3F) << 0));
-						break;
-				}
-			}
-			return out;
-		}
-	}
-console.log('base64')
-console.log(Window.base64)
-	return Window.base64
-})()

+ 0 - 273
unpackage/dist/build/app-plus/hybrid/html/crypto.js

@@ -1,273 +0,0 @@
-
-
-(function() {
-Window.Crypto = {};
-	var base64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-
-
-	// Crypto utilities
-	var util = Window.Crypto.util = {
-
-		// Bit-wise rotate left
-		rotl: function(n, b) {
-			return (n << b) | (n >>> (32 - b));
-		},
-
-		// Bit-wise rotate right
-		rotr: function(n, b) {
-			return (n << (32 - b)) | (n >>> b);
-		},
-
-		// Swap big-endian to little-endian and vice versa
-		endian: function(n) {
-
-			// If number given, swap endian
-			if (n.constructor == Number) {
-				return util.rotl(n, 8) & 0x00FF00FF |
-					util.rotl(n, 24) & 0xFF00FF00;
-			}
-
-			// Else, assume array and swap all items
-			for (var i = 0; i < n.length; i++)
-				n[i] = util.endian(n[i]);
-			return n;
-
-		},
-
-		// Generate an array of any length of random bytes
-		randomBytes: function(n) {
-			for (var bytes = []; n > 0; n--)
-				bytes.push(Math.floor(Math.random() * 256));
-			return bytes;
-		},
-
-		// Convert a string to a byte array
-		stringToBytes: function(str) {
-			var bytes = [];
-			for (var i = 0; i < str.length; i++)
-				bytes.push(str.charCodeAt(i));
-			return bytes;
-		},
-
-		// Convert a byte array to a string
-		bytesToString: function(bytes) {
-			var str = [];
-			for (var i = 0; i < bytes.length; i++)
-				str.push(String.fromCharCode(bytes[i]));
-			return str.join("");
-		},
-
-		// Convert a string to big-endian 32-bit words
-		stringToWords: function(str) {
-			var words = [];
-			for (var c = 0, b = 0; c < str.length; c++, b += 8)
-				words[b >>> 5] |= str.charCodeAt(c) << (24 - b % 32);
-			return words;
-		},
-
-		// Convert a byte array to big-endian 32-bits words
-		bytesToWords: function(bytes) {
-			var words = [];
-			for (var i = 0, b = 0; i < bytes.length; i++, b += 8)
-				words[b >>> 5] |= bytes[i] << (24 - b % 32);
-			return words;
-		},
-
-		// Convert big-endian 32-bit words to a byte array
-		wordsToBytes: function(words) {
-			var bytes = [];
-			for (var b = 0; b < words.length * 32; b += 8)
-				bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
-			return bytes;
-		},
-
-		// Convert a byte array to a hex string
-		bytesToHex: function(bytes) {
-			var hex = [];
-			for (var i = 0; i < bytes.length; i++) {
-				hex.push((bytes[i] >>> 4).toString(16));
-				hex.push((bytes[i] & 0xF).toString(16));
-			}
-			return hex.join("");
-		},
-
-		// Convert a hex string to a byte array
-		hexToBytes: function(hex) {
-			var bytes = [];
-			for (var c = 0; c < hex.length; c += 2)
-				bytes.push(parseInt(hex.substr(c, 2), 16));
-			return bytes;
-		},
-
-		// Convert a byte array to a base-64 string
-		bytesToBase64: function(bytes) {
-
-			// Use browser-native function if it exists
-			// if (typeof btoa == "function") return btoa(util.bytesToString(bytes));
-
-			var base64 = [],
-				overflow;
-
-			for (var i = 0; i < bytes.length; i++) {
-				switch (i % 3) {
-					case 0:
-						base64.push(base64map.charAt(bytes[i] >>> 2));
-						overflow = (bytes[i] & 0x3) << 4;
-						break;
-					case 1:
-						base64.push(base64map.charAt(overflow | (bytes[i] >>> 4)));
-						overflow = (bytes[i] & 0xF) << 2;
-						break;
-					case 2:
-						base64.push(base64map.charAt(overflow | (bytes[i] >>> 6)));
-						base64.push(base64map.charAt(bytes[i] & 0x3F));
-						overflow = -1;
-				}
-			}
-
-			// Encode overflow bits, if there are any
-			if (overflow != undefined && overflow != -1)
-				base64.push(base64map.charAt(overflow));
-
-			// Add padding
-			while (base64.length % 4 != 0) base64.push("=");
-
-			return base64.join("");
-
-		},
-
-		// Convert a base-64 string to a byte array
-		base64ToBytes: function(base64) {
-
-			// Use browser-native function if it exists
-			if (typeof atob == "function") return util.stringToBytes(atob(base64));
-
-			// Remove non-base-64 characters
-			base64 = base64.replace(/[^A-Z0-9+\/]/ig, "");
-
-			var bytes = [];
-
-			for (var i = 0; i < base64.length; i++) {
-				switch (i % 4) {
-					case 1:
-						bytes.push((base64map.indexOf(base64.charAt(i - 1)) << 2) |
-							(base64map.indexOf(base64.charAt(i)) >>> 4));
-						break;
-					case 2:
-						bytes.push(((base64map.indexOf(base64.charAt(i - 1)) & 0xF) << 4) |
-							(base64map.indexOf(base64.charAt(i)) >>> 2));
-						break;
-					case 3:
-						bytes.push(((base64map.indexOf(base64.charAt(i - 1)) & 0x3) << 6) |
-							(base64map.indexOf(base64.charAt(i))));
-						break;
-				}
-			}
-
-			return bytes;
-
-		}
-
-	};
-
-	Window.Crypto.HMAC = function(hasher, message, key, options) {
-
-		// Allow arbitrary length keys
-		key = key.length > hasher._blocksize * 4 ?
-			hasher(key, {
-				asBytes: true
-			}) :
-			util.stringToBytes(key);
-
-		// XOR keys with pad constants
-		var okey = key,
-			ikey = key.slice(0);
-		for (var i = 0; i < hasher._blocksize * 4; i++) {
-			okey[i] ^= 0x5C;
-			ikey[i] ^= 0x36;
-		}
-
-		var hmacbytes = hasher(util.bytesToString(okey) +
-			hasher(util.bytesToString(ikey) + message, {
-				asString: true
-			}), {
-				asBytes: true
-			});
-		return options && options.asBytes ? hmacbytes :
-			options && options.asString ? util.bytesToString(hmacbytes) :
-			util.bytesToHex(hmacbytes);
-
-	};
-	// The core
-	var SHA1 = Window.Crypto.SHA1 = function (message, options) {
-		var digestbytes = util.wordsToBytes(SHA1._sha1(message));
-		return options && options.asBytes ? digestbytes :
-		       options && options.asString ? util.bytesToString(digestbytes) :
-		       util.bytesToHex(digestbytes);
-	};
-	SHA1._sha1 = function(message) {
-
-		var m = util.stringToWords(message),
-			l = message.length * 8,
-			w = [],
-			H0 = 1732584193,
-			H1 = -271733879,
-			H2 = -1732584194,
-			H3 = 271733878,
-			H4 = -1009589776;
-
-		// Padding
-		m[l >> 5] |= 0x80 << (24 - l % 32);
-		m[((l + 64 >>> 9) << 4) + 15] = l;
-
-		for (var i = 0; i < m.length; i += 16) {
-
-			var a = H0,
-				b = H1,
-				c = H2,
-				d = H3,
-				e = H4;
-
-			for (var j = 0; j < 80; j++) {
-
-				if (j < 16) w[j] = m[i + j];
-				else {
-					var n = w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16];
-					w[j] = (n << 1) | (n >>> 31);
-				}
-
-				var t = ((H0 << 5) | (H0 >>> 27)) + H4 + (w[j] >>> 0) + (
-					j < 20 ? (H1 & H2 | ~H1 & H3) + 1518500249 :
-					j < 40 ? (H1 ^ H2 ^ H3) + 1859775393 :
-					j < 60 ? (H1 & H2 | H1 & H3 | H2 & H3) - 1894007588 :
-					(H1 ^ H2 ^ H3) - 899497514);
-
-				H4 = H3;
-				H3 = H2;
-				H2 = (H1 << 30) | (H1 >>> 2);
-				H1 = H0;
-				H0 = t;
-
-			}
-
-			H0 += a;
-			H1 += b;
-			H2 += c;
-			H3 += d;
-			H4 += e;
-
-		}
-
-		return [H0, H1, H2, H3, H4];
-
-	};
-
-	// Package private blocksize
-	SHA1._blocksize = 16;
-
-	// Crypto mode namespace
-	Window.Crypto.mode = {};
-	console.log("Window.Crypto")
-	console.log(Window.Crypto)
-	return Window.Crypto;
-})();

二進制
unpackage/dist/build/app-plus/hybrid/html/img/1.png


二進制
unpackage/dist/build/app-plus/hybrid/html/img/shipinrenzheng.png


文件差異過大導致無法顯示
+ 0 - 0
unpackage/dist/build/app-plus/hybrid/html/index.js


+ 0 - 182
unpackage/dist/build/app-plus/hybrid/html/map.html

@@ -1,182 +0,0 @@
-<!doctype html>
-<html>
-	<head>
-		<meta charset="utf-8">
-		<meta http-equiv="X-UA-Compatible" content="IE=edge">
-		<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
-		<link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
-		<title>运输轨迹</title>
-		<style>
-			* {
-				margin: 0;
-				padding: 0;
-			}
-
-			html,
-			body,
-			#container {
-				height: 100%;
-				width: 100%;
-			}
-			.content{
-				background-color: white;
-				position: absolute;
-				top: 20px;
-				padding: 6px 10px;
-				border-radius: 6px;
-				width: 90%;
-				margin-left: 5%;
-				display: flex;
-				align-items: center;
-			}
-			.start,.end{
-				display: flex;
-			}
-			.distance {
-				background-color: #00000061;
-				position: absolute;
-				bottom: 20px;
-				right: 20px;
-				color: white;
-				padding: 6px 10px;
-				border-radius: 6px;
-			}
-		</style>
-	</head>
-	<body>
-		<div id="container"></div>
-		<div class='content'>
-			<div class='start'>
-				<div id='sendCity'></div>
-				<div id='sendArea'></div>
-			</div>
-			<div>-----------></div>
-			<div class='end'>
-				<div id='unloadCity'></div>
-				<div id='unloadArea'></div>
-			</div>
-		</div>
-		<div id="distance" class='distance'></div>
-		<script
-			src="https://webapi.amap.com/maps?v=2.0&key=211dd6f989e719022aaf47ddb0659c47&plugin=AMap.Scale,AMap.ToolBar,AMap.Geocoder,AMap.Geolocation,Geolocation,AMap.Driving">
-		</script>
-		<script src="https://webapi.amap.com/loca?v=2.0.0&key=211dd6f989e719022aaf47ddb0659c47"></script>
-		<script>
-		var _t = getQueryString("obj"); 
-				var obj = JSON.parse(decodeURI(_t)) ; 
-				console.log('---------------------')
-				console.log(obj)
-				document.getElementById('sendCity').innerHTML = obj.sendCity
-				document.getElementById('sendArea').innerHTML = obj.sendArea
-				document.getElementById('unloadCity').innerHTML = obj.unloadCity
-				document.getElementById('unloadArea').innerHTML = obj.unloadArea
-				
-				
-				
-				function getQueryString(name) {
-					var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
-					var r = window.location.search.substr(1).match(reg);
-					if (r != null) return unescape(r[2]); return null;
-				}
-			let starLnglat = [40.243655, 122.114407]
-			console.log(starLnglat)
-			var map = new AMap.Map('container', {
-				zoom: 12,
-				center: [starLnglat[1], starLnglat[0]],
-				resizeEnable: true
-			});
-			map.clearMap();
-			var startIcon = new AMap.Icon({
-				size: new AMap.Size(25, 25),
-				image: './img/1.png',
-				imageSize: new AMap.Size(25, 25),
-			});
-			/*
-			 * 驾车策略 
-			 * AMap.DrivingPolicy.LEAST_TIME           最快捷模式
-			 * AMap.DrivingPolicy.LEAST_FEE            最经济模式
-			 * AMap.DrivingPolicy.LEAST_DISTANCE       最短距离模式
-			 * AMap.DrivingPolicy.REAL_TRAFFIC         考虑实时路况
-			 */
-			var drivingOption = {
-				policy: AMap.DrivingPolicy
-					.LEAST_TIME, // 其它policy参数请参考 https://lbs.amap.com/api/javascript-api/reference/route-search#m_DrivingPolicy
-				ferry: 1, // 是否可以使用轮渡
-				map: map,
-				hideMarkers: false, // 设置隐藏路径规划的起始点图标
-				autoFitView: true
-			}
-			var dis = getDistance(122.114407, 40.243655, 122.114407, 42.243655)
-			document.getElementById("distance").innerHTML = dis
-			console.log(dis)
-			render(122.114407, 42.243655)
-
-			function getDistance(lat1, lng1, lat2, lng2) {
-				function Rad(d) {
-					return d * Math.PI / 180.0;
-				}
-				if (!lat1 || !lng1) {
-					return '';
-				}
-				// lat1用户的纬度
-				// lng1用户的经度
-				// lat2商家的纬度
-				// lng2商家的经度
-				let radLat1 = Rad(lat1);
-				let radLat2 = Rad(lat2);
-				let a = radLat1 - radLat2;
-				let b = Rad(lng1) - Rad(lng2);
-				let s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(radLat1) * Math.cos(radLat2) *
-					Math.pow(
-						Math.sin(b / 2), 2)));
-				s = s * 6378.137;
-				s = Math.round(s * 10000) / 10000;
-				s = '距离' + s.toFixed(2) + '公里' //保留两位小数
-				return s
-			}
-
-			function render(endLng, endLat) {
-				// 构造路线导航类
-				var driving = new AMap.Driving(drivingOption)
-				// 根据起终点经纬度规划驾车导航路线
-				driving.search(new AMap.LngLat(starLnglat[1], starLnglat[0]), new AMap.LngLat(endLng, endLat), function(status,
-					result) {
-					if (status === 'complete') {
-						console.log('绘制驾车路线完成')
-					} else {
-						console.log('获取驾车数据失败:' + result)
-					}
-				});
-				// var capitals = [{
-				// 	center: [116.42, 39.93123],
-				// }, {
-				// 	center: [116.41, 39.92132],
-				// }, {
-				// 	center: [116.40, 39.91122],
-				// }];
-				var capitals = [];
-				var facilities = [];
-				for (var i = 0; i < capitals.length; i++) {
-					var marker = new AMap.Marker({
-						position: new AMap.LngLat(capitals[i].center[0], capitals[i].center[1]),
-						offset: new AMap.Pixel(-10, -10),
-						icon: startIcon,
-					});
-					facilities.push(marker);
-				}
-				map.add(facilities);
-			}
-			// map.on('click', clickHandler)
-
-			function clickHandler(e) {
-				map.clearMap();
-				var endLng = e.lnglat.getLng();
-				var endLat = e.lnglat.getLat();
-				render(endLng, endLat)
-			}
-		</script>
-
-		<script>
-		</script>
-	</body>
-</html>

+ 0 - 37
unpackage/dist/build/app-plus/hybrid/html/play.html

@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-	<head>
-		<meta name="viewport"
-			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
-		<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
-		<title>视频认证</title>
-		<style>
-			body {
-				margin: 0;
-				background: #F5F6FA;
-			}
-
-			
-		</style>
-	</head>
-	<body>
-		<div id='app'>
-			<video width="320" height="240" controls id='srcSource'>
-			</video>
-		</div>
-	</body>
-	<script type="text/javascript" src="https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/jquery.min.js"></script>
-	<script type="text/javascript">
-		var src = getUrlParam("src")
-		function getUrlParam(name) {
-			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
-			var r = window.location.search.substr(1).match(reg); //匹配目标参数
-			if (r != null) return unescape(r[2]);
-			return null; //返回参数值
-		}
-			console.log("src")
-		console.log(src)
-		$('#srcSource').attr("src",src)
-	</script>
-
-</html>

+ 0 - 428
unpackage/dist/build/app-plus/hybrid/html/video.html

@@ -1,428 +0,0 @@
-<!DOCTYPE html>
-<html>
-	<head>
-		<meta name="viewport"
-			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
-		<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
-		<title>视频认证</title>
-		<style>
-			body {
-				margin: 0;
-				background: #F5F6FA;
-			}
-
-			.content {
-				background: #F5F6FA;
-				height: 100vh;
-				position: relative;
-			}
-
-			.row {
-				display: flex;
-				justify-content: center;
-				padding-top: 50px;
-
-			}
-
-			.img-video {
-				position: relative;
-				border-radius: 280px;
-				width: 250px;
-				height: 250px;
-				overflow: hidden;
-			}
-
-			.row2 {
-				display: flex;
-				font-size: 20px;
-				justify-content: center;
-				margin-top: 20px;
-			}
-
-			.verify-btn {
-				background: #2772FB;
-				font-size: 20px;
-				padding: 10px 0;
-				width: 70%;
-				display: flex;
-				justify-content: center;
-				align-items: center;
-				border-radius: 50px;
-				color: white;
-
-			}
-
-			.btn {
-				position: absolute;
-				bottom: 0;
-				background: white;
-				width: 100%;
-				display: flex;
-				justify-content: center;
-				padding: 40px 0;
-			}
-
-			.img {
-				position: absolute;
-				top: 0;
-				bottom: 0;
-				width: 100%;
-				width: 564px;
-				height: 564px;
-				right: 0;
-				left: 0;
-				margin: auto;
-			}
-
-			.video-content {
-				position: absolute;
-				top: 0;
-				bottom: 0;
-				width: 100%;
-				right: 0;
-				left: 0;
-				margin: auto;
-			}
-
-			.video {
-				width: calc(100%);
-				background: #F5F6FA;
-			}
-
-			.video-btn {
-				width: 100%;
-				display: flex;
-				justify-content: center;
-			}
-			.progressBar {
-				width: 50%;
-				height: 25px;
-				display: block;
-				top: 0;
-				left: 0;
-				bottom: 0;
-				right: 0;
-				margin: auto;
-				padding: 10px 10px 10px 10px;
-				position: absolute;
-				z-index: 2001;
-				background: rgb(102, 102, 102);
-				color: white;
-				border-radius: 5px;
-			}
-			.text{
-				padding: 20px;
-			}
-		</style>
-	</head>
-	<body>
-		<div id='app'>
-			<div class='content'>
-				<!-- <div id="progressBar" class="progressBar">地图数据加载中...</div> -->
-				<div class='row'>
-					<div class='img-video'>
-						<!-- <img src="./img/shipinrenzheng.png" alt="" class='img'> -->
-						<div class="video-content">
-							<!--    人脸检测-->
-							<div class="video-cover"></div>
-							<video :src="url" ref="videoRef" autoplay playsinline x5-video-player-type="h5"
-								class="video"></video>
-						</div>
-					</div>
-				</div>
-				<!-- 	<div class='row2' v-show="!showVideo">
-					请打开摄像头 并阅读提示文字
-				</div> -->
-				<div class='row2'>
-					请将头像放于圆圈内,并阅读以下文字
-				</div>
-				<div class='row2 text'>
-					网络客服过段时间浪费多少级范德萨快逻辑范德萨拉丝机多亏了房价按时付款了金坷垃所肩负的看离开静安寺了发动机as在考虑家双方都会计分录卡死范德萨拉使肌肤抵抗力
-				</div>
-				<div class='btn'>
-					<!-- <div class="verify-btn" @click="getCamera" v-show="!showVideo">打开摄像头</div> -->
-					<div class='video-btn'>
-						<div class="verify-btn" @click="saveVideo" v-if='!isAlreadyRecord'>开始录制</div>
-						<div class="verify-btn" @click="saveVideo" v-if='isAlreadyRecord' data-action="navigateTo">结束录制
-						</div>
-						<!-- <button class="video-close" @click="closeVideo">×</button>
-						<button class="video-save" @click="saveVideo">
-							{{ isAlreadyRecord ? '结束录制(' + count + 's)' : '开始录制' }}</button> -->
-					</div>
-				</div>
-				<!-- <video ref="videob" controls="" name="media" width="100%" height="100"></video> -->
-			</div>
-
-
-		</div>
-	</body>
-	<script type="text/javascript" src="vue.min.js"></script>
-	<script type="text/javascript" src="https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/jquery.min.js"></script>
-	<script type="text/javascript" src="base64.js"></script>
-	<script type="text/javascript" src="crypto.js"></script>
-	<script type="text/javascript" src="index.js"></script>
-	<script type="text/javascript">
-		document.addEventListener('UniAppJSBridgeReady', function() {
-			uni.webView.getEnv(function(res) {
-				console.log('当前环境:' + JSON.stringify(res));
-			});
-			// 
-			new Vue({
-		 	el: '#app',
-				data: {
-					url: '',
-					// showVideo: true,
-					mediaRecorder: null,
-					MediaStreamTrack: null,
-					isAlreadyRecord: false,
-					count: 8,
-					countTimer: null,
-					recordedBlobs: [],
-					compId: ''
-				},
-				beforeDestroy() {
-					this.MediaStreamTrack && this.MediaStreamTrack.stop()
-					this.countTimer && clearTimeout(this.countTimer)
-				},
-				computed: {},
-
-				mounted() {
-					this.getCamera()
-				},
-				watch: {},
-				methods: {
-					getPolicyBase64() {
-						let date = new Date();
-						date.setHours(date.getHours() + 87600);
-						let srcT = date.toISOString();
-		 			const policyText = {
-							"expiration": srcT, //设置该Policy的失效时间,超过这个失效时间之后,就没有办法通过这个policy上传文件了 
-							"conditions": [
-								["content-length-range", 0, 100 * 1024 * 1024] // 设置上传文件的大小限制,5mb
-							]
-						};
-
-						const policyBase64 = Window.base64.encode(JSON.stringify(policyText));
-						console.log(policyBase64);
-						return policyBase64;
-					},
-					getSignature(policyBase64) {
-						const accesskey = 'FpClTp4OVrRRtHEfi3lBOWUoLxKieW';
-						// console.log('video.js')
-						// console.log(Crypto)
-						const bytes = Window.Crypto.HMAC(Window.Crypto.SHA1, policyBase64, accesskey, {
-							asBytes: true
-						})
-						const signature = Window.Crypto.util.bytesToBase64(bytes);
-						// console.log(signature);
-		 			return signature;
-					},
-					async uploadFile(file) {
-						var formdata = new FormData()
-						const policyBase64 = this.getPolicyBase64();
-						const signature = this.getSignature(policyBase64); //获取签名
-						const urlStr = "https://taohaoliang.oss-cn-beijing.aliyuncs.com/"
-						const fileName = "appData/video" + new Date().getTime() + Math.floor(Math.random() *
-							150) + '.mp4'
-						formdata.append("key", fileName)
-						formdata.append("policy", policyBase64)
-						formdata.append("OSSAccessKeyId", 'LTAI4G9c14PgKvM23WZ9zrpc')
-						formdata.append("signature", signature)
-						formdata.append("success_action_status", '200')
-						formdata.append("file", file)
-						console.log('file.name')
-						$.ajax({
-							type: "POST",
-							data: formdata,
-							contentType: false,
-							processData: false,
-							url: urlStr,
-							success: function(result) {
-		 					console.log(urlStr + fileName)
-								uni.webView.navigateTo({
-									url: '/pages/mine/company/addcompany?videoSrc=' +
-										urlStr + fileName
-								})
-
-							},
-
-							//请求失败,包含具体的错误信息
-							error: function(e) {
-								console.log(e);
-								console.log(e.status);
-								console.log(e.responseText);
-							}
-						});
-					},
-					// 调用摄像头 开始录制
-					getCamera() {
-						// 注意本例需要在HTTPS协议网站中运行,新版本Chrome中getUserMedia接口在http下不再支持。
-						let constraints = {
-		 				audio: true,
-							video: {
-								facingMode: 'user' // 优先调前置摄像头
-							}
-						}
-						console.log('--------------')
-						console.log(navigator)
-						// 老的浏览器可能根本没有实现 mediaDevices,所以我们可以先设置一个空的对象
-						if (navigator.mediaDevices === undefined) {
-							navigator.mediaDevices = {}
-						}
-						// 一些浏览器部分支持 mediaDevices。我们不能直接给对象设置 getUserMedia
-						// 因为这样可能会覆盖已有的属性。这里我们只会在没有getUserMedia属性的时候添加它。
-						if (navigator.mediaDevices.getUserMedia === undefined) {
-							navigator.mediaDevices.getUserMedia = function(constraints) {
-								// 首先,如果有getUserMedia的话,就获得它
-								//   var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia
-								var getUserMedia = navigator.getUserMedia ||
-		 						navigator.webkitGetUserMedia ||
-									navigator.mozGetUserMedia
-		 					// 一些浏览器根本没实现它 - 那么就返回一个error到promise的reject来保持一个统一的接口
-								if (!getUserMedia) {
-									this.$messageBox.alert('该浏览器不支持getUserMedia,请使用其他浏览器')
-									return Promise.reject(new Error(
-										'getUserMedia is not implemented in this browser'))
-								}
-								// 否则,为老的navigator.getUserMedia方法包裹一个Promise
-								return new Promise(function(resolve, reject) {
-									getUserMedia.call(navigator, constraints, resolve, reject)
-								})
-							}
-						}
-						navigator.mediaDevices.getUserMedia(constraints)
-							.then((stream) => {
-								this.MediaStreamTrack = typeof stream.stop === 'function' ? stream :
-									stream
-									.getTracks()[0]
-								console.log(stream)
-								console.log(this.MediaStreamTrack)
-								// 显示录制框
-								this.showVideo = true
-								this.isAlreadyRecord = false
-								let winURL = window.URL || window.webkitURL
-								if ('srcObject' in this.$refs.videoRef) {
-									this.$refs.videoRef.srcObject = stream
-								} else {
-									this.$refs.videoRef.src = winURL.createObjectURL(stream)
-								}
-								console.log(this.$refs.videoRef)
-								this.$refs.videoRef.onloadedmetadata = e => {
-									// 播放视频
-									this.$refs.videoRef.play()
-								}
-								let options = {
-									videoBitsPerSecond: 2500000
-		 					}
-								this.mediaRecorder = new MediaRecorder(stream, options)
-							})
-							.catch((err) => {
-								console.log(err)
-							console.log('摄像头开启失败,请检查摄像头是否授权或是否可用!')
-							})
-							$("#progressBar").hide();
-					},
-					// 关闭活体检测
-					closeVideo() {
-						this.recordedBlobs = ''
-						this.isAlreadyRecord = false
-						this.MediaStreamTrack && this.MediaStreamTrack.stop()
-						this.countTimer && clearTimeout(this.countTimer)
-						this.$router.go(0)
-					},
-					// 录制倒计时
-					countDown() {
-						let that = this
-						let sendTime = Math.round(+new Date() / 1000)
-		 			return function walk() {
-							that.countTimer = setTimeout(function() {
-								that.countTimer && clearTimeout(that.countTimer)
-								let diff = sendTime + 8 - Math.round(+new Date() / 1000)
-								if (diff > 0) {
-									that.count = diff
-									walk()
-								} else {
-									console.log('倒计时结束')
-									// this.showVideo = false
-									console.log(this.url)
-									console.log(this.MediaStreamTrack)
-								}
-							}, 1000)
-						}
-					},
-					dataURLtoBlob(dataurl) {
-
-						var arr = dataurl.split(","),
-
-							mime = arr[0].match(/:(.*?);/)[1],
-
-							bstr = atob(arr[1]),
-
-							n = bstr.length,
-
-							u8arr = new Uint8Array(n);
-
-						while (n--) {
-
-							u8arr[n] = bstr.charCodeAt(n);
-
-						}
-
-						return this.blobToFile(new Blob([u8arr], {
-							type: mime
-						}), {
-							type: mime
-						});
-
-					},
-					blobToFile(theBlob, type) {
-						theBlob.lastModifiedDate = new Date();
-						return new File([theBlob], `${new Date().getTime()}.mp4`, type);
-
-					},
-					// 保存录制视频
-					saveVideo() {
-						let that = this
-						if (this.isAlreadyRecord) {
-							this.countTimer && clearTimeout(this.countTimer)
-							// this.showVideo = false
-							//当录制的数据可用时
-							this.mediaRecorder.ondataavailable = (e) => {
-								if (e.data && e.data.size > 0) {
-									this.recordedBlobs.push(e.data)
-								}
-							}
-							this.mediaRecorder.stop()
-							setTimeout(() => {
-								console.log("this.recordedBlobs-------------------------")
-		 					var blob = new Blob(this.recordedBlobs, {
-									type: 'video/mp4'
-		 					})
-								this.isAlreadyRecord = false
-								this.MediaStreamTrack && this.MediaStreamTrack.stop()
-								var reader = new FileReader();
-								reader.readAsDataURL(blob)
-								reader.onload = (e) => {
-									// this.$refs.videob.src = reader.result
-									let a = this.dataURLtoBlob(reader.result)
-									console.log(a)
-									this.uploadFile(a)
-								}
-							}, 100)
-						} else {
-							this.count = 8
-							this.isAlreadyRecord = true
-							this.mediaRecorder.start(8000)
-							this.countDown()()
-						}
-					},
-					changeVideo(e) {
-		 			let file = this.$refs.videoFile.files
-						console.log(file)
-					}
-				}
-			})
-		});
-	</script>
-
-</html>

+ 0 - 0
unpackage/dist/build/app-plus/hybrid/html/video.js


文件差異過大導致無法顯示
+ 0 - 5
unpackage/dist/build/app-plus/hybrid/html/vue.min.js


二進制
unpackage/dist/build/app-plus/static/ITkoala-amap/amap.png


二進制
unpackage/dist/build/app-plus/static/ITkoala-amap/close.png


二進制
unpackage/dist/build/app-plus/static/ITkoala-amap/selectedStart.png


二進制
unpackage/dist/build/app-plus/static/ITkoala-amap/sharp.png


二進制
unpackage/dist/build/app-plus/static/ITkoala-amap/start.png


二進制
unpackage/dist/build/app-plus/static/banner@2x.png


+ 0 - 221
unpackage/dist/build/app-plus/static/css/common.scss

@@ -1,221 +0,0 @@
-// 全局公共样式
-.content{
-	background:#F7F8FA;
-	// padding:$uni-spacing-row-base;
-	overflow: hidden;
-	position: relative;
-	
-}
-// 常用公共样式
-// 布局相关 start
-.flex{
-	display: flex;
-}
-.align-center{
-	align-items: center;
-}
-.inline-block{
-	display: inline-block;
-}
-.s-row{
-	display: flex;
-	flex-direction: column;
-}
-
-.flex-center{
-	justify-content: center;
-	align-items: center;
-}
-.flex-space-between{
-	justify-content: space-between;
-	align-items: center;
-}
-.flex-space-around{
-	justify-content: space-around;
-	align-items: center;
-}
-.flex-space-evenly{
-	justify-content: space-evenly;
-	align-items: center;
-}
-.flex-end{
-	    justify-content: flex-end;
-}
-.flex-start{
-	    justify-content: flex-start;
-}
-.m-top20{
-	margin-top: 20rpx;
-}
-.paddingr20{
-	padding:20rpx;
-}
-.paddingr35{
-	padding:35rpx;
-}
-.lr-paddingr20{
-	padding: 0 20rpx;
-}
-.fixed{
-	position: fixed;
-}
-.row-between{
-	display: flex;
-	justify-content: space-between;
-}
-.content-other{
-	background: white;
-	padding:10rpx 20rpx;
-	border-radius: 10rpx;
-}
-.width100{
-	width: 100%;
-}
-.mr20{
-	margin-right: 20rpx;
-}
-.ml20{
-	margin-left: 20rpx;
-}
-.msx20{
-	margin:20rpx 0;
-}
-.mt20{
-	margin-top:20rpx;
-}
-.text-align-right{
-	text-align: right;
-}
-// 布局相关 end
-
-// 边线相关start
-.border-bottom{
-	border-bottom: 1px solid #EEEEEE;
-	padding-bottom: 10rpx;
-}
-// 边线相关end
-
-
-// 颜色相关start
-.red{
-	background: red;
-}
-.yellow{
-	background:yellow;
-}
-.btn-color{
-	background: #2772FB!important;
-	color: white!important;
-}
-.h-color{
-	color: #FE6300;
-}
-.number-color{
-	color:#2772FB;
-}
-// 颜色相关end
-// 文字相关start
-.level2-title{
-font-size: 32rpx;
-font-weight: 700;
-color: #000000;
-}
-.fontsize-24{
-	font-size: 24rpx;
-}
-.fontsize-25{
-	font-size: 25rpx;
-}
-.fontsize-26{
-	font-size: 26rpx;
-}
-.fontsize-28{
-	font-size: 28rpx;
-}
-.fontsize-36{
-	font-size: 36rpx!important;
-}
-.fontsize-46{
-	font-size: 46rpx;
-}
-.gray{
-	color: #BBBBBB;
-}
-.fontweight-500{
-	font-weight: 500;
-}
-.point{
-	text-overflow: ellipsis;
-	overflow: hidden;
-	white-space: nowrap;
-}
-.row-left-text{
-	font-size:28rpx;
-	// color: #8F8F8F;
-}
-.row-right-text{
-	font-size:28rpx;
-}
-.ytg-color{
-	color: #0CBB6B;
-}
-.shz-color{
-	color:#FE6300;
-}
-.wtg-color{
-	color:#EF4034;
-}
-.ygq-color{
-	color: #878787;
-}
-// 文字相关end
-// 边线相关start
-.noborder{
-	border-bottom: none!important;
-}
-// 边线相关start
-
-// other
-.ssx{
-	width: 40rpx;
-	height: 40rpx;
-	background: linear-gradient(180deg, #C8D7E5 0%, #AFC1D6 100%);
-	font-size: 26rpx;
-	font-family: PingFangSC-Medium, PingFang SC;
-	font-weight: 500;
-	color: #FFFFFF;
-	border-radius: 50%;
-	display: flex;
-	justify-content: center;
-	align-items: center;
-	margin-right: 10rpx;
-}
-.row-tips{
-font-size: 26rpx;
-font-weight: 400;
-color: #FE7F1A;
-background: #FFEEE1;
-padding: 4rpx 11rpx;
-border-radius: 4px;
-}
-.xj-image{
-	width:46rpx;
-	height: 46rpx;
-}
-/deep/.u-modal__content__text{
-	text-align: center;
-}
-.preview-img{
-	margin-top: 20rpx;
-	width: 212rpx;
-	height: 212rpx;
-	border-radius: 10rpx;
-}
-.uview-upload{
-	margin-top: 20rpx;
-}
-.card-img{
-	width: 100%;
-	height: 440rpx;
-	
-}

+ 0 - 20
unpackage/dist/build/app-plus/static/css/font.css

@@ -1,20 +0,0 @@
-@font-face {
-	font-family: "PingFang SC";
-	src: url('https://taohaoliang.oss-accelerate.aliyuncs.com/app/tmp/PingFang-Bold.ttf'),
-/* 		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-ExtraLight.ttf'),
-		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Heavy.ttf'),
-		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Light.ttf'), */
-		url('https://taohaoliang.oss-accelerate.aliyuncs.com/app/tmp/PingFang-Medium.ttf'),
-		url('https://taohaoliang.oss-accelerate.aliyuncs.com/app/tmp/PingFang-Regular.ttf');
-		font-weight: normal;
-	font-style: normal;
-}
-@font-face {
-	font-family: "DINPro";
-	src:url('https://taohaoliang.oss-accelerate.aliyuncs.com/app/tmp/DINPro-Bold.ttf'),
-		/* url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/DINPro-Light.ttf'), */
-		url('https://taohaoliang.oss-accelerate.aliyuncs.com/app/tmp/DINPro-Medium.ttf');
-		font-weight: normal;
-	font-style: normal;
-}
-

二進制
unpackage/dist/build/app-plus/static/icon_delete.png


二進制
unpackage/dist/build/app-plus/static/icon_down.png


二進制
unpackage/dist/build/app-plus/static/iconfont.ttf


二進制
unpackage/dist/build/app-plus/static/images/carSource/exchange.png


二進制
unpackage/dist/build/app-plus/static/images/carSource/mescroll-empty.png


二進制
unpackage/dist/build/app-plus/static/images/carSource/yaoqing.png


二進制
unpackage/dist/build/app-plus/static/images/common/bz@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/cy@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/dingdan@2x(1).png


二進制
unpackage/dist/build/app-plus/static/images/common/dingdan@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/huoyuan@2x(1).png


二進制
unpackage/dist/build/app-plus/static/images/common/huoyuan@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/iconmy@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/jt.png


二進制
unpackage/dist/build/app-plus/static/images/common/mesicon@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/my@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/quxiao@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/sh.png


二進制
unpackage/dist/build/app-plus/static/images/common/sx.png


二進制
unpackage/dist/build/app-plus/static/images/common/tg.png


二進制
unpackage/dist/build/app-plus/static/images/common/tianjiazhaopian@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/top@2x.png


二進制
unpackage/dist/build/app-plus/static/images/common/wtg.png


二進制
unpackage/dist/build/app-plus/static/images/common/xiaoxi@2x.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/Mask@2x.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/banner@2x.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/change.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/jt.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/jx.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/jxbf.png


二進制
unpackage/dist/build/app-plus/static/images/goodSource/msgicon@2x.png


二進制
unpackage/dist/build/app-plus/static/images/help/banner@2x.png


二進制
unpackage/dist/build/app-plus/static/images/help/tu1@2x.png


二進制
unpackage/dist/build/app-plus/static/images/help/zy.png


二進制
unpackage/dist/build/app-plus/static/images/login/bg.png


二進制
unpackage/dist/build/app-plus/static/images/login/bg@2x.png


二進制
unpackage/dist/build/app-plus/static/images/login/bg@3x.png


二進制
unpackage/dist/build/app-plus/static/images/login/bg_slices/bg.png


二進制
unpackage/dist/build/app-plus/static/images/login/bg_slices/bg@2x.png


二進制
unpackage/dist/build/app-plus/static/images/login/bg_slices/bg@3x.png


二進制
unpackage/dist/build/app-plus/static/images/login/duihao2.png


二進制
unpackage/dist/build/app-plus/static/images/login/duihao2@2x.png


二進制
unpackage/dist/build/app-plus/static/images/login/duihao2@3x.png


二進制
unpackage/dist/build/app-plus/static/images/login/guanbi@2x.png


二進制
unpackage/dist/build/app-plus/static/images/login/logo.png


二進制
unpackage/dist/build/app-plus/static/images/login/logo@2x.png


二進制
unpackage/dist/build/app-plus/static/images/login/logo@3x.png


二進制
unpackage/dist/build/app-plus/static/images/login/select.png


部分文件因文件數量過多而無法顯示