a16d905.js.map 9.6 KB

1
  1. {"version":3,"sources":["webpack:///./pages/home/contactus.vue?eacb","webpack:///./pages/home/contactus.vue?176a","webpack:///./pages/home/contactus.vue?886b","webpack:///./pages/home/contactus.vue?7dcc","webpack:///./pages/home/contactus.vue?8639","webpack:///./pages/home/contactus.vue","webpack:///./pages/home/contactus.vue?9975"],"names":["module","exports","data","siteID","info","submitLoading","config","long","autoInput","prop","type","placeholder","rules","email","required","message","trigger","phone","name","enquiry","formData","created","_this","_asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","prev","next","$store","dispatch","then","res","contactus","id","stop","methods","submit","_this2","this","$refs","form","validate","valid","f","JSON","parse","stringify","site_id","$axios","post","$message","success","finally","component","_vm","_c","_self","staticClass","attrs","path","_v","staticStyle","domProps","_s","ref","_l","item","key","label","class","model","value","callback","$$v","$set","expression","on"],"mappings":"8EACAA,EAAOC,QAAU,CAAC,C,sBCAlBD,EAAOC,QAAU,CAAC,C,mCCDlB,M,mCCAA,M,4DCA+P,G,kBCChP,CACbC,KAAI,WACF,MAAO,CACLC,OAAQ,GACRC,KAAM,GACNC,eAAe,EACfC,OAAQ,CACN,CACEC,MAAM,EACNC,WAAW,EACXC,KAAM,OACNC,KAAM,QACNC,YAAa,QAEf,CACEJ,MAAM,EACNE,KAAM,QACNC,KAAM,QACNC,YAAa,SAEf,CACEJ,MAAM,EACNE,KAAM,QACNC,KAAM,QACNC,YAAa,SAEf,CACEJ,MAAM,EACNE,KAAM,UACNC,KAAM,WACNC,YAAa,YAGjBC,MAAO,CACLC,MAAO,CACL,CACEC,UAAU,EACVC,QAAS,eACTC,QAAS,SAGbC,MAAO,CACL,CACEH,UAAU,EACVC,QAAS,eACTC,QAAS,SAGbE,KAAM,CACJ,CACEJ,UAAU,EACVC,QAAS,eACTC,QAAS,SAGbG,QAAS,CACP,CACEL,UAAU,EACVC,QAAS,eACTC,QAAS,UAIfI,SAAU,CAKRF,KAAM,GACNL,MAAO,GACPI,MAAO,GACPE,QA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,CAACP,EAAIM,GAAG,eAAeN,EAAIS,GAAGT,EAAIrC,SAASD,SAAS,qBAAqB,IAAI,EACh3D,GACsB,ICQpB,EACA,KACA,WACA,MAIa,UAAAqC,U","file":"a16d905.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./contactus.vue?vue&type=style&index=0&id=35e631ac&prod&lang=scss\"","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./contactus.vue?vue&type=style&index=1&id=35e631ac&prod&lang=scss&scoped=true\"","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./contactus.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./contactus.vue?vue&type=script&lang=js\"","\nexport default {\n data() {\n return {\n siteID: '',\n info: '',\n submitLoading: false,\n config: [\n {\n long: true,\n autoInput: true,\n prop: 'name',\n type: 'input',\n placeholder: 'Name',\n },\n {\n long: true,\n prop: 'phone',\n type: 'input',\n placeholder: 'Phone',\n },\n {\n long: true,\n prop: 'email',\n type: 'input',\n placeholder: 'Email',\n },\n {\n long: true,\n prop: 'enquiry',\n type: 'textarea',\n placeholder: 'Enquiry',\n },\n ],\n rules: {\n email: [\n {\n required: true,\n message: 'Please input',\n trigger: 'blur',\n },\n ],\n phone: [\n {\n required: true,\n message: 'Please input',\n trigger: 'blur',\n },\n ],\n name: [\n {\n required: true,\n message: 'Please input',\n trigger: 'blur',\n },\n ],\n enquiry: [\n {\n required: true,\n message: 'Please input',\n trigger: 'blur',\n },\n ],\n },\n formData: {\n // name: 'name',\n // email: 'peter@gmail.com',\n // phone: 'phone',\n // enquiry: 'enquiry',\n name: '',\n email: '',\n phone: '',\n enquiry: '',\n },\n }\n },\n async created() {\n await this.$store.dispatch('getShopInfo').then(res => {\n this.info = res.contactus\n this.siteID = res.id\n })\n },\n methods: {\n submit() {\n this.$refs.form.validate(valid => {\n if (!valid) return\n\n const f = JSON.parse(JSON.stringify(this.formData))\n f.site_id = this.siteID\n this.submitLoading = true\n this.$axios\n .post('/c-api/quote/sendenquiry', f)\n .then(() => {\n this.$message.success('submit success')\n this.formData = {\n name: '',\n email: '',\n phone: '',\n enquiry: '',\n }\n })\n .finally(() => {\n this.submitLoading = false\n })\n })\n },\n },\n}\n","import { render, staticRenderFns } from \"./contactus.vue?vue&type=template&id=35e631ac&scoped=true\"\nimport script from \"./contactus.vue?vue&type=script&lang=js\"\nexport * from \"./contactus.vue?vue&type=script&lang=js\"\nimport style0 from \"./contactus.vue?vue&type=style&index=0&id=35e631ac&prod&lang=scss\"\nimport style1 from \"./contactus.vue?vue&type=style&index=1&id=35e631ac&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"35e631ac\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}