12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/kj-tabbar/kj-tabbar"],{4048:function(t,e,n){"use strict";var i=n("fc30"),o=n.n(i);o.a},"64c1":function(t,e,n){"use strict";n.r(e);var i=n("bc05"),o=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=o.a},7227:function(t,e,n){"use strict";n.r(e);var i=n("c148"),o=n("64c1");for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);n("4048");var s=n("828b"),a=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"13d5b46b",null,!1,i["a"],void 0);e["default"]=a.exports},bc05:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,c=i(n("7ca3")),s=(n("3240"),n("8f59"),o={name:"kj-tabbar",props:{value1:{type:Number,default:0},goodsWeight:{type:Number,default:0},goodsPrice:{type:String,default:""},goodsList:{type:Array,default:function(){return[]}},checkboxValue1:{type:Array,default:function(){return[]}},success:{type:Boolean,default:!0}},computed:{i18n:function(){return this.$t("index")}},data:function(){return{all:[],language:"zh-CN",selegoods:[],stringcheck:[],skuitemid:[],volume:"",cartid:[]}},onLoad:function(){}},(0,c.default)(o,"computed",{i18n:function(){return this.$t("index")},list:function(){var t=[{iconPath:"../../static/express1.png",selectedIconPath:"../../static/express2.png",text:"跨境速递",pagePath:"pages/express/express"},{iconPath:"../../static/index1.png",selectedIconPath:"../../static/index2.png",text:"商城",pagePath:"pages/index/index"},{iconPath:"../../static/shop.png",selectedIconPath:"../../static/shop.png",text:"购",pagePath:"pages/shopping/shopping"},{iconPath:"../../static/cart1.png",selectedIconPath:"../../static/cart2.png",text:"购物车",pagePath:"pages/cart/cart"},{iconPath:"../../static/mine1.png",selectedIconPath:"../../static/mine2.png",text:"我的",pagePath:"pages/mine/mine"}];return t[0].text=this.i18n.border,t[1].text=this.i18n.shop,t[2].text=this.i18n.chase,t[3].text=this.i18n.Shopping,t[4].text=this.i18n.mine,t}}),(0,c.default)(o,"created",(function(){this.all=[],""!=t.getStorageSync("language")&&(this.language=t.getStorageSync("language"))})),(0,c.default)(o,"methods",{account:function(){var e=this;0==this.checkboxValue1.length?this.$u.toast("请选择商品"):(console.log(this.checkboxValue1),console.log(this.goodsList),this.selegoods=[],this.skuitemid=[],this.cartid=[],this.goodsList.map((function(t){t.goods.map((function(t){console.log("items",t),e.checkboxValue1.indexOf(t.cart.id)>-1&&(e.selegoods=e.selegoods.concat(t),e.stringcheck=e.stringcheck.concat(t.cart.id),e.skuitemid=e.skuitemid.concat(t.cart.sku_item_id),1==t.is_shipping&&(e.cartid=e.cartid.concat(t.cart.id)),console.log("333333333",e.selegoods))}))})),t.$u.http.get("/api/order_goods_volume?sku_item_id="+this.skuitemid.toString(),{}).then((function(t){console.log("weight",t),e.volume=t})),this.$nextTick((function(){t.navigateTo({url:"/pageA/order?selelist="+encodeURIComponent(JSON.stringify(e.selegoods))+"&typea=shop&goodsPrice="+e.goodsPrice+"&goodsWeight="+e.goodsWeight+"&stringcheck="+e.stringcheck.toString()+"&volume="+e.volume+"&cartid="+e.cartid.toString()})})))},getLabelHeight:function(){var e=t.createSelectorQuery("#tabber");console.log(e)},checkAll:function(){this.$emit("allSelect")},cancelAll:function(t){if("全选"==t)return this.all;"取消"==t?this.all=[]:this.all.push(this.i18n.selectall)},click1:function(e){4==e&&t.switchTab({url:"../../pages/mine/mine"}),0==e&&t.switchTab({url:"../../pages/express/express"}),1==e&&t.switchTab({url:"../../pages/index/index"}),2==e&&t.switchTab({url:"../../pages/shopping/shopping"}),3==e&&t.switchTab({url:"../../pages/cart/cart"})}}),o);e.default=s}).call(this,n("df3c")["default"])},c148:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return i}));var i={uCheckboxGroup:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(n.bind(null,"c952"))},uCheckbox:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-checkbox/u-checkbox")]).then(n.bind(null,"5fa3"))},uTabbar:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-tabbar/u-tabbar")]).then(n.bind(null,"edf8"))},uTabbarItem:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-tabbar-item/u-tabbar-item")]).then(n.bind(null,"ec92"))}},o=function(){var t=this.$createElement,e=(this._self._c,3==this.value1&&this.success?this.goodsPrice.split("."):null),n=3==this.value1&&this.success?this.goodsPrice.split("."):null;this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},c=[]},fc30:function(t,e,n){}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'components/kj-tabbar/kj-tabbar-create-component',
- {
- 'components/kj-tabbar/kj-tabbar-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('df3c')['createComponent'](__webpack_require__("7227"))
- })
- },
- [['components/kj-tabbar/kj-tabbar-create-component']]
- ]);
|