"use strict";var t=require("../common/vendor.js"),r=require("../api/common.js");require("../common/request.js");const a={data(){return{type:null,content:""}},onLoad(i){this.type=i.type,this.type=="doctorAgreement"&&t.index.setNavigationBarTitle({title:"\u5165\u9A7B\u534F\u8BAE"}),this.type=="userRegister"&&t.index.setNavigationBarTitle({title:"\u7528\u6237\u534F\u8BAE"}),this.type=="userPrivacy"&&t.index.setNavigationBarTitle({title:"\u9690\u79C1\u534F\u8BAE"}),this.getConfig()},methods:{getConfig(){var i={key:"his.agreementConfig"};r.getConfigByKey(i).then(e=>{e.code==200&&(this.type=="doctorRegister"?this.content=JSON.parse(e.data).doctorRegister:this.type=="doctorFiling"?this.content=JSON.parse(e.data).doctorFiling:this.type=="userRegister"?this.content=JSON.parse(e.data).userRegister:this.type=="userPrivacy"&&(this.content=JSON.parse(e.data).userPrivacy))},e=>{})}}};Array||t.resolveComponent("u-parse")();const o=()=>"../uni_modules/uview-plus/components/u-parse/u-parse.js";Math||o();function n(i,e,p,u,s,_){return{a:t.p({content:s.content})}}var c=t._export_sfc(a,[["render",n],["__scopeId","data-v-6392faa2"],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages_user/agreement.vue"]]);wx.createPage(c);
