pages-home-pointsgoods-Index.860cfb15.js 29 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home-pointsgoods-Index"],{"0514":function(t,e,i){var n=i("24fb");e=n(!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/* 文章场景相关 */.font-size-activity-tag[data-v-c64a12ba]{font-size:.5rem!important}.color-tip[data-v-c64a12ba]{color:#909399!important}.color-base-text[data-v-c64a12ba]{color:#ff4544!important}.img-content > img[data-v-c64a12ba]{width:100%;height:100%}.tips-layer .head[data-v-c64a12ba]{position:relative}.tips-layer .title[data-v-c64a12ba]{height:40px;line-height:40px;text-align:center;font-size:.8rem;font-weight:700}.tips-layer .iconclose[data-v-c64a12ba]{position:absolute;top:4px;right:22px;font-size:.8rem;font-weight:500}.tips-layer .body .detail[data-v-c64a12ba]{padding:10px;margin-bottom:10px}.margin-bottom[data-v-c64a12ba]{margin-bottom:10px!important}.tips-layer .body .detail .font-size-base[data-v-c64a12ba]{margin-bottom:5px}.main-content[data-v-c64a12ba]{font-size:.7rem;line-height:1.8}.font-size-tag[data-v-c64a12ba]{font-size:.6rem!important}.color-base-bg[data-v-c64a12ba]{background-color:#ff4544!important}.head-wrap[data-v-c64a12ba]{width:100vw;line-height:1;position:relative;height:135px}.head-wrap > .img-content[data-v-c64a12ba]{width:100%}.head-wrap .wrap[data-v-c64a12ba]{width:100%;height:100%;position:absolute;z-index:5;top:0;left:0}.head-wrap .member-wrap[data-v-c64a12ba]{height:95px;padding:25px 15px 15px 15px;display:flex;align-items:center;box-sizing:border-box}.head-wrap .member-wrap .headimg[data-v-c64a12ba]{width:50px;height:50px;background:#fff;border:2px solid #fff;border-radius:50%;overflow:hidden}.head-wrap .member-wrap .headimg .img-content[data-v-c64a12ba]{width:100%;height:100%}.head-wrap .member-wrap .point[data-v-c64a12ba]{margin-left:15px;color:#fff;font-size:.9rem}.head-wrap .member-wrap .point-name[data-v-c64a12ba]{font-size:.6rem;color:#fff;margin-left:2px;margin-top:2px}.head-wrap .member-wrap .iconjifen1[data-v-c64a12ba]{color:#fff;margin-left:4px}.head-wrap .member-wrap .rule[data-v-c64a12ba]{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:right;color:#fff}.head-wrap .member-wrap .iconwenhao[data-v-c64a12ba]{font-size:.6rem;color:#fff;margin-right:3px}.head-wrap .action-wrap[data-v-c64a12ba]{display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;align-items:center;height:40px;background-color:hsla(0,0%,100%,.1)}.head-wrap .action-wrap .view-content[data-v-c64a12ba]{line-height:1;text-align:center;width:calc((100vw - .5px) / 2);color:#fff}.head-wrap .action-wrap .view-content .text-content[data-v-c64a12ba]{font-size:.6rem;margin-left:4px}.head-wrap .action-wrap .view-content.split[data-v-c64a12ba]{width:.5px;height:25px;background-color:hsla(0,0%,93.3%,.3);-webkit-flex-shrink:0;flex-shrink:0}.head-wrap .action-wrap .view-content .img-content[data-v-c64a12ba]{width:100%}.head-wrap .no-login[data-v-c64a12ba]{display:flex;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.head-wrap .no-login .text-content[data-v-c64a12ba]{color:#fff}.head-wrap .no-login .login-btn[data-v-c64a12ba]{display:inline-block;height:35px;line-height:35px;width:100px;border:1px solid #fff;border-radius:35px;margin-bottom:10px}',""]),t.exports=e},"0731":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniPopup:i("3ae3").default,uniPopupDialog:i("b44c").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"div main-content"},[i("v-uni-view",{staticClass:"div list-wrap-item hongbao-list-wrap-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.exchangeVoucher(t.item)}}},[i("v-uni-view",{staticClass:"div img-box"},[i("v-uni-view",{staticClass:"div img-content"},[i("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.hongbaobg}})],1)],1),i("v-uni-view",{staticClass:"div content"},[i("v-uni-view",{staticClass:"div coupon hongbao"},[i("v-uni-view",{staticClass:"div coupon_left"},[i("v-uni-view",{staticClass:"div price "},[i("v-uni-text",{staticClass:"span text-content"},[i("v-uni-text",{staticClass:"span"},[t._v("¥")])],1),t._v(t._s(t.item.vouchertemplate_price))],1),i("v-uni-view",{staticClass:"div coupon_condition font-size-activity-tag"},[i("v-uni-text",{staticClass:"span text-content"},[i("v-uni-text",{staticClass:"span"},[t._v(t._s(t.item.vouchertemplate_storename))])],1)],1)],1),i("v-uni-view",{staticClass:"div coupon_right flex"},[i("v-uni-view",{staticClass:"div coupon_btn"},[t._v("兑换")])],1)],1)],1)],1),i("uni-popup",{ref:"confirm",attrs:{"background-color":"#fff",type:"dialog"}},[i("uni-popup-dialog",{attrs:{mode:t.dialog.mode,title:t.dialog.title,content:t.dialog.content,placeholder:t.dialog.content},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmDialog.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.closeDialog.apply(void 0,arguments)}}})],1)],1)},o=[]},2400:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniPopup:i("3ae3").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"div main-content"},[i("v-uni-view",{staticClass:"div head-wrap color-base-bg"},[i("v-uni-view",{staticClass:"div img-content",staticStyle:{height:"134px"}},[i("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.pointbg}}),i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div"})],1),i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div"})],1)],1)],1),t.isOnline?i("v-uni-view",{staticClass:"div wrap"},[i("v-uni-view",{staticClass:"div member-wrap"},[i("v-uni-view",{staticClass:"div headimg"},[i("v-uni-view",{staticClass:"div img-content"},[i("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.user.member_avatar}})],1)],1),i("v-uni-view",{staticClass:"div text-content point"},[i("v-uni-text",{staticClass:"span"},[t._v(t._s(t.user.member_points))])],1),i("v-uni-view",{staticClass:"div text-content point-name"},[i("v-uni-text",{staticClass:"span"},[t._v("积分")])],1),i("v-uni-view",{staticClass:"div rule",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPopup("shareVisible")}}},[i("v-uni-text",{staticClass:"span text-content iconfont iconwenhao"},[i("v-uni-text",{staticClass:"span"},[t._v("")])],1),i("v-uni-text",{staticClass:"span text-content font-size-tag"},[i("v-uni-text",{staticClass:"span"},[t._v("兑换规则")])],1)],1)],1),i("v-uni-view",{staticClass:"div action-wrap"},[i("v-uni-view",{staticClass:"div view-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goScoreList.apply(void 0,arguments)}}},[t._v("积分明细"),i("v-uni-text",{staticClass:"span text-content iconfont iconright"},[i("v-uni-text",{staticClass:"span"},[t._v("")])],1)],1),i("v-uni-view",{staticClass:"div view-content split"}),i("v-uni-view",{staticClass:"div view-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goOrder.apply(void 0,arguments)}}},[t._v("兑换记录"),i("v-uni-text",{staticClass:"span text-content iconfont iconright"},[i("v-uni-text",{staticClass:"span"},[t._v("")])],1)],1)],1)],1):i("v-uni-view",{staticClass:"div wrap no-login"},[i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div lineheight-clear"},[i("v-uni-view",{staticClass:"div text-content font-size-toolbar login-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showLogin.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"span"},[t._v("立即登录")])],1)],1),i("v-uni-view",{staticClass:"div lineheight-clear"},[i("v-uni-view",{staticClass:"div text-content font-size-tag"},[i("v-uni-text",{staticClass:"span"},[t._v("登录后查看我的积分")])],1)],1)],1)],1)],1),i("uni-popup",{ref:"shareVisible",attrs:{"background-color":"#fff",type:"bottom"}},[i("v-uni-view",{staticClass:"div tips-layer"},[i("v-uni-view",{staticClass:"div head"},[i("v-uni-view",{staticClass:"div title"},[t._v("积分说明")]),i("v-uni-view",{staticClass:"div iconfont iconclose",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hidePopup("shareVisible")}}},[i("v-uni-text",{staticClass:"span"},[t._v("")])],1)],1),i("v-uni-view",{staticClass:"div body"},[i("v-uni-view",{staticClass:"div detail"},[i("v-uni-view",{staticClass:"div tip"},[t._v("积分的获取")]),i("v-uni-view",{staticClass:"div font-size-base"},[t._v("1、积分可在注册、签到、消费时获得。")]),i("v-uni-view",{staticClass:"div font-size-base"},[t._v("2、在购买商品时可获得积分。")]),i("v-uni-view",{staticClass:"div tip"},[t._v("积分的使用")]),i("v-uni-view",{staticClass:"div font-size-base"},[t._v("1、积分可用于兑换积分中心的商品。")]),i("v-uni-view",{staticClass:"div font-size-base"},[t._v("2、积分可在参与某些活动时使用。")]),i("v-uni-view",{staticClass:"div font-size-base"},[t._v("3、积分不得转让,出售,不设有效期。")]),i("v-uni-view",{staticClass:"div tip"},[t._v("积分的查询")]),i("v-uni-view",{staticClass:"div font-size-base"},[t._v("1、积分可在会员中心中查询具体数额以及明细。")])],1)],1)],1)],1)],1)},o=[]},"2d3e":function(t,e,i){var n=i("24fb");e=n(!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/* 文章场景相关 */.font-size-activity-tag[data-v-79d8ef21]{font-size:.5rem!important}.color-tip[data-v-79d8ef21]{color:#909399!important}.color-base-text[data-v-79d8ef21]{color:#ff4544!important}.goods-list.double-column[data-v-79d8ef21]{display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px}.goods-list.double-column .goods-item[data-v-79d8ef21]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:48%;flex-basis:48%;max-width:calc((100% - 15px) / 2);margin-right:15px;margin-bottom:10px}.goods-list.double-column .goods-item[data-v-79d8ef21]:nth-child(2n){margin-right:0}.img-content > img[data-v-79d8ef21]{width:100%;height:100%}.tips-layer .head[data-v-79d8ef21]{position:relative}.tips-layer .title[data-v-79d8ef21]{height:40px;line-height:40px;text-align:center;font-size:.8rem;font-weight:700}.tips-layer .iconclose[data-v-79d8ef21]{position:absolute;top:4px;right:22px;font-size:.8rem;font-weight:500}.tips-layer .body .detail[data-v-79d8ef21]{padding:10px}.tips-layer .body .detail .font-size-base[data-v-79d8ef21]{margin-bottom:5px}.main-content[data-v-79d8ef21]{font-size:.7rem;line-height:1.8}.font-size-tag[data-v-79d8ef21]{font-size:.6rem!important}.color-base-bg[data-v-79d8ef21]{background-color:#ff4544!important}.body-wrap[data-v-79d8ef21]{margin-top:25px}.body-wrap.no-login[data-v-79d8ef21]{margin-top:10px}.body-wrap .point-exchange-wrap[data-v-79d8ef21]{padding:0 15px;margin-top:15px}.body-wrap .type-wrap[data-v-79d8ef21]{display:flex;align-items:center}.body-wrap .type-wrap .type-name[data-v-79d8ef21]{font-size:.8rem;color:#303133;line-height:1}.body-wrap .type-wrap .view-content[data-v-79d8ef21]{width:1px;height:11px;background-color:#909399;margin:0 10px}.body-wrap .type-wrap .type-sub[data-v-79d8ef21]{font-size:.6rem;color:#909399;line-height:1}.body-wrap .type-wrap .content[data-v-79d8ef21]{flex:1;display:flex;align-items:center}.body-wrap .list-wrap[data-v-79d8ef21]{width:100%}.body-wrap .list-wrap .list-wrap-item[data-v-79d8ef21]{display:inline-block;margin-top:10px;width:50%}.body-wrap .list-wrap .list-wrap-item[data-v-79d8ef21]:nth-child(2n+2){text-align:right}',""]),t.exports=e},"2dda":function(t,e,i){var n=i("0514");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("1e40da8d",n,!0,{sourceMap:!1,shadowMode:!1})},3131:function(t,e,i){var n=i("2d3e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("f7ca8f46",n,!0,{sourceMap:!1,shadowMode:!1})},"392a":function(t,e,i){var n=i("24fb");e=n(!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/* 文章场景相关 */.font-size-activity-tag[data-v-05d018fa]{font-size:.5rem!important}.color-tip[data-v-05d018fa]{color:#909399!important}.color-base-text[data-v-05d018fa]{color:#ff4544!important}.img-content > img[data-v-05d018fa]{width:100%;height:100%}.list-wrap-item[data-v-05d018fa]{display:inline-block;width:165px;overflow:hidden;position:relative}.list-wrap-item.hongbao-list-wrap-item[data-v-05d018fa]{height:70px}.list-wrap-item .img-box[data-v-05d018fa]{width:100%;height:100%;position:absolute;top:0;left:0}.list-wrap-item .img-box .img-content[data-v-05d018fa]{width:100%;height:100%}.list-wrap-item .content[data-v-05d018fa]{position:relative;z-index:9}.list-wrap-item .content .coupon[data-v-05d018fa]{background-size:100% 100%;background-repeat:no-repeat;border-radius:5px;display:flex;padding:10px 0}.list-wrap-item .content .coupon .coupon_right[data-v-05d018fa]{position:relative;width:70px;min-width:70px}.list-wrap-item .content .coupon .coupon_right.flex[data-v-05d018fa]{display:flex;align-items:center}.list-wrap-item .content .coupon .coupon_right .coupon_btn[data-v-05d018fa]{margin:0 auto 0;width:40px;height:20px;line-height:20px;font-size:.6rem;text-align:center;border-radius:20px;border-width:1px;border-style:solid}.list-wrap-item .content .coupon .coupon_right .coupon_num[data-v-05d018fa]{margin-top:5px;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.list-wrap-item .content .coupon .coupon_right[data-v-05d018fa]::after{position:absolute;top:0;margin-left:0;content:"";width:0;height:100%;border-left:1px dashed;opacity:.2}.list-wrap-item .content .coupon .coupon_left[data-v-05d018fa]{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:left;padding:0 0 0 10px}.list-wrap-item .content .coupon .coupon_left .price[data-v-05d018fa]{font-size:1.2rem;font-weight:500;margin-top:0!important;padding:0;font-weight:600}.list-wrap-item .content .coupon .coupon_left .price .text-content[data-v-05d018fa]{font-size:.6rem}.list-wrap-item .content .coupon .coupon_left .coupon_condition[data-v-05d018fa]{width:85px;margin-top:10px;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-wrap-item .content .hongbao .coupon_left .price[data-v-05d018fa], .list-wrap-item .content .hongbao .coupon_left .coupon_condition[data-v-05d018fa]{color:#fff}.list-wrap-item .content .hongbao .coupon_right .coupon_num[data-v-05d018fa]{color:#fff}.list-wrap-item .content .hongbao .coupon_right .coupon_btn[data-v-05d018fa]{color:#fff;border-color:#fff}.list-wrap-item .content .hongbao .coupon_right[data-v-05d018fa]::after{position:absolute;top:0;margin-left:0;content:"";width:0;height:100%;border-left:0;opacity:.2}.list-wrap-item .content .coupon-price-wrap[data-v-05d018fa]{width:100%;height:52px;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.list-wrap-item .content .coupon-price-wrap .coupon-price[data-v-05d018fa]{font-size:1.2rem;margin-top:5px;margin-left:10px}.list-wrap-item .content .coupon-price-wrap .coupon-price .text-content[data-v-05d018fa]{font-size:.6rem}.list-wrap-item .content .coupon-point .coupon-point-num[data-v-05d018fa]{width:80px;height:22px;position:relative}.list-wrap-item .content .coupon-point .coupon-point-num .img-content[data-v-05d018fa]{width:100%;height:100%;position:absolute}.list-wrap-item .content .coupon-point .coupon-point-num .text-content[data-v-05d018fa]{position:relative;z-index:9;color:#fff;font-size:.6rem;display:inline-block;width:100%;line-height:22px;text-align:center;vertical-align:top}.list-wrap-item .content .coupon-point .coupon-conditions[data-v-05d018fa]{font-size:.5rem;color:#909399;line-height:1;margin-top:12px}.list-wrap-item .content .coupon-name[data-v-05d018fa]{font-size:.6rem;color:#303133;margin-top:11px;line-height:1;padding:0 11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-wrap-item .content.hongbao-content[data-v-05d018fa]{background-color:#fff;border-radius:10px;padding-bottom:15px}.list-wrap-item .content .hongbao-img[data-v-05d018fa]{height:165px}.list-wrap-item .content .hongbao-img .img-content[data-v-05d018fa]{width:100%;height:100%}.list-wrap-item .content .price[data-v-05d018fa]{font-size:.7rem;color:#303133;line-height:1;padding-left:13px;margin-top:10px}.list-wrap-item .content .point[data-v-05d018fa]{font-size:.8rem;padding-left:13px;margin-top:8px;line-height:1}.list-wrap-item .content .point .text-content[data-v-05d018fa]{font-size:.6rem}.list-wrap-item .content .stock[data-v-05d018fa]{font-size:.5rem;color:#909399;line-height:1;padding-left:13px;margin-top:10px}',""]),t.exports=e},"402b":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),o=i("0b9f"),s=i("26cb"),r=i("a921"),c=i("0d25"),d={name:"index",data:function(){return{user:{},pointbg:c.env.SITE_URL+"/uploads/home/h5/home/point_bg.png"}},components:{},created:function(){var t=this;this.isOnline&&(0,r.getMemberIndex)().then((function(e){e&&e.result.member_info&&(t.user=e.result.member_info)}),(function(t){}))},computed:(0,a.default)({},(0,s.mapState)({isOnline:function(t){return t.member.isOnline}})),methods:{showPopup:function(t){this.$refs[t].open()},hidePopup:function(t){this.$refs[t].close()},showLogin:function(){uni.navigateTo({url:"/pages/home/memberlogin/Login"})},goScoreList:function(){this.isOnline?uni.navigateTo({url:"/pages/member/point/PointList?"+(0,o.urlencode)({index:0})}):this.showLogin()},goOrder:function(){this.isOnline?uni.navigateTo({url:"/pages/member/pointsorder/OrderList?"+(0,o.urlencode)({index:0})}):this.showLogin()}}};e.default=d},"48ed":function(t,e,i){"use strict";var n=i("2dda"),a=i.n(n);a.a},"566d":function(t,e,i){"use strict";i.r(e);var n=i("cc71"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"59fe":function(t,e,i){"use strict";i.r(e);var n=i("6ef3"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"5a85":function(t,e,i){"use strict";var n=i("dfa0"),a=i.n(n);a.a},"5f2a":function(t,e,i){"use strict";i.r(e);var n=i("2400"),a=i("a71f");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("48ed");var s=i("f0c5"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"c64a12ba",null,!1,n["a"],void 0);e["default"]=r.exports},"6ef3":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("0b9f"),o=n(i("3d3d")),s=n(i("79b8")),r=n(i("5f2a")),c=n(i("b7d0")),d=n(i("970a")),p=n(i("231a")),l=i("784d"),u={name:"index",computed:{fontSize:function(){return(0,a.getFontSize)()}},data:function(){return{goodsList:[],voucherList:[],mallvoucherList:[]}},components:{HomeBase:o.default,EmptyRecord:s.default,IndexHeader:r.default,IndexProdItem:c.default,IndexVoucherItem:d.default,IndexMallVoucherItem:p.default},created:function(){var t=this;(0,l.getPointshop)().then((function(e){var i=e.result.mall_voucher;i&&(t.mallvoucherList=i);var n=e.result.recommend_voucher;n&&(t.voucherList=n);var a=e.result.recommend_pointsprod;a&&(t.goodsList=a)}))},methods:{goMallVoucher:function(){uni.navigateTo({url:"/pages/home/pointsgoods/PointMallVoucher"})},goVoucher:function(){uni.navigateTo({url:"/pages/home/pointsgoods/PointVoucher"})},goProd:function(){uni.navigateTo({url:"/pages/home/pointsgoods/PointProd"})}}};e.default=u},"92a1":function(t,e,i){"use strict";var n=i("3131"),a=i.n(n);a.a},"970a":function(t,e,i){"use strict";i.r(e);var n=i("0731"),a=i("566d");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("5a85");var s=i("f0c5"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"05d018fa",null,!1,n["a"],void 0);e["default"]=r.exports},a71f:function(t,e,i){"use strict";i.r(e);var n=i("402b"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},a921:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.uploadMemberAvatar=e.uploadAuth=e.updateMemberInfo=e.updateMemberAuth=e.logout=e.goodsPoster=e.getMemberInfo=e.getMemberIndex=e.dropAuth=void 0;var n=i("887c");e.logout=function(t){return(0,n.requestApi)("/Logout/index","POST",{username:t,client:"wap"},"member")};e.getMemberIndex=function(){return(0,n.requestApi)("/Member/index","POST",{},"member")};e.getMemberInfo=function(){return(0,n.requestApi)("/Member/information","POST",{},"member")};e.updateMemberInfo=function(t){return(0,n.requestApi)("/Member/edit_information","POST",{member_nickname:t.member_nickname,member_qq:t.member_qq,member_ww:t.member_ww,member_birthday:t.member_birthday},"member")};e.uploadMemberAvatar=function(t){return(0,n.requestApi)("/Member/edit_memberavatar","POST",t,"member",!0)};e.uploadAuth=function(t){return(0,n.requestApi)("/Member/edit_auth","POST",t,"member",!0)};e.dropAuth=function(t){return(0,n.requestApi)("/Member/drop_auth","POST",{file_name:t},"member")};e.updateMemberAuth=function(t,e,i){return(0,n.requestApi)("/Member/auth","POST",{member_truename:t,member_idcard:e,if_confirm:i},"member")};e.goodsPoster=function(t){return(0,n.requestApi)("/Member/goods_poster","POST",{goods_id:t},"member")}},cc71:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),o=i("26cb"),s=i("784d"),r=i("0d25"),c={name:"index",data:function(){return{dialog:{},hongbaobg:r.env.SITE_URL+"/uploads/home/h5/home/hongbao_bg.png"}},computed:(0,a.default)({},(0,o.mapState)({isOnline:function(t){return t.member.isOnline},token:function(t){return t.member.token}})),props:["item"],components:{},methods:{closeDialog:function(){},confirmDialog:function(t){(0,s.exchangePointVoucher)({vid:this.dialog.data.vouchertemplate_id,key:this.token}).then((function(t){uni.showToast({icon:"none",title:t.message})})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))},exchangeVoucher:function(t){this.dialog={content:"您确定需要使用"+t.vouchertemplate_points+"积分兑换代金券吗?",data:t},this.$refs.confirm.open()}}};e.default=c},dfa0:function(t,e,i){var n=i("392a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("60221fb6",n,!0,{sourceMap:!1,shadowMode:!1})},e0b1:function(t,e,i){"use strict";i.r(e);var n=i("fe22"),a=i("59fe");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("92a1");var s=i("f0c5"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"79d8ef21",null,!1,n["a"],void 0);e["default"]=r.exports},fe22:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={pageMeta:i("6d42").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("page-meta",{attrs:{"root-font-size":t.fontSize+"px"}}),i("home-base",{attrs:{show:!0}},[i("v-uni-view",{staticClass:"div main-content"},[i("index-header"),i("v-uni-view",{staticClass:"div body-wrap no-login"},[t.mallvoucherList.length?i("v-uni-view",{staticClass:"div point-exchange-wrap"},[i("v-uni-view",{staticClass:"div type-wrap"},[i("v-uni-view",{staticClass:"div content"},[i("v-uni-view",{staticClass:"div text-content type-name"},[i("v-uni-text",{staticClass:"span"},[t._v("积分换平台代金券")])],1),i("v-uni-view",{staticClass:"div view-content"}),i("v-uni-view",{staticClass:"div text-content type-sub"},[i("v-uni-text",{staticClass:"span"},[t._v("代金券在手,省钱有道")])],1)],1),i("v-uni-view",{staticClass:"div type-sub",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goMallVoucher()}}},[t._v("更多"),i("v-uni-text",{staticClass:"span iconfont type-sub"},[t._v("")])],1)],1),i("v-uni-view",{staticClass:"div list-wrap"},t._l(t.mallvoucherList,(function(t,e){return i("index-mall-voucher-item",{key:e,staticClass:"list-wrap-item",attrs:{item:t}})})),1)],1):t._e(),t.voucherList.length?i("v-uni-view",{staticClass:"div point-exchange-wrap"},[i("v-uni-view",{staticClass:"div type-wrap"},[i("v-uni-view",{staticClass:"div content"},[i("v-uni-view",{staticClass:"div text-content type-name"},[i("v-uni-text",{staticClass:"span"},[t._v("积分换店铺代金券")])],1),i("v-uni-view",{staticClass:"div view-content"}),i("v-uni-view",{staticClass:"div text-content type-sub"},[i("v-uni-text",{staticClass:"span"},[t._v("代金券在手,省钱有道")])],1)],1),i("v-uni-view",{staticClass:"div type-sub",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goVoucher()}}},[t._v("更多"),i("v-uni-text",{staticClass:"span iconfont type-sub"},[t._v("")])],1)],1),i("v-uni-view",{staticClass:"div list-wrap"},t._l(t.voucherList,(function(t,e){return i("index-voucher-item",{key:e,staticClass:"list-wrap-item",attrs:{item:t}})})),1)],1):t._e(),t.goodsList.length?i("v-uni-view",{staticClass:"div point-exchange-wrap"},[i("v-uni-view",{staticClass:"div type-wrap"},[i("v-uni-view",{staticClass:"div content"},[i("v-uni-view",{staticClass:"div text-content type-name"},[i("v-uni-text",{staticClass:"span"},[t._v("积分换好物")])],1),i("v-uni-view",{staticClass:"div view-content"}),i("v-uni-view",{staticClass:"div text-content type-sub"},[i("v-uni-text",{staticClass:"span"},[t._v("积累积分,兑换好物")])],1)],1),i("v-uni-view",{staticClass:"div type-sub",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goProd()}}},[t._v("更多"),i("v-uni-text",{staticClass:"span iconfont type-sub"},[t._v("")])],1)],1),i("v-uni-view",{staticClass:"div list-wrap"},[i("v-uni-view",{staticClass:"div goods-list double-column"},t._l(t.goodsList,(function(t,e){return i("index-prod-item",{key:e,staticClass:"goods-item",attrs:{item:t}})})),1)],1)],1):t._e(),0==t.voucherList.length&&0==t.goodsList.length&&0==t.mallvoucherList.length?i("empty-record"):t._e()],1)],1)],1)],1)},o=[]}}]);