hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/suggestions/suggestions.js.map

1 line
13 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/suggestions/suggestions.vue?e872","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/suggestions/suggestions.vue?d7d8","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/suggestions/suggestions.vue?bd9e","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/suggestions/suggestions.vue?5cf1","uni-app:///pagesA/suggestions/suggestions.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,+G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;;;AAG1D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAwrB,CAAgB,uqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2E5sB;AACA,MADA,kBACA;AACA;AACA,oBADA;AAEA,kBAFA;AAGA,eAHA,EAGA;AACA,gBAJA,EAIA;AACA,cALA,EAKA;AACA,eANA;AAOA,oBAPA;AAQA,oBARA;AASA,iBATA;AAUA,oBAVA;;AAYA,GAdA;AAeA;AACA;AACA,aAFA,uBAEA;AACA;AACA,KAJA;AAKA;AACA,WANA,qBAMA;AACA;AACA,KARA;AASA;AACA,eAVA,yBAUA;AACA;AACA,KAZA;AAaA,gBAbA,0BAaA;AACA;AACA,KAfA,EAfA;;AAgCA,QAhCA,oBAgCA;AACA;AACA;AACA;AACA;AACA,GArCA;AAsCA;AACA,cADA,sBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA,aALA,uBAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA,iCAFA;;AAIA;AACA,aANA;AAOA;AACA;AACA;AACA;AACA,OAfA,EAeA,mBAfA;AAgBA,KAtBA;AAuBA,UAvBA,oBAuBA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KA/BA;AAgCA,WAhCA,qBAgCA;AACA;AACA,2BADA;AAEA,0BAFA;AAGA,6BAHA;AAIA,+BAJA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA;AACA;AACA,SARA,EAQA,mBARA;AASA,OAZA,MAYA;AACA;AACA;AACA,KAtDA;AAuDA,aAvDA,uBAuDA;AACA;AACA,KAzDA;AA0DA,YA1DA,sBA0DA;AACA;AACA;AACA,KA7DA;AA8DA,aA9DA,qBA8DA,KA9DA,EA8DA;AACA;AACA;AACA;AACA;AACA,KAnEA,EAtCA,E","file":"pagesA/suggestions/suggestions.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesA/suggestions/suggestions.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./suggestions.vue?vue&type=template&id=63c8596a&\"\nvar renderjs\nimport script from \"./suggestions.vue?vue&type=script&lang=js&\"\nexport * from \"./suggestions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesA/suggestions/suggestions.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./suggestions.vue?vue&type=template&id=63c8596a&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./suggestions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./suggestions.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<status-nav :titleVal=\"'投诉与建议'\" :statusTitle=\"true\"></status-nav>\r\n\t\t<!-- 自定义二级分类 -->\r\n\t\t<!-- 列表 -->\r\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy20\">\r\n\t\t\t<view class=\"bacf mar-s25 pad-zy20 radius20 fon28 col3 pad-x40\">\r\n\t\t\t\t<!-- 问题类型 -->\r\n\t\t\t\t<view class=\"disac pad-s32\">\r\n\t\t\t\t\t<view class=\"flexs mar-y20 titlel\">问题类型</view>\r\n\t\t\t\t\t<radio-group @change=\"changeCate\" class=\"width100 disac\">\r\n\t\t\t\t\t\t<label class=\"radio disac\">\r\n\t\t\t\t\t\t\t<radio style=\"transform: scale(.7);\" :value=\"2\" checked color=\"#3875f6\"/><text>改进意见/建议</text>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t<label class=\"radio disac\">\r\n\t\t\t\t\t\t\t<radio style=\"transform: scale(.7);\" :value=\"1\" color=\"#3875f6\"/><text>投诉</text>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t</radio-group>\r\n\t\t\t\t\t<!-- <radio-group @change=\"changeCate\" class=\"width100 disac\">\r\n\t\t\t\t\t\t<label class=\"radio disac\" v-for=\"(iteml,indexl) in xialone\" :key=\"indexl\">\r\n\t\t\t\t\t\t\t<radio style=\"transform: scale(.7);\" :value=\"iteml.id\" :checked=\"indexl==0\" color=\"#3875f6\"/><text>{{iteml.title}}</text>\r\n\t\t\t\t\t\t</label>\r\n\t\t\t\t\t</radio-group> -->\r\n\t\t\t\t\t<!-- 下拉列表 -->\r\n\t\t\t\t\t<!-- <view @tap=\"openXial\" class=\"disjbac width100 radius10 pad-zy20 xiala posir\">\r\n\t\t\t\t\t\t<view>{{category}}</view>\r\n\t\t\t\t\t\t<image :class=\"isZhuan?'zhuan':'nozhuan'\" src=\"/static/public/sanj.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t<view v-if=\"isZhuan\" class=\"posia bacf radius10 xial-box\">\r\n\t\t\t\t\t\t\t<view class=\"pad-zy20 xial-item-box\">\r\n\t\t\t\t\t\t\t\t<view @tap=\"chooseXia(indexl)\" :class=\"xialCurrent==indexl?'pcol':''\" v-for=\"(iteml,indexl) in xialone\" :key=\"indexl\">{{iteml.title}}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 建议意见 -->\r\n\t\t\t\t<view class=\"dis mar-s20\">\r\n\t\t\t\t\t<view class=\"mar-y20 flexs mar-s20 titlel\">意见建议</view>\r\n\t\t\t\t\t<view class=\"width100 radius10 pad20 borbot-cc\" style=\"height: 300rpx;\">\r\n\t\t\t\t\t\t<textarea v-model=\"tmsg\" class=\"fon28\" maxlength=\"500\" style=\"height: 300rpx;width: auto;\" placeholder=\"请把您的意见及建议填写在这里\" placeholder-style=\"color:#999999;\"/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 姓名 -->\r\n\t\t\t\t<view class=\"disac mar-s30\">\r\n\t\t\t\t\t<view class=\"mar-y20 flexs titlel disjb\">\r\n\t\t\t\t\t\t<view>称</view>\r\n\t\t\t\t\t\t<view class=\"mar-y10\">呼</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"width100 radius10 pad-zy20 borbot-cc height-68\">\r\n\t\t\t\t\t\t<input v-model=\"tname\" class=\"fon28 height-68\" type=\"text\" value=\"\" placeholder=\"我们怎么称呼您\" placeholder-style=\"color:#999999;\"/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 联系电话 -->\r\n\t\t\t\t<view class=\"disac mar-s20\">\r\n\t\t\t\t\t<view class=\"mar-y20 flexs titlel\">联系电话</view>\r\n\t\t\t\t\t<view class=\"width100 radius10 pad-zy20 borbot-cc height-68\">\r\n\t\t\t\t\t\t<input v-model=\"tphone\" maxlength=\"11\" class=\"fon28 height-68\" type=\"text\" value=\"\" placeholder=\"请输入联系电话\" placeholder-style=\"color:#999999;\"/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 底部按钮 -->\r\n\t\t\t\t<view @tap=\"submit\" class=\"fon30 radius20 tc colf bold0 btnl\" :style=\"{background:publicColor}\">{{btnCon}}</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 弹框 -->\r\n\t\t\t<pu-po :isShowT=\"isShowT\" :isCenter=\"true\" :contentVal=\"'提交成功!等待审核'\" :comfrimVal=\"'好的'\" @comfirmev=\"comfirmev\"></pu-po>\r\n\t\t</view>\r\n\t\t<!-- 底部客服 -->\r\n\t\t<!-- <public-customer :nright=\"20\" :nbottom=\"100\"></public-customer> -->\r\n\t\t<!-- 底部tab -->\r\n\t\t<foot-tab :titleList=\"titleList\" :imgList=\"imgList\" :newcurrent='-1'></foot-tab>\r\n\t\t<!-- 用户信息授权,手机号授权 -->\r\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tisShowT:false,\r\n\t\t\t\tcategory:'',\r\n\t\t\t\ttname:'',//联系人姓名\r\n\t\t\t\ttphone:'',//联系方式\r\n\t\t\t\ttmsg:'',//留言信息\r\n\t\t\t\ttouId:'',\r\n\t\t\t\tisZhuan:false,\r\n\t\t\t\txialCurrent:0,\r\n\t\t\t\txialone:[],\r\n\t\t\t\tbtnCon:'立即提交',\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 底部标题\r\n\t\t\ttitleList() {\r\n\t\t\t\treturn this.$store.state.titleList \r\n\t\t\t},\r\n\t\t\t// 底部图标\r\n\t\t\timgList() {\r\n\t\t\t\treturn this.$store.state.imgList\r\n\t\t\t},\r\n\t\t\t// 主题颜色\r\n\t\t\tpublicColor() {\r\n\t\t\t\treturn this.$store.state.publicColor\r\n\t\t\t},\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tif(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){\r\n\t\t\t\tthis.checkCate();\r\n\t\t\t\tthis.tphone = uni.getStorageSync('phone');\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tchangeCate(e){\r\n\t\t\t\tconsole.log(e.detail.value);\r\n\t\t\t\tthis.touId = e.detail.value;\r\n\t\t\t},\r\n\t\t\tcheckCate(){\r\n\t\t\t\tthis.$requst.post('user/feedback-types').then(res=>{\r\n\t\t\t\t\t// console.log('问题类型列表:',res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tif(res.data.length!=0){\r\n\t\t\t\t\t\t\tres.data.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet obj = {\r\n\t\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\t\ttitle:item.title\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.xialone.push(obj)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tthis.category = this.xialone[0].title\r\n\t\t\t\t\t\t\tthis.touId = this.xialone[0].id\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t},error=>{})\r\n\t\t\t},\r\n\t\t\tsubmit(){\r\n\t\t\t\tif(!this.tmsg){\r\n\t\t\t\t\tthis.$toolAll.tools.showToast('请输入意见及建议')\r\n\t\t\t\t} else if(this.$toolAll.tools.isPhone(this.tphone)){\r\n\t\t\t\t\tthis.$toolAll.tools.showToast('请输入正确的手机号')\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.eventEv();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\teventEv(){\r\n\t\t\t\tlet parmas = {\r\n\t\t\t\t\ttype_id:this.touId,\r\n\t\t\t\t\tcontent:this.tmsg,\r\n\t\t\t\t\tuser_name:this.tname,\r\n\t\t\t\t\tuser_phone:this.tphone\r\n\t\t\t\t}\r\n\t\t\t\tif(this.btnCon == '立即提交'){\r\n\t\t\t\t\t// this.$toolAll.tools.showToast('正在提交...')\r\n\t\t\t\t\tthis.btnCon = '正在提交...'\r\n\t\t\t\t\tthis.$requst.post('user/add-feedback',parmas).then(res=>{\r\n\t\t\t\t\t\t// uni.hideToast()\r\n\t\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\t\tthis.isShowT = true\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.btnCon = '返回'\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.showToast(res.msg)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},error=>{})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.navigateBack({delta:1})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcomfirmev(){\r\n\t\t\t\tuni.navigateBack({delta:1})\r\n\t\t\t},\r\n\t\t\topenXial(){\r\n\t\t\t\tthis.isZhuan = !this.isZhuan\r\n\t\t\t\t// console.log('开启下拉');\r\n\t\t\t},\r\n\t\t\tchooseXia(index){\r\n\t\t\t\tthis.xialCurrent = index\r\n\t\t\t\tthis.btnCon = '立即提交'\r\n\t\t\t\tthis.category = this.xialone[index].title\r\n\t\t\t\tthis.touId = this.xialone[index].id\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n</style>\r\n"],"sourceRoot":""}