1 line
7.0 KiB
JavaScript
1 line
7.0 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8faa7306"],{"56fa":function(t,s,a){var i=a("dedf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=a("499e").default;e("7fa3e896",i,!0,{sourceMap:!1,shadowMode:!1})},"67a1":function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"assetsStatistics"},[t.list.length>0?a("div",{ref:"statisticsContent",staticClass:"statisticsContent",on:{"&scroll":function(s){return t.contentRolling.apply(null,arguments)}}},[a("div",{staticClass:"statisticsContentMiddle"},t._l(t.list,(function(s,i){return a("div",{key:i,staticClass:"block"},[a("div",{staticClass:"as-title"},[t._v(t._s(s.name))]),a("div",{staticClass:"as-accumulated"},[a("div",{staticClass:"as-accumulated-content"},[a("div",{staticClass:"as-accumulated-money"},[t._v(t._s(s.bonus_amount))]),a("div",{staticClass:"as-accumulated-text"},[t._v("累计分红")])])]),a("div",{staticClass:"as-accumulated-bottom"},[a("div",{staticClass:"as-issue"},[t._v("资产发行 "+t._s(s.total))]),a("div",{staticClass:"as-assets"},[a("div",{staticClass:"as-assets-block"},[a("div",{staticClass:"as-assets-block-money"},[t._v(t._s(s.publish))]),a("div",{staticClass:"as-assets-block-text"},[t._v("已认购资产")])]),a("div",{staticClass:"as-assets-block"},[a("div",{staticClass:"as-assets-block-money"},[t._v(t._s(s.max_member))]),a("div",{staticClass:"as-assets-block-text"},[t._v("个人最高获得分红")])])]),a("div",{staticClass:"as-button"},[a("div",{staticClass:"as-button-btn",on:{click:function(a){return t.toBuy(s.id)}}},[t._v("我要兑换")])])])])})),0)]):t._e()])},e=[],c=(a("e7e5"),a("d399")),o=(a("99af"),{props:["id","datas"],data:function(){return{list:[],page:0,total_page:0,isLoadMore:!0}},computed:{},methods:{contentRolling:function(){var t=this.$refs.statisticsContent.scrollWidth,s=this.$refs.statisticsContent.scrollLeft,a=this.$refs.statisticsContent.clientWidth,i=t-(s+a);i<=a&&this.isLoadMore&&this.getList()},getList:function(){var t=this;if(t.isLoadMore=!1,!(this.page>=this.total_page&&this.page>0)){t.page++;var s={is_get_recommentd:1,ids:t.datas.ids,page:t.page};$http.get("plugin.asset.Frontend.Controllers.api.getAssetList",s,"加载中...").then((function(s){if(1===s.result){var a=s.data;t.list=t.list.concat(a.data),t.total_page=a.last_page,t.isLoadMore=!0}else t.page=t.page-1,t.isLoadMore=!1,Object(c["a"])(s.msg)}))}},toBuy:function(t){this.$router.push(this.fun.getUrl("Buying",{asset_id:t}))}},mounted:function(){this.getList()}}),n=o,l=(a("a759"),a("2877")),d=Object(l["a"])(n,i,e,!1,null,"4cbb4c52",null);s["default"]=d.exports},a759:function(t,s,a){"use strict";a("56fa")},dedf:function(t,s,a){var i=a("24fb");s=i(!1),s.push([t.i,".assetsStatistics[data-v-4cbb4c52]{--assets-statistics-block-margin-right--:15vw;--assets-statistics-width--:calc(100vw - var(--assets-statistics-block-margin-right--));width:100%;overflow:hidden}.assetsStatistics .statisticsContent[data-v-4cbb4c52]{display:-webkit-box;padding:15px;overflow-x:auto;-webkit-box-sizing:content-box;box-sizing:content-box;background-color:#fff}.assetsStatistics .statisticsContent .statisticsContentMiddle[data-v-4cbb4c52]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:visible}.assetsStatistics .statisticsContent .block[data-v-4cbb4c52]{height:var(--assets-statistics-width--);width:var(--assets-statistics-width--);-webkit-box-shadow:0 0 5px #637cad;box-shadow:0 0 5px #637cad;border-radius:1rem;overflow:hidden;padding:15px;position:relative;margin-right:15px}.assetsStatistics .statisticsContent .block .as-title[data-v-4cbb4c52]{width:100%;font-size:17px;font-weight:700;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:30px;line-height:30px}.assetsStatistics .statisticsContent .block .as-accumulated[data-v-4cbb4c52]{width:100%;margin-top:10px}.assetsStatistics .statisticsContent .block .as-accumulated[data-v-4cbb4c52],.assetsStatistics .statisticsContent .block .as-accumulated .as-accumulated-content[data-v-4cbb4c52]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.assetsStatistics .statisticsContent .block .as-accumulated .as-accumulated-content[data-v-4cbb4c52]{border:7px solid #8caef6;height:calc(var(--assets-statistics-width--)/2);width:calc(var(--assets-statistics-width--)/2);border-radius:50%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding-bottom:15%}.assetsStatistics .statisticsContent .block .as-accumulated .as-accumulated-content .as-accumulated-money[data-v-4cbb4c52]{font-size:20px;font-weight:700}.assetsStatistics .statisticsContent .block .as-accumulated .as-accumulated-content .as-accumulated-text[data-v-4cbb4c52]{font-size:13px}.assetsStatistics .statisticsContent .block .as-accumulated-bottom[data-v-4cbb4c52]{position:absolute;width:100%;left:0;bottom:10px;height:50%;background-color:#fff;-webkit-box-shadow:0 -15px 50px 5px #fff;box-shadow:0 -15px 50px 5px #fff}.assetsStatistics .statisticsContent .block .as-accumulated-bottom .as-issue[data-v-4cbb4c52]{height:30px;line-height:30px;color:#2a6af0;font-weight:700;font-size:15px;margin:5px 0}.assetsStatistics .statisticsContent .block .as-accumulated-bottom .as-assets[data-v-4cbb4c52]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;padding:10px 0}.assetsStatistics .statisticsContent .block .as-accumulated-bottom .as-assets .as-assets-block .as-assets-block-money[data-v-4cbb4c52]{font-size:15px;font-weight:700}.assetsStatistics .statisticsContent .block .as-accumulated-bottom .as-assets .as-assets-block .as-assets-block-text[data-v-4cbb4c52]{font-size:13px}.assetsStatistics .statisticsContent .block .as-accumulated-bottom .as-button[data-v-4cbb4c52]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:15px 0}.assetsStatistics .statisticsContent .block .as-accumulated-bottom .as-button .as-button-btn[data-v-4cbb4c52]{width:50%;height:35px;background-color:#2a6af0;color:#fff;font-size:15px;letter-spacing:2px;border-radius:35px;line-height:35px}.assetsStatistics .statisticsContent[data-v-4cbb4c52]::-webkit-scrollbar{display:none}",""]),t.exports=s}}]); |