zx/public/static/js/pages-store-applicationReco...

1 line
14 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-applicationRecord-index"],{3430:function(t,e,n){"use strict";var o=n("64c4"),r=n.n(o);r.a},"3c17":function(t,e,n){"use strict";n.r(e);var o=n("8fa6"),r=n("5a9a");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("3430");var i=n("828b"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"40d611b7",null,!1,o["a"],void 0);e["default"]=u.exports},4491:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("c223"),n("4626");var o=n("7e00"),r=n("aa10"),a={data:function(){return{domain:r.HTTP_REQUEST_URL,loading:!1,listData:[],pageData:{page:1,limit:10}}},onLoad:function(){this.getListData()},onReachBottom:function(){this.count==this.listData.length?uni.showToast({title:"没有更多啦",icon:"none",duration:1e3}):(this.pageData.page+=1,this.getListData())},methods:{getListData:function(){var t=this;this.loading=!0,uni.showLoading({title:"数据加载中"}),(0,o.getApplicationRecordList)(this.pageData).then((function(e){t.count=e.data.count,t.listData=t.listData.concat(e.data.list),uni.hideLoading(),t.loading=!1}))},jump:function(t){[0,2].includes(t.status)?uni.navigateTo({url:"/pages/store/settled/index?mer_i_id=".concat(t.mer_intention_id)}):1===t.status&&uni.navigateTo({url:"/pages/store/merchantDetails/index?mer_i_id=".concat(t.mer_intention_id,"&mer_id=").concat(t.mer_id)})},statusText:function(t){return{0:"待审核",1:"审核通过",2:"审核未通过"}[t]},statusBtn:function(t){return{0:"编辑",1:"查看",2:"重新提交"}[t]}}};e.default=a},"5a9a":function(t,e,n){"use strict";n.r(e);var o=n("4491"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},6389:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAP1BMVEUAAADvQBDvQxvwRBvwRBzvRBzwQxrvRBzwQxzwQxvvQBjwQxzwQxvwRBvwQhvvQxvvRBzwQxvxRBzzRRzwRBwh4kSnAAAAFHRSTlMAENDPwEBQsPCgIK+QcGDggN9/PyZ11JEAAAFySURBVEjHtddLjoMwEEXRMpR/EH7J2/9aWxmgkmP8GprOHSIdWbKsspFGr2fWBABJ8/Ml53OT4iOd3CnqRxw2+t+poplyPoyg5aFtQwJ4KbTsAyd6HFLX41TquOX1jtjrurIsJXt1cdcCLhbMDukqTnZaRlwu79bjD+3nXAFYMcwLqpY5xKMd96UVEdd92s6JSDxYOtb7aBpmJVSryICiWUyXVmYUvT9OKNqc6dK6DUVTtV1Ab7q0/cEhBYgmFhDxIJpaeFlBNLVYJYNpZpFFwTSzUElgmllsAhBNLSAgmlmOux13BFPLtSRmuV5EmXWOaZXMbN8znWVlFmB6FU8t1V6EWa5FRImlWvcxRKzpBUVTYwCaNV0PwMboNWu6Hr310B93W+vx6L7RUod5Q9U2h9Lqf1x0Eq/bfOtyv/OsuPugsbortjNHpwWbMkRzyzW395/M9x/r1hC5jcPNHxTOY2NV/82fMsuvWZc3WzSvrTV/APXavByfTou9AAAAAElFTkSuQmCC"},"64c4":function(t,e,n){var o=n("c88b");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("967d").default;r("1b3c128f",o,!0,{sourceMap:!1,shadowMode:!1})},7427:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAPFBMVEUAAAAwg/cygfcwgP8ygvcygvcwgPczgfYygvcygvcygvgygvkygvYzgfczgfYzgvczgvYygvcwgPozgvcWIgxpAAAAE3RSTlMAP4AQ8MAgsGDgcE/QoM+/r58wCcYjOgAAAXdJREFUSMfNl91uxSAIgPEHPdXT2R7e/123Zc3ILFDrdrHvUvNJggQUFKrf20IfLG33FcZJpVFHK2lIdRuJbO5abaTSbD1tZLIl3X1EuiA+FDXsNMAeRPeNhngLcy7btmvbZ3fa3ukW+487ops82E2RRCKitsPVsikFYRTOBgeOJJ7hyOWTJNwhN5J4wcGLJJoVOMM3WQ5t7HmWvX56IpGiyEwCgEKXkfXjkUQWlhcSQYBACuWy/ADqVQm6SAoOPKmUi7L3sBqbnC2RFXBeRljm5QVoXqb/JEfvDtKnnNyBj9RzSlgOoBDyKWHYLbB7trtA2BdJBYPaFUmfkGDJoUtofxqYnBrRvHxqBs6kbwZQaJJyNMApktB6Y3UiNUqN3fUXoODFeYMzkZEH3X2cOYxssjncbWL63bOCWe+5K5s8/gd5Bpi22WV7xmV7wmV7HcpV+MPHOpOy7eYEFg51FQf+N1mJ6gY/ZXgKWhKMU/2KX99BXL0W8x13UK/Uu9wjNwAAAABJRU5ErkJggg=="},"7e00":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return a.default.post("store/product/increase_take",t)},e.bagExplain=function(){return a.default.get("store/product/bag/explain")},e.bagRecommend=function(){return a.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return a.default.post("user/relation/create",t)},e.collectAll=function(t){return a.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return a.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return a.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return a.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return a.default.post("intention/create",t)},e.discountsCartAdd=function(t){return a.default.post("user/cart/batchCreate",t)},e.express=function(t){return a.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return a.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return a.default.get("intention/lst",t)},e.getBrandlist=function(t){return a.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return a.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return a.default.get("captcha")},e.getCategoryList=function(){return a.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return a.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,r.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return a.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return a.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return a.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return a.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return a.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getHotRanking=function(){return a.default.get("product/spu/hot_top",{},{noAuth:!0})},e.getLiveList=function(t){return a.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return a.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){return a.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getParmasList=function(t){return a.default.get("product/spu/params",t,{noAuth:!0})},e.getParmasValue=function(t){return a.default.get("product/spu/params_value/".concat(t),{},{noAuth:!0})},e.getPresellProductDetail=function(t){return a.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return a.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return a.default.get("store/product/qrcode/"+t,e,{noAuth:!0})},e.getProductDetail=function(t){return a.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return a.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductParmas=function(t){return a.default.get("store/product/show/"+t,{},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,r.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return a.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return a.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return a.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t,e){return a.default.get("store/product/seckill/detail/"+t,e,{noAuth:!0})},e.getStoreCategory=function(t,e){return a.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return a.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return a.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreRecommend=function(t){return a.default.get("store/product/good_list/"+t,{},{noAuth:!0})},e.getStoreTypeApi=function(t){return a.default.get("intention/type",t,{noAuth:!0})},e.getTodayHotSearch=function(){return a.default.get("product/spu/hot_lst",{},{noAuth:!0})},e.merClassifly=function(){return a.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,r.default)({},e),e.brand_id=e.brand_id.toString());return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return a.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return a.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return a.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return a.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return a.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return a.default.post("store/certificate/".concat(t.merId),t)},e.storeMerchantList=function(t){return a.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return a.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return a.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return a.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return a.default.post("user/relation/batch/delete",t)},e.verify=function(t){return a.default.post("auth/verify",t)},n("c9b5"),n("bf0f"),n("ab80"),n("c223");var r=o(n("9b1b")),a=o(n("fea3"))},"8fa6":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",[t.listData.length?o("v-uni-view",{staticClass:"application-record"},t._l(t.listData,(function(e){return o("v-uni-view",{key:e.mer_intention_id,staticClass:"card-list"},[o("v-uni-view",{staticClass:"card-top"},[o("v-uni-view",{staticClass:"title"},[t._v(t._s(e.mer_name))]),o("v-uni-view",{staticClass:"time"},[t._v("提交时间:"+t._s(e.create_time))]),e.fail_msg?o("v-uni-view",{staticClass:"reason"},[t._v("原因:"+t._s(e.fail_msg))]):t._e()],1),o("v-uni-view",{staticClass:"line"}),o("v-uni-view",{staticClass:"card-bottom"},[o("v-uni-view",{staticClass:"card-status"},[0===e.status?o("v-uni-image",{staticClass:"status-icon",attrs:{src:n("7427"),mode:""}}):1===e.status?o("v-uni-image",{staticClass:"status-icon",attrs:{src:n("dc57"),mode:""}}):2===e.status?o("v-uni-image",{staticClass:"status-icon",attrs:{src:n("6389"),mode:""}}):t._e(),o("v-uni-text",{staticClass:"status-text"},[t._v(t._s(t.statusText(e.status)))])],1),o("v-uni-view",{staticClass:"status-btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.jump(e)}}},[t._v(t._s(t.statusBtn(e.status)))])],1)],1)})),1):t._e(),t.listData.length||t.loading?t._e():o("v-uni-view",{staticClass:"no-shop"},[o("v-uni-view",{staticClass:"pictrue",staticStyle:{margin:"0 auto"}},[o("v-uni-image",{attrs:{src:t.domain+"/static/images/noCart.png"}}),o("v-uni-text",[t._v("暂无申请记录,快去申请入驻吧!")])],1)],1)],1)},r=[]},c88b:function(t,e,n){var o=n("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.application-record[data-v-40d611b7]{display:flex;flex-direction:column;align-items:center;background-color:#f5f5f5;padding:%?20?% %?30?%}.application-record .card-list[data-v-40d611b7]{width:100%;background-color:#fff;padding:%?20?% %?24?%;margin:%?10?% %?20?%;border-radius:%?12?%}.application-record .card-list .card-top[data-v-40d611b7]{height:%?140?%}.application-record .card-list .card-top .title[data-v-40d611b7]{font-size:%?28?%;font-weight:700;color:#333}.application-record .card-list .card-top .time[data-v-40d611b7]{color:#999;font-size:%?24?%;padding:%?5?% 0}.application-record .card-list .card-top .reason[data-v-40d611b7]{color:#e93323;font-weight:700;font-size:%?24?%}.application-record .card-list .line[data-v-40d611b7]{height:%?2?%;margin:%?20?% 0 %?20?% 0;background-color:#eee}.application-record .card-list .card-bottom[data-v-40d611b7]{display:flex;justify-content:space-between;align-items:center;color:#333}.application-record .card-list .card-bottom .card-status[data-v-40d611b7]{display:flex;align-items:center}.application-record .card-list .card-bottom .card-status .status-icon[data-v-40d611b7]{width:%?30?%;height:%?30?%;margin:%?10?%}.application-record .card-list .card-bottom .card-status .status-text[data-v-40d611b7]{font-size:%?28?%;font-weight:500}.application-record .card-list .card-bottom .status-btn[data-v-40d611b7]{font-size:%?26?%;color:#555;border:1px solid #999;padding:%?8?% %?32?%;border-radius:%?40?%}.no-shop[data-v-40d611b7]{width:100%;background-color:#fff;height:100vh}.no-shop .pictrue[data-v-40d611b7]{display:flex;flex-direction:column;align-items:center;color:#999}.no-shop .pictrue uni-image[data-v-40d611b7]{width:%?414?%;height:%?380?%}',""]),t.exports=e},dc57:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAPFBMVEUAAABgz3BhznRgznNgz3RgznRgz3VhznNhznNgznRgznRgz3Jgz3NhznRgzXNgznNgzXNgzXNgz3BhznRTrorRAAAAE3RSTlMAEMDwQM8w0KCAcGBQsJ/gr5AgOG55rAAAAWZJREFUSMe1192ugyAQBOAFsQJKtc77v+tJTZu1VNgVT+fS5AtxRH6oEBfudgaA2d6DI31MtMhio1FRt+Awi5OpRTG2ztcF1SymbKcOQrqpZO9Q5HHccQ9VeiNYWctW1mz1WupK39qIk5nYrt1Z3PFrLzid5W0dGuJe2LZgywM3D520Y33WmraqdXRYiTz2eRYedXb7Ntgncl0aS3NemcZ2t81O+Ag/UNhbl/cdmi0C+WYLT1ZpV7bc2Jw/CXNmi6tFT1/vkc2FsWiBHBOxzqwOs2arwoG1aPFV2LjTY/1/H8jiWA9AFFZWSx7H2gxesPBH0/P1ZSWLQFNpTokWjggFLVpwl4c6SutnRFGPqCU+i0FJR1RjKkuv7es2XV7027eb6xsdpfPW84nkyuZOU8OxgvNoONBwhjN2yA9xrFW7nqxly7rV6lt7/OdhnWNS3SbzgwsK81QY1f3yUsZxwb+vgz6UxvwDjQ2/9Z3zzcEAAAAASUVORK5CYII="}}]);