| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesUser-collect-collectList","pagesGoods-sweepstakes-mySubscribe~pagesGoods-sweepstakes-sweepstakesGoods~pagesUser-asset-bonusLog~~b38ac6b9"],{"027e":function(t,e,o){var n=o("208f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=o("4f06").default;r("40b1af5d",n,!0,{sourceMap:!1,shadowMode:!1})},"0c86":function(t,e,o){"use strict";o.r(e);var n=o("c038"),r=o.n(n);for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"0eaa":function(t,e,o){"use strict";o.r(e);var n=o("450a"),r=o("0c86");for(var a in r)"default"!==a&&function(t){o.d(e,t,(function(){return r[t]}))}(a);o("bac1");var i,s=o("f0c5"),l=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"0f872755",null,!1,n["a"],i);e["default"]=l.exports},1043:function(t,e,o){"use strict";o.r(e);var n=o("afd2"),r=o.n(n);for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"208f":function(t,e,o){var n=o("24fb");e=n(!1),e.push([t.i,".mescroll-body[data-v-6783eed4]{position:relative; /* 下拉刷新区域相对自身定位 */height:auto; /* 不可固定高度,否则overflow:hidden导致无法滑动; 同时使设置的最小高生效,实现列表不满屏仍可下拉*/overflow:hidden; /* 当有元素写在mescroll-body标签前面时,可遮住下拉刷新区域 */box-sizing:border-box /* 避免设置padding出现双滚动条的问题 */}\n\n/* 使sticky生效: 父元素不能overflow:hidden或者overflow:auto属性 */.mescroll-body.mescorll-sticky[data-v-6783eed4]{overflow:unset!important}\n\n/* 适配 iPhoneX */@supports (bottom:constant(safe-area-inset-bottom)) or (bottom:env(safe-area-inset-bottom)){.mescroll-safearea[data-v-6783eed4]{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}}\n\n/* 下拉刷新区域 */.mescroll-downwarp[data-v-6783eed4]{position:absolute;top:-100%;left:0;width:100%;height:100%;text-align:center}\n\n/* 下拉刷新--内容区,定位于区域底部 */.mescroll-downwarp .downwarp-content[data-v-6783eed4]{position:absolute;left:0;bottom:0;width:100%;min-height:%?60?%;padding:%?20?% 0;text-align:center}\n\n/* 下拉刷新--提示文本 */.mescroll-downwarp .downwarp-tip[data-v-6783eed4]{display:inline-block;font-size:%?28?%;vertical-align:middle;margin-left:%?16?%\n\t/* color: gray; 已在style设置color,此处删去*/}\n\n/* 下拉刷新--旋转进度条 */.mescroll-downwarp .downwarp-progress[data-v-6783eed4]{display:inline-block;width:%?32?%;height:%?32?%;border-radius:50%;border:%?2?% solid grey;border-bottom-color:transparent!important; /*已在style设置border-color,此处需加 !important*/vertical-align:middle}\n\n/* 旋转动画 */.mescroll-downwarp .mescroll-rotate[data-v-6783eed4]{-webkit-animation:mescrollDownRotate-data-v-6783eed4 .6s linear infinite;animation:mescrollDownRotate-data-v-6783eed4 .6s linear infinite}@-webkit-keyframes mescrollDownRotate-data-v-6783eed4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes mescrollDownRotate-data-v-6783eed4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}\n\n/* 上拉加载区域 */.mescroll-upwarp[data-v-6783eed4]{box-sizing:border-box;min-height:%?110?%;padding:%?30?% 0;text-align:center;clear:both}\n\n/*提示文本 */.mescroll-upwarp .upwarp-tip[data-v-6783eed4],\n.mescroll-upwarp .upwarp-nodata[data-v-6783eed4]{display:inline-block;font-size:%?28?%;vertical-align:middle\n\t/* color: gray; 已在style设置color,此处删去*/}.mescroll-upwarp .upwarp-tip[data-v-6783eed4]{margin-left:%?16?%}\n\n/*旋转进度条 */.mescroll-upwarp .upwarp-progress[data-v-6783eed4]{display:inline-block;width:%?32?%;height:%?32?%;border-radius:50%;border:%?2?% solid grey;border-bottom-color:transparent!important; /*已在style设置border-color,此处需加 !important*/vertical-align:middle}\n\n/* 旋转动画 */.mescroll-upwarp .mescroll-rotate[data-v-6783eed4]{-webkit-animation:mescrollUpRotate-data-v-6783eed4 .6s linear infinite;animation:mescrollUpRotate-data-v-6783eed4 .6s linear infinite}@-webkit-keyframes mescrollUpRotate-data-v-6783eed4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes mescrollUpRotate-data-v-6783eed4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}",""]),t.exports=e},"417a":function(t,e,o){var n=o("24fb");e=n(!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/* uni.scss */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.partAutoHeight[data-v-0f872755]{height:100%}',""]),t.exports=e},"450a":function(t,e,o){"use strict";o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return n}));var n={mescrollBody:o("7084").default,mescrollUni:o("3e38").default},r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",[t._t("top"),t.isPart?o("mescroll-uni",{ref:"mescrollRef",attrs:{down:t.downOpt,up:t.upOpt,sticky:t.isSticky,top:t.top,bottom:t.bottom,bottombar:!1,fixed:!1,height:t.height},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCbHandle.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[t._t("default")],2):o("mescroll-body",{ref:"mescrollRef",attrs:{down:t.downOpt,up:t.upOpt,sticky:t.isSticky,top:t.top,bottom:t.bottom,bottombar:!1},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCbHandle.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[t._t("default")],2),t._t("bottom")],2)},a=[]},4967:function(t,e,o){"use strict";var n=o("4e4d"),r=o.n(n);r.a},"4e4d":function(t,e,o){var n=o("6dd1");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=o("4f06").default;r("44beea74",n,!0,{sourceMap:!1,shadowMode:!1})},"5ada":function(t,e,o){var n=o("417a");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=o("4f06").default;r("58dc59bd",n,!0,{sourceMap:!1,shadowMode:!1})},"6dd1":function(t,e,o){var n=o("24fb");e=n(!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/* uni.scss */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.item[data-v-c549f96a]{padding:%?30?% %?25?% %?25?%;margin-top:%?20?%}.item .img[data-v-c549f96a]{width:%?226?%;height:%?226?%;border-radius:%?10?%}.item .info[data-v-c549f96a]{margin-left:%?25?%}.item .btns[data-v-c549f96a]{margin-top:%?38?%}',""]),t.exports=e},"6f88":function(t,e,o){"use strict";o.r(e);var n=o("7a6b"),r=o.n(n);for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},7084:function(t,e,o){"use strict";o.r(e);var n=o("c64a"),r=o("fcf6");for(var a in r)"default"!==a&&function(t){o.d(e,t,(function(){return r[t]}))}(a);var i=o("6f88");for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);o("fd2e");var s=o("f0c5"),l=o("d7f4");r["default"].__module="renderBiz";var c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"6783eed4",null,!1,n["a"],r["default"]);"function"===typeof l["a"]&&Object(l["a"])(c),e["default"]=c.exports},"7a6b":function(t,e,o){"use strict";var n=o("4ea4");o("c975"),o("a9e3"),o("ac1f"),o("5319"),o("1276"),o("498a"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("bc34")),a=n(o("6486")),i=n(o("0df4")),s=n(o("05ff")),l=n(o("e112")),c={name:"mescroll-body",mixins:[l.default],components:{MescrollTop:s.default},props:{down:Object,up:Object,i18n:Object,top:[String,Number],topbar:[Boolean,String],bottom:[String,Number],safearea:Boolean,height:[String,Number],bottombar:{type:Boolean,default:!0},sticky:Boolean},data:function(){return{mescroll:{optDown:{},optUp:{}},downHight:0,downRate:0,downLoadType:0,upLoadType:0,isShowEmpty:!1,isShowToTop:!1,windowHeight:0,windowBottom:0,statusBarHeight:0}},computed:{minHeight:function(){return this.toPx(this.height||"100%")+"px"},numTop:function(){return this.toPx(this.top)},padTop:function(){return this.numTop+"px"},numBottom:function(){return this.toPx(this.bottom)},padBottom:function(){return this.numBottom+"px"},isDownReset:function(){return 3===this.downLoadType||4===this.downLoadType},transition:function(){return this.isDownReset?"transform 300ms":""},translateY:function(){return this.downHight>0?"translateY("+this.downHight+"px)":""},isDownLoading:function(){return 3===this.downLoadType},downRotate:function(){return"rotate("+360*this.downRate+"deg)"},downText:function(){if(!this.mescroll)return"";switch(this.downLoadType){case 1:return this.mescroll.optDown.textInOffset;case 2:return this.mescroll.optDown.textOutOffset;case 3:return this.mescroll.optDown.textLoading;case 4:return this.mescroll.isDownEndSuccess?this.mescroll.optDown.textSuccess:0==this.mescroll.isDownEndSuccess?this.mescroll.optDown.textErr:this.mescroll.optDown.textInOffset;default:return this.mescroll.optDown.textInOffset}}},methods:{toPx:function(t){if("string"===typeof t)if(-1!==t.indexOf("px"))if(-1!==t.indexOf("rpx"))t=t.replace("rpx","");else{if(-1===t.indexOf("upx"))return Number(t.replace("px",""));t=t.replace("upx","")}else if(-1!==t.indexOf("%")){var e=Number(t.replace("%",""))/100;return this.windowHeight*e}return t?uni.upx2px(Number(t)):0},emptyClick:function(){this.$emit("emptyclick",this.mescroll)},toTopClick:function(){this.mescroll.scrollTo(0,this.mescroll.optUp.toTop.duration),this.$emit("topclick",this.mescroll)}},created:function(){var t=this,e={down:{inOffset:function(){t.downLoadType=1},outOffset:function(){t.downLoadType=2},onMoving:function(e,o,n){t.downHight=n,t.downRate=o},showLoading:function(e,o){t.downLoadType=3,t.downHight=o},beforeEndDownScroll:function(e){return t.downLoadType=4,e.optDown.beforeEndDelay},endDownScroll:function(){t.downLoadType=4,t.downHight=0,t.downResetTimer&&(clearTimeout(t.downResetTimer),t.downResetTimer=null),t.downResetTimer=setTimeout((function(){4===t.downLoadType&&(t.downLoadType=0)}),300)},callback:function(e){t.$emit("down",e)}},up:{showLoading:function(){t.upLoadType=1},showNoMore:function(){t.upLoadType=2},hideUpScroll:function(e){t.upLoadType=e.optUp.hasNext?0:3},empty:{onShow:function(e){t.isShowEmpty=e}},toTop:{onShow:function(e){t.isShowToTop=e}},callback:function(e){t.$emit("up",e)}}},o=i.default.getType(),n={type:o};r.default.extend(n,t.i18n),r.default.extend(n,a.default.i18n),r.default.extend(e,n[o]),r.default.extend(e,{down:a.default.down,up:a.default.up});var s=JSON.parse(JSON.stringify({down:t.down,up:t.up}));r.default.extend(s,e),t.mescroll=new r.default(s,!0),t.mescroll.i18n=n,t.$emit("init",t.mescroll);var l=uni.getSystemInfoSync();l.windowHeight&&(t.windowHeight=l.windowHeight),l.windowBottom&&(t.windowBottom=l.windowBottom),l.statusBarHeight&&(t.statusBarHeight=l.statusBarHeight),t.mescroll.setBodyHeight(l.windowHeight),t.mescroll.resetScrollTo((function(e,o){"string"===typeof e?setTimeout((function(){var n;-1==e.indexOf("#")&&-1==e.indexOf(".")?n="#"+e:(n=e,-1!=e.indexOf(">>>")&&(n=e.split(">>>")[1].trim())),uni.createSelectorQuery().select(n).boundingClientRect((function(e){if(e){var r=e.top;r+=t.mescroll.getScrollTop(),uni.pageScrollTo({scrollTop:r,duration:o})}else console.error(n+" does not exist")})).exec()}),30):uni.pageScrollTo({scrollTop:e,duration:o})})),t.up&&t.up.toTop&&null!=t.up.toTop.safearea||(t.mescroll.optUp.toTop.safearea=t.safearea),uni.$on("setMescrollGlobalOption",(function(e){if(e){var o=e.i18n?e.i18n.type:null;if(o&&t.mescroll.i18n.type!=o&&(t.mescroll.i18n.type=o,i.default.setType(o),r.default.extend(e,t.mescroll.i18n[o])),e.down){var n=r.default.extend({},e.down);t.mescroll.optDown=r.default.extend(n,t.mescroll.optDown)}if(e.up){var a=r.default.extend({},e.up);t.mescroll.optUp=r.default.extend(a,t.mescroll.optUp)}}}))},destroyed:function(){uni.$off("setMescrollGlobalOption")}};e.default=c},afd2:function(t,e,o){"use strict";var n=o("4ea4");o("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("2909"));o("96cf");var a=n(o("1da1")),i=n(o("54de")),s={data:function(){return{lists:[]}},methods:{reload:function(){this.$refs.mescrollItem.reload()},getList:function(t){var e=this;return(0,a.default)(regeneratorRuntime.mark((function o(){var n;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,i.default.goodsAttList(t);case 2:return n=o.sent,e.lists=1===t.page?n:[].concat((0,r.default)(e.lists),(0,r.default)(n)),o.abrupt("return",n.length);case 5:case"end":return o.stop()}}),o)})))()},cancelAtt:function(t){var e=this;return(0,a.default)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,i.default.cancelAtt(t);case 2:e.reload();case 3:case"end":return o.stop()}}),o)})))()}},provide:function(){return{getList:this.getList}}};e.default=s},b90b:function(t,e,o){"use strict";o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return n}));var n={scroll:o("0eaa").default,uText:o("2c17").default,uButton:o("6bfb").default},r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("scroll",{ref:"mescrollItem"},[o("v-uni-view",{staticClass:"list w"},t._l(t.lists,(function(e){return o("v-uni-view",{key:e.id,staticClass:"item bg-white radius flex"},[o("v-uni-image",{staticClass:"img",attrs:{src:e.goods_img}}),o("v-uni-view",{staticClass:"info flex1"},[o("u-text",{attrs:{text:e.goods_name,size:"30rpx",bold:!0}}),o("u-text",{attrs:{text:e.attension_count+"人收藏",color:"#959595",margin:"20rpx 0",size:"24rpx"}}),o("v-uni-view",{staticClass:"flex"},[o("u-text",{attrs:{text:e.price,mode:"price",size:"32rpx",bold:!0}}),o("u-text",{attrs:{text:"赠送"+e.rebate_score+"积分",color:"#F76363",bold:!0,align:"right",size:"30rpx"}})],1),o("v-uni-view",{staticClass:"btns flex flex-end"},[o("u-button",{attrs:{text:"取消收藏",shape:"circle",plain:!0,customStyle:"width:150rpx;height:55rpx;margin:0 10rpx"},on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.cancelAtt(e.goods_id)}}}),o("u-button",{attrs:{text:"去购买",shape:"circle",color:"var(--theme)",customStyle:"width:150rpx;height:55rpx;margin:0"},on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.$jump({url:"/pagesGoods/goodsDetail/goodsDetail"},{sn:e.goods_sn})}}})],1)],1)],1)})),1)],1)},a=[]},b96c:function(t,e,o){"use strict";var n=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("af51")),a={mixins:[r.default]};e.default=a},bac1:function(t,e,o){"use strict";var n=o("5ada"),r=o.n(n);r.a},c038:function(t,e,o){"use strict";var n=o("4ea4");o("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("96cf");var r=n(o("1da1")),a=n(o("d0cc")),i={name:"scroll",mixins:[a.default],props:{downOpt:{default:function(){return{}}},upOpt:{default:function(){return{}}},isPart:Boolean,isSticky:Boolean,height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},bottom:{type:[String,Number],default:0}},inject:{downCb:{default:"no Function"},getList:{default:function(){return 0}}},methods:{downCbHandle:function(){"function"!==typeof this.downCb?this.downCallback():this.downCb()},upCallback:function(t){var e=this;return(0,r.default)(regeneratorRuntime.mark((function o(){var n;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,e.getList({page:t.num,limit:t.size});case 3:n=o.sent,e.mescroll.endSuccess(n),o.next=10;break;case 7:o.prev=7,o.t0=o["catch"](0),e.mescroll.endErr();case 10:case"end":return o.stop()}}),o,null,[[0,7]])})))()},reload:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.mescroll.resetUpScroll(t)}}};e.default=i},c64a:function(t,e,o){"use strict";o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return n}));var n={mescrollEmpty:o("1d92").default},r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{wxsProps:{"change:prop":"wxsProp"},staticClass:"mescroll-body mescroll-render-touch",class:{"mescorll-sticky":t.sticky},style:{minHeight:t.minHeight,"padding-top":t.padTop,"padding-bottom":t.padBottom},attrs:{"change:prop":t.wxsBiz.propObserver,prop:t.wxsProp},on:{touchstart:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchstartEvent(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchmoveEvent(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchendEvent(e,t.$getComponentDescriptor())},touchcancel:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchendEvent(e,t.$getComponentDescriptor())}}},[t.topbar&&t.statusBarHeight?o("v-uni-view",{staticClass:"mescroll-topbar",style:{height:t.statusBarHeight+"px",background:t.topbar}}):t._e(),o("v-uni-view",{wxsProps:{"change:prop":"callProp"},staticClass:"mescroll-body-content mescroll-wxs-content",style:{transform:t.translateY,transition:t.transition},attrs:{"change:prop":t.wxsBiz.callObserver,prop:t.callProp}},[t.mescroll.optDown.use?o("v-uni-view",{staticClass:"mescroll-downwarp",style:{background:t.mescroll.optDown.bgColor,color:t.mescroll.optDown.textColor}},[o("v-uni-view",{staticClass:"downwarp-content"},[o("v-uni-view",{staticClass:"downwarp-progress mescroll-wxs-progress",class:{"mescroll-rotate":t.isDownLoading},style:{"border-color":t.mescroll.optDown.textColor,transform:t.downRotate}}),o("v-uni-view",{staticClass:"downwarp-tip"},[t._v(t._s(t.downText))])],1)],1):t._e(),t._t("default"),t.isShowEmpty?o("mescroll-empty",{attrs:{option:t.mescroll.optUp.empty},on:{emptyclick:function(e){arguments[0]=e=t.$handleEvent(e),t.emptyClick.apply(void 0,arguments)}}}):t._e(),t.mescroll.optUp.use&&!t.isDownLoading&&3!==t.upLoadType?o("v-uni-view",{staticClass:"mescroll-upwarp",style:{background:t.mescroll.optUp.bgColor,color:t.mescroll.optUp.textColor}},[o("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1===t.upLoadType,expression:"upLoadType===1"}]},[o("v-uni-view",{staticClass:"upwarp-progress mescroll-rotate",style:{"border-color":t.mescroll.optUp.textColor}}),o("v-uni-view",{staticClass:"upwarp-tip"},[t._v(t._s(t.mescroll.optUp.textLoading))])],1),2===t.upLoadType?o("v-uni-view",{staticClass:"upwarp-nodata"},[t._v(t._s(t.mescroll.optUp.textNoMore))]):t._e()],1):t._e()],2),t.bottombar&&t.windowBottom>0?o("v-uni-view",{staticClass:"mescroll-bottombar",style:{height:t.windowBottom+"px"}}):t._e(),t.safearea?o("v-uni-view",{staticClass:"mescroll-safearea"}):t._e(),o("mescroll-top",{attrs:{option:t.mescroll.optUp.toTop},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toTopClick.apply(void 0,arguments)}},model:{value:t.isShowToTop,callback:function(e){t.isShowToTop=e},expression:"isShowToTop"}}),o("v-uni-view",{wxsProps:{"change:prop":"wxsProp"},attrs:{"change:prop":t.renderBiz.propObserver,prop:t.wxsProp}})],1)},a=[]},d7f4:function(t,e,o){"use strict";var n=function(t){(t.options.wxs||(t.options.wxs={}))["wxsBiz"]=function(t){var e={};function o(t){e.optDown=t.optDown,e.scrollTop=t.scrollTop,e.bodyHeight=t.bodyHeight,e.isDownScrolling=t.isDownScrolling,e.isUpScrolling=t.isUpScrolling,e.isUpBoth=t.isUpBoth,e.isScrollBody=t.isScrollBody,e.startTop=t.scrollTop}function n(t,o,n){e.disabled()||t.callType&&("showLoading"===t.callType?e.showLoading(n):"endDownScroll"===t.callType?e.endDownScroll(n):"clearTransform"===t.callType&&e.clearTransform(n))}function r(t,o){e.downHight=0,e.startPoint=e.getPoint(t),e.startTop=e.getScrollTop(),e.startAngle=0,e.lastPoint=e.startPoint,e.maxTouchmoveY=e.getBodyHeight()-e.optDown.bottomOffset,e.inTouchend=!1,e.callMethod(o,{type:"setWxsProp"})}function a(t,o){var n=!0;if(e.disabled())return n;var r=e.getScrollTop(),a=e.getPoint(t),s=a.y-e.startPoint.y;if(s>0&&(e.isScrollBody&&r<=0||!e.isScrollBody&&(r<=0||r<=e.optDown.startTop&&r===e.startTop))&&!e.inTouchend&&!e.isDownScrolling&&!e.optDown.isLock&&(!e.isUpScrolling||e.isUpScrolling&&e.isUpBoth)){if(e.startAngle||(e.startAngle=e.getAngle(e.lastPoint,a)),e.startAngle<e.optDown.minAngle)return n;if(e.maxTouchmoveY>0&&a.y>=e.maxTouchmoveY)return e.inTouchend=!0,i(t,o),n;n=!1;var l=a.y-e.lastPoint.y;e.downHight<e.optDown.offset?(1!==e.movetype&&(e.movetype=1,e.callMethod(o,{type:"setLoadType",downLoadType:1}),e.isMoveDown=!0),e.downHight+=l*e.optDown.inOffsetRate):(2!==e.movetype&&(e.movetype=2,e.callMethod(o,{type:"setLoadType",downLoadType:2}),e.isMoveDown=!0),e.downHight+=l>0?l*e.optDown.outOffsetRate:l),e.downHight=Math.round(e.downHight);var c=e.downHight/e.optDown.offset;e.onMoving(o,c,e.downHight)}return e.lastPoint=a,n}function i(t,o){if(e.isMoveDown)e.downHight>=e.optDown.offset?(e.downHight=e.optDown.offset,e.callMethod(o,{type:"triggerDownScroll"})):(e.downHight=0,e.callMethod(o,{type:"endDownScroll"})),e.movetype=0,e.isMoveDown=!1;else if(!e.isScrollBody&&e.getScrollTop()===e.startTop){var n=e.getPoint(t).y-e.startPoint.y<0;if(n){var r=e.getAngle(e.getPoint(t),e.startPoint);r>80&&e.callMethod(o,{type:"triggerUpScroll"})}}e.callMethod(o,{type:"setWxsProp"})}return e.onMoving=function(t,e,o){t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"transform",transform:"translateY("+o+"px)",transition:""});var n=t.selectComponent(".mescroll-wxs-progress");n&&n.setStyle({transform:"rotate("+360*e+"deg)"})}))},e.showLoading=function(t){e.downHight=e.optDown.offset,t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY("+e.downHight+"px)",transition:"transform 300ms"})}))},e.endDownScroll=function(t){e.downHight=0,e.isDownScrolling=!1,t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY(0)",transition:"transform 300ms"})}))},e.clearTransform=function(t){t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"",transform:"",transition:""})}))},e.disabled=function(){return!e.optDown||!e.optDown.use||e.optDown.native},e.getPoint=function(t){return t?t.touches&&t.touches[0]?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches[0]?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.clientX,y:t.clientY}:{x:0,y:0}},e.getAngle=function(t,e){var o=Math.abs(t.x-e.x),n=Math.abs(t.y-e.y),r=Math.sqrt(o*o+n*n),a=0;return 0!==r&&(a=Math.asin(n/r)/Math.PI*180),a},e.getScrollTop=function(){return e.scrollTop||0},e.getBodyHeight=function(){return e.bodyHeight||0},e.callMethod=function(t,e){t&&t.callMethod("wxsCall",e)},t.exports={propObserver:o,callObserver:n,touchstartEvent:r,touchmoveEvent:a,touchendEvent:i},t.exports}({exports:{}})};e["a"]=n},f738:function(t,e,o){"use strict";o.r(e);var n=o("b90b"),r=o("1043");for(var a in r)"default"!==a&&function(t){o.d(e,t,(function(){return r[t]}))}(a);o("4967");var i,s=o("f0c5"),l=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"c549f96a",null,!1,n["a"],i);e["default"]=l.exports},fcf6:function(t,e,o){"use strict";o.r(e);var n=o("b96c"),r=o.n(n);for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},fd2e:function(t,e,o){"use strict";var n=o("027e"),r=o.n(n);r.a}}]);
|