pages-index-send~pages-mine-Feedback.07c850b0.js 10.3 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-send~pages-mine-Feedback"],{"1d4b":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-eafc93bc], uni-scroll-view[data-v-eafc93bc], uni-swiper-item[data-v-eafc93bc]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-textarea[data-v-eafc93bc]{border-radius:4px;background-color:#fff;position:relative;display:flex;flex-direction:row;flex:1;padding:9px}.u-textarea--radius[data-v-eafc93bc]{border-radius:4px}.u-textarea--no-radius[data-v-eafc93bc]{border-radius:0}.u-textarea--disabled[data-v-eafc93bc]{background-color:#f5f7fa}.u-textarea__field[data-v-eafc93bc]{flex:1;font-size:15px;color:#606266;width:100%}.u-textarea__count[data-v-eafc93bc]{position:absolute;right:5px;bottom:2px;font-size:12px;color:#909193;background-color:#fff;padding:1px 4px}',""]),e.exports=t},5183:function(e,t,n){"use strict";n.r(t);var a=n("5f8e"),r=n("f714");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var o,u=n("f0c5"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);t["default"]=c.exports},"5f8e":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uvTextarea",{attrs:{value:e.value,placeholder:e.placeholder,height:e.height,confirmType:e.confirmType,disabled:e.disabled,count:e.count,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,border:e.border,customStyle:e.customStyle,formatter:e.formatter},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("focus")}.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("blur")}.apply(void 0,arguments)},linechange:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("linechange",t)}.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("confirm")}.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("input",t)}.apply(void 0,arguments)},keyboardheightchange:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.$emit("keyboardheightchange")}.apply(void 0,arguments)}}})},i=[]},ae2c:function(e,t,n){"use strict";var a=n("4ea4");n("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("fd53c")),i={name:"u-textarea",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:function(e){return e}}},watch:{value:{immediate:!0,handler:function(e,t){this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner&&this.valueChange(),this.firstChange=!1,this.changeFromInner=!1}}},computed:{textareaClass:function(){var e=[],t=this.border,n=this.disabled;this.shape;return"surround"===t&&(e=e.concat(["u-border","u-textarea--radius"])),"bottom"===t&&(e=e.concat(["u-border-bottom","u-textarea--no-radius"])),n&&e.push("u-textarea--disabled"),e.join(" ")},textareaStyle:function(){var e={};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}},methods:{setFormatter:function(e){this.innerFormatter=e},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e),uni.$u.formValidate(this,"blur")},onLinechange:function(e){this.$emit("linechange",e)},onInput:function(e){var t=this,n=e.detail||{},a=n.value,r=void 0===a?"":a,i=this.formatter||this.innerFormatter,o=i(r);this.innerValue=r,this.$nextTick((function(){t.innerValue=o,t.valueChange()}))},valueChange:function(){var e=this,t=this.innerValue;this.$nextTick((function(){e.$emit("input",t),e.changeFromInner=!0,e.$emit("change",t),uni.$u.formValidate(e,"change")}))},onConfirm:function(e){this.$emit("confirm",e)},onKeyboardheightchange:function(e){this.$emit("keyboardheightchange",e)}}};t.default=i},b07e:function(e,t,n){"use strict";var a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("d885")),i=a(n("fd53c")),o={name:"u--textarea",mixins:[uni.$u.mpMixin,i.default,uni.$u.mixin],components:{uvTextarea:r.default}};t.default=o},b912:function(e,t,n){"use strict";var a=n("f120"),r=n.n(a);r.a},bbe3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.router=t.toa=t.hideLoading=t.loading=t.success=t.toast=void 0;var a=function(e){return uni.showToast({title:e,icon:"none"})};t.toast=a;var r=function(e){return uni.showToast({title:e})};t.success=r;var i=function(e){return uni.showLoading({title:"加载中"})};t.loading=i;var o=function(){return uni.hideLoading()};t.hideLoading=o;var u={toast:function(e){return uni.showToast({title:e,icon:"none"})},success:function(e){return uni.showToast({title:e})},loading:function(e){return uni.showLoading({title:e||"加载中",mask:!0})},hideLoading:function(){return uni.hideLoading()}};t.toa=u;var c={back:function(e){return uni.navigateBack({delta:e||1})}};t.router=c},d885:function(e,t,n){"use strict";n.r(t);var a=n("e602"),r=n("e078");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("b912");var o,u=n("f0c5"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,"eafc93bc",null,!1,a["a"],o);t["default"]=c.exports},e078:function(e,t,n){"use strict";n.r(t);var a=n("ae2c"),r=n.n(a);for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},e602:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-textarea",class:e.textareaClass,style:[e.textareaStyle]},[n("v-uni-textarea",{staticClass:"u-textarea__field",style:{height:e.$u.addUnit(e.height)},attrs:{value:e.innerValue,placeholder:e.placeholder,"placeholder-style":e.$u.addStyle(e.placeholderStyle,"string"),"placeholder-class":e.placeholderClass,disabled:e.disabled,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,confirmType:e.confirmType},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),e.onFocus.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.onBlur.apply(void 0,arguments)},linechange:function(t){arguments[0]=t=e.$handleEvent(t),e.onLinechange.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.onInput.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)},keyboardheightchange:function(t){arguments[0]=t=e.$handleEvent(t),e.onKeyboardheightchange.apply(void 0,arguments)}}}),e.count?n("v-uni-text",{staticClass:"u-textarea__count",style:{"background-color":e.disabled?"transparent":"#fff"}},[e._v(e._s(e.innerValue.length)+"/"+e._s(e.maxlength))]):e._e()],1)},i=[]},f120:function(e,t,n){var a=n("1d4b");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("4f06").default;r("8a5c2454",a,!0,{sourceMap:!1,shadowMode:!1})},f714:function(e,t,n){"use strict";n.r(t);var a=n("b07e"),r=n.n(a);for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},fd53c:function(e,t,n){"use strict";n("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{value:{type:[String,Number],default:uni.$u.props.textarea.value},placeholder:{type:[String,Number],default:uni.$u.props.textarea.placeholder},placeholderClass:{type:String,default:uni.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:uni.$u.props.input.placeholderStyle},height:{type:[String,Number],default:uni.$u.props.textarea.height},confirmType:{type:String,default:uni.$u.props.textarea.confirmType},disabled:{type:Boolean,default:uni.$u.props.textarea.disabled},count:{type:Boolean,default:uni.$u.props.textarea.count},focus:{type:Boolean,default:uni.$u.props.textarea.focus},autoHeight:{type:Boolean,default:uni.$u.props.textarea.autoHeight},fixed:{type:Boolean,default:uni.$u.props.textarea.fixed},cursorSpacing:{type:Number,default:uni.$u.props.textarea.cursorSpacing},cursor:{type:[String,Number],default:uni.$u.props.textarea.cursor},showConfirmBar:{type:Boolean,default:uni.$u.props.textarea.showConfirmBar},selectionStart:{type:Number,default:uni.$u.props.textarea.selectionStart},selectionEnd:{type:Number,default:uni.$u.props.textarea.selectionEnd},adjustPosition:{type:Boolean,default:uni.$u.props.textarea.adjustPosition},disableDefaultPadding:{type:Boolean,default:uni.$u.props.textarea.disableDefaultPadding},holdKeyboard:{type:Boolean,default:uni.$u.props.textarea.holdKeyboard},maxlength:{type:[String,Number],default:uni.$u.props.textarea.maxlength},border:{type:String,default:uni.$u.props.textarea.border},formatter:{type:[Function,null],default:uni.$u.props.textarea.formatter}}};t.default=a}}]);