1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-ucenter-address"],{"10b2":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */:root .dotting[data-v-16f36f90]{margin-right:8px}.loading[data-v-16f36f90]{font-size:%?50?%;position:fixed;left:47%;top:40%;z-index:100002;background-size:100%;-webkit-transform:translateX(-47%);transform:translateX(-47%);-webkit-transform:translateY(-40%);transform:translateY(-40%);-webkit-animation:aaa-spin-data-v-16f36f90 2s infinite linear;animation:aaa-spin-data-v-16f36f90 2s infinite linear;display:inline-block}.loading-text[data-v-16f36f90]{width:100%;font-size:%?29?%;text-align:center;position:fixed;top:47%;color:#333;z-index:100002;background-size:100%;-webkit-transform:translateY(-40%);transform:translateY(-40%)}.loading-text uni-view[data-v-16f36f90]{width:80%;margin:0 auto}.loading-text uni-view .dotting[data-v-16f36f90]{display:inline-block;min-width:2px;min-height:2px;-webkit-animation:dot-data-v-16f36f90 4s infinite step-start both;animation:dot-data-v-16f36f90 4s infinite step-start both;font-size:%?29?%}.layer-box[data-v-16f36f90]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:hsla(0,0%,100%,.1);z-index:100001}@-webkit-keyframes aaa-spin-data-v-16f36f90{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes aaa-spin-data-v-16f36f90{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes dot-data-v-16f36f90{25%{box-shadow:none}50%{box-shadow:2px 0 #666}75%{box-shadow:2px 0 #666,6px 0 #666}}@keyframes dot-data-v-16f36f90{25%{box-shadow:none}50%{box-shadow:2px 0 #666}75%{box-shadow:2px 0 #666,6px 0 #666}}',""]),t.exports=e},2123:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.placeholder-box[data-v-58a7c612]{height:35px}.navbar-box[data-v-58a7c612]{position:fixed;z-index:100000;topL:0;left:0;width:100%;height:35px}.navbar-box .status-bar[data-v-58a7c612]{width:100%;float:left}.navbar-box .search-box[data-v-58a7c612]{width:100%;height:45px;float:left}.navbar-box .search-box .search-input[data-v-58a7c612]{position:relative;color:#fff;height:35px;line-height:35px;border-radius:%?50?%;margin:%?10?% %?20?%;background-color:#fff;color:#666}.navbar-box .search-box .search-input[data-v-58a7c612]::before{position:absolute;content:"\\e629";left:%?30?%;top:%?0?%;font-size:%?38?%;color:#aaa}.navbar-box .search-box .search-input uni-text[data-v-58a7c612]{padding-left:%?90?%;font-size:%?30?%}.navbar-box .navbar[data-v-58a7c612]{float:left;width:100%;position:relative}.navbar-box .navbar .title[data-v-58a7c612]{width:100%;text-align:center;font-size:%?33?%;font-size:%?29?%}.navbar-box .navbar .prevPage[data-v-58a7c612]{position:absolute;left:%?20?%;top:2%;width:%?60?%;height:%?60?%}.navbar-box .navbar .prevPage uni-text[data-v-58a7c612]{color:#666;font-size:%?65?%;font-weight:700}.navbar-box .navbar .backPage[data-v-58a7c612]{background-color:rgba(0,0,0,.5);border-radius:50%}.navbar-box .navbar .backPage uni-text[data-v-58a7c612]{color:#fff;position:absolute;left:30%;top:50%;-webkit-transform:translate(-30%,-50%);transform:translate(-30%,-50%)}.navbar-box .navbar .statusLine[data-v-58a7c612]{top:%?20?%}',""]),t.exports=e},"21b9":function(t,e,i){"use strict";i.r(e);var a=i("c44b"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"22fa":function(t,e,i){"use strict";i.r(e);var a=i("6713"),n=i("4b4a");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("6414");var s=i("f0c5"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"9eca4822",null,!1,a["a"],void 0);e["default"]=o.exports},2445:function(t,e,i){"use strict";i.r(e);var a=i("593f"),n=i("c4ce");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("8f7f");var s=i("f0c5"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"58a7c612",null,!1,a["a"],void 0);e["default"]=o.exports},3726:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.isShowLoading?i("v-uni-view",{staticClass:"iconfont loading"},[t._v("")]):t._e(),""!=t.text?i("v-uni-view",{staticClass:"loading-text"},[i("v-uni-view",[t._v(t._s(t.text)),i("v-uni-text",{staticClass:"dotting"})],1)],1):t._e(),t.layer?i("v-uni-view",{staticClass:"layer-box",style:"background-color:"+t.color}):t._e()],1)},n=[]},"45be":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"max-empty",style:{backgroundColor:t.backgroundColor}},["cart"===t.type?i("v-uni-view",{staticClass:"cart column center"},[i("v-uni-image",{staticClass:"icon",attrs:{src:t.static+"/empty/cart.png"}}),i("v-uni-text",{staticClass:"title"},[t._v("空空如也")]),i("v-uni-text",{staticClass:"text"},[t._v("别忘了买点什么犒赏一下自己哦")]),i("v-uni-view",{staticClass:"btn center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jump.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("随便逛逛")])],1)],1):"address"===t.type?i("v-uni-view",{staticClass:"address column center"},[i("v-uni-image",{staticClass:"icon",attrs:{src:t.static+"/empty/address.png"}}),i("v-uni-text",{staticClass:"text"},[t._v("您还没有收货地址哦~")]),i("v-uni-view",{staticClass:"btn center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jump.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("添加地址")])],1)],1):"favorite"===t.type?i("v-uni-view",{staticClass:"favorite column center"},[i("v-uni-image",{staticClass:"icon",attrs:{src:t.static+"/empty/favorite.png"}}),i("v-uni-text",{staticClass:"text"},[t._v("收藏夹空空的,先去逛逛吧~")]),i("v-uni-view",{staticClass:"btn center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jump.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("随便逛逛")])],1)],1):"order"===t.type?i("v-uni-view",{staticClass:"order column center"},[i("v-uni-image",{staticClass:"icon",attrs:{src:t.static+"/empty/order.png"}}),i("v-uni-text",{staticClass:"text"},[t._v("加载订单失败,请稍后在试")]),i("v-uni-view",{staticClass:"btn center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jump.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("返回")])],1)],1):"service"===t.type?i("v-uni-view",{staticClass:"service column center"},[i("v-uni-image",{staticClass:"icon",attrs:{src:t.static+"/empty/service.png"}}),i("v-uni-text",{staticClass:"text"},[t._v("请求出错,请稍在试")]),i("v-uni-view",{staticClass:"btn center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jump.apply(void 0,arguments)}}},[i("v-uni-text",[t._v(t._s(t.btnText))])],1)],1):i("v-uni-view",{staticClass:"default column center"},[i("v-uni-image",{staticClass:"icon",attrs:{src:t.static+"/empty/default.png"}}),i("v-uni-text",{staticClass:"text",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jump.apply(void 0,arguments)}}},[t._v(t._s(t.text))])],1)],1)},n=[]},"4b4a":function(t,e,i){"use strict";i.r(e);var a=i("5e7eb"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"590b":function(t,e,i){var a=i("2123");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("5ff2aa9e",a,!0,{sourceMap:!1,shadowMode:!1})},"593f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.isNavbar||t.isPrev?i("v-uni-view",{staticClass:"navbar-box",style:{height:t.menuClientRect.height+t.statusBar+t.menuClientRect.searchHeight+"px",background:t.bg}},[i("v-uni-view",{staticClass:"status-bar",style:{height:t.statusBar+"px"}}),t.isNavTitle?i("v-uni-view",{staticClass:"navbar",style:{color:t.fontColor,height:t.menuClientRect.height+"px","line-height":t.menuClientRect.height+"px"}},[t.isPrev?i("v-uni-view",{staticClass:"iconfont prevPage",class:{backPage:t.iSimmersive&&!t.isTitle,statusLine:t.iSimmersive&&t.scroll<10},style:{color:t.fontColor,"line-height":t.menuClientRect.height+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.prev.apply(void 0,arguments)}}},[i("v-uni-text",{style:{color:t.fontColor}},[t._v("")])],1):t._e(),t.isTitle?i("v-uni-view",{staticClass:"title",style:{color:t.fontColor,height:t.menuClientRect.height+"px","line-height":t.menuClientRect.height+"px"}},[t._v(t._s(t.title))]):t._e()],1):t._e(),t.isSearch&&t.isTitle?i("v-uni-view",{staticClass:"search-box",style:{background:t.bg}},[i("v-uni-view",{staticClass:"iconfont search-input",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onJumpSearch.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("请输入关键字")])],1)],1):t._e()],1):t._e(),t.placeholder?i("v-uni-view",{staticClass:"placeholder-box",staticStyle:{width:"100%"},style:{height:t.menuClientRect.height-1+t.menuClientRect.searchHeight+t.statusBar+"px"}}):t._e()],1)},n=[]},"5bfa":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.address-list .address-box[data-v-9eca4822]{background-color:#fff;width:100%;height:auto!important;height:%?260?%;float:left;margin-top:%?30?%;min-height:%?260?%}.address-list .address-box .t[data-v-9eca4822]{padding:%?30?%;border-bottom:%?2?% solid #e8e8e8;color:#777;font-size:%?30?%}.address-list .address-box .t .t-1[data-v-9eca4822]{height:%?52?%;min-height:%?52?%}.address-list .address-box .t .t-1 uni-text[data-v-9eca4822]:first-child{float:left}.address-list .address-box .t .t-1 uni-text[data-v-9eca4822]:last-child{float:right}.address-list .address-box .b[data-v-9eca4822]{height:%?100?%;color:#777;font-size:%?30?%;padding:0 %?30?%}.address-list .address-box .b .b-1[data-v-9eca4822]{float:left;display:inline-block;color:#c30d24;border:%?1?% solid #c30d24;border-radius:%?10?%;font-size:%?24?%;width:%?130?%;height:%?50?%;line-height:%?50?%;text-align:center;margin-top:%?24?%}.address-list .address-box .b .b-2[data-v-9eca4822]{float:right}.address-list .address-box .b .b-2 uni-text[data-v-9eca4822]{display:inline-block;color:#777;border:%?1?% solid #777;border-radius:%?10?%;font-size:%?24?%;width:%?130?%;height:%?50?%;line-height:%?50?%;text-align:center;margin-top:%?24?%;margin-left:%?20?%}.btn[data-v-9eca4822]{width:100%;background-color:#fff;position:fixed;left:0;bottom:0;height:%?120?%;padding-top:%?20?%}.btn .add[data-v-9eca4822]{display:block;height:%?100?%;line-height:%?100?%;text-align:center;background-color:#c30d24;color:#fff;margin:0 %?30?%;border-radius:%?10?%}',""]),t.exports=e},"5e7eb":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7");var n=a(i("837c")),r=a(i("2445")),s={components:{loading:n.default,navbar:r.default},data:function(){return{isLoading:!0,isError:!1,list:[]}},onShow:function(){var t=this,e=this.$storage.getJson("users");null==e?this.$utils.navigateTo("public/login"):this.$http.getAddress().then((function(e){e.status?(t.list=e.data,t.list.length?(t.isLoading=!1,t.isError=!1):(t.isLoading=!1,t.isError=!0)):(t.isLoading=!1,t.isError=!0)})).catch((function(e){t.isLoading=!1,t.isError=!0}))},methods:{onDelete:function(t){this.list=this.list.filter((function(e){if(e.id!=t)return e})),this.$http.editorAddressDelete({id:t}),this.list.length?(this.isLoading=!1,this.isError=!1):(this.isLoading=!1,this.isError=!0)},onAdd:function(){this.$utils.navigateTo("ucenter/address_editor")},onEdit:function(t){this.$utils.navigateTo("ucenter/address_editor",{id:t})}}};e.default=s},6193:function(t,e,i){"use strict";var a=i("aeaf"),n=i.n(a);n.a},6414:function(t,e,i){"use strict";var a=i("b99e"),n=i.n(a);n.a},6713:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={navbar:i("2445").default,emptyBox:i("c6d3").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("navbar",{attrs:{iSimmersive:!1,"title-color":"#ffffff",background:"#c30d24",placeholder:!0,title:"我的地址"}}),t.isLoading||0!=t.isError?t._e():i("v-uni-view",[i("v-uni-view",{staticClass:"address-list"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"address-box"},[i("v-uni-view",{staticClass:"t"},[i("v-uni-view",{staticClass:"t-1"},[i("v-uni-text",[t._v(t._s(e.name))]),i("v-uni-text",[t._v(t._s(e.tel))])],1),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(e.address))])],1),i("v-uni-view",{staticClass:"b"},[e.is_default?i("v-uni-view",{staticClass:"b-1"},[t._v("默认地址")]):t._e(),i("v-uni-view",{staticClass:"b-2"},[i("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onEdit(e.id)}}},[t._v("修改")]),i("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onDelete(e.id)}}},[t._v("删除")])],1)],1)],1)})),1),i("v-uni-view",{staticClass:"btn"},[i("v-uni-view",{staticClass:"add",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onAdd.apply(void 0,arguments)}}},[t._v("新增地址")])],1)],1),t.isLoading?i("loading"):t._e(),t.isError&&0==t.isLoading?i("empty-box",{attrs:{type:"address"},on:{onEvents:function(e){arguments[0]=e=t.$handleEvent(e),t.onAdd.apply(void 0,arguments)}}}):t._e()],1)},r=[]},"837c":function(t,e,i){"use strict";i.r(e);var a=i("3726"),n=i("e06e");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("6193");var s=i("f0c5"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"16f36f90",null,!1,a["a"],void 0);e["default"]=o.exports},"8f7f":function(t,e,i){"use strict";var a=i("590b"),n=i.n(a);n.a},a7e4:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.column[data-v-322815bd]{display:flex;flex-direction:column}.center[data-v-322815bd]{display:flex;align-items:center;justify-content:center}.max-empty[data-v-322815bd]{position:fixed;left:0;right:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:center;-webkit-animation:show-data-v-322815bd .5s 1;animation:show-data-v-322815bd .5s 1}@-webkit-keyframes show-data-v-322815bd{from{opacity:0}to{opacity:1}}@keyframes show-data-v-322815bd{from{opacity:0}to{opacity:1}}.default[data-v-322815bd]{padding-top:26vh;padding-top:30vh}.default .icon[data-v-322815bd]{width:%?350?%;height:%?350?%}.default .text[data-v-322815bd]{margin-top:%?10?%;font-size:%?28?%;color:#999}.cart[data-v-322815bd]{padding-top:14vh;padding-top:18vh}.cart .icon[data-v-322815bd]{width:%?350?%;height:%?350?%}.cart .title[data-v-322815bd]{margin:%?50?% 0 %?26?%;font-size:%?34?%;color:#333}.cart .text[data-v-322815bd]{font-size:%?28?%;color:#aaa}.cart .btn[data-v-322815bd]{width:%?320?%;height:%?80?%;margin-top:%?80?%;text-indent:%?2?%;letter-spacing:%?2?%;font-size:%?32?%;color:#fff;border-radius:%?100?%;background:linear-gradient(to bottom right,#c30d24,#c30d24)}.address[data-v-322815bd]{padding-top:6vh;padding-top:10vh}.address .icon[data-v-322815bd]{width:%?350?%;height:%?350?%}.address .text[data-v-322815bd]{width:%?400?%;margin-top:%?40?%;font-size:%?30?%;color:#999;text-align:center;line-height:1.6}.address .btn[data-v-322815bd]{width:%?320?%;height:%?80?%;margin-top:%?80?%;text-indent:%?2?%;letter-spacing:%?2?%;font-size:%?32?%;color:#fff;border-radius:%?100?%;background:linear-gradient(to bottom right,#c30d24,#c30d24)}.favorite[data-v-322815bd]{padding-top:6vh;padding-top:10vh}.favorite .icon[data-v-322815bd]{width:%?360?%;height:%?360?%}.favorite .text[data-v-322815bd]{width:%?400?%;margin-top:%?40?%;font-size:%?30?%;color:#999;text-align:center;line-height:1.6}.favorite .btn[data-v-322815bd]{width:%?320?%;height:%?80?%;margin-top:%?80?%;text-indent:%?2?%;letter-spacing:%?2?%;font-size:%?32?%;color:#fff;border-radius:%?100?%;background:linear-gradient(to bottom right,#c30d24,#c30d24)}.order[data-v-322815bd]{padding-top:6vh;padding-top:10vh}.order .icon[data-v-322815bd]{width:%?360?%;height:%?360?%}.order .text[data-v-322815bd]{width:%?400?%;margin-top:%?40?%;font-size:%?30?%;color:#999;text-align:center;line-height:1.6}.order .btn[data-v-322815bd]{width:%?320?%;height:%?80?%;margin-top:%?80?%;text-indent:%?2?%;letter-spacing:%?2?%;font-size:%?32?%;color:#fff;border-radius:%?100?%;background:linear-gradient(to bottom right,#c30d24,#c30d24)}.service[data-v-322815bd]{padding-top:6vh;padding-top:10vh}.service .icon[data-v-322815bd]{width:%?360?%;height:%?360?%}.service .text[data-v-322815bd]{width:%?400?%;margin-top:%?40?%;font-size:%?30?%;color:#999;text-align:center;line-height:1.6}.service .btn[data-v-322815bd]{width:%?320?%;height:%?80?%;margin-top:%?80?%;text-indent:%?2?%;letter-spacing:%?2?%;font-size:%?32?%;color:#fff;border-radius:%?100?%;background:linear-gradient(to bottom right,#c30d24,#c30d24)}',""]),t.exports=e},ad2f:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("ac1f"),i("00b4"),i("99af"),i("fb6a"),i("14d9"),i("e25e");a(i("b328"));var n={props:{value:{type:[String,Number],default:0},scroll:{type:[String,Number],default:0},placeholder:{type:Boolean,default:!1},isShow:{type:Boolean,default:!0},isPrev:{type:Boolean,default:!0},isSearch:{type:Boolean,default:!1},isNavTitle:{type:Boolean,default:!0},title:{type:String,default:""},titleColor:{type:String,default:"#000000"},background:{type:String,default:"transparent"},iSimmersive:{type:Boolean,default:!1},onBack:{type:Function,default:null}},data:function(){return{statusBar:10,menuClientRect:{height:35,searchHeight:0},bg:"",fontColor:"",isTitle:!0,isNavbar:!0}},mounted:function(){var t=uni.getSystemInfoSync();this.isNavbar=this.isShow,this.bg=this.background,this.fontColor=this.titleColor,this.iSimmersive?(this.isTitle=!1,this.isNavbar=!1,this.setNavigationBarColor("#ffffff")):(this.bg="transparent"!=this.background?this.background:"#ffffff",this.setNavigationBarColor(this.titleColor)),this.isNavTitle||(this.menuClientRect.height=0),this.statusBar=0,this.isSearch&&(this.menuClientRect.searchHeight=45);var e=this.menuClientRect.height+this.statusBar;this.$emit("input",t.screenHeight-e-t.windowBottom)},methods:{onJumpSearch:function(){this.$utils.navigateTo("search/index")},prev:function(){if(this.onBack)this.onBack();else{var t=getCurrentPages();t&&t.length>1?uni.navigateBack():t.length<=1&&this.$utils.switchTab("index/index")}},setNavigationBarColor:function(t){this.fontColor=t},color2Rgb:function(t){var e=t.toLowerCase();if(/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){for(var i="#",a=1;a<4;a+=1)i+=e.slice(a,a+1).concat(e.slice(a,a+1));e=i}for(var n=[],r=1;r<7;r+=2)n.push(parseInt("0x"+e.slice(r,r+2)));return n.join(",")}return t}},watch:{scroll:{handler:function(t,e){if(!this.iSimmersive)return!1;var i="#ffffff",a="#000000";"transparent"!=this.background&&(i=this.background,a="#ffffff");var n=this.color2Rgb(i);t>=10&&t<=50?(this.bg="rgba("+n+",.3)",this.setNavigationBarColor(a),this.isTitle=!0,this.isNavbar=!0):t>=51&&t<=99?(this.bg="rgba("+n+",.7)",this.setNavigationBarColor(a),this.isTitle=!0,this.isNavbar=!0):t>=100?(this.bg="rgba("+n+",1)",this.setNavigationBarColor(a),this.isTitle=!0,this.isNavbar=!0):t<10&&(this.bg="rgba("+n+",0)",this.setNavigationBarColor("#ffffff"),this.isTitle=!1,this.isNavbar=!1)},deep:!0}}};e.default=n},aeaf:function(t,e,i){var a=i("10b2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("7ffeee4b",a,!0,{sourceMap:!1,shadowMode:!1})},b328:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("e9c4");var a={set:function(t,e){sessionStorage.setItem(t,vlaue)},setJson:function(t,e){sessionStorage.setItem(t,JSON.stringify(e))},get:function(t){return sessionStorage.getItem(t)},getJson:function(t){var e=sessionStorage.getItem(t);return e?JSON.parse(e):null},remove:function(t){sessionStorage.removeItem(t)},clear:function(){sessionStorage.clear()}};e.default=a},b99e:function(t,e,i){var a=i("5bfa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("ed63c618",a,!0,{sourceMap:!1,shadowMode:!1})},be06:function(t,e,i){var a=i("a7e4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("10e259d4",a,!0,{sourceMap:!1,shadowMode:!1})},c44b:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{text:{type:String,default:"暂时没有数据"},btnText:{type:String,default:"刷新"},type:{type:String,default:""},backgroundColor:{type:String,default:"rgba(0,0,0,0)"}},data:function(){return{static:""}},mounted:function(){this.static=this.$static},methods:{jump:function(){this.$emit("onEvents",{})},onCartBtnClick:function(){uni.switchTab({url:"/pages/index/index"})},switchTab:function(t){uni.switchTab({url:t})}}};e.default=a},c4ce:function(t,e,i){"use strict";i.r(e);var a=i("ad2f"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},c6d3:function(t,e,i){"use strict";i.r(e);var a=i("45be"),n=i("21b9");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("fbab");var s=i("f0c5"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"322815bd",null,!1,a["a"],void 0);e["default"]=o.exports},e06e:function(t,e,i){"use strict";i.r(e);var a=i("f122"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},f122:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"loading",props:{text:{type:String,default:""},isShowLoading:{type:Boolean,default:!0},layer:{type:Boolean,default:!1},color:{type:String,default:"rgba(255,255,255,0.1)"}},mounted:function(){}};e.default=a},fbab:function(t,e,i){"use strict";var a=i("be06"),n=i.n(a);n.a}}]);
|