"use strict";var t=require("../common/vendor.js"),n=require("../api/common.js");require("../common/request.js");const r=()=>"../uni_modules/mp-html/mp-html.js",s={components:{mpHtml:r},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"};n.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("mp-html")();function a(i,e,p,m,o,d){return{a:t.p({content:o.content})}}var c=t._export_sfc(s,[["render",a],["__scopeId","data-v-6392faa2"],["__file","D:/work/his_user_app/pages_user/agreement.vue"]]);wx.createPage(c);