1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-my_idea","pages-index-home"],{"23fc":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{topCurrent:0}},onLoad:function(){},methods:{tn:function(t){uni.navigateTo({url:t})},goBack:function(){getCurrentPages().length>1?uni.navigateBack():uni.redirectTo({url:"/pages/index/index"})}}};n.default=i},"29fd":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \r\n */.tn-btn[data-v-d2dc7f56]{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;text-align:center;text-decoration:none;overflow:visible;-webkit-transform:translate(%?0?%,%?0?%);transform:translate(%?0?%,%?0?%);border-radius:%?12?%;margin:0}.tn-btn--plain[data-v-d2dc7f56]{background-color:initial!important;background-image:none}.tn-btn--plain.tn-round[data-v-d2dc7f56]{border-radius:%?1000?%!important}',""]),t.exports=n},5488:function(t,n,e){"use strict";var i=e("67be"),a=e.n(i);a.a},"67be":function(t,n,e){var i=e("ce45");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("8d7167f2",i,!0,{sourceMap:!1,shadowMode:!1})},7139:function(t,n,e){"use strict";e.r(n);var i=e("80e7"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"80e7":function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3"),e("c975"),e("fb6a"),e("baa5"),e("caad"),e("2532");var a=i(e("16ca")),o=e("e725"),r={mixins:[a.default],name:"tn-button",behaviors:["wx://form-field-button"],props:{index:{type:[Number,String],default:0},shape:{type:String,default:"default"},shadow:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:""},size:{type:String,default:""},fontBold:{type:Boolean,default:!1},padding:{type:String,default:"0 30rpx"},margin:{type:String,default:""},plain:{type:Boolean,default:!1},border:{type:Boolean,default:!0},borderBold:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},formType:{type:String,default:""},openType:{type:String,default:""},blockRepeatClick:{type:Boolean,default:!1},scene:{type:String,default:"none"},blockTime:{type:Number,default:200}},computed:{buttonClass:function(){var t="";switch(this.shape){case"icon":case"round":t+=" tn-round";break}if(this.shadow)if(""!==this.backgroundColorClass&&-1!=this.backgroundColorClass.indexOf("tn-bg")){var n=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-shadow-".concat(n)}else t+=" tn-shadow-blur";if(this.fontBold&&(t+=" tn-text-bold"),this.plain&&(t+=" tn-btn--plain",this.border&&(t+=" tn-border-solid",this.borderBold&&(t+=" tn-bold-border"),""!==this.backgroundColor&&this.backgroundColor.includes("tn-bg")))){var e=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-border-".concat(e)}return t},buttonStyle:function(){var t={};switch(this.size){case"sm":t.padding="0 20rpx",t.fontSize="22rpx",t.height=this.height||"48rpx";break;case"lg":t.padding="0 40rpx",t.fontSize="32rpx",t.height=this.height||"80rpx";break;default:t.padding="0 30rpx",t.fontSize="28rpx",t.height=this.height||"64rpx"}return this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),t.width="icon"===this.shape?t.height:this.width,t.padding="icon"===this.shape?"0":t.padding,this.fontColorStyle&&(t.color=this.fontColorStyle),this.backgroundColorClass||(this.plain?t.borderColor=this.backgroundColorStyle||"#080808":t.backgroundColor=this.backgroundColorStyle||"#FFFFFF"),this.shadow&&!this.backgroundColorClass&&(-1!=this.backgroundColorStyle.indexOf("#")?t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"#000000","10"):-1==this.backgroundColorStyle.indexOf("rgb")&&-1==this.backgroundColorStyle.indexOf("rgba")&&this.backgroundColorStyle||(t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"rgba(0, 0, 0, 0.1)"))),t}},data:function(){return{}},watch:{blockTime:{handler:function(t,n){this.initScene()}}},mounted:function(){this.initScene()},methods:{initScene:function(){this.debounceClick=(0,o.debounceFun)((function(){this.emitClick()}),this.blockTime),this.throttleClick=(0,o.throttleFun)((function(){this.emitClick()}),this.blockTime)},debounceClick:(0,o.debounceFun)((function(){this.emitClick()}),200),throttleClick:(0,o.throttleFun)((function(){this.emitClick()}),200),emitClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})},handleClick:function(){this.disabled||(this.blockRepeatClick?this.throttleClick():"none"===this.scene?this.emitClick():"debounce"==this.scene?this.debounceClick():this.throttleClick())},handleGetUserInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("getuserinfo",e)},handleContact:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("contact",e)},handleGetPhoneNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("getphonenumber",e)},handleError:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("error",e)}}};n.default=r},b06d:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={tnNavBar:e("5d27").default,tnTabs:e("8772").default,tnButton:e("f566").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"template-edit tn-safe-area-inset-bottom"},[e("tn-nav-bar",{attrs:{isBack:!1,backTitle:"",bottomShadow:!0,backgroundColor:"#FFFFFF"}},[e("v-uni-view",{staticClass:"custom-nav tn-flex tn-flex-col-center tn-flex-row-left"},[e("v-uni-view",{staticStyle:{"padding-left":"15rpx"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goBack()}}},[e("v-uni-text",{staticClass:"tn-icon-left",staticStyle:{"font-size":"40rpx"}})],1),e("v-uni-view",{staticClass:"tn-margin-top",staticStyle:{"text-shadow":"1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF"}},[e("tn-tabs",{attrs:{list:[{name:"意见反馈"}],current:t.topCurrent,activeColor:"#000",bold:!1,fontSize:36}})],1)],1)],1),e("v-uni-view",{staticClass:"tn-safe-area-inset-bottom",style:{paddingTop:t.vuex_custom_bar_height+"px"}},[e("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin"},[e("v-uni-view",{staticClass:"tn-flex justify-content-item"},[e("v-uni-view",{staticClass:"tn-text-lg tn-padding-right-xs tn-text-bold"},[t._v("反馈人")])],1)],1),e("v-uni-view",{staticClass:"tn-margin tn-bg-gray--light",staticStyle:{"border-radius":"10rpx",padding:"20rpx 30rpx"}},[e("v-uni-input",{attrs:{placeholder:"填写姓名",name:"input","placeholder-style":"color:#AAAAAA"}})],1),e("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin"},[e("v-uni-view",{staticClass:"tn-flex justify-content-item"},[e("v-uni-view",{staticClass:"tn-text-lg tn-padding-right-xs tn-text-bold"},[t._v("联系方式")])],1)],1),e("v-uni-view",{staticClass:"tn-margin tn-bg-gray--light",staticStyle:{"border-radius":"10rpx",padding:"20rpx 30rpx"}},[e("v-uni-input",{attrs:{placeholder:"填写联系方式",name:"input","placeholder-style":"color:#AAAAAA"}})],1),e("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin"},[e("v-uni-view",{staticClass:"tn-flex justify-content-item"},[e("v-uni-view",{staticClass:"tn-text-lg tn-padding-right-xs tn-text-bold"},[t._v("反馈内容")])],1)],1),e("v-uni-view",{staticClass:"tn-margin tn-bg-gray--light tn-padding",staticStyle:{"border-radius":"10rpx"}},[e("v-uni-textarea",{attrs:{maxlength:"500",placeholder:"填写反馈内容","placeholder-style":"color:#AAAAAA"}})],1),e("v-uni-view",{staticClass:"tn-flex tn-footerfixed"},[e("v-uni-view",{staticClass:"tn-flex-1 justify-content-item tn-margin-sm tn-text-center"},[e("tn-button",{attrs:{backgroundColor:"#FBBD12",fontColor:"#ffffff",padding:"40rpx 0",width:"60%",shadow:!0,fontBold:!0},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.upload.apply(void 0,arguments)}}},[e("v-uni-text",[t._v("提 交")])],1)],1)],1)],1),e("v-uni-view",{staticClass:"tn-tabbar-height"})],1)},o=[]},b94d:function(t,n,e){"use strict";e.r(n);var i=e("23fc"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},baa5:function(t,n,e){var i=e("23e7"),a=e("e58c");i({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},c262:function(t,n,e){"use strict";var i=e("c348"),a=e.n(i);a.a},c348:function(t,n,e){var i=e("29fd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("63d66e22",i,!0,{sourceMap:!1,shadowMode:!1})},ce45:function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \r\n */\r\n/* 底部悬浮按钮 start*/.tn-tabbar-height[data-v-a3b30ba8]{min-height:%?100?%;height:calc(%?120?% + env(safe-area-inset-bottom) / 2)}.tn-footerfixed[data-v-a3b30ba8]{position:fixed;width:100%;bottom:calc(%?30?% + env(safe-area-inset-bottom));z-index:1024;box-shadow:0 %?1?% %?6?% transparent}\r\n/* 底部悬浮按钮 end*/\r\n/* 标签内容 start*/.tn-tag-content__item[data-v-a3b30ba8]{display:inline-block;line-height:%?45?%;padding:%?10?% %?30?%;margin:%?20?% %?20?% %?5?% %?0?%}.tn-tag-content__item--prefix[data-v-a3b30ba8]{padding-right:%?10?%}\r\n/* 标签内容 end*/',""]),t.exports=n},e235:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-button",{staticClass:"tn-btn-class tn-btn",class:[t.buttonClass,t.backgroundColorClass,t.fontColorClass],style:[t.buttonStyle],attrs:{"hover-class":"tn-hover",loading:t.loading,disabled:t.disabled,"form-type":t.formType,"open-type":t.openType},on:{getuserinfo:function(n){arguments[0]=n=t.$handleEvent(n),t.handleGetUserInfo.apply(void 0,arguments)},getphonenumber:function(n){arguments[0]=n=t.$handleEvent(n),t.handleGetPhoneNumber.apply(void 0,arguments)},contact:function(n){arguments[0]=n=t.$handleEvent(n),t.handleContact.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.handleError.apply(void 0,arguments)},click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleClick.apply(void 0,arguments)}}},[t._t("default")],2)},a=[]},e725:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.debounceFun=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return function(){for(var i=this,a=arguments.length,o=new Array(a),r=0;r<a;r++)o[r]=arguments[r];clearTimeout(n),n=setTimeout((function(){t.apply(i,o)}),e)}},n.throttleFun=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,e=null;return function(){for(var i=this,a=arguments.length,o=new Array(a),r=0;r<a;r++)o[r]=arguments[r];e||(e=setTimeout((function(){e=null,console.log("执行了"),t.apply(i,o)}),n))}}},eec3:function(t,n,e){"use strict";e.r(n);var i=e("b06d"),a=e("b94d");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("5488");var r=e("f0c5"),l=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"a3b30ba8",null,!1,i["a"],void 0);n["default"]=l.exports},f566:function(t,n,e){"use strict";e.r(n);var i=e("e235"),a=e("7139");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("c262");var r=e("f0c5"),l=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"d2dc7f56",null,!1,i["a"],void 0);n["default"]=l.exports}}]); |