| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-my_coupon-my_coupon_detail"],{"0523":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return 0==t.shenheStatus?n("v-uni-view",{staticClass:"s_c_container"},[n("v-uni-view",{staticClass:"s_c_box"},[n("v-uni-view",{staticClass:"box_top"},[n("v-uni-view",{staticStyle:{"font-size":"65rpx","font-weight":"bold","text-align":"center","line-height":"120rpx"}},[t._v("¥"+t._s(t.detail.sub_price||"0.00"))]),n("v-uni-view",{staticStyle:{"text-align":"center","font-size":"30rpx"}},[t._v(t._s(t.detail.min_price_desc||""))])],1),n("v-uni-view",{staticClass:"box_bottom"},[n("v-uni-view",{staticClass:"bottom_title"},[t._v(t._s(t.$t("coupon.validity")))]),n("v-uni-view",{staticClass:"bottom_value"},[t._v(t._s(t.detail.begin_time||"")+" ~ "+t._s(t.detail.end_time||""))]),n("v-uni-view",{staticClass:"bottom_title"},[t._v(t._s(t.$t("coupon.rules")))]),n("v-uni-view",{staticClass:"bottom_value"},[t._v(t._s(1==t.detail.appoint_type?t.$t("coupon.cat"):2==t.detail.appoint_type?t.$t("coupon.goods"):""))]),n("v-uni-view",{staticClass:"bottom_title"},[t._v(t._s(t.$t("coupon.explain")))]),n("v-uni-view",{staticClass:"bottom_value"},[t._v(t._s(t.detail.rule||""))])],1)],1)],1):1==t.shenheStatus?n("Shenhe"):t._e()},a=[]},1711:function(t,e,n){var o=n("e9f3");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=n("967d").default;a("198ed9d2",o,!0,{sourceMap:!1,shadowMode:!1})},"2dab":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("2634")),i=o(n("2fdc")),s=o(n("2ba3")),c={components:{Shenhe:s.default},data:function(){return{detail:{}}},filters:{},onLoad:function(t){uni.setNavigationBarTitle({title:this.$t("title.myCouponDetail")}),this.getDetailById(t.id)},methods:{getDetailById:function(t){var e=this;return(0,i.default)((0,a.default)().mark((function n(){var o;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$allrequest.coupon.couponDetail({coupon_id:"",user_conpon_id:t});case 3:o=n.sent,0==o.code?e.detail=o.data.list:e.$utils.toast(o.msg),n.next=9;break;case 7:n.prev=7,n.t0=n["catch"](0);case 9:case"end":return n.stop()}}),n,null,[[0,7]])})))()}}};e.default=c},7782:function(t,e,n){"use strict";var o=n("1711"),a=n.n(o);a.a},"849d8":function(t,e,n){"use strict";n.r(e);var o=n("2dab"),a=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},a76a:function(t,e,n){"use strict";n.r(e);var o=n("0523"),a=n("849d8");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("7782");var s=n("828b"),c=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"be6d7fdc",null,!1,o["a"],void 0);e["default"]=c.exports},e9f3: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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-be6d7fdc] .u-form-item--right__content__slot > uni-view,[data-v-be6d7fdc] .u-form-item--right__content__slot > div,[data-v-be6d7fdc] .u-form-item--right__content__slot > span,[data-v-be6d7fdc] .u-form-item--right__content__slot > uni-text{width:100%}.s_c_container[data-v-be6d7fdc]{height:100vh;background-color:#ff7b33;padding:%?30?%}.s_c_container .s_c_box[data-v-be6d7fdc]{background-color:#fff;width:100%;border-radius:%?20?%;position:relative}.s_c_container .s_c_box .box_top[data-v-be6d7fdc]{padding:%?40?% 0;text-align:center;border-bottom:1px dashed #ccc}.s_c_container .s_c_box .box_bottom[data-v-be6d7fdc]{font-size:%?32?%;padding:%?40?%}.s_c_container .s_c_box .box_bottom .bottom_title[data-v-be6d7fdc]{line-height:%?50?%;color:grey}.s_c_container .s_c_box .box_bottom .bottom_value[data-v-be6d7fdc]{line-height:%?70?%}.s_c_container .s_c_box[data-v-be6d7fdc]::before{content:"";position:absolute;width:%?50?%;height:%?50?%;background-color:#ff7b33;border-radius:%?25?%;left:0;top:31%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.s_c_container .s_c_box[data-v-be6d7fdc]::after{content:"";position:absolute;width:%?50?%;height:%?50?%;background-color:#ff7b33;border-radius:%?25?%;right:0;top:31%;-webkit-transform:translateX(50%);transform:translateX(50%)}',""]),t.exports=e}}]);
|