bztang-admin/addons/yun_shop/static/app/js/chunk-205b8734.a2a580f3.js

1 line
38 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-205b8734"],{"0a55":function(e,t,i){"use strict";i("d0cc")},"10d4":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCMTg3MjQxNDg5QzIxMUVBOUJEMEI0Q0FGOUM4ODVENyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCMTg3MjQxNTg5QzIxMUVBOUJEMEI0Q0FGOUM4ODVENyI+IDx4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2lFLx3kTriVN7G9VfZ5TWLxr74ZMXZ4m4+oW9HuVVj2AZp3V3pMd36g3PcvM5uV7aLv0pIp039pi4rkONHWY99mUVO/PohXz1Du25bIzpdvhOLTSqfWyfoFW5khWGP5yMiS6ttJ+z6/fDKFcf060LRhhOxnbXlsDqkrClW4BSERaTV6S0NuWwtYIj+tBH3WlsTEeSLlh7l5cAtmzRaV2k8wkR9KEY5vTtpLKtnQZvcfBLwD7tsrfh4t5/pSzfQtzMEcFobzabHRA5iMcIo3opmWR+G9/hDNQP8xVqc0YuK68k4hDXYWXyHGLArdNm2PWanWBBm2BSg/6XpnCBbz5SvsAJ1K5MHdBbwzlP+LCNxpC+CRghPKL375eQ75CWmaKiY2qCOQpoB0/cUSb1nK6Tq0M9SDTZA9NI9+eTQvOEss2LfANe9oWlzpDUkWbU4xe4G9qZgO0DaZ3i4wTbYZVhLKQy8Xuu4DM3aKtsJpQzrY8Y9RIB6lcEG28YgehLEnigdczIZnXRduSZC42k97+AdqnMW5mIjK5LS+JtsFuQtOmpa9lEs+fKtoyx8xNVBRgJkL7AEpKEJPJuncSbUGgCWXhZSG8weFiEJLJOjeH9iEaOIVQFi4N8FrCXUFE5i6h80pVN1Rdc00SCo5zuF1NFTrWkvXmdhGaFqf2IDQi7HcgmfuFbj1k4sxAEOoaVvHGh7ehep2UnJwXukSbCYsCSWhakMwpP95ENIhwMgBE8jMHCx0+sXoyYtcXbs+JRpUQ4UmixTaWA3T+ZPCL4pmDhA6Wi93fq+NvIScIcEN5IypvLuK9hTlM3pvLE5wZWiEmHHfFR61dhb+N/JkAL/upLuyb62fXeScKf1cjp4vD47iRC2aun13nhW3bwMtjAixO+aIiE7FZIKglLPTf/wSnUwoRGpIQoSFCM6P8L8AAxAF0H6j4EAUAAAAASUVORK5CYII="},"2b62":function(e,t,i){var o=i("24fb");t=o(!1),t.push([e.i,'.newCustomerOrder[data-v-22944dd2]{min-height:100vh;padding-bottom:4rem}.dt[data-v-22944dd2]{color:#f15353}.textBox[data-v-22944dd2]{height:6.75rem;background:#fff}.textBox .van-cell[data-v-22944dd2]{height:100%;padding-top:1.19rem}.line[data-v-22944dd2]{height:3.38rem}.line .van-cell[data-v-22944dd2]{height:100%;padding:0 16px;line-height:3.38rem}.invitationCode_box[data-v-22944dd2]{width:17.5rem;height:100%;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.invitationCode_box .invitationUser[data-v-22944dd2]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:3.5rem;height:3.5rem;margin:0 auto;background:transparent;margin-top:.75rem;margin-bottom:.5rem;border-radius:100%}.invitationCode_box .invitationUser img[data-v-22944dd2]{width:100%;height:100%;border-radius:100%}.invitationCode_box .txt_name[data-v-22944dd2]{font-size:.94rem;margin-bottom:.75rem;text-align:center}.invitationCode_box .txt_name span[data-v-22944dd2]{color:#888}.invitationCode_box .inp[data-v-22944dd2]{margin-top:.75rem}.invitationCode_box .inp input[data-v-22944dd2]{width:13.97rem;height:2.31rem;border:1.0016px solid #e7e7e7;text-indent:.47rem}.invitationCode_box .closeImg[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;margin:.75rem .75rem 0 .75rem}.invitationCode_box .closeImg img[data-v-22944dd2]{width:.75rem;height:.75rem;margin:0}.invitationCode_box .txt[data-v-22944dd2]{font-size:1.13rem;font-weight:400;color:#000}.invitationCode_box .stxt[data-v-22944dd2]{font-size:.75rem;color:#f15353;width:13.97rem;text-align:left;margin:0 auto}.invitationCode_box .btn[data-v-22944dd2]{width:100%;height:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;border-top:1.0016px solid #e7e7e7}.invitationCode_box .btn .btn_l[data-v-22944dd2]{color:#999;border-right:1.0016px solid #e7e7e7}.invitationCode_box .btn .btn_l[data-v-22944dd2],.invitationCode_box .btn .btn_r[data-v-22944dd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:1.13rem;line-height:3rem}.invitationCode_box .btn .btn_r[data-v-22944dd2]{color:#f15353}.btn_f_j_c[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.btn_f_j_c img[data-v-22944dd2]{width:1rem;height:1rem;margin:0;margin-right:.25rem}.goodsBox[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;height:100%;overflow:hidden}.searchBoxtxt[data-v-22944dd2]{font-size:.94rem;color:#aaaab3;line-height:1.59rem}.listBg[data-v-22944dd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow-y:scroll}.listBg .moreTxt[data-v-22944dd2]{padding:2rem 0;color:#999}.searchList[data-v-22944dd2]{margin:0 .75rem;border-bottom:1.0016px solid #ececec;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.75rem 0}.searchList .searchList_R[data-v-22944dd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden}.searchList .searchList_R .title[data-v-22944dd2]{font-size:1rem;font-weight:500;color:#00001c;line-height:1.69rem;text-align:left}.searchList .searchList_R .priceLine[data-v-22944dd2]{overflow:hidden;text-align:left;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.searchList .searchList_R .priceLine .pirce[data-v-22944dd2]{font-size:1rem;font-weight:400}.searchList .searchList_R .priceLine .pirce_d[data-v-22944dd2]{font-size:.75rem;font-weight:400;color:#c2c2c2}.searchList .searchList_R .icon[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:1rem}.searchList .searchList_R .icon img[data-v-22944dd2]{width:1rem;height:1rem;margin:0}.searchList .searchList_l[data-v-22944dd2]{margin-right:.38rem;width:4.38rem;height:4.38rem;border-radius:.31rem;background:#999}.searchList .searchList_l img[data-v-22944dd2]{width:100%;height:100%;border-radius:.31rem}.searchList[data-v-22944dd2]:last-child{border:none}.searchBox[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding-left:.75rem;padding-right:.81rem}.searchBox .img[data-v-22944dd2]{width:1rem;height:1rem}.searchBox .img img[data-v-22944dd2]{width:100%;height:100%}.searchBox .searchTxt[data-v-22944dd2]{font-size:.94rem;font-weight:600;color:#333}.orderBox[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.5rem .75rem;-webkit-box-sizing:border-box;box-sizing:border-box;position:fixed;bottom:0;right:0;background:#fff;width:100%}.orderBox .total[data-v-22944dd2]{color:#999}.orderBox .btn[data-v-22944dd2],.orderBox .total[data-v-22944dd2]{font-size:.88rem;font-weight:400}.orderBox .btn[data-v-22944dd2]{background:#f15353;border-radius:1.28rem;padding:.41rem 1.81rem;color:#fff;margin-left:1.25rem}.line[data-v-22944dd2]:after{content:"";position:absolute;left:.75rem;bottom:0;width:21.94rem;height:1.0016px;background:#e7e7e7}.agreement[data-v-22944dd2]{background:#fff;margin:0 .75rem;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;padding-bottom:1rem}.agreement[data-v-22944dd2],.agreement .option[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.agreement .option[data-v-22944dd2]{width:.75rem;height:.75rem;border-radius:100%;margin-right:.5rem}.agreement .option img[data-v-22944dd2]{width:100%;height:100%;border-radius:100%}.agreement .txt[data-v-22944dd2]{color:#aaaab3;font-size:.75rem}.agreement .agreementspan[data-v-22944dd2]{color:var(--color)}.goodsbox[data-v-22944dd2]{padding:1.19rem .75rem;background:#fff}.goodsbox .txt[data-v-22944dd2]{font-size:1rem}.goodsbox .tips[data-v-22944dd2],.goodsbox .txt[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.goodsbox .tips[data-v-22944dd2]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#aaaab3}.goodsbox .tips img[data-v-22944dd2]{margin:0;width:.75rem;height:.75rem;margin-right:.25rem}.goodsbox .goodList[data-v-22944dd2]{margin:1.19rem 0;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.goodsbox .goodList[data-v-22944dd2],.goodsbox .goodList .right[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.goodsbox .goodList .right[data-v-22944dd2]{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.goodsbox .goodList .right .title[data-v-22944dd2]{font-size:1rem;font-weight:500;color:#00001c;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goodsbox .goodList .right .right_bottom[data-v-22944dd2],.goodsbox .goodList .right .right_bottom .right_bottom_l[data-v-22944dd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.goodsbox .goodList .right .right_bottom .right_bottom_l[data-v-22944dd2]{text-align:left;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.goodsbox .goodList .right .right_bottom .right_bottom_l .price[data-v-22944dd2]{color:#f15353;font-size:1rem}.goodsbox .goodList .right .right_bottom .right_bottom_l .y_price[data-v-22944dd2]{font-size:.75rem;color:#c2c2c2;font-weight:400}.goodsbox .goodList .right .right_bottom .right_bottom_l .line_y_price[data-v-22944dd2]{text-decoration:line-through;font-size:.75rem;color:#c2c2c2;font-weight:400}.goodsbox .goodList .right .right_bottom .right_bottom_r[data-v-22944dd2]{width:4.69rem;height:1.5rem;border:.0313rem solid #fe5e56;text-align:center;color:#fe5e56;border-radius:1.09rem;line-height:1.4rem}.goodsbox .goodList .left[data-v-22944dd2]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.38rem;width:4.38rem;height:4.38rem;background:transparent;border-radius:.31rem}.goodsbox .goodList .left img[data-v-22944dd2]{width:100%;height:100%;border-radius:.31rem}.goodsbox .addGood[data-v-22944dd2]{margin:1.19rem auto;width:5.75rem;height:1.66rem;border:1.0016px solid var(--color);border-radius:1.13rem;font-size:.88rem;color:var(--color)}.goodsbox .addGood[data-v-22944dd2],.goodsbox .addGood .addIcon[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.goodsbox .addGood .addIcon[data-v-22944dd2]{width:1rem;height:1rem;border-radius:100%;margin-right:.13rem;background:var(--color)}.kefuBox[data-v-22944dd2]{width:17.5rem;background:hsla(0,0%,100%,.39);border-radius:.5rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.kefuBox[data-v-22944dd2],.kefuBox .closeImg[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.kefuBox .closeImg[data-v-22944dd2]{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;margin:.75rem .75rem 0 .75rem}.kefuBox .closeImg img[data-v-22944dd2]{width:.75rem;height:.75rem;margin:0}.kefuBox .code[data-v-22944dd2]{margin:0 auto;width:7rem;height:7rem;border-radius:100%;margin-bottom:1.5rem}.kefuBox .code img[data-v-22944dd2]{width:100%;height:100%;border-radius:100%}.kefuBox .txt[data-v-22944dd2]{font-size:1rem;color:#3b3b4a;margin-bottom:1.5rem}.kefuBox .btn[data-v-22944dd2]{width:100%;height:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;border-top:1.0016px solid #e7e7e7}.kefuBox .btn .btn_l[data-v-22944dd2]{color:#999;border-right:1.0016px solid #e7e7e7}.kefuBox .btn .btn_l[data-v-22944dd2],.kefuBox .btn .btn_r[data-v-22944dd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:1.13rem;line-height:3rem}.kefuBox .btn .btn_r[data-v-22944dd2]{color:#f15353}.city-info[data-v-22944dd2]{border-radius:.656rem;width:20rem;height:32rem;margin:0 auto;background:#fff}.city-info header[data-v-22944dd2]{border-radius:.656rem .656rem 0 0}.city-info #a_content[data-v-22944dd2]{margin:.5rem .9rem;height:24rem;overflow-y:scroll}.city-info #a_content[data-v-22944dd2] img{max-width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.lineBg[data-v-22944dd2]{width:100%;height:4rem}.beforeOrder[data-v-22944dd2]{margin:.5rem 0;padding:.5rem .75rem;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.beforeOrder .txt[data-v-22944dd2]{color:#f15353;text-align:left}.beforeOrder .orderGood[data-v-22944dd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:.5rem}.beforeOrder .orderGood img[data-v-22944dd2]{margin:0;margin-right:.38rem;width:4.38rem;height:4.38rem;border-radius:.325rem}.beforeOrder .orderGood .orderGood_lis[data-v-22944dd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;overflow:hidden}.beforeOrder .orderGood .orderGood_lis .title[data-v-22944dd2]{width:100%;margin-bottom:1.5rem;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.beforeOrder .orderGood .orderGood_lis .price[data-v-22944dd2]{color:#999}.beforeOrder .orderGood .payBtn[data-v-22944dd2]{background:#f15353;border-radius:.625rem;color:#fff;padding:.325rem .625rem}',""]),e.exports=t},"5de7":function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"newCustomerOrder",style:{"--color":""+e.theme_color}},[i("c-title",{attrs:{hide:!1,text:"新客下单"}}),i("div",{staticClass:"goodsbox"},[e._m(0),e.goods.length<=0?i("div",{staticClass:"addGood",on:{click:e.addGoodMethod}},[i("div",{staticClass:"addIcon"},[i("van-icon",{attrs:{name:"plus",color:"#fff"}})],1),e._v(" 添加商品 ")]):i("div",{staticClass:"goodList"},[i("div",{staticClass:"left"},[i("img",{attrs:{src:e.chooseGoodArr.thumb,alt:""}})]),i("div",{staticClass:"right"},[i("div",{staticClass:"title"},[e._v(e._s(e.chooseGoodArr.title))]),i("div",{staticClass:"right_bottom"},[i("div",{staticClass:"right_bottom_l"},[i("div",{staticClass:"price"},[e._v("¥"+e._s(e.chooseGoodArr.price))]),e.initNumber(e.chooseGoodArr.market_price)?i("div",{staticClass:"line_y_price"},[e._v("原价:¥"+e._s(e.chooseGoodArr.market_price))]):e._e()]),i("div",{staticClass:"right_bottom_r",on:{click:function(t){return e.deleteMethod(e.chooseGoodArr.id)}}},[e._v("删除")])])])]),i("div",{staticClass:"tips"},[i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FlevelCompel%2Fwarring%402x.png",alt:""}}),e._v(" 如有疑问,请"),i("span",{staticClass:"dt",on:{click:function(t){return t.stopPropagation(),e.tapKf.apply(null,arguments)}}},[e._v("联系客服")])])]),e.orderSet?i("div",{staticClass:"beforeOrder"},[i("div",{staticClass:"txt"},[e._v("您有一笔未支付订单:")]),e.orderSet.order_goods[0]?i("div",{staticClass:"orderGood"},[i("img",{attrs:{src:e.orderSet.order_goods[0].thumb,alt:""}}),i("div",{staticClass:"orderGood_lis"},[i("div",{staticClass:"title"},[e._v(e._s(e.orderSet.order_goods[0].title))]),i("div",{staticClass:"price"},[e._v("¥"+e._s(e.orderSet.order_goods[0].price))])]),i("div",{staticClass:"payBtn",on:{click:function(t){return e.toPay(e.orderSet.id)}}},[e._v("支付")])]):e._e()]):e._e(),i("div",{staticClass:"line",staticStyle:{position:"relative"}},[i("van-field",{attrs:{required:"",label:"收件人",placeholder:"请输入收件人","input-align":"right"},model:{value:e.nickname,callback:function(t){e.nickname=t},expression:"nickname"}})],1),i("div",{staticClass:"line",staticStyle:{position:"relative"}},[i("van-field",{attrs:{required:"",label:"收货号码",placeholder:"请输入收货号码","input-align":"right"},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}})],1),i("div",{staticClass:"line",staticStyle:{position:"relative"}},[i("van-field",{attrs:{required:"",label:"所在地区",readonly:"","input-align":"right","right-icon":"arrow"},on:{click:e.openAddress},model:{value:e.addressName,callback:function(t){e.addressName=t},expression:"addressName"}})],1),e.strShow?i("div",{staticClass:"line"},[i("van-field",{attrs:{required:"",label:"所在街道",readonly:"","input-align":"right","right-icon":"arrow"},on:{click:e.streetChoose},model:{value:e.stree,callback:function(t){e.stree=t},expression:"stree"}})],1):e._e(),i("div",{staticClass:"textBox"},[i("van-field",{attrs:{type:"textarea",placeholder:"请输入详细地址"},model:{value:e.detailAddress,callback:function(t){e.detailAddress=t},expression:"detailAddress"}})],1),e.settingInfo.treaty_switch?i("div",{staticClass:"agreement"},[i("div",{staticClass:"option",on:{click:e.agreementTap}},[e.agreement?e._e():i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FlevelCompel/circle@2x.png",alt:""}}),e.agreement?i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FlevelCompel/add@2x.png",alt:""}}):e._e()]),i("div",{staticClass:"txt",on:{click:e.agreementTap}},[e._v(" 阅读并同意"),i("span",{staticClass:"dt agreementspan",on:{click:function(t){return t.stopPropagation(),e.agreementTap_popup.apply(null,arguments)}}},[e._v("《"+e._s(e.popoverProtocolContent_title)+"》")])])]):e._e(),i("div",{staticClass:"orderBox set-pc-styleLeft"},[i("div",{staticClass:"total"},[e._v(" 合计:"),i("span",{staticClass:"dt"},[e._v("¥"+e._s(e.totalPrice))])]),i("div",{staticClass:"btn",on:{click:e.submitOrder}},[e._v("提交订单")])]),i("van-popup",{style:{height:"65%"},attrs:{position:"bottom"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[i("div",{staticClass:"goodsBox"},[i("div",{staticClass:"searchBox"},[i("div",{staticClass:"img",on:{click:function(t){e.show=!1}}},[i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FlevelCompel/left@2x.png",alt:""}})]),i("van-search",{staticStyle:{flex:"1"},attrs:{placeholder:"请输入搜索关键词","show-action":""},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}},[i("div",{staticClass:"searchTxt",attrs:{slot:"action"},on:{click:e.addGoodMethod},slot:"action"},[e._v("搜索")])])],1),i("div",{staticClass:"searchBoxtxt"},[e._v("搜索结果")]),i("div",{staticClass:"listBg"},[e._l(e.listData,(function(t,o){return i("div",{key:o,staticClass:"searchList",on:{click:function(i){return e.chooseGood(t)}}},[i("div",{staticClass:"searchList_l"},[i("img",{attrs:{src:t.thumb,alt:""}})]),i("div",{staticClass:"searchList_R"},[i("div",{staticClass:"title"},[e._v(e._s(t.title))]),i("div",{staticClass:"icon"},[i("img",{directives:[{name:"show",rawName:"v-show",value:e.checkSelectGood(t.id),expression:"checkSelectGood(item.id)"}],attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FlevelCompel/yes@2x.png",alt:""}})]),i("div",{staticClass:"priceLine"},[i("span",{staticClass:"pirce dt"},[e._v("¥"+e._s(t.price))]),e.initNumber(t.market_price)?i("span",{staticClass:"pirce_d"},[e._v("¥"+e._s(t.market_price))]):e._e()])])])})),e.page<e.total_page?i("div",{staticClass:"moreTxt",on:{click:e.addGoodMethodMore}},[e._v("点击加载更多")]):i("div",{staticClass:"moreTxt"},[e._v("没有更多了")])],2)])]),i("van-popup",{staticStyle:{"border-radius":"0.25rem"},attrs:{"close-on-click-overlay":!1},model:{value:e.show1,callback:function(t){e.show1=t},expression:"show1"}},[i("div",{staticClass:"invitationCode_box",staticStyle:{height:"100%"}},[i("div",{staticClass:"closeImg"}),i("div",{staticClass:"txt"},[e._v("请确认邀请人")]),i("div",{staticClass:"invitationUser"},[e.Userinfo.referral?i("img",{attrs:{src:e.Userinfo.referral.avatar,alt:""}}):e._e()]),e.Userinfo.referral?i("div",{staticClass:"txt_name"},[e._v(e._s(e.Userinfo.referral.nickname)),i("span",{staticStyle:{"margin-left":"0.25rem"}},[e._v("邀请人")])]):e._e(),i("div",{staticClass:"btn"},[i("div",{staticClass:"btn_l",on:{click:e.edit}},[e._v("修改邀请人")]),i("div",{staticClass:"btn_r",on:{click:e.confirm}},[e._v("进入下单")])])])]),i("van-popup",{staticStyle:{"border-radius":"0.25rem"},attrs:{"close-on-click-overlay":!1},model:{value:e.show2,callback:function(t){e.show2=t},expression:"show2"}},[i("div",{staticClass:"invitationCode_box"},[i("div",{staticClass:"closeImg"}),i("div",{staticClass:"txt"},[e._v("请确认邀请码")]),i("div",{staticClass:"inp"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.invite_code,expression:"invite_code"}],attrs:{type:"text",placeholder:"请输入邀请码"},domProps:{value:e.invite_code},on:{input:function(t){t.target.composing||(e.invite_code=t.target.value)}}})]),i("div",{staticClass:"txt stxt",staticStyle:{"margin-top":"0.25rem","margin-bottom":"0.75rem"}},[e._v("输入邀请码即可进行下单!")]),i("div",{staticClass:"btn"},[i("div",{staticClass:"btn_l",on:{click:e.edit}},[e._v("返回")]),i("div",{staticClass:"btn_r",on:{click:e.submit}},[e._v("立即下单")])])])]),i("cservice-popup",{attrs:{value:e.kefuShow,url:e.cservice,mobile:e.service_mobile,qr:e.service_QRcode},on:{input:function(t){e.kefuShow=!1}}}),i("yd-cityselect",{staticStyle:{height:"80%","z-index":"1000000"},attrs:{callback:e.addressCallback,items:e.district},model:{value:e.addressShow,callback:function(t){e.addressShow=t},expression:"addressShow"}}),i("van-popup",{style:{height:"80%"},attrs:{round:"",position:"bottom"},model:{value:e.streetShow,callback:function(t){e.streetShow=t},expression:"streetShow"}},[i("div",{staticClass:"m-dialog1"},[i("van-nav-bar",{staticClass:"pcStyle_ydT",attrs:{title:"选择街道"},scopedSlots:e._u([{key:"left",fn:function(){return[i("span",[i("van-icon",{attrs:{name:"arrow-left",size:"18",color:"#333"},nativeOn:{click:function(t){e.streetShow=!1}}})],1)]},proxy:!0}])}),e._l(e.districtVal,(function(t,o){return i("van-cell",{key:o,attrs:{border:!1,center:"","is-link":"","title-style":"text-align:left"},nativeOn:{click:function(i){return e.streetConfirm(t.areaname)}}},[i("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.areaname))])])}))],2)]),i("van-popup",{staticStyle:{"border-radius":"0.656rem"},model:{value:e.openPlatformAgreement,callback:function(t){e.openPlatformAgreement=t},expression:"openPlatformAgreement"}},[i("div",{staticClass:"city-info"},[i("van-nav-bar",{attrs:{title:e.popoverProtocolContent_title,fixed:""}}),i("div",{staticStyle:{height:"2.5rem",clear:"both"}}),i("div",{attrs:{id:"a_content"},domProps:{innerHTML:e._s(e.popoverProtocolContent_content)}}),i("div",{staticStyle:{width:"12.75rem",height:"2.313rem","background-color":"#f04d4d","border-radius":"0.188rem",display:"flex","align-items":"center","justify-content":"center",color:"#fff","font-size":"1.193rem",margin:"0 auto","margin-top":"1.5rem","margin-bottom":"1.063rem"},on:{click:function(t){e.openPlatformAgreement=!1}}},[e._v(" 确定 ")])],1)])],1)},a=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"txt"},[i("span",{staticClass:"dt"},[e._v("*")]),e._v(" 选择商品 ")])}],s=(i("b64b"),i("a9e3"),i("14d9"),i("d3b7"),i("ac1f"),i("5319"),i("e9c4"),i("99af"),i("6e57")),d={components:{cservicePopup:s["a"]},data:function(){return{show:!1,show1:!1,show2:!1,kefuShow:!1,agreement:!1,addressShow:!1,district:district,streetShow:!1,strShow:!1,addressName:"",stree:"",Userinfo:{},invite_code:"",settingInfo:{},cservice:"",service_mobile:"",service_QRcode:"",goods:[],nickname:"",mobile:"",detailAddress:"",openPlatformAgreement:!1,popoverProtocolContent_title:"用户协议",popoverProtocolContent_content:"",province:"",city:"",district_q:"",theme_color:"",chooseGoodArr:"",orderSet:[],page:1,isLoadMore:!0,total_page:0,keyword:"",listData:[]}},activated:function(){this.fun.setWXTitle("新客下单"),this.theme_color=JSON.parse(localStorage.getItem("yz_basic_info")).theme_color,this.getUserinfo(),this.getData()},computed:{initNumber:function(e){return function(e){return Number(e)}},checkSelectGood:function(e){return function(e){for(var t=0;t<this.goods.length;t++)if(this.goods[t].goods_id==e)return!0}},totalPrice:function(){for(var e=0,t=[],i=this.goods,o=0;o<i.length;o++)for(var a=0;a<this.listData.length;a++)i[o].goods_id==this.listData[a].id&&t.push(this.listData[a]);return t.forEach((function(t){e+=Number(t.price)})),e}},methods:{toPay:function(e){this.$router.replace(this.fun.getUrl("orderpay",{order_ids:e}))},deleteMethod:function(e){this.goods=[],this.chooseGoodArr=""},getUserinfo:function(){var e=this;$http.get("member.member.getUserInfo",{},"加载中...").then((function(t){1===t.result&&(e.Userinfo=t.data)}))},edit:function(){this.show1?(this.show1=!1,this.show2=!0):(this.show1=!0,this.show2=!1)},confirm:function(){var e=this;$http.get("member.member.update-member-invite",{parent_id:this.Userinfo.yz_member.parent_id}).then((function(t){1===t.result?e.show1=!1:e.$dialog.alert({message:t.msg})}))},submit:function(){var e=this;this.fun.isTextEmpty(this.invite_code)?this.$toast({message:"请输入邀请码",duration:1500}):$http.get("member.member.refuseGoods",{invite_code:this.invite_code}).then((function(t){1===t.result?e.show2=!1:e.$dialog.alert({message:t.msg})}),(function(t){e.$dialog.alert({message:t.msg})}))},agreementTap:function(){this.agreement=!this.agreement},agreementTap_popup:function(){this.openPlatformAgreement=!0},submitOrder:function(){var e=this;if(this.goods.length<=0)this.$toast({message:"请选择下单商品"});else if(!this.settingInfo.treaty_switch||this.agreement)if(this.fun.isTextEmpty(this.nickname))this.$toast({message:"请输入收件人姓名"});else if(this.fun.isTextEmpty(this.mobile))this.$toast({message:"请输入收货号码"});else if(this.fun.isTextEmpty(this.addressName))this.$toast({message:"请选择所在地区"});else if(this.strShow&&this.fun.isTextEmpty(this.stree))this.$toast({message:"请选择所在街道"});else if(this.fun.isTextEmpty(this.detailAddress))this.$toast({message:"请输入详细地址"});else{var t={province:this.province,city:this.city,district:this.district_q,street:this.stree,address:this.detailAddress,mobile:this.mobile,username:this.nickname},i={address:encodeURIComponent(JSON.stringify(t)),dispatch_type_id:1,goods:JSON.stringify(this.goods),member_coupon_ids:"",orders:""};$http.get("order.create",i).then((function(t){if(1===t.result){var i={status:"2",order_ids:t.data.order_ids};e.$router.replace(e.fun.getUrl("orderpay",i))}else e.$dialog.alert({message:t.msg})}))}else this.$toast({message:"请勾选用户协议"})},chooseGood:function(e){this.goods.length>0&&(this.goods=[]);var t={goods_id:e.id,total:1,option_id:0};this.goods.push(t),this.chooseGoodArr=e},openAddress:function(){this.addressShow=!0},streetConfirm:function(e){this.stree=e,this.streetShow=!1},addressCallback:function(e){this.addressName=e.itemName1+" "+e.itemName2+" "+e.itemName3,this.province=e.itemName1,this.city=e.itemName2,this.district_q=e.itemName3,this.getStreet(e.itemValue3)},streetChoose:function(){this.streetShow=!0},tell:function(){window.location.href=this.service_mobile},cserviceTap:function(){window.location.href=this.cservice},tapKf:function(){var e=this.fun.isTextEmpty(this.service_mobile)&&this.fun.isTextEmpty(this.service_QRcode);if(!this.fun.isTextEmpty(this.cservice)&&e)return this.cservice&&this.cservice.indexOf("chatWindow"),void(window.location.href=this.cservice);this.kefuShow=!0},addGoddInit:function(){this.page=1,this.total_page=0,this.isLoadMore=!0,this.listData=[]},addGoodMethod:function(){var e=this;this.addGoddInit(),$http.get("plugin.level-compel.frontend.controllers.goods.index",{keyword:this.keyword,page:this.page},"加载中...").then((function(t){1===t.result?(e.isLoadMore=!0,e.total_page=t.data.last_page,e.total_page||(e.total_page=0),e.listData=t.data.data,e.show=!0):e.$dialog.alert({message:t.msg})}))},addGoodMethodMore:function(){var e=this;this.page>=this.total_page||(this.page=this.page+1,$http.get("plugin.level-compel.frontend.controllers.goods.index",{keyword:this.keyword,page:this.page},"加载中...").then((function(t){1===t.result?(e.isLoadMore=!0,e.listData=e.listData.concat(t.data.data)):e.$dialog.alert({message:t.msg})})))},getData:function(){var e=this;$http.get("plugin.level-compel.frontend.controllers.page.index",{},"加载中...").then((function(t){1===t.result?(e.settingInfo=t.data,e.orderSet=t.data.order,e.cservice=t.data.customer_service.cservice,e.service_mobile=t.data.customer_service.service_mobile?t.data.customer_service.service_mobile:"",e.service_QRcode=t.data.customer_service.service_QRcode?t.data.customer_service.service_QRcode:"",0==t.data.is_inviter&&(e.show1=!0),e.agreement=t.data.treaty_tick,e.popoverProtocolContent_title=t.data.treaty_title,e.popoverProtocolContent_content=t.data.treaty_content):e.$dialog.alert({message:t.msg})}))},getStreet:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.district_id=e,$http.get("member.memberAddress.street",{district_id:e},"加载中").then((function(e){1!==e.result||t.fun.isTextEmpty(e.data)?t.strShow=!1:!t.fun.isTextEmpty(e.data)&&e.data.length>0?(t.districtVal=e.data,t.strShow=!0,i&&(t.form.street=i)):t.strShow=!1})).catch((function(e){t.strShow=!1}))}}},r=d,n=(i("0a55"),i("2877")),l=Object(n["a"])(r,o,a,!1,null,"22944dd2",null);t["default"]=l.exports},d0cc:function(e,t,i){var o=i("2b62");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=i("499e").default;a("0c0e9d8a",o,!0,{sourceMap:!1,shadowMode:!1})}}]);