1 line
11 KiB
Plaintext
1 line
11 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":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,+G;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwD5sB;AACA,MADA,kBACA;AACA;AACA,gDADA;AAEA,oDAFA,EAEA;AACA,oBAHA;AAIA,kBAJA;AAKA,eALA,EAKA;AACA,gBANA,EAMA;AACA,cAPA,EAOA;AACA,eARA;AASA,oBATA;AAUA,oBAVA;AAWA,iBAXA;AAYA,oBAZA;;AAcA,GAhBA;AAiBA,QAjBA,oBAiBA;AACA;AACA,GAnBA;AAoBA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA,iCAFA;;AAIA;AACA,aANA;AAOA;AACA;AACA;AACA;AACA,OAfA,EAeA,mBAfA;AAgBA,KAlBA;AAmBA,UAnBA,oBAmBA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA;AACA,SANA,MAMA;AACA;AACA;AACA;AACA,KAjCA;AAkCA,WAlCA,qBAkCA;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,KAxDA;AAyDA,aAzDA,uBAyDA;AACA;AACA,KA3DA;AA4DA,YA5DA,sBA4DA;AACA;AACA;AACA,KA/DA;AAgEA,aAhEA,qBAgEA,KAhEA,EAgEA;AACA;AACA;AACA;AACA;AACA,KArEA,EApBA,E","file":"pagesA/suggestions/suggestions.js","sourcesContent":["import 'uni-pages';\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: statusHNH+'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<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<!-- 下拉列表 -->\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</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\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tpublicColor:uni.getStorageSync('publicColor'),//主题颜色\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\tonLoad() {\r\n\t\t\tthis.checkCate()\r\n\t\t},\r\n\t\tmethods: {\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 {\r\n\t\t\t\t\tif(this.tphone!=''){\r\n\t\t\t\t\t\tif(this.$toolAll.tools.isPhone(this.tphone)){\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.showToast('请输入正确的手机号')\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.eventEv()\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.eventEv()\r\n\t\t\t\t\t}\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":""} |