浏览代码

no message

linwenxin 5 月之前
父节点
当前提交
ca9f6e4c88
共有 4 个文件被更改,包括 195 次插入201 次删除
  1. 81 88
      package-lock.json
  2. 2 2
      src/manifest.json
  3. 112 110
      src/packageEnter/pages/insurance/policyParticulars/index.vue
  4. 0 1
      src/pages.json

+ 81 - 88
package-lock.json

@@ -3115,6 +3115,44 @@
           "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
           "dev": true
         },
+        "ansi-styles": {
+          "version": "4.3.0",
+          "resolved": "http://121.41.110.30:4873/ansi-styles/-/ansi-styles-4.3.0.tgz",
+          "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "color-convert": "^2.0.1"
+          }
+        },
+        "chalk": {
+          "version": "4.1.2",
+          "resolved": "http://121.41.110.30:4873/chalk/-/chalk-4.1.2.tgz",
+          "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "ansi-styles": "^4.1.0",
+            "supports-color": "^7.1.0"
+          }
+        },
+        "color-convert": {
+          "version": "2.0.1",
+          "resolved": "http://121.41.110.30:4873/color-convert/-/color-convert-2.0.1.tgz",
+          "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "color-name": "~1.1.4"
+          }
+        },
+        "color-name": {
+          "version": "1.1.4",
+          "resolved": "http://121.41.110.30:4873/color-name/-/color-name-1.1.4.tgz",
+          "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+          "dev": true,
+          "optional": true
+        },
         "css-loader": {
           "version": "3.6.0",
           "resolved": "https://registry.npmmirror.com/css-loader/-/css-loader-3.6.0.tgz",
@@ -3172,6 +3210,13 @@
             "pump": "^3.0.0"
           }
         },
+        "has-flag": {
+          "version": "4.0.0",
+          "resolved": "http://121.41.110.30:4873/has-flag/-/has-flag-4.0.0.tgz",
+          "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+          "dev": true,
+          "optional": true
+        },
         "hash-sum": {
           "version": "2.0.0",
           "resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-2.0.0.tgz",
@@ -3274,6 +3319,42 @@
           "requires": {
             "minipass": "^3.1.1"
           }
+        },
+        "supports-color": {
+          "version": "7.2.0",
+          "resolved": "http://121.41.110.30:4873/supports-color/-/supports-color-7.2.0.tgz",
+          "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "has-flag": "^4.0.0"
+          }
+        },
+        "vue-loader-v16": {
+          "version": "npm:vue-loader@16.8.3",
+          "resolved": "http://121.41.110.30:4873/vue-loader/-/vue-loader-16.8.3.tgz",
+          "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "chalk": "^4.1.0",
+            "hash-sum": "^2.0.0",
+            "loader-utils": "^2.0.0"
+          },
+          "dependencies": {
+            "loader-utils": {
+              "version": "2.0.4",
+              "resolved": "http://121.41.110.30:4873/loader-utils/-/loader-utils-2.0.4.tgz",
+              "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
+              "dev": true,
+              "optional": true,
+              "requires": {
+                "big.js": "^5.2.2",
+                "emojis-list": "^3.0.0",
+                "json5": "^2.1.2"
+              }
+            }
+          }
         }
       }
     },
@@ -16393,94 +16474,6 @@
         "vue-style-loader": "^4.1.0"
       }
     },
-    "vue-loader-v16": {
-      "version": "npm:vue-loader@16.8.3",
-      "resolved": "http://121.41.110.30:4873/vue-loader/-/vue-loader-16.8.3.tgz",
-      "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
-      "dev": true,
-      "optional": true,
-      "requires": {
-        "chalk": "^4.1.0",
-        "hash-sum": "^2.0.0",
-        "loader-utils": "^2.0.0"
-      },
-      "dependencies": {
-        "ansi-styles": {
-          "version": "4.3.0",
-          "resolved": "http://121.41.110.30:4873/ansi-styles/-/ansi-styles-4.3.0.tgz",
-          "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "color-convert": "^2.0.1"
-          }
-        },
-        "chalk": {
-          "version": "4.1.2",
-          "resolved": "http://121.41.110.30:4873/chalk/-/chalk-4.1.2.tgz",
-          "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "ansi-styles": "^4.1.0",
-            "supports-color": "^7.1.0"
-          }
-        },
-        "color-convert": {
-          "version": "2.0.1",
-          "resolved": "http://121.41.110.30:4873/color-convert/-/color-convert-2.0.1.tgz",
-          "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "color-name": "~1.1.4"
-          }
-        },
-        "color-name": {
-          "version": "1.1.4",
-          "resolved": "http://121.41.110.30:4873/color-name/-/color-name-1.1.4.tgz",
-          "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
-          "dev": true,
-          "optional": true
-        },
-        "has-flag": {
-          "version": "4.0.0",
-          "resolved": "http://121.41.110.30:4873/has-flag/-/has-flag-4.0.0.tgz",
-          "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
-          "dev": true,
-          "optional": true
-        },
-        "hash-sum": {
-          "version": "2.0.0",
-          "resolved": "http://121.41.110.30:4873/hash-sum/-/hash-sum-2.0.0.tgz",
-          "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==",
-          "dev": true,
-          "optional": true
-        },
-        "loader-utils": {
-          "version": "2.0.4",
-          "resolved": "http://121.41.110.30:4873/loader-utils/-/loader-utils-2.0.4.tgz",
-          "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "big.js": "^5.2.2",
-            "emojis-list": "^3.0.0",
-            "json5": "^2.1.2"
-          }
-        },
-        "supports-color": {
-          "version": "7.2.0",
-          "resolved": "http://121.41.110.30:4873/supports-color/-/supports-color-7.2.0.tgz",
-          "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "has-flag": "^4.0.0"
-          }
-        }
-      }
-    },
     "vue-pdf": {
       "version": "4.3.0",
       "resolved": "https://registry.npmmirror.com/vue-pdf/-/vue-pdf-4.3.0.tgz",

+ 2 - 2
src/manifest.json

@@ -13,7 +13,7 @@
   },
   "h5": {
     "title": "",
-    "publicPath": "/jsm-h5/",
+    "publicPath": "/",
     "devServer": {
       "https": false,
       "port": 3000,
@@ -31,7 +31,7 @@
     },
     "router": {
       "mode": "history",
-      "base": "/jsm-h5/",
+      "base": "/",
       "cache": {
         "mode": "path",
         "pages": []

+ 112 - 110
src/packageEnter/pages/insurance/policyParticulars/index.vue

@@ -1,122 +1,124 @@
 <template>
-  <zj-page-container>
-    <zj-fiex-column
-      background="#F7F7F7"
-      @scrolltolower="carScrolltolower"
-      @refresherrefresh="carRefresherrefresh"
-      @refresherrestore="carRefresherrestore"
-      :refresherEnabled="true"
-      :refresherTriggered="refresherTriggered"
-    >
-      <view slot="before" class="head-view">
-        <view class="head-view-bg"></view>
-      </view>
-      <view class="page-content">
-        <view class="page-title-view">
-          <text>{{ info.policyName }}</text>
-          <image mode="aspectFit" src="/static/images/common/bpa.png"> </image>
+  <view style="height: 100vh">
+    <zj-page-container>
+      <zj-fiex-column
+        background="#F7F7F7"
+        @scrolltolower="carScrolltolower"
+        @refresherrefresh="carRefresherrefresh"
+        @refresherrestore="carRefresherrestore"
+        :refresherEnabled="true"
+        :refresherTriggered="refresherTriggered"
+      >
+        <view slot="before" class="head-view">
+          <view class="head-view-bg"></view>
         </view>
-        <view class="page-content-view">
-          <view class="page-content-text">
-            <text class="mintext">保单名称:{{ info.policyName }}</text>
+        <view class="page-content">
+          <view class="page-title-view">
+            <text>{{ info.policyName }}</text>
+            <image mode="aspectFit" src="/static/images/common/bpa.png"> </image>
           </view>
-          <view class="page-content-text">
-            <text class="mintext"
-              >保障期限:{{ info && info.startTime && info.startTime.split(' ')[0] }}至{{
-                info && info.endTime && info.endTime.split(' ')[0]
-              }}</text
+          <view class="page-content-view">
+            <view class="page-content-text">
+              <text class="mintext">保单名称:{{ info.policyName }}</text>
+            </view>
+            <view class="page-content-text">
+              <text class="mintext"
+                >保障期限:{{ info && info.startTime && info.startTime.split(' ')[0] }}至{{
+                  info && info.endTime && info.endTime.split(' ')[0]
+                }}</text
+              >
+              <text class="ogtext minwidth"
+                >{{
+                  parseInt(
+                    baozhang > 0
+                      ? baozhang === 1
+                        ? getDaysBetween(info.startTime, new Date())
+                        : getDaysBetween(info.startTime, info.endTime)
+                      : 0
+                  )
+                }}天</text
+              >
+            </view>
+            <view class="page-content-text">
+              <text class="mintext">被保险人:{{ info.workerName || '' }}</text>
+            </view>
+            <view class="page-content-text">
+              <text class="mintext">所属网点:{{ info.websitName || '' }}</text>
+            </view>
+            <image
+              v-if="info.policyOrderStatus === 'DSX'"
+              class="yingzhang"
+              mode="aspectFit"
+              src="/static/images/common/dsx.png"
             >
-            <text class="ogtext minwidth"
-              >{{
-                parseInt(
-                  baozhang > 0
-                    ? baozhang === 1
-                      ? getDaysBetween(info.startTime, new Date())
-                      : getDaysBetween(info.startTime, info.endTime)
-                    : 0
-                )
-              }}天</text
+            </image>
+            <image
+              v-if="info.policyOrderStatus === 'BZZ'"
+              class="yingzhang"
+              mode="aspectFit"
+              src="/static/images/common/yshx.png"
             >
+            </image>
+            <image
+              v-if="info.policyOrderStatus === 'YSX'"
+              class="yingzhang"
+              mode="aspectFit"
+              src="/static/images/common/ysx.png"
+            >
+            </image>
           </view>
-          <view class="page-content-text">
-            <text class="mintext">被保险人:{{ info.workerName || '' }}</text>
-          </view>
-          <view class="page-content-text">
-            <text class="mintext">所属网点:{{ info.websitName || '' }}</text>
-          </view>
-          <image
-            v-if="info.policyOrderStatus === 'DSX'"
-            class="yingzhang"
-            mode="aspectFit"
-            src="/static/images/common/dsx.png"
-          >
-          </image>
-          <image
-            v-if="info.policyOrderStatus === 'BZZ'"
-            class="yingzhang"
-            mode="aspectFit"
-            src="/static/images/common/yshx.png"
-          >
-          </image>
-          <image
-            v-if="info.policyOrderStatus === 'YSX'"
-            class="yingzhang"
-            mode="aspectFit"
-            src="/static/images/common/ysx.png"
-          >
-          </image>
-        </view>
-        <!-- --------------------- -->
-        <view class="page-content-view">
-          <view class="page-content-text">
-            <text class="bigtext">保障内容</text>
-          </view>
-          <view class="page-content-text">
-            <text class="mintext">保单编码:{{ info.policyOrderId }}</text>
-          </view>
-          <view class="page-content-text">
-            <text class="mintext">承保公司:{{ info.policy && info.policy.company }}</text>
-          </view>
-          <view class="hr" />
-          <view class="page-content-text">
-            <text class="bigtext">保障范围</text>
-          </view>
-          <view class="page-content-text" v-for="(item, index) in info.policyRanges || []" :key="index">
-            <text class="mintext">{{ item.rangeName }}</text>
-            <text class="mintext maxwidth">{{ item.rangeText }}</text>
-          </view>
-          <view class="hr" />
-          <view class="page-content-text">
-            <text class="bigtext">保费</text>
-            <text class="mintext">{{ info.payAmount }}</text>
-          </view>
-          <view class="page-content-text">
-            <text class="mintext">缴费方式</text>
-            <text class="mintext maxwidth">一次性年缴</text>
-          </view>
-          <view class="page-content-text">
-            <text class="tsogtext">注:已承保期间,不足一个月的部分按一个月计缴费</text>
-          </view>
-        </view>
-        <!-- --------------------- -->
-        <view class="page-content-view">
-          <view class="page-content-text">
-            <text class="bigtext">协议条款</text>
+          <!-- --------------------- -->
+          <view class="page-content-view">
+            <view class="page-content-text">
+              <text class="bigtext">保障内容</text>
+            </view>
+            <view class="page-content-text">
+              <text class="mintext">保单编码:{{ info.policyOrderId }}</text>
+            </view>
+            <view class="page-content-text">
+              <text class="mintext">承保公司:{{ info.policy && info.policy.company }}</text>
+            </view>
+            <view class="hr" />
+            <view class="page-content-text">
+              <text class="bigtext">保障范围</text>
+            </view>
+            <view class="page-content-text" v-for="(item, index) in info.policyRanges || []" :key="index">
+              <text class="mintext">{{ item.rangeName }}</text>
+              <text class="mintext maxwidth">{{ item.rangeText }}</text>
+            </view>
+            <view class="hr" />
+            <view class="page-content-text">
+              <text class="bigtext">保费</text>
+              <text class="mintext">{{ info.payAmount }}</text>
+            </view>
+            <view class="page-content-text">
+              <text class="mintext">缴费方式</text>
+              <text class="mintext maxwidth">一次性年缴</text>
+            </view>
+            <view class="page-content-text">
+              <text class="tsogtext">注:已承保期间,不足一个月的部分按一个月计缴费</text>
+            </view>
           </view>
-          <template v-for="(item, index) in insureAgreeList">
-            <view class="page-content-text" :key="index" @click="goDetailsAgreement(item)">
-              <view class="baoxianxieyi">
-                <text>《{{ item.agreementName }}》</text>
-                <u-icon name="arrow-right" size="18"></u-icon>
-              </view>
+          <!-- --------------------- -->
+          <view class="page-content-view">
+            <view class="page-content-text">
+              <text class="bigtext">协议条款</text>
             </view>
-            <view class="minhr" v-if="index < insureAgreeList.length - 1" />
-          </template>
+            <template v-for="(item, index) in insureAgreeList">
+              <view class="page-content-text" :key="index" @click="goDetailsAgreement(item)">
+                <view class="baoxianxieyi">
+                  <text>《{{ item.agreementName }}》</text>
+                  <u-icon name="arrow-right" size="18"></u-icon>
+                </view>
+              </view>
+              <view class="minhr" v-if="index < insureAgreeList.length - 1" />
+            </template>
+          </view>
+          <u-button type="primary" plain @click="goHome">返回首页</u-button>
         </view>
-        <u-button type="primary" plain @click="goHome">返回首页</u-button>
-      </view>
-    </zj-fiex-column>
-  </zj-page-container>
+      </zj-fiex-column>
+    </zj-page-container>
+  </view>
 </template>
 <script>
 import ZjFiexColumn from '@/components/zj-container/zj-fiex-column.vue'

+ 0 - 1
src/pages.json

@@ -117,7 +117,6 @@
           "path": "pages/insurance/policyParticulars/index",
           "style": {
             "navigationBarTitleText": "保单详情",
-            "navigationBarTextStyle": "#ffffff",
             "navigationBarBackgroundColor": "#3D8FFD"
           }
         }