ybsc-shop.com Open in urlscan Pro
2606:4700:3035::6815:1e75  Public Scan

Submitted URL: http://ybsc-shop.com/js/chunk-5988e8ff.e5046fb0.js
Effective URL: https://ybsc-shop.com/js/chunk-5988e8ff.e5046fb0.js
Submission: On November 06 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5988e8ff"],{"69d9":function(t,a,e){"use strict";e.r(a),e("14d9");var s=e("e5c4"),i=e("4260");i={name:"CollectShop",data(){return{listData:[],loading:!0,pageNum:1,pageSize:8,total:0}},mounted(){this.$nextTick(()=>{this.getListData()})},methods:{numberFormatA:i.g,numberFormat:i.f,currentChange(t){this.pageNum=t,this.getListData()},goBack(){this.$router.go(-1)},getListData(){this.loading=!0;var t={pageNum:this.pageNum,pageSize:this.pageSize};Object(s.g)(t).then(t=>{var a;t=t.data;this.total=(null==(a=t.pageInfo)?void 0:a.totalElements)||0,t.pageList.forEach(t=>{t.loading=!1}),this.listData=t.pageList,this.loading=!1}).catch(()=>{this.loading=!1})},cancelFollow(t){t.loading=!0,Object(s.f)({sellerId:t.sellerId}).then(()=>{t.loading=!1,this.pageNum=1,this.getListData()}).catch(()=>{t.loading=!1})},gotoStroe(t){this.$router.push({name:"store",query:{storeId:t.sellerId}})}}},e("daa9"),e=e("2877"),e=Object(e.a)(i,(function(){var t=this,a=t._self._c;return a("div",{staticClass:"collect-content"},[a("div",{staticClass:"page-title",staticStyle:{cursor:"pointer"},on:{click:t.goBack}},[a("i",{staticClass:"el-icon-arrow-left"}),t._v(" "+t._s(t.$t("message.home.myFollowedShops"))+" ")]),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"content"},[t.listData.length?a("div",{staticClass:"list-content"},t._l(t.listData,(function(e){return a("div",{key:e.sellerId,staticClass:"item"},[a("div",{staticClass:"avatar"},[a("img",{attrs:{src:e.sellerVo.avatar,alt:""}})]),a("div",{staticClass:"info"},[a("div",{staticClass:"name"},[a("p",{attrs:{title:e.sellerVo.name}},[t._v(t._s(e.sellerVo.name||"-"))]),a("el-button",{attrs:{plain:"",size:"mini",round:"",loading:e.loading},on:{click:function(a){return t.cancelFollow(e)}}},[t._v(t._s(t.$t("message.home.myUnfollow")))])],1),a("div",{staticClass:"census"},[a("div",{staticClass:"number"},[a("p",[t._v(" "+t._s(t.$t("message.home.mySold"))+": "+t._s(t.numberFormatA(e.sellerVo.soldNum?e.sellerVo.soldNum+e.sellerVo.fakeSoldNum:e.sellerVo.fakeSoldNum)||"0")+" ")])]),a("div",{staticClass:"bottom"},[a("p",[t._v(" "+t._s(t.$t("message.home.myPraiseRate"))+":"+t._s(100*(t.numberFormat(e.sellerVo.highOpinion)||"1"))+"% ")]),a("el-button",{staticClass:"visiti-btn",on:{click:function(a){return t.gotoStroe(e)}}},[t._v(" "+t._s(t.$t("message.home.visitStore"))+" ")])],1)])])])})),0):t._e(),t.listData.length||t.loading?t._e():a("el-empty",{attrs:{description:t.$t("message.home.noData")}})],1),t.listData.length||t.total?a("div",{staticClass:"common-pagination"},[a("el-pagination",{staticClass:"es-pagination",attrs:{background:"",layout:"prev,pager, next","pager-count":5,"page-size":t.pageSize,"current-page":t.pageNum,total:t.total},on:{"current-change":t.currentChange}})],1):t._e()])}),[],!1,null,"afe46932",null);a.default=e.exports},daa9:function(t,a,e){"use strict";e("ddcf")},ddcf:function(t,a,e){}}]);