pages-my-sponsored.ee2f6147.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-sponsored"],{"0785":function(t,e,i){"use strict";var a=i("a1e4"),n=i.n(a);n.a},"094e":function(t,e,i){"use strict";var a=i("9e2b"),n=i.n(a);n.a},"0d511":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("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}};e.default=a},5606:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".zaiui-bar-title-box .cu-bar[data-v-095caefc]{padding-top:0;min-height:calc(0px + %?101?%)}.zaiui-bar-title-box .cu-bar .content[data-v-095caefc]{top:0}.zaiui-bar-title-box .cu-bar .content .cu-tag[data-v-095caefc]{position:relative;top:%?-2.72?%;padding:0 %?5.45?%}.zaiui-bar-title-box .cu-bar .content .cu-tag uni-text[data-v-095caefc]{position:relative;top:%?2?%}.zaiui-bar-title-box .cu-bar.fixed.no-shadow[data-v-095caefc]{box-shadow:inherit}.zaiui-bar-title-box .cu-bar.bg-white[data-v-095caefc]{color:#333}.zaiui-bar-title-box .zaiui-seat-height[data-v-095caefc]{width:100%;height:calc(0px + %?101?%)}",""]),t.exports=e},"713c":function(t,e,i){"use strict";i.r(e);var a=i("ede5"),n=i("df75a");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("094e");var o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"095caefc",null,!1,a["a"],void 0);e["default"]=c.exports},"855a":function(t,e,i){var a=i("24fb");e=a(!1),e.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=e},"96b4":function(t,e,i){"use strict";i.r(e);var a=i("98fc"),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},"98fc":function(t,e,i){"use strict";i("7a82");var a=i("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("713c")),s=a(i("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})}}};e.default=o},"9e2b":function(t,e,i){var a=i("5606");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("38d2a49e",a,!0,{sourceMap:!1,shadowMode:!1})},a1e4:function(t,e,i){var a=i("855a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("3449e60b",a,!0,{sourceMap:!1,shadowMode:!1})},a279: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",[i("bar-title",{attrs:{bgColor:"bg-white",isBack:!0}},[i("template",{attrs:{slot:"content"},slot:"content"},[t._v("我的红包")]),i("template",{attrs:{slot:"right"},slot:"right"},[i("v-uni-text",{staticClass:"text-black"},[t._v("使用说明")])],1)],2),i("v-uni-scroll-view",{staticClass:"bg-white nav z text-center",attrs:{"scroll-x":!0}},[t._l(t.TabData,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"cu-item",class:a==t.TabCur?"select":"",attrs:{"data-id":a},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabSelect.apply(void 0,arguments)}}},[i("v-uni-view",{class:a==t.TabCur?"text-black":""},[t._v(t._s(e))]),i("v-uni-view",{staticClass:"tab-dot bg-red"})],1)]}))],2),i("v-uni-view",{staticClass:"zaiui-sponsored-card-view"},[i("v-uni-view",{staticClass:"card-price-view"},[i("v-uni-view",{staticClass:"text-red price-left-view"},[i("v-uni-text",{staticClass:"text-sm"},[t._v("¥")]),i("v-uni-text",{staticClass:"price"},[t._v("10")])],1),i("v-uni-view",{staticClass:"name-content-view"},[i("v-uni-view",{staticClass:"text-cut text-red"},[t._v("限购【某某某】店铺商品")]),i("v-uni-view",{staticClass:"text-xs"},[t._v("满99元可用")]),i("v-uni-view",{staticClass:"text-xs"},[t._v("04.01 00:00 - 12.01 23:59")])],1),i("v-uni-view",{staticClass:"btn-right-view"},[i("v-uni-button",{staticClass:"cu-btn bg-red round sm"},[t._v("去使用")])],1)],1),i("v-uni-view",{staticClass:"card-num-view"},[i("v-uni-view",{staticClass:"text-xs"},[t._v("满99可用")]),i("v-uni-text",{staticClass:"cuIcon-unfold"})],1)],1),i("v-uni-view",{staticClass:"zaiui-sponsored-card-view"},[i("v-uni-view",{staticClass:"card-price-view"},[i("v-uni-view",{staticClass:"text-red price-left-view"},[i("v-uni-text",{staticClass:"text-sm"},[t._v("¥")]),i("v-uni-text",{staticClass:"price"},[t._v("10")])],1),i("v-uni-view",{staticClass:"name-content-view"},[i("v-uni-view",{staticClass:"text-cut text-red"},[t._v("限购【某某某】店铺商品")]),i("v-uni-view",{staticClass:"text-xs"},[t._v("满99元可用")]),i("v-uni-view",{staticClass:"text-xs"},[t._v("04.01 00:00 - 12.01 23:59")])],1),i("v-uni-view",{staticClass:"btn-right-view"},[i("v-uni-button",{staticClass:"cu-btn bg-red round sm"},[t._v("去使用")])],1)],1),i("v-uni-view",{staticClass:"card-num-view"},[i("v-uni-view",{staticClass:"text-xs"},[t._v("满99可用")]),i("v-uni-text",{staticClass:"cuIcon-unfold"})],1)],1),i("v-uni-view",{staticClass:"zaiui-sponsored-card-view"},[i("v-uni-view",{staticClass:"card-price-view"},[i("v-uni-view",{staticClass:"text-red price-left-view"},[i("v-uni-text",{staticClass:"text-sm"},[t._v("¥")]),i("v-uni-text",{staticClass:"price"},[t._v("10")])],1),i("v-uni-view",{staticClass:"name-content-view"},[i("v-uni-view",{staticClass:"text-cut text-red"},[t._v("限购【某某某】店铺商品")]),i("v-uni-view",{staticClass:"text-xs"},[t._v("满99元可用")]),i("v-uni-view",{staticClass:"text-xs"},[t._v("04.01 00:00 - 12.01 23:59")])],1),i("v-uni-view",{staticClass:"btn-right-view"},[i("v-uni-button",{staticClass:"cu-btn bg-red round sm"},[t._v("去使用")])],1)],1),i("v-uni-view",{staticClass:"card-num-view"},[i("v-uni-view",{staticClass:"text-xs"},[t._v("满99可用")]),i("v-uni-text",{staticClass:"cuIcon-unfold"})],1)],1)],1)},n=[]},b27f:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0"),i("e25e"),i("c975"),i("ac1f"),i("5319");var a={strLeng:function(t){if(t){for(var e=t.length,i=0,a=0;a<e;a++)t.charCodeAt(a)>128?i+=2:i+=1;return i}return 0},getPageNum:function(t,e){var i=Number(t)/Number(e);if(i%1!==0){var a=i.toString(),n=parseInt(a.substring(0,a.indexOf("."))),s=a.replace(/\d+\.(\d*)/,"$1");s>0&&(i=n+1)}return i},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;e.default=n},df75a:function(t,e,i){"use strict";i.r(e);var a=i("0d511"),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},e866:function(t,e,i){"use strict";i.r(e);var a=i("a279"),n=i("96b4");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("0785");var o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"1084fa4e",null,!1,a["a"],void 0);e["default"]=c.exports},ede5: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:"zaiui-bar-title-box",style:t.isWechatBrowser?"display: none;":""},[i("v-uni-view",{staticClass:"cu-bar",class:[t.fixed?"fixed":"",t.shadow?"":"no-shadow",t.bgColor]},[t.isBack?i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BackPage.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"}),i("v-uni-text",[t._v(t._s(t.backText))])],1):t._e(),t.isBack?t._e():i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.leftTap.apply(void 0,arguments)}}},[t._t("left")],2),i("v-uni-view",{staticClass:"content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.contentTap.apply(void 0,arguments)}}},[t._t("content")],2),i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.rightTap.apply(void 0,arguments)}}},[t._t("right")],2)],1),t.fixed?i("v-uni-view",{staticClass:"zaiui-seat-height"}):t._e()],1)},n=[]}}]);