[baozhangchao] 3 년 전
부모
커밋
8852790252
3개의 변경된 파일25개의 추가작업 그리고 10개의 파일을 삭제
  1. 1
    0
      config/prod.js
  2. 8
    0
      src/pages/ApplicationList/components/AppliCard/index.jsx
  3. 16
    10
      src/pages/ApplicationList/index.jsx

+ 1
- 0
config/prod.js 파일 보기

@@ -3,6 +3,7 @@ module.exports = {
3 3
     NODE_ENV: '"production"'
4 4
   },
5 5
   defineConstants: {
6
+    HOST: '"https://pet-certificate-online.njyunzhi.com"',
6 7
   },
7 8
   mini: {},
8 9
   h5: {

+ 8
- 0
src/pages/ApplicationList/components/AppliCard/index.jsx 파일 보기

@@ -69,6 +69,10 @@ export default (props) => {
69 69
           <View>审领方式</View>
70 70
           <View>{item.applyMethod == 1 ? '自取' : '邮寄'}</View>
71 71
         </View>
72
+        <View className='ApplicationListBox-CardBox-content'>
73
+          <View>申请类型</View>
74
+          <View>{item.applyType == 'first' ? '办证申请' : item.applyType == 'renewal' ? '证件续期' : item.applyType == 'reissue' ? '证件补办' : '异常'}</View>
75
+        </View>
72 76
         <View className='ApplicationListBox-CardBox-content'>
73 77
           <View>状态</View>
74 78
           <View style={{ color: cardStatus(item)?.styleColor }}>{cardStatus(item)?.title}</View>
@@ -84,6 +88,10 @@ export default (props) => {
84 88
         {
85 89
           cardStatus(item)?.title == '驳回' ?
86 90
             <View>
91
+              <View className='ApplicationListBox-CardBox-content'>
92
+                <View>退款方式</View>
93
+                <View>原路退回支付账户</View>
94
+              </View>
87 95
               <View className='ApplicationListBox-CardBox-refuse'>
88 96
                 <View>驳回原因</View>
89 97
                 <View>{item.rejectReason}</View>

+ 16
- 10
src/pages/ApplicationList/index.jsx 파일 보기

@@ -48,26 +48,32 @@ export default (props) => {
48 48
   return (
49 49
     <>
50 50
       {
51
-        applionLoading ? <mp-loading extClass="page-loading-circle" type="circle" show={applionLoading} /> :
51
+        !applionLoading ?
52
+
52 53
 
53
-          <>
54 54
 
55
+          <>
55 56
             {
56
-              applionList.map((item, index) => {
57
-                return (
58
-                  <AppliCard key={index} item={item} onClick={goSetDogLicense} copy={trackingCopy} />
59 57
 
60
-                )
58
+              applionLoading ? <mp-loading extClass="page-loading-circle" type="circle" show={applionLoading} /> :
59
+                applionList.map((item, index) => {
60
+                  return (
61
+                    <AppliCard key={index} item={item} onClick={goSetDogLicense} copy={trackingCopy} />
61 62
 
62
-              })
63
+                  )
64
+
65
+                })
63 66
             }
67
+
64 68
           </>
69
+          :
70
+          <View style={{ textAlign: 'center', margin: '6vw 0 3vw 0', color: '#858585', fontSize: '12px' }}>
71
+            暂无申请信息
72
+          </View>
65 73
       }
66 74
 
67 75
 
68
-      <View style={{ textAlign: 'center', margin: '6vw 0 3vw 0', color: '#858585', fontSize: '12px' }}>
69
-        申请驳回,费用将原路退回支付账户!
70
-      </View>
76
+
71 77
 
72 78
     </>
73 79
   )