other-insurance-detail.24b8e406.js 6.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["other-insurance-detail"],{"1ed8":function(t,e,a){"use strict";a.r(e);var i=a("88d5"),n=a("f55a");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("ef8d");var r=a("828b"),o=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"3d3fabcb",null,!1,i["a"],void 0);e["default"]=o.exports},"65e0":function(t,e,a){var i=a("ce18");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("babe47ca",i,!0,{sourceMap:!1,shadowMode:!1})},"88d5":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return 1==t.shenheStatus&&t.shenheAliStatus?1==t.shenheStatus?a("Shenhe"):t._e():a("v-uni-view",{staticClass:"page"},[a("div",{staticClass:"info-section"},[a("div",{staticClass:"info-line"},[a("h2",{staticClass:"min-margin-top"},[t._v("基本信息")]),a("div",[a("ul",{staticClass:"baseEss"},[a("li",{staticClass:"baseEss-fir"},[t._v("姓名:"+t._s(t.detail.name))]),a("li",{staticClass:"phone-li"},[t._v("电话:"+t._s(t.detail.phone))])]),a("p",[t._v("地址:"+t._s(t.detail.address))])])])]),a("div",{staticClass:"info-section"},[a("div",{staticClass:"info-line"},[a("h2",{staticClass:"min-margin-top"},[t._v("服务信息")]),a("ul",{attrs:{id:"serve"}},[a("li",[t._v("服务时间:"+t._s(t.detail.date))]),a("li",[t._v("服务项目:"+t._s(t.detail.serve))]),a("li",[t._v("服务金额:"+t._s(t.detail.price))]),a("li",[t._v("服务人员:"+t._s(t.detail.serve_man))])])])]),a("div",{staticClass:"info-section"},[a("div",{staticClass:"info-line"},[a("h2",[t._v("保险信息")]),a("ul",[t.detail.insurance?a("li",{staticClass:"report-content"},[a("div",{staticClass:"red-icon"},[a("v-uni-image",{attrs:{src:t.asyncImgs.insurance.pdf,alt:""}})],1),a("div",{staticClass:"report-text"},[a("p",[t._v("保单信息.PDF")]),a("p",{staticClass:"kb"},[t._v(t._s(t.detail.insurance_size))])]),a("p",[a("a",{attrs:{href:"#"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openFile(t.detail.insurance)}}},[t._v("点击查看")])])]):a("li",{staticClass:"insurance-text"},[t._v("您暂未购买保险,请联系客服购买!")])])])]),a("div",{staticClass:"info-section"},[a("div",{staticClass:"info-line"},[a("h2",[t._v("检测报告")]),a("ul",[t.detail.report?a("li",{staticClass:"report-content"},[a("div",{staticClass:"red-icon"},[a("v-uni-image",{attrs:{src:t.asyncImgs.insurance.pdf,alt:""}})],1),a("div",{staticClass:"report-text"},[a("p",[t._v("检测报告.PDF")]),a("p",{staticClass:"kb"},[t._v(t._s(t.detail.report_size))])]),a("p",[a("a",{attrs:{href:"#"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openFile(t.detail.report)}}},[t._v("点击查看")])])]):a("li",[t._v("暂无检测报告")]),a("li",{staticClass:"baseLine"},[t._v("复检剩余次数:"+t._s(t.detail.search_num))])])])]),a("div",{staticClass:"info-section"},[a("h2",[t._v("服务视频")]),a("ul",{staticClass:"serve-view"},[t.detail.live_room_url?a("li",[a("v-uni-video",{attrs:{src:t.detail.live_room_url}})],1):a("li",{staticClass:"insurance-text"},[t._v("暂无服务视频")])])])])},n=[]},a686:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getInsurance=function(t,e){return n.default.GET("/default/get-insurance",t,e)};var n=i(a("cc29"))},ce18:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".page[data-v-3d3fabcb]{background-color:#fff;height:100vh; /* 设置高度为视窗高度的 100% */width:100% /* 设置宽度为100% */}.info-section[data-v-3d3fabcb]{padding-left:19.5px;padding-right:19.5px;font-size:14px;margin-bottom:15px}.info-line[data-v-3d3fabcb]{border-bottom:.5px solid #f2f2f2}.info-section .baseEss[data-v-3d3fabcb]{width:100%;display:flex\r\n\t/* justify-content: space-between; */}.baseEss>.phone-li[data-v-3d3fabcb]{margin-left:23%}.info-section p[data-v-3d3fabcb]{margin-bottom:17.5px}h2[data-v-3d3fabcb]{font-size:18px;font-weight:700;margin-bottom:28px;margin-top:28px}.min-margin-top[data-v-3d3fabcb]{margin-top:15px}ul[data-v-3d3fabcb]{list-style-type:none;padding:0}li[data-v-3d3fabcb]{margin-bottom:15px;font-size:14px}.insurance-text[data-v-3d3fabcb]{color:red;margin:15px auto}\r\n/* 检测报告 */.report-content[data-v-3d3fabcb]{display:flex}.red-icon[data-v-3d3fabcb]{width:74px;height:74px;background-color:#d81e06;border-radius:5px}.red-icon uni-image[data-v-3d3fabcb]{width:38.7px;height:38.7px;margin:17.5px}.report-content>p[data-v-3d3fabcb]{width:67.5px;height:25px;border-radius:15px;font-size:12px;text-align:center;line-height:25px;border:.5px solid #3ba4ff;color:#3ba4ff;margin-right:14px;margin-top:24.5px}.report-text[data-v-3d3fabcb]{margin-top:14px;margin-left:13.5px;flex:1}.report-text .kb[data-v-3d3fabcb]{font-size:12px;line-height:18.5px;color:#999;margin-top:10px}.baseLine[data-v-3d3fabcb]{padding-top:28px;border-top:.5px solid #f2f2f2}\r\n/* 视频部分 */.serve-view uni-video[data-v-3d3fabcb]{height:161px;width:100%;border-radius:10px 35px 10px 35px}",""]),t.exports=e},e615:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("2634")),s=i(a("2fdc")),r=i(a("2ba3")),o=a("a686"),d={components:{Shenhe:r.default},data:function(){return{phone:"",detail:{name:"",phone:"",date:"",address:"",insurance:"",price:"",report:"",search_num:"",serve:"",serve_man:"",insurance_size:"",report_size:""}}},onLoad:function(t){this.phone=t.phone,this.get_insurance()},methods:{get_insurance:function(){var t=this;return(0,s.default)((0,n.default)().mark((function e(){var a,i;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.phone,e.next=3,(0,o.getInsurance)({phone:a},!0);case 3:i=e.sent,0==i.code&&(t.detail=i.data);case 5:case"end":return e.stop()}}),e)})))()},openFile:function(t){uni.showLoading({title:"加载中..."}),uni.downloadFile({url:t,success:function(t){var e=t.tempFilePath;uni.openDocument({filePath:e,showMenu:!0,complete:function(){uni.hideLoading()}})}})}}};e.default=d},ef8d:function(t,e,a){"use strict";var i=a("65e0"),n=a.n(i);n.a},f55a:function(t,e,a){"use strict";a.r(e);var i=a("e615"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a}}]);