You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xxdj1/unpackage/dist/build/h5/static/js/user-pages-coupon-list.0b46...

1 line
8.5 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-coupon-list"],{"042e":function(t,e,i){"use strict";i.r(e);var a=i("d795"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"7b37":function(t,e,i){"use strict";i.r(e);var a=i("a3b8"),n=i("042e");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("9217");var r=i("f0c5"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"f59ddbd2",null,!1,a["a"],void 0);e["default"]=o.exports},9217:function(t,e,i){"use strict";var a=i("ed42"),n=i.n(a);n.a},"9c59":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/* 文章场景相关 */.user-coupon-list .list-item[data-v-f59ddbd2]{overflow:hidden}.user-coupon-list .list-item .item-title[data-v-f59ddbd2]{top:0;left:0;height:%?50?%;background:#ffe2e2;border-radius:%?15?% 0 %?15?% 0}.user-coupon-list .list-item .use-btn[data-v-f59ddbd2]{width:%?140?%;height:%?56?%;-webkit-transform:rotate(1turn);transform:rotate(1turn)}',""]),t.exports=e},a3b8: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:"user-coupon-list"},[i("fixed",[i("tab",{attrs:{list:t.tabList,activeIndex:1*t.activeIndex,activeColor:t.primaryColor,width:"33.3%",height:"100rpx"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handerTabChange.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"b-1px-b"})],1),t._l(t.list.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item rel mt-md ml-lg mr-lg fill-base radius-16",class:[{grayscale:t.activeIndex>0}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(a)}}},[i("v-uni-view",{staticClass:"item-title flex-center pl-md pr-md abs f-paragraph c-warning"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:" mt-lg pd-lg"},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"f-caption c-caption"},[i("v-uni-view",{staticClass:"flex-y-baseline"},[i("v-uni-view",{staticClass:"flex-y-baseline c-warning"},[t._v("¥"),i("v-uni-view",{staticClass:"f-md-title"},[t._v(t._s(e.discount))])],1),i("v-uni-view",{staticClass:"ml-sm"},[t._v(t._s(0==e.type?"满"+e.full+"元可用":"无门槛"))])],1),i("v-uni-view",[t._v("数量:x"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"use-btn flex-center f-caption radius",style:{color:t.primaryColor,background:t.activeIndex>0?"#eee":"",border:t.activeIndex>0?"1rpx solid #eee":"1rpx solid "+t.primaryColor}},[t._v(t._s(t.statusType[e.status]))])],1),i("v-uni-view",{staticClass:"f-caption c-caption mt-sm"},[t._v("有效期:"+t._s(e.start_time))])],1),i("v-uni-view",{staticClass:"flex-between fill-space f-caption c-caption pt-md pb-md pl-lg pr-lg b-1px-t",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toShowItem(a)}}},[i("v-uni-view",[t._v("查看详情")]),i("i",{staticClass:"icon