li.shaoyi 5 months ago
parent
commit
cc327e9160

BIN
file/泰商所/0a14b1c2-cb38-4c7d-a578-3d37891b7001.png


BIN
file/泰商所/40977b27-34aa-4a1e-a988-d3830d787edf.png


BIN
file/泰商所/622ab222-6c09-4578-8b85-2b58bf58c31a.png


BIN
file/泰商所/947c7ca3-7920-49df-acda-5b510cbe2323.png


+ 0 - 0
file/Logo_VN_TCE.ai → file/泰商所/Logo_VN_TCE.ai


+ 0 - 0
file/泰商所.ai → file/泰商所/泰商所.ai


BIN
src/packages/mobile/assets/images/certification.png


+ 26 - 9
src/packages/mobile/views/account/certification/Index.vue

@@ -68,11 +68,17 @@
                     :label="$t('user.authentication.modifyremark')" />
             </CellGroup>
         </Form>
-        <!-- <img v-if="oem != 'tss'" src="../../../assets/images/certification.png" /> -->
+        <div class="account-certification__example" v-if="showExample">
+            <fieldset>
+                <legend>拍摄示例</legend>
+                <img :src="exampleImage" />
+            </fieldset>
+        </div>
         <template #footer>
             <div class="g-form__footer inset">
-                <Button type="danger" @click="formRef?.submit" round block>{{ $t('user.authentication.submit')
-                    }}</Button>
+                <Button type="danger" @click="formRef?.submit" round block>
+                    {{ $t('user.authentication.submit') }}
+                </Button>
             </div>
         </template>
     </app-view>
@@ -85,8 +91,6 @@ import { addAuthReq } from '@/business/user'
 import { fullloading, dialog } from '@/utils/vant'
 import { getCerTypePersonList } from "@/constants/account"
 import { useNavigation } from '@mobile/router/navigation'
-import { getIdCardAge } from '@/filters'
-import { validateRules } from '@/constants/regex'
 import { useRequest } from '@/hooks/request'
 import { getWskhOpenAccountConfigs } from '@/services/api/account'
 import { useQueryCusBankSignBank } from '@/business/bank'
@@ -94,7 +98,18 @@ import { getCountryCodeList } from '@/constants/unit'
 import { i18n, useUserStore } from '@/stores'
 import AppUploader from '@mobile/components/base/uploader/index.vue'
 import AppSelect from '@mobile/components/base/select/index.vue'
-import service from '@/services'
+import certification from '../../../assets/images/certification.png'
+
+defineProps({
+    showExample: {
+        type: Boolean,
+        default: true
+    },
+    exampleImage: {
+        type: String,
+        default: certification
+    },
+})
 
 const formRef = shallowRef<FormInstance>()
 const { formData, formSubmit, modifyremark } = addAuthReq()
@@ -117,8 +132,6 @@ const showHalfBodyPhoto = shallowRef('0')
 const showCardBackPhoto = shallowRef('0')
 const halfBodyPhotoTitle = shallowRef(t('user.authentication.halfbodyphoto'))
 
-const oem = service.getConfig('oem')
-
 const { banklist } = useQueryCusBankSignBank()
 
 const onCancel = () => {
@@ -227,4 +240,8 @@ const onSubmit = () => {
 onMounted(() => {
     formData.mobilephone = userStore.userInfo.mobile2
 })
-</script>
+</script>
+
+<style lang="less">
+@import './index.less';
+</style>

+ 20 - 0
src/packages/mobile/views/account/certification/index.less

@@ -0,0 +1,20 @@
+.account-certification {
+    &__example {
+        padding: 0 16px;
+
+        fieldset {
+            border: 1px solid #dfdfdf;
+            border-radius: 8px;
+            padding: 10px;
+
+            legend {
+                color: #999;
+                margin-left: 10px;
+            }
+
+            img {
+                width: 100%;
+            }
+        }
+    }
+}

+ 2 - 2
src/packages/pc/components/layouts/header/components/notice/index.vue

@@ -59,11 +59,11 @@ const selectedItem = computed(() => dataList.value[active.value])
 const tabChange = (tab: string) => {
     switch (tab) {
         case 'notice': {
-            dataList.value = noticeStore.noticeList.filter((e) => e.msgtype === 1)
+            dataList.value = noticeStore.localizedNoticeList.filter((e) => e.msgtype === 1)
             break
         }
         case 'message': {
-            dataList.value = noticeStore.noticeList.filter((e) => e.msgtype === 2)
+            dataList.value = noticeStore.localizedNoticeList.filter((e) => e.msgtype === 2)
             break
         }
     }

BIN
src/packages/tss-vi/assets/images/certification.png


+ 1 - 1
src/packages/tss-vi/router/index.ts

@@ -167,7 +167,7 @@ const routes: Array<RouteRecordRaw> = [
       {
         path: 'certification',
         name: 'account-certification',
-        component: () => import('@mobile/views/account/certification/Index.vue'),
+        component: () => import('../views/account/certification/index.vue'),
       },
       {
         path: 'authresult',

+ 9 - 0
src/packages/tss-vi/views/account/certification/index.vue

@@ -0,0 +1,9 @@
+<!-- 实名认证 -->
+<template>
+    <PageView :example-image="certification" />
+</template>
+
+<script lang="ts" setup>
+import PageView from '@mobile/views/account/certification/Index.vue'
+import certification from '../../../assets/images/certification.png'
+</script>

BIN
src/packages/tss/assets/images/certification.png


+ 1 - 1
src/packages/tss/router/index.ts

@@ -167,7 +167,7 @@ const routes: Array<RouteRecordRaw> = [
       {
         path: 'certification',
         name: 'account-certification',
-        component: () => import('@mobile/views/account/certification/Index.vue'),
+        component: () => import('../views/account/certification/index.vue'),
       },
       {
         path: 'authresult',

+ 8 - 0
src/packages/tss/views/account/certification/index.vue

@@ -0,0 +1,8 @@
+<!-- 实名认证 -->
+<template>
+    <PageView :show-example="false" />
+</template>
+
+<script lang="ts" setup>
+import PageView from '@mobile/views/account/certification/Index.vue'
+</script>

+ 1 - 1
src/stores/modules/notice.ts

@@ -32,7 +32,7 @@ export const useNoticeStore = defineStore(() => {
             ...e,
             ...localizedValues
         }
-    }))
+    }).filter((e) => e.title))
 
     // 未读消息数
     const unreadCount = computed(() => {