alipay-order-shop-shop.8626b00b.js 7.6 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["alipay-order-shop-shop"],{"3d10":function(t,e,o){"use strict";o.r(e);var n=o("a52e"),i=o.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(s);e["default"]=i.a},"3fc9":function(t,e,o){var n=o("c86c");e=n(!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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-2913378c] .u-form-item--right__content__slot > uni-view,[data-v-2913378c] .u-form-item--right__content__slot > div,[data-v-2913378c] .u-form-item--right__content__slot > span,[data-v-2913378c] .u-form-item--right__content__slot > uni-text{width:100%}.page-container[data-v-2913378c]{width:100%;min-height:100vh;font-family:PingFang SC;background:#f5f5f5;padding-top:3.2vw}.page-container .shop-section[data-v-2913378c]{width:93.6vw;background:#fff;border-radius:2.13vw;margin:0 auto;padding:4vw 3.2vw}.page-container .shop-section .section-head .shop-address[data-v-2913378c]{display:flex;justify-content:space-between;align-items:center}.page-container .shop-section .section-head .shop-address .shop-info[data-v-2913378c]{flex:1;display:flex;align-items:center;justify-content:space-between;color:#191919}.page-container .shop-section .section-head .shop-address .shop-info .name[data-v-2913378c]{max-width:71.07vw;font-size:3.73vw;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-container .shop-section .section-head .shop-address .shop-info .address[data-v-2913378c]{display:flex;align-items:center;font-size:3.2vw;font-weight:400;margin-top:1.07vw;color:#666}.page-container .shop-section .section-head .shop-address .shop-info .address uni-text[data-v-2913378c]{display:block;max-width:67vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-container .shop-section .section-head .shop-address .shop-info .shu-line[data-v-2913378c]{width:.13vw;height:9.33vw;background:#e5e5e5;margin:0 4.93vw}.page-container .shop-section .section-head .shop-address .shop-phone-icon[data-v-2913378c]{width:5.33vw;height:5.33vw;background-size:100%}.page-container .shop-section .section-body[data-v-2913378c]{margin-top:2.93vw}.page-container .shop-section .section-body .good-list[data-v-2913378c]{display:flex;align-items:center}.page-container .shop-section .section-body .good-list .good-list-item[data-v-2913378c]{width:19.2vw;height:19.2vw;background:#f9f9f9;border:.13vw solid hsla(0,0%,43.9%,.2);border-radius:1.33vw;margin-right:2.13vw}.page-container .shop-section .section-body .good-list .good-list-item uni-image[data-v-2913378c]{width:100%;height:100%;display:block;background-size:100%}.page-container .shop-section .section-body .good-list .good-list-item[data-v-2913378c]:last-child{margin-right:0}.page-container .shop-section .section-foot[data-v-2913378c]{margin-top:3.73vw}.page-container .shop-section .section-foot .shop-msg[data-v-2913378c]{font-size:3.73vw;font-weight:600;color:#191919}.page-container .shop-section .section-foot .shop-classify[data-v-2913378c],\n.page-container .shop-section .section-foot .shop-time[data-v-2913378c]{font-size:3.2vw;font-weight:400;color:#666;margin-top:1.6vw}.page-container .shop-section .section-foot .shop-ability[data-v-2913378c]{width:27.73vw;height:7.47vw;background:#fff;border:.13vw solid #ccc;border-radius:8vw;margin:4.53vw auto 0;font-size:3.2vw;font-weight:400;color:#666;text-align:center;line-height:7.47vw}.page-container .shop-serve[data-v-2913378c]{width:93.6vw;background:#fff;border-radius:2.13vw;padding:4vw 3.2vw;margin:0 auto}.page-container .shop-serve .title[data-v-2913378c]{font-size:3.73vw;font-weight:600;color:#191919}.page-container .shop-serve .msg[data-v-2913378c]{font-size:3.2vw;font-weight:400;color:#666;margin-top:2.13vw}.page-container .default-btn[data-v-2913378c]{width:93.6vw;height:12vw;background:#fff;border-radius:2.13vw;margin:3.2vw auto;font-size:3.73vw;font-weight:600;color:#666;text-align:center;line-height:12vw}',""]),t.exports=e},4323:function(t,e,o){"use strict";o.r(e);var n=o("71f95"),i=o("3d10");for(var s in i)["default"].indexOf(s)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(s);o("84be");var a=o("828b"),c=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"2913378c",null,!1,n["a"],void 0);e["default"]=c.exports},"56e8":function(t,e,o){var n=o("3fc9");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("967d").default;i("40131e9b",n,!0,{sourceMap:!1,shadowMode:!1})},"71f95":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return t.shop.name&&0==t.shenheStatus?o("v-uni-view",{staticClass:"page-container"},[o("v-uni-view",{staticClass:"shop-section"},[o("v-uni-view",{staticClass:"section-head"},[o("v-uni-view",{staticClass:"shop-address"},[o("v-uni-view",{staticClass:"shop-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.guideToShop.apply(void 0,arguments)}}},[o("v-uni-view",[o("v-uni-view",{staticClass:"name"},[t._v(t._s(t.shop.name))]),o("v-uni-view",{staticClass:"address"},[o("v-uni-text",[t._v(t._s(t.shop.address))])],1)],1),o("v-uni-view",{staticClass:"shu-line"})],1),o("v-uni-image",{staticClass:"shop-phone-icon",attrs:{src:t.asyncImgs.alipay.green_phone_icon,mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.phoneToShop(t.shop.phone)}}})],1)],1),o("v-uni-view",{staticClass:"section-body"},[o("v-uni-view",{staticClass:"good-list"},t._l(t.shop.pic,(function(t,e){return o("v-uni-view",{key:e,staticClass:"good-list-item"},[o("v-uni-image",{attrs:{src:t,mode:""}})],1)})),1)],1),o("v-uni-view",{staticClass:"section-foot"},[o("v-uni-view",{staticClass:"shop-msg"},[t._v(t._s(t.$t("facePay.business")))]),o("v-uni-view",{staticClass:"shop-time"},[t._v(t._s(t.$t("shop.startTime"))+":"+t._s(t.shop.open_time))])],1)],1),o("v-uni-view",{staticClass:"shop-serve"},[o("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t("alipay.serve")))]),o("v-uni-view",{staticClass:"msg"},[t._v(t._s(t.shop.service))])],1)],1):1==t.shenheStatus?o("Shenhe"):t._e()},i=[]},"84be":function(t,e,o){"use strict";var n=o("56e8"),i=o.n(n);i.a},a52e:function(t,e,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("e838");var i=n(o("2ba3")),s={components:{Shenhe:i.default},data:function(){return{shop:{}}},filters:{},onLoad:function(t){this.getShopInfo()},onShow:function(){},methods:{getShopInfo:function(){var t=this;this.$allrequest.alipay.getShopInfo({},!0).then((function(e){e.code||(t.shop=e.data)}))},phoneToShop:function(t){this.$utils.makePhoneCall(t)},guideToShop:function(){uni.openLocation({latitude:parseFloat(this.shop.latitude),longitude:parseFloat(this.shop.longitude)})}}};e.default=s}}]);