1 line
3.6 KiB
JavaScript
1 line
3.6 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["yb_wm-shop-out-bz"],{"0585":function(t,n,e){var a=e("24fb");n=a(!1),n.push([t.i,".m05[data-v-b870ff58]{margin:0 %?5?%}.kjsr[data-v-b870ff58]{margin:%?35?% 0;color:#8f8f8f}.label[data-v-b870ff58]{border:1px solid #efefef;padding:%?8?% %?15?%;margin:0 %?20?% %?20?% 0}",""]),t.exports=n},"24e2":function(t,n,e){"use strict";var a=e("4ea4");e("99af"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=a(e("5530")),i=e("2f62"),s={name:"order-index",data:function(){return{note:"",loading:!1,btncolor:"",type:"1"}},onLoad:function(t){this.util.setNT("订单备注"),this.note=t.note||"",this.btncolor=t.color,this.type=t.type},computed:(0,o.default)((0,o.default)({},(0,i.mapState)(["sjxx"])),{},{larr:function(){var t=uni.getStorageSync("note")?[uni.getStorageSync("note")]:[];return t.concat([])}}),methods:{djnote:function(t){var n=this.note+t+",",e=this.note.substr(this.note.length-1,1);if(n.length>50)return this.util.message("上限50字哦",3);this.note+=","==e||","==e||""==e?t+",":","+t},save:function(){this.loading=!0;var t=this.util.getPage();t.$vm.params.userNote=this.note,this.go({t:4})}}};n.default=s},"4cd2":function(t,n,e){var a=e("24fb");n=a(!1),n.push([t.i,"uni-page-body[data-v-b870ff58]{background:#fff}body.?%PAGE?%[data-v-b870ff58]{background:#fff}",""]),t.exports=n},"56cb":function(t,n,e){"use strict";e.r(n);var a=e("7232"),o=e("c04a");for(var i in o)"default"!==i&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("d9a7"),e("e651");var s,r=e("f0c5"),c=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"b870ff58",null,!1,a["a"],s);n["default"]=c.exports},7232:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return a}));var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{},[e("v-uni-view",{staticClass:"p3"},[e("v-uni-view",{staticClass:"bf9 bs10 p2"},[e("v-uni-textarea",{staticClass:"w100 c6",staticStyle:{height:"160rpx"},attrs:{maxlength:"50",placeholder:"请输入备注、偏好等要求","placeholder-class":"f24"},model:{value:t.note,callback:function(n){t.note=n},expression:"note"}}),e("v-uni-view",{staticClass:"f-x-e f24 c9"},[t._v(t._s(t.note.length)),e("v-uni-text",{staticClass:"m05"},[t._v("/")]),t._v("50个字")],1)],1),t.larr.length?e("v-uni-view",{staticClass:"kjsr"},[t._v("快捷输入")]):t._e(),e("v-uni-view",{staticClass:"f-raw"},t._l(t.larr,(function(n,a){return e("v-uni-view",{key:a,staticClass:"label bs10 f-c c6 f26",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.djnote(n)}}},[t._v(t._s(n))])})),1)],1),e("v-uni-view",{staticClass:"foot-btnc posi-r mt30"},[e("v-uni-button",{staticClass:"foot-btn b00 bs15",style:{background:t.btncolor},attrs:{loading:t.loading,disabled:t.loading,"hover-class":"btnhc"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.save.apply(void 0,arguments)}}},[t._v("提交")])],1)],1)},i=[]},b39c:function(t,n,e){var a=e("4cd2");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("6a1af777",a,!0,{sourceMap:!1,shadowMode:!1})},c04a:function(t,n,e){"use strict";e.r(n);var a=e("24e2"),o=e.n(a);for(var i in a)"default"!==i&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=o.a},d8ff:function(t,n,e){var a=e("0585");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("3702b28e",a,!0,{sourceMap:!1,shadowMode:!1})},d9a7:function(t,n,e){"use strict";var a=e("b39c"),o=e.n(a);o.a},e651:function(t,n,e){"use strict";var a=e("d8ff"),o=e.n(a);o.a}}]); |