| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages_index-testDetails"],{"0e08":function(t,e,n){"use strict";n.r(e);var i=n("b9cf"),a=n("dc7b");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("8bbd");var s=n("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"3e00a6bc",null,!1,i["a"],void 0);e["default"]=c.exports},"5b0a":function(t,e,n){var i=n("be73");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("2bb3caba",i,!0,{sourceMap:!1,shadowMode:!1})},"73ae":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addVoicePrintUrl=function(t){return o("/companyapp/app/companyUser/addVoicePrintUrl",t,"POST","application/json;charset=UTF-8")},e.companyUserVoice=function(t){return o("/companyapp/app/companyUser/companyUserVoice",t,"GET","application/json;charset=UTF-8")},e.companyUserVoiceNew=function(t){return o("/companyapp/app/companyUser/companyUserVoiceNew",t,"GET","application/json;charset=UTF-8")},e.createUserAllVoice=function(t){return o("/companyapp/app/companyUser/createUserAllVoice",null,"GET","application/json;charset=UTF-8")},e.doReport=function(t){return o("/app/test/doReport",t,"POST","application/json;charset=UTF-8")},e.getTestDetails=function(t){return o("/app/test/getTestDetails",t,"GET")},e.getTestList=function(t){return o("/app/test/getTestList",t,"GET")},e.getTestReport=function(t){return o("/app/test/getTestReport",t,"GET")},e.getTestReportImg=function(t){return o("/app/test/getTestReportImg",t,"GET")},e.getTestTempDetails=function(t){return o("/app/test/getTestTempDetails",t,"GET")},e.queryDetail=function(t){return o("/companyapp/app/companyUser/query/"+t,null,"GET","application/json;charset=UTF-8")},e.querySopVoiceList=function(t){return o("/companyapp/app/companyUser/querySopVoiceList",t,"GET","application/json;charset=UTF-8")};var a=i(n("d4c0")),o=(new a.default).http},"8bbd":function(t,e,n){"use strict";var i=n("5b0a"),a=n.n(i);a.a},b9cf:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"bg-box"},[n("v-uni-image",{attrs:{src:t.imgPath+"/app/commonCourse/test-bg1.png"}}),n("v-uni-view",{staticClass:"title-box"},[n("v-uni-view",{staticClass:"title"},[t._v(t._s(t.item.name))])],1)],1),n("v-uni-view",{staticClass:"cont"},[n("v-uni-view",{staticClass:"msg-box"},[n("v-uni-view",{staticClass:"msg"},[t._v(t._s(t.item.msg))])],1),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"desc-box"},[n("v-uni-view",{staticClass:"desc",domProps:{innerHTML:t._s(t.item.descs)}})],1),n("v-uni-view",{staticClass:"btn-box"},[n("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo("/pages_index/test?tempId="+t.item.tempId)}}},[t._v("立即开始")])],1),n("v-uni-view",{staticClass:"logo"},[n("v-uni-image",{attrs:{src:t.imgPath+"/app/image/logo.png"}})],1)],1)],1)},a=[]},be73:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-3e00a6bc]{height:100%}.content[data-v-3e00a6bc]{position:relative;height:100%;display:flex;flex-direction:column}.content .bg-box[data-v-3e00a6bc]{position:absolute;width:100%;height:%?600?%}.content .bg-box .title-box[data-v-3e00a6bc]{top:%?50?%;left:%?50?%;position:absolute}.content .bg-box .title-box .title[data-v-3e00a6bc]{border-radius:%?5?%;border:%?1?% solid #fff;padding:%?20?% %?30?%;font-size:%?36?%;font-family:Source Han Sans CN;font-weight:700;color:#fff}.content .bg-box uni-image[data-v-3e00a6bc]{position:absolute;width:100%;height:100%}.content .cont[data-v-3e00a6bc]{position:relative;margin-top:%?550?%;z-index:9999;padding:%?30?%;height:100%;display:flex;flex-direction:column;padding:%?30?%;background-color:#fff;border-radius:%?30?% %?30?% %?0?% %?0?%}.content .cont .msg-box .msg[data-v-3e00a6bc]{font-size:%?36?%;font-family:Source Han Sans CN;font-weight:700;color:#111}.content .cont .line[data-v-3e00a6bc]{margin:%?15?% %?0?%;background-color:#f6f6f6;height:%?5?%;width:100%}.content .cont .desc-box[data-v-3e00a6bc]{margin-top:%?20?%;background:#fff}.content .cont .desc-box .desc[data-v-3e00a6bc]{color:#814e1b}.content .cont .logo[data-v-3e00a6bc]{display:flex;align-items:center;justify-content:center;margin:%?60?% %?0?%;width:100%}.content .cont .logo uni-image[data-v-3e00a6bc]{width:%?100?%;height:%?100?%}.content .cont .btn-box[data-v-3e00a6bc]{margin-top:%?60?%;height:%?140?%;width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.content .cont .btn-box .btn[data-v-3e00a6bc]{width:100%;height:%?88?%;line-height:%?88?%;text-align:center;font-size:%?34?%;font-family:PingFang SC;font-weight:700;color:#fff;background:#c39a58;border-radius:%?50?%}',""]),t.exports=e},dc7b:function(t,e,n){"use strict";n.r(e);var i=n("f3df"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},f3df:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("73ae"),a={data:function(){return{tempId:null,item:{}}},onLoad:function(t){this.tempId=t.tempId},onShow:function(){this.getTestDetails()},computed:{imgPath:function(){return this.$store.state.imgpath}},onShareAppMessage:function(t){if(this.$isLogin())return{title:"健康自测",path:"/pages_index/testDetails?tempId="+this.tempId,imageUrl:this.$store.state.imgpath+"/app/image/logoshare.png"}},onShareTimeline:function(t){if(this.utils.isLogin())return{title:"健康自测",imageUrl:this.$store.state.imgpath+"/app/image/logoshare.png"}},methods:{navTo:function(t){this.$isLogin().then((function(e){console.log(e),e?uni.navigateTo({url:t}):uni.navigateTo({url:"/pages/auth/login"})}))},getTestDetails:function(){var t=this,e={tempId:this.tempId};(0,i.getTestDetails)(e).then((function(e){200==e.code?(t.item=e.data,uni.setNavigationBarTitle({title:t.item.name+"自测"})):uni.showToast({icon:"none",title:"请求失败"})}),(function(t){}))}}};e.default=a}}]);
|