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:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesA/suggestions/suggestions.vue?d256","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesA/suggestions/suggestions.vue?17ca","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesA/suggestions/suggestions.vue?5fb5","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesA/suggestions/suggestions.vue?0056","uni-app:///pagesA/suggestions/suggestions.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,+G,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;;;AAG1D;AACmN;AACnN,gBAAgB,iNAAU;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;AAAw1B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2E52B;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';wx.__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 \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./suggestions.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<!-- 状态栏 -->\n\t\t<status-nav :titleVal=\"'投诉与建议'\" :statusTitle=\"true\"></status-nav>\n\t\t<!-- 自定义二级分类 -->\n\t\t<!-- 列表 -->\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy20\">\n\t\t\t<view class=\"bacf mar-s25 pad-zy20 radius20 fon28 col3 pad-x40\">\n\t\t\t\t<!-- 问题类型 -->\n\t\t\t\t<view class=\"disac pad-s32\">\n\t\t\t\t\t<view class=\"flexs mar-y20 titlel\">问题类型</view>\n\t\t\t\t\t<radio-group @change=\"changeCate\" class=\"width100 disac\">\n\t\t\t\t\t\t<label class=\"radio disac\">\n\t\t\t\t\t\t\t<radio style=\"transform: scale(.7);\" :value=\"2\" checked color=\"#3875f6\"/><text>改进意见/建议</text>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t\t<label class=\"radio disac\">\n\t\t\t\t\t\t\t<radio style=\"transform: scale(.7);\" :value=\"1\" color=\"#3875f6\"/><text>投诉</text>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</radio-group>\n\t\t\t\t\t<!-- <radio-group @change=\"changeCate\" class=\"width100 disac\">\n\t\t\t\t\t\t<label class=\"radio disac\" v-for=\"(iteml,indexl) in xialone\" :key=\"indexl\">\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>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</radio-group> -->\n\t\t\t\t\t<!-- 下拉列表 -->\n\t\t\t\t\t<!-- <view @tap=\"openXial\" class=\"disjbac width100 radius10 pad-zy20 xiala posir\">\n\t\t\t\t\t\t<view>{{category}}</view>\n\t\t\t\t\t\t<image :class=\"isZhuan?'zhuan':'nozhuan'\" src=\"/static/public/sanj.png\" mode=\"aspectFill\"></image>\n\t\t\t\t\t\t<view v-if=\"isZhuan\" class=\"posia bacf radius10 xial-box\">\n\t\t\t\t\t\t\t<view class=\"pad-zy20 xial-item-box\">\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>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view> -->\n\t\t\t\t</view>\n\t\t\t\t<!-- 建议意见 -->\n\t\t\t\t<view class=\"dis mar-s20\">\n\t\t\t\t\t<view class=\"mar-y20 flexs mar-s20 titlel\">意见建议</view>\n\t\t\t\t\t<view class=\"width100 radius10 pad20 borbot-cc\" style=\"height: 300rpx;\">\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;\"/>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<!-- 姓名 -->\n\t\t\t\t<view class=\"disac mar-s30\">\n\t\t\t\t\t<view class=\"mar-y20 flexs titlel disjb\">\n\t\t\t\t\t\t<view>称</view>\n\t\t\t\t\t\t<view class=\"mar-y10\">呼</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"width100 radius10 pad-zy20 borbot-cc height-68\">\n\t\t\t\t\t\t<input v-model=\"tname\" class=\"fon28 height-68\" type=\"text\" value=\"\" placeholder=\"我们怎么称呼您\" placeholder-style=\"color:#999999;\"/>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<!-- 联系电话 -->\n\t\t\t\t<view class=\"disac mar-s20\">\n\t\t\t\t\t<view class=\"mar-y20 flexs titlel\">联系电话</view>\n\t\t\t\t\t<view class=\"width100 radius10 pad-zy20 borbot-cc height-68\">\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;\"/>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<!-- 底部按钮 -->\n\t\t\t\t<view @tap=\"submit\" class=\"fon30 radius20 tc colf bold0 btnl\" :style=\"{background:publicColor}\">{{btnCon}}</view>\n\t\t\t</view>\n\t\t\t<!-- 弹框 -->\n\t\t\t<pu-po :isShowT=\"isShowT\" :isCenter=\"true\" :contentVal=\"'提交成功!等待审核'\" :comfrimVal=\"'好的'\" @comfirmev=\"comfirmev\"></pu-po>\n\t\t</view>\n\t\t<!-- 底部客服 -->\n\t\t<!-- <public-customer :nright=\"20\" :nbottom=\"100\"></public-customer> -->\n\t\t<!-- 底部tab -->\n\t\t<foot-tab :titleList=\"titleList\" :imgList=\"imgList\" :newcurrent='-1'></foot-tab>\n\t\t<!-- 用户信息授权,手机号授权 -->\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisShowT:false,\n\t\t\t\tcategory:'',\n\t\t\t\ttname:'',//联系人姓名\n\t\t\t\ttphone:'',//联系方式\n\t\t\t\ttmsg:'',//留言信息\n\t\t\t\ttouId:'',\n\t\t\t\tisZhuan:false,\n\t\t\t\txialCurrent:0,\n\t\t\t\txialone:[],\n\t\t\t\tbtnCon:'立即提交',\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 底部标题\n\t\t\ttitleList() {\n\t\t\t\treturn this.$store.state.titleList \n\t\t\t},\n\t\t\t// 底部图标\n\t\t\timgList() {\n\t\t\t\treturn this.$store.state.imgList\n\t\t\t},\n\t\t\t// 主题颜色\n\t\t\tpublicColor() {\n\t\t\t\treturn this.$store.state.publicColor\n\t\t\t},\n\t\t\tstatusHeight() {\n\t\t\t\treturn this.$store.state.statusHeight\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\t\t\tif(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){\n\t\t\t\tthis.checkCate();\n\t\t\t\tthis.tphone = uni.getStorageSync('phone');\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tchangeCate(e){\n\t\t\t\tconsole.log(e.detail.value);\n\t\t\t\tthis.touId = e.detail.value;\n\t\t\t},\n\t\t\tcheckCate(){\n\t\t\t\tthis.$requst.post('user/feedback-types').then(res=>{\n\t\t\t\t\t// console.log('问题类型列表:',res);\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tif(res.data.length!=0){\n\t\t\t\t\t\t\tres.data.forEach(item=>{\n\t\t\t\t\t\t\t\tlet obj = {\n\t\t\t\t\t\t\t\t\tid:item.id,\n\t\t\t\t\t\t\t\t\ttitle:item.title\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.xialone.push(obj)\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tthis.category = this.xialone[0].title\n\t\t\t\t\t\t\tthis.touId = this.xialone[0].id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},error=>{})\n\t\t\t},\n\t\t\tsubmit(){\n\t\t\t\tif(!this.tmsg){\n\t\t\t\t\tthis.$toolAll.tools.showToast('请输入意见及建议')\n\t\t\t\t} else if(this.$toolAll.tools.isPhone(this.tphone)){\n\t\t\t\t\tthis.$toolAll.tools.showToast('请输入正确的手机号')\n\t\t\t\t} else {\n\t\t\t\t\tthis.eventEv();\n\t\t\t\t}\n\t\t\t},\n\t\t\teventEv(){\n\t\t\t\tlet parmas = {\n\t\t\t\t\ttype_id:this.touId,\n\t\t\t\t\tcontent:this.tmsg,\n\t\t\t\t\tuser_name:this.tname,\n\t\t\t\t\tuser_phone:this.tphone\n\t\t\t\t}\n\t\t\t\tif(this.btnCon == '立即提交'){\n\t\t\t\t\t// this.$toolAll.tools.showToast('正在提交...')\n\t\t\t\t\tthis.btnCon = '正在提交...'\n\t\t\t\t\tthis.$requst.post('user/add-feedback',parmas).then(res=>{\n\t\t\t\t\t\t// uni.hideToast()\n\t\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\t\tthis.isShowT = true\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.btnCon = '返回'\n\t\t\t\t\t\t\tthis.$toolAll.tools.showToast(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t},error=>{})\n\t\t\t\t} else {\n\t\t\t\t\tuni.navigateBack({delta:1})\n\t\t\t\t}\n\t\t\t},\n\t\t\tcomfirmev(){\n\t\t\t\tuni.navigateBack({delta:1})\n\t\t\t},\n\t\t\topenXial(){\n\t\t\t\tthis.isZhuan = !this.isZhuan\n\t\t\t\t// console.log('开启下拉');\n\t\t\t},\n\t\t\tchooseXia(index){\n\t\t\t\tthis.xialCurrent = index\n\t\t\t\tthis.btnCon = '立即提交'\n\t\t\t\tthis.category = this.xialone[index].title\n\t\t\t\tthis.touId = this.xialone[index].id\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""}