瀏覽代碼

实名认证(隐藏)

chenjj 3 月之前
父節點
當前提交
86db339138

+ 11 - 43
pages.json

@@ -11,7 +11,6 @@
 		}
 	},
 	"pages": [
-		
 		{
 			"path": "pages/index",
 			"style": {
@@ -149,12 +148,12 @@
 						"navigationBarTitleText": "资质管理"
 					}
 				},
-        {
-          "path": "pages/search/index",
-          "style": {
-            "navigationBarTitleText": "搜索服务"
-          }
-        }
+				{
+					"path": "pages/search/index",
+					"style": {
+						"navigationBarTitleText": "搜索服务"
+					}
+				}
 			]
 		},
 		{
@@ -258,7 +257,6 @@
 						"navigationBarTitleText": "实名认证"
 					}
 				},
-
 				{
 					"path": "pages/mp_ecard_sdk/index/index",
 					"style": {
@@ -266,39 +264,11 @@
 					}
 				},
 				{
-					"path": "pages/mp_ecard_sdk/protocol/eid/eid",
-					"style": {
-						"navigationBarTitleText": "eID数字身份⼩程序服务协议",
-						"enablePullDownRefresh": false
-					}
-				},
-				{
-					"path": "pages/mp_ecard_sdk/protocol/privacy/privacy",
-					"style": {
-						"navigationBarTitleText": "腾讯隐私政策",
-						"enablePullDownRefresh": false
-					}
-				},
-				{
-					"path": "pages/mp_ecard_sdk/protocol/service/service",
+					"path": "pages/integral/index",
 					"style": {
-						"navigationBarTitleText": "腾讯云E证通服务协议",
-						"enablePullDownRefresh": false
+						"navigationBarTitleText": "查看积分"
 					}
-				},
-				{
-					"path": "pages/mp_ecard_sdk/protocol/userAccredit/userAccredit",
-					"style": {
-						"navigationBarTitleText": "⽤户授权协议",
-						"enablePullDownRefresh": false
-					}
-				},	
-        {
-          "path": "pages/integral/index",
-          "style": {
-            "navigationBarTitleText": "查看积分"
-          }
-        }
+				}
 			]
 		},
 		{
@@ -404,7 +374,6 @@
 				}
 			]
 		}
-		
 	],
 	"tabBar": {
 		"custom": true,
@@ -449,10 +418,9 @@
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarBackgroundColor": "#FFFFFF",
-		"enableShareAppMessage":true
-	},
-	"plugins": {
+		"enableShareAppMessage": true
 	},
+	"plugins": {},
 	"permission": {
 		"scope.userFuzzyLocation": {
 			"desc": "你的位置信息将用于小程序定位"

+ 21 - 35
pages/mine/index.vue

@@ -190,15 +190,15 @@ const priceList = computed(() => {
 const userType = uni.getStorageSync('userType') //读取本地存储
 
 const adminList = [
-{
-    name: '实名认证',
-    img: '/static/serverImg/mine/adress.png',
-    key: 'map',
-    text: '前往实名认证',
-    operate: () => {
-      hanldeAuthentication()
-    },
-  },
+// {
+//     name: '实名认证',
+//     img: '/static/serverImg/mine/adress.png',
+//     key: 'map',
+//     text: '前往实名认证',
+//     operate: () => {
+//       hanldeAuthentication()
+//     },
+//   },
   {
     name: '我的地址',
     img: '/static/serverImg/mine/adress.png',
@@ -255,15 +255,15 @@ const adminList = [
 
 ]
 const userList = [
-  {
-    name: '实名认证',
-    img: '/static/serverImg/mine/adress.png',
-    key: 'map',
-    text: '前往实名认证',
-    operate: () => {
-      hanldeAuthentication()
-    },
-  },
+  // {
+  //   name: '实名认证',
+  //   img: '/static/serverImg/mine/adress.png',
+  //   key: 'map',
+  //   text: '前往实名认证',
+  //   operate: () => {
+  //     hanldeAuthentication()
+  //   },
+  // },
   {
     name: '我的地址',
     img: '/static/serverImg/mine/adress.png',
@@ -306,23 +306,9 @@ const userList = [
 
 // 实名认证
 const hanldeAuthentication = () => {
-  // wx.startFacialRecognitionVerify({
-  //   name: '陈建均',
-  //   idCardNumber:'500230200006011928',
-  //   checkAliveType:'2',
-  //   success: (result) => {
-  //     console.log("TCL: hanldeAuthentication -> result", result)
-  //     if (result.verifyResult)  {
-  //       // 认证成功,提交服务端校验 
-  //     }
-  //   },
-  //   fail: (err) => {
-  //     console.log("TCL: hanldeAuthentication -> err", err)
-  //   },
-  // })
-//   uni.navigateTo({
-//         url: `/pages_mine/pages/authentication/index`
-//  })
+  uni.navigateTo({
+        url: `/pages_mine/pages/authentication/index`
+ })
 }
 const switchUserType = (userType) => {
   uni.setStorageSync('userType', userType)

文件差異過大導致無法顯示
+ 1 - 1
pages_mine/pages/mp_ecard_sdk/constants/log.js


文件差異過大導致無法顯示
+ 1 - 183
pages_mine/pages/mp_ecard_sdk/index.css


+ 0 - 1
pages_mine/pages/mp_ecard_sdk/index.js

@@ -1 +0,0 @@
-export const a="dasd";

文件差異過大導致無法顯示
+ 1 - 1
pages_mine/pages/mp_ecard_sdk/index/index.js


+ 5 - 25
pages_mine/pages/mp_ecard_sdk/index/index.vue

@@ -1,34 +1,14 @@
 <template>
-	<view v-if="showWebView">
-		<web-view :src="redirectUri" @load="handleWebViewLoad" @error="handleWebViewError"></web-view>
-	</view>
-
-	<view class="auth" v-else>
+	<view class="auth">
 		<view class="auth-logo">
-			<image src="https://faceid-ecard-1254418846.cos.ap-chengdu.myqcloud.com/eidLogo.png" />
+			<image src="https://faceid-h5-1254418846.file.myqcloud.com/mp_verify_sdk/images/ecard/logo.png" />
 		</view>
 		<view class="title">
-			您正在授权
-			<view class="merchant-name">{{' '+ appName}}</view>
-		</view>
-		<view class="sub-title">通过腾讯云E证通核验并获取您的身份信息</view>
-		<view class="agreement">
-			<checkbox-group @change="changeAgree">
-				<checkbox :value="agreement" :checked="isAgree" />
-			</checkbox-group>
-			<view>
-				<view>
-					<view @click="changeAgree" style="display:inline">已阅读并同意</view>
-					<navigator url="/mp_ecard_sdk/protocol/service/service">《腾讯云E证通服务使用协议》</navigator>和
-				</view>
-				<view>
-					<navigator url="/mp_ecard_sdk/protocol/eid/eid">《eID数字身份小程序服务协议》</navigator>
-				</view>
-			</view>
+			即将进入"eID数字身份"小程序
 		</view>
 		<view class="button-area">
-			<button @click='navigateToEid' :disabled="!isAgree || isNavigating">
-				确认授权
+			<button @click='handleStart' >
+				确认进入
 			</button>
 		</view>
 	</view>

文件差異過大導致無法顯示
+ 1 - 25
pages_mine/pages/mp_ecard_sdk/main.js


文件差異過大導致無法顯示
+ 0 - 113
pages_mine/pages/mp_ecard_sdk/protocol/eid/eid.vue


文件差異過大導致無法顯示
+ 0 - 195
pages_mine/pages/mp_ecard_sdk/protocol/privacy/privacy.vue


文件差異過大導致無法顯示
+ 0 - 173
pages_mine/pages/mp_ecard_sdk/protocol/service/service.vue


文件差異過大導致無法顯示
+ 0 - 47
pages_mine/pages/mp_ecard_sdk/protocol/userAccredit/userAccredit.vue


+ 0 - 1
pages_mine/pages/mp_ecard_sdk/utils/getParameterByName.js

@@ -1 +0,0 @@
-const getParameterByName=function(e,t){e=e.replace(/[\[\]]/g,"\\$&");const a=new RegExp(`[?&]${e}(=([^&#]*)|&|#|$)`).exec(t);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null};export default getParameterByName;

文件差異過大導致無法顯示
+ 1 - 1
pages_mine/pages/mp_ecard_sdk/utils/http.js


文件差異過大導致無法顯示
+ 1 - 0
pages_mine/pages/mp_ecard_sdk/utils/index.js