1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-sponsored"],{"0785":function(t,i,e){"use strict";var a=e("a1e4"),n=e.n(a);n.a},"0d511":function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("c975");var a={name:"bar-title",props:{bgColor:{type:String,default:""},isBack:{type:Boolean,default:!0},backText:{type:String,default:""},fixed:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},title:{type:String,default:""}},data:function(){return{isWechatBrowser:!1}},methods:{BackPage:function(){uni.navigateBack()},leftTap:function(){this.$emit("leftTap")},contentTap:function(){this.$emit("contentTap")},rightTap:function(){this.$emit("rightTap")}},created:function(){uni.setNavigationBarTitle({title:this.title}),this.isWechatBrowser=navigator.userAgent.toLocaleLowerCase().indexOf("micromessenger")>0},watch:{title:function(t){uni.setNavigationBarTitle({title:t})}}};i.default=a},"5a30":function(t,i,e){var a=e("7ed5");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("e9abf2d4",a,!0,{sourceMap:!1,shadowMode:!1})},6675:function(t,i,e){"use strict";var a=e("5a30"),n=e.n(a);n.a},"713c":function(t,i,e){"use strict";e.r(i);var a=e("e88e"),n=e("df75a");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("6675");var o=e("f0c5"),r=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"1b7fdbfe",null,!1,a["a"],void 0);i["default"]=r.exports},"7ed5":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,".zaiui-bar-title-box .cu-bar[data-v-1b7fdbfe]{padding-top:0;min-height:calc(0px + %?101?%)}.zaiui-bar-title-box .cu-bar .content[data-v-1b7fdbfe]{top:0}.zaiui-bar-title-box .cu-bar .content .cu-tag[data-v-1b7fdbfe]{position:relative;top:%?-2.72?%;padding:0 %?5.45?%}.zaiui-bar-title-box .cu-bar .content .cu-tag uni-text[data-v-1b7fdbfe]{position:relative;top:%?2?%}.zaiui-bar-title-box .cu-bar.fixed.no-shadow[data-v-1b7fdbfe]{box-shadow:inherit}.zaiui-bar-title-box .cu-bar.bg-white[data-v-1b7fdbfe]{color:#333}.zaiui-bar-title-box .zaiui-seat-height[data-v-1b7fdbfe]{width:100%;height:calc(0px + %?101?%)}",""]),t.exports=i},"855a":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'uni-page-body[data-v-1084fa4e]{background:#fff}body.?%PAGE?%[data-v-1084fa4e]{background:#fff}.zaiui-sponsored-card-view[data-v-1084fa4e]{position:relative;margin:%?27.27?% %?27.27?% 0}.zaiui-sponsored-card-view .card-price-view[data-v-1084fa4e]{position:relative;background:#fff5f5;border-radius:%?14.54?% %?14.54?% 0 0;padding:%?18.18?%}.zaiui-sponsored-card-view .card-price-view .price-left-view[data-v-1084fa4e]{position:absolute;height:%?125.45?%;width:%?145.45?%;text-align:center;line-height:%?125.45?%}.zaiui-sponsored-card-view .card-price-view .price-left-view .price[data-v-1084fa4e]{font-size:%?45.45?%;font-weight:400}.zaiui-sponsored-card-view .card-price-view .name-content-view[data-v-1084fa4e]{position:relative;padding-left:%?163.63?%;padding-right:%?145.45?%;height:%?125.45?%;line-height:1.8;color:#999898}.zaiui-sponsored-card-view .card-price-view .name-content-view[data-v-1084fa4e]::before{content:"";position:absolute;top:%?-18.18?%;bottom:%?-18.18?%;margin-left:%?-18.18?%;border-left:%?2?% dashed #fdbabc}.zaiui-sponsored-card-view .card-price-view .btn-right-view[data-v-1084fa4e]{position:absolute;right:%?27.27?%;top:%?18.18?%;height:%?125.45?%;line-height:%?125.45?%}.zaiui-sponsored-card-view .card-num-view[data-v-1084fa4e]{position:relative;background:#ffeced;border-radius:0 0 %?14.54?% %?14.54?%;border-top:%?2?% dashed #dedbdb;padding:%?10.9?% %?27.27?%;color:#999898}.zaiui-sponsored-card-view .card-num-view[data-v-1084fa4e]::before{content:"";position:absolute;width:%?36.36?%;height:%?36.36?%;background:#fff;border-radius:50%;top:%?-18.18?%;left:%?-18.18?%}.zaiui-sponsored-card-view .card-num-view[data-v-1084fa4e]::after{content:"";position:absolute;width:%?36.36?%;height:%?36.36?%;background:#fff;border-radius:50%;top:%?-18.18?%;right:%?-18.18?%}.zaiui-sponsored-card-view .card-num-view uni-view[data-v-1084fa4e]{position:relative;padding-right:%?72.72?%}.zaiui-sponsored-card-view .card-num-view uni-text[data-v-1084fa4e]{position:absolute;right:%?27.27?%;top:%?14.54?%}',""]),t.exports=i},"96b4":function(t,i,e){"use strict";e.r(i);var a=e("98fc"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},"98fc":function(t,i,e){"use strict";e("7a82");var a=e("ee27").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=a(e("713c")),s=a(e("b27f")),o={components:{barTitle:n.default},data:function(){return{TabCur:0,TabData:["未使用(4)","已使用","已过期"]}},onLoad:function(){},onReady:function(){s.default.setBarColor(!0),uni.pageScrollTo({scrollTop:0,duration:0})},methods:{tabSelect:function(t){this.TabCur=t.currentTarget.dataset.id,uni.pageScrollTo({scrollTop:0,duration:0})}}};i.default=o},a1e4:function(t,i,e){var a=e("855a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("3449e60b",a,!0,{sourceMap:!1,shadowMode:!1})},a279:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",[e("bar-title",{attrs:{bgColor:"bg-white",isBack:!0}},[e("template",{attrs:{slot:"content"},slot:"content"},[t._v("我的红包")]),e("template",{attrs:{slot:"right"},slot:"right"},[e("v-uni-text",{staticClass:"text-black"},[t._v("使用说明")])],1)],2),e("v-uni-scroll-view",{staticClass:"bg-white nav z text-center",attrs:{"scroll-x":!0}},[t._l(t.TabData,(function(i,a){return[e("v-uni-view",{key:a+"_0",staticClass:"cu-item",class:a==t.TabCur?"select":"",attrs:{"data-id":a},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.tabSelect.apply(void 0,arguments)}}},[e("v-uni-view",{class:a==t.TabCur?"text-black":""},[t._v(t._s(i))]),e("v-uni-view",{staticClass:"tab-dot bg-red"})],1)]}))],2),e("v-uni-view",{staticClass:"zaiui-sponsored-card-view"},[e("v-uni-view",{staticClass:"card-price-view"},[e("v-uni-view",{staticClass:"text-red price-left-view"},[e("v-uni-text",{staticClass:"text-sm"},[t._v("¥")]),e("v-uni-text",{staticClass:"price"},[t._v("10")])],1),e("v-uni-view",{staticClass:"name-content-view"},[e("v-uni-view",{staticClass:"text-cut text-red"},[t._v("限购【某某某】店铺商品")]),e("v-uni-view",{staticClass:"text-xs"},[t._v("满99元可用")]),e("v-uni-view",{staticClass:"text-xs"},[t._v("04.01 00:00 - 12.01 23:59")])],1),e("v-uni-view",{staticClass:"btn-right-view"},[e("v-uni-button",{staticClass:"cu-btn bg-red round sm"},[t._v("去使用")])],1)],1),e("v-uni-view",{staticClass:"card-num-view"},[e("v-uni-view",{staticClass:"text-xs"},[t._v("满99可用")]),e("v-uni-text",{staticClass:"cuIcon-unfold"})],1)],1),e("v-uni-view",{staticClass:"zaiui-sponsored-card-view"},[e("v-uni-view",{staticClass:"card-price-view"},[e("v-uni-view",{staticClass:"text-red price-left-view"},[e("v-uni-text",{staticClass:"text-sm"},[t._v("¥")]),e("v-uni-text",{staticClass:"price"},[t._v("10")])],1),e("v-uni-view",{staticClass:"name-content-view"},[e("v-uni-view",{staticClass:"text-cut text-red"},[t._v("限购【某某某】店铺商品")]),e("v-uni-view",{staticClass:"text-xs"},[t._v("满99元可用")]),e("v-uni-view",{staticClass:"text-xs"},[t._v("04.01 00:00 - 12.01 23:59")])],1),e("v-uni-view",{staticClass:"btn-right-view"},[e("v-uni-button",{staticClass:"cu-btn bg-red round sm"},[t._v("去使用")])],1)],1),e("v-uni-view",{staticClass:"card-num-view"},[e("v-uni-view",{staticClass:"text-xs"},[t._v("满99可用")]),e("v-uni-text",{staticClass:"cuIcon-unfold"})],1)],1),e("v-uni-view",{staticClass:"zaiui-sponsored-card-view"},[e("v-uni-view",{staticClass:"card-price-view"},[e("v-uni-view",{staticClass:"text-red price-left-view"},[e("v-uni-text",{staticClass:"text-sm"},[t._v("¥")]),e("v-uni-text",{staticClass:"price"},[t._v("10")])],1),e("v-uni-view",{staticClass:"name-content-view"},[e("v-uni-view",{staticClass:"text-cut text-red"},[t._v("限购【某某某】店铺商品")]),e("v-uni-view",{staticClass:"text-xs"},[t._v("满99元可用")]),e("v-uni-view",{staticClass:"text-xs"},[t._v("04.01 00:00 - 12.01 23:59")])],1),e("v-uni-view",{staticClass:"btn-right-view"},[e("v-uni-button",{staticClass:"cu-btn bg-red round sm"},[t._v("去使用")])],1)],1),e("v-uni-view",{staticClass:"card-num-view"},[e("v-uni-view",{staticClass:"text-xs"},[t._v("满99可用")]),e("v-uni-text",{staticClass:"cuIcon-unfold"})],1)],1)],1)},n=[]},b27f:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3"),e("d401"),e("d3b7"),e("25f0"),e("e25e"),e("c975"),e("ac1f"),e("5319");var a={strLeng:function(t){if(t){for(var i=t.length,e=0,a=0;a<i;a++)t.charCodeAt(a)>128?e+=2:e+=1;return e}return 0},getPageNum:function(t,i){var e=Number(t)/Number(i);if(e%1!==0){var a=e.toString(),n=parseInt(a.substring(0,a.indexOf("."))),s=a.replace(/\d+\.(\d*)/,"$1");s>0&&(e=n+1)}return e},setBarColor:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?uni.setNavigationBarColor({frontColor:"#000000",backgroundColor:"#FAFAFA"}):uni.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:"#FAFAFA"})},zaiui_log:function(t){}},n=a;i.default=n},df75a:function(t,i,e){"use strict";e.r(i);var a=e("0d511"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},e866:function(t,i,e){"use strict";e.r(i);var a=e("a279"),n=e("96b4");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("0785");var o=e("f0c5"),r=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"1084fa4e",null,!1,a["a"],void 0);i["default"]=r.exports},e88e:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"zaiui-bar-title-box",style:t.isWechatBrowser?"display: none;":""},[e("v-uni-view",{staticClass:"cu-bar",class:[t.fixed?"fixed":"",t.shadow?"":"no-shadow",t.bgColor]},[t.isBack?e("v-uni-view",{staticClass:"action",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.BackPage.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"cuIcon-back"}),e("v-uni-text",[t._v(t._s(t.backText))])],1):t._e(),t.isBack?t._e():e("v-uni-view",{staticClass:"action",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.leftTap.apply(void 0,arguments)}}},[t._t("left")],2),e("v-uni-view",{staticClass:"content",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.contentTap.apply(void 0,arguments)}}},[t._t("content")],2),e("v-uni-view",{staticClass:"action",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.rightTap.apply(void 0,arguments)}}},[t._t("right")],2)],1),t.fixed?e("v-uni-view",{staticClass:"zaiui-seat-height"}):t._e()],1)},n=[]}}]);
|