bztang-admin/addons/yun_shop/static/app/js/chunk-78989e16.da392457.js

1 line
5.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-78989e16"],{"1ccc":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".flex[data-v-0f49bcde]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.column[data-v-0f49bcde]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.left[data-v-0f49bcde]{text-align:left}.main[data-v-0f49bcde]{margin:.714rem;background-color:#fff;padding-top:1.4285rem}ul[data-v-0f49bcde]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}ul[data-v-0f49bcde],ul li[data-v-0f49bcde]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}ul li[data-v-0f49bcde]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:0 1rem 1.571rem}div.item[data-v-0f49bcde]{width:3rem;height:3rem;line-height:3rem;border-radius:100px;background-color:#fdf1cf;margin-bottom:.785rem}.iconfont[data-v-0f49bcde]{color:#daa032;font-size:1.571rem}.header[data-v-0f49bcde]{height:7rem;background-image:-webkit-gradient(linear,left bottom,left top,from(#d5a74f),to(#f8e088));background-image:-webkit-linear-gradient(bottom,#d5a74f,#f8e088);background-image:linear-gradient(0deg,#d5a74f,#f8e088)}.header-content[data-v-0f49bcde]{height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding-left:1.4285rem}.header img[data-v-0f49bcde]{margin:0;width:3rem;height:3rem;border-radius:100px;-o-object-fit:cover;object-fit:cover;border:1px solid #fff;margin-right:.6428rem}.header-nickname[data-v-0f49bcde]{color:#845002;font-size:1.142rem;line-height:2.0714rem;font-weight:800}.header-infoId[data-v-0f49bcde]{color:#874f02;font-size:.857rem;line-height:1.5714rem}",""]),t.exports=e},66333:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("c-title",{attrs:{hide:!1,text:t.diy_name}}),a("header",{staticClass:"header"},[a("div",{staticClass:"header-content"},[a("img",{attrs:{src:t.member.avatar_image,alt:""}}),a("div",{staticClass:"flex column left"},[a("span",{staticClass:"header-nickname"},[t._v(t._s(t.member.nickname))]),a("span",{staticClass:"header-infoId"},[t._v("ID:"+t._s(t.member.uid))])])])]),a("main",{staticClass:"main"},[a("ul",[a("li",{on:{click:function(e){return t.to("lawyerOrder")}}},[t._m(0),a("span",[t._v("我的订单")])]),a("li",{on:{click:function(e){return t.to("chatWindow")}}},[t._m(1),a("span",[t._v("消息")])]),a("li",{on:{click:function(e){return t.to("lawOffice")}}},[t._m(2),a("span",[t._v(t._s(t.is_lawyer_firm?"律所管理":"律所申请"))])]),a("li",{on:{click:function(e){return t.to("lawYerManagement")}}},[t._m(3),a("span",[t._v(t._s(t.is_lawyer?"律师管理":"律师申请"))])]),a("li",{on:{click:function(e){return t.to("enterprise")}}},[t._m(4),a("span",[t._v("企业管理")])]),t.is_merchant?a("li",{on:{click:function(e){return t.to("operators")}}},[t._m(5),a("span",[t._v("运营商")])]):t._e()])])],1)},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("i",{staticClass:"iconfont icon-fontclass-jilu3"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("i",{staticClass:"iconfont icon-fontclass-pinglun1"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("i",{staticClass:"iconfont icon-fontclass-shouce"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("i",{staticClass:"iconfont icon-fontclass-daili"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("i",{staticClass:"iconfont icon-fontclass-qiyeguanli"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("i",{staticClass:"iconfont icon-fontclass-gaikuang"})])}],r=(a("14d9"),{data:function(){return{is_lawyer:!1,is_lawyer_firm:!1,is_merchant:!1,diy_name:"",set:{},member:{}}},mounted:function(){this.getData()},methods:{to:function(t){"lawYerManagement"!=t||this.is_lawyer?"lawOffice"!=t||this.is_lawyer_firm?"lawyerOrder"==t?this.$router.push(this.fun.getUrl("lawyerOrder",{},{order_type:"member"})):"chatWindow"==t?this.$router.push(this.fun.getUrl("lawyerChart",{},{message_type:1})):this.$router.push(this.fun.getUrl(t)):this.$router.push(this.fun.getUrl("lawyerPlatformApplyFor",{l_status:this.set.lf_status,l_content:this.set.lf_content,l_top_thumb_image:this.set.lf_top_thumb_image},{apply_for:"lawOffice"})):this.$router.push(this.fun.getUrl("lawyerPlatformApplyFor",{l_status:this.set.l_status,l_content:this.set.l_content,l_top_thumb_image:this.set.l_top_thumb_image},{apply_for:"lawYerManagement"}))},getData:function(){var t=this;$http.get("plugin.lawyer-platform.frontend.controllers.index.index").then((function(e){1==e.result&&(t.is_lawyer=e.data.is_lawyer,t.is_lawyer_firm=e.data.is_lawyer_firm,t.is_merchant=e.data.is_merchant,e.data.set&&(t.set={lf_status:e.data.set.lf_status,l_status:e.data.set.l_status,lf_content:e.data.set.lf_content,l_content:e.data.set.l_content,lf_top_thumb_image:e.data.set.lf_top_thumb_image,l_top_thumb_image:e.data.set.l_top_thumb_image},t.member=e.data.member||{},t.diy_name=e.data.set.diy_name||"律师平台",t.fun.setWXTitle(t.diy_name)))}))}}}),s=r,l=(a("cc85"),a("2877")),c=Object(l["a"])(s,i,n,!1,null,"0f49bcde",null);e["default"]=c.exports},"8ba6":function(t,e,a){var i=a("1ccc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("499e").default;n("ca563f4c",i,!0,{sourceMap:!1,shadowMode:!1})},cc85:function(t,e,a){"use strict";a("8ba6")}}]);