1fd1f65.js 6.2 KB

12
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[77],{672:function(e,t,n){e.exports={}},781:function(e,t,n){"use strict";n(672)},849:function(e,t,n){"use strict";n.r(t);var l=n(11),r=(n(12),n(32),n(53),{data:function(){return{issueInfo:[],listLoading:!0,generalList:[],orderingList:[],artworkList:[],paymentList:[],shippingReturnsList:[]}},created:function(){var e=this;return Object(l.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getInfoList();case 2:case"end":return t.stop()}}),t)})))()},methods:{getInfoList:function(){var e=this;this.$axios.get("others/issue/list").then((function(t){1==t.code&&(e.issueInfo=t.result,e.issueInfo.forEach((function(t){1===t.id?e.generalList=t.issue:2===t.id?e.orderingList=t.issue:3===t.id?e.artworkList=t.issue:4===t.id?e.paymentList=t.issue:5===t.id&&(e.shippingReturnsList=t.issue)})),e.listLoading=!1)})).catch((function(){e.listLoading=!1,e.issueInfo=[]}))},handleChange:function(e){var t=e.currentTarget.children[0].children[0];t.className.indexOf("is-active")>0?(t.children[0].style.display="none",t.children[1].style.display="block"):(t.children[0].style.display="block",t.children[1].style.display="none")}}}),o=(n(781),n(22)),component=Object(o.a)(r,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"com-main com-width-1400 com-margin-auto"},[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("Home")]),e._v(" "),t("el-breadcrumb-item",[e._v("FAQs")])],1),e._v(" "),t("p",{staticClass:"title"},[e._v("FAQs")]),e._v(" "),t("div",{staticClass:"line"}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.issueInfo.length>0,expression:"issueInfo.length > 0"}]},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.generalList.length>0,expression:"generalList.length > 0"}],staticClass:"item"},[e._m(0),e._v(" "),t("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}]},e._l(e.generalList,(function(n){return t("el-collapse-item",{key:n.id,nativeOn:{click:function(t){return e.handleChange(t)}}},[t("template",{slot:"title"},[t("i",{staticClass:"header-icon el-icon-circle-plus-outline"}),e._v(" "),t("i",{staticClass:"header-icon el-icon-remove",staticStyle:{display:"none"}}),e._v("\n "+e._s(n.issue)+"\n ")]),e._v(" "),t("div",[e._v("\n "+e._s(n.answer)+"\n ")])],2)})),1)],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.orderingList.length>0,expression:"orderingList.length > 0"}],staticClass:"item"},[e._m(1),e._v(" "),t("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}]},e._l(e.orderingList,(function(n){return t("el-collapse-item",{key:n.id,nativeOn:{click:function(t){return e.handleChange(t)}}},[t("template",{slot:"title"},[t("i",{staticClass:"header-icon el-icon-circle-plus-outline"}),e._v(" "),t("i",{staticClass:"header-icon el-icon-remove",staticStyle:{display:"none"}}),e._v("\n "+e._s(n.issue)+"\n ")]),e._v(" "),t("div",[e._v("\n "+e._s(n.answer)+"\n ")])],2)})),1)],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.artworkList.length>0,expression:"artworkList.length > 0"}],staticClass:"item"},[e._m(2),e._v(" "),t("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}]},e._l(e.artworkList,(function(n){return t("el-collapse-item",{key:n.id,nativeOn:{click:function(t){return e.handleChange(t)}}},[t("template",{slot:"title"},[t("i",{staticClass:"header-icon el-icon-circle-plus-outline"}),e._v(" "),t("i",{staticClass:"header-icon el-icon-remove",staticStyle:{display:"none"}}),e._v("\n "+e._s(n.issue)+"\n ")]),e._v(" "),t("div",[e._v("\n "+e._s(n.answer)+"\n ")])],2)})),1)],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.paymentList.length>0,expression:"paymentList.length > 0"}],staticClass:"item"},[e._m(3),e._v(" "),t("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}]},e._l(e.paymentList,(function(n){return t("el-collapse-item",{key:n.id,nativeOn:{click:function(t){return e.handleChange(t)}}},[t("template",{slot:"title"},[t("i",{staticClass:"header-icon el-icon-circle-plus-outline"}),e._v(" "),t("i",{staticClass:"header-icon el-icon-remove",staticStyle:{display:"none"}}),e._v("\n "+e._s(n.issue)+"\n ")]),e._v(" "),t("div",[e._v("\n "+e._s(n.answer)+"\n ")])],2)})),1)],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.shippingReturnsList.length>0,expression:"shippingReturnsList.length > 0"}],staticClass:"item"},[e._m(4),e._v(" "),t("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}]},e._l(e.shippingReturnsList,(function(n){return t("el-collapse-item",{key:n.id,nativeOn:{click:function(t){return e.handleChange(t)}}},[t("template",{slot:"title"},[t("i",{staticClass:"header-icon el-icon-circle-plus-outline"}),e._v(" "),t("i",{staticClass:"header-icon el-icon-remove",staticStyle:{display:"none"}}),e._v("\n "+e._s(n.issue)+"\n ")]),e._v(" "),t("div",[e._v("\n "+e._s(n.answer)+"\n ")])],2)})),1)],1)]),e._v(" "),0==e.issueInfo.length?t("div",[t("el-empty",{attrs:{description:"No Data"}})],1):e._e()],1)}),[function(){var e=this,t=e._self._c;return t("div",{staticClass:"item-title"},[t("span"),e._v(" "),t("span",[e._v("General")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"item-title"},[t("span"),e._v(" "),t("span",[e._v("Ordering")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"item-title"},[t("span"),e._v(" "),t("span",[e._v("Artwork")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"item-title"},[t("span"),e._v(" "),t("span",[e._v("Payment")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"item-title"},[t("span"),e._v(" "),t("span",[e._v("Shipping & Returns")])])}],!1,null,"fd827312",null);t.default=component.exports}}]);
  2. //# sourceMappingURL=1fd1f65.js.map