1Vue.component("results", results); //ååçµæ 2Vue.component("pagination", pagination); //ãã¼ã¸ã£ã¼ 3Vue.component("star-component", starComponent); //æè©ä¾¡ 4Vue.component("cart-btn-component", cartBtnComponent); //ãã¿ã³ 5Vue.component("tag-component", tagComponent); //å°ããªã¢ã¤ã³ã³ 6Vue.component("nothing", nothing); //ååããªãå ´å 7 8new Vue({ 9 el: "#listItemContents", 10 store, 11 data() { 12 return {}; 13 }, 14 mounted() { 15 //ãæ°ã«å ¥ãAPIåå¾ 16 store.dispatch("getFavoriteData"); 17 //ãã¼ã¸æå®ååAPIåå¾ 18 store.dispatch("getPagerData"); 19 }, 20 created() {}, 21 computed: { 22 //ãã¼ã¸æ° 23 listCnt() { 24 return store.state.listCnt 25 }, 26 //ååãã©ã³ãã®æç¡â»ååæç¡ã®è¡¨ç¤ºç¨ã®éã«å¿ è¦ 27 recordCount() { 28 return store.state.recordCount 29 }, 30 //ååãã¼ã¿ä¸è¦§ 31 productData() { 32 return store.state.productData 33 }, 34 // //ãæ°ã«å ¥ããªã¹ã 35 favoriteList() { 36 return store.state.favoriteList 37 }, 38 //ãã©ã³ãã·ãªã¼ãºã³ã¼ã 39 brandSeriesCD() { 40 return store.state.brandCD 41 } 42 }, 43 methods: { 44 /* 45 *pagerããéããã¦ãããã¼ã¸numberæå®ã®ååçµæãåå¾ãã 46 *â parameterã«ä»ä¸ 47 *â¡APIåå¾ 48 *@type {Number} 49 */ 50 async pagechange(no) { 51 let pathname = location.pathname 52 let newjunban = [] 53 54 55 // URLã®ãã©ã¡ã¼ã¿ãåå¾ 56 let urlParam = location.search.substring(1); //parameterã®ã¿ 57 let addJunban = [] 58 // ã&ããå«ã¾ãã¦ããå ´åã¯ã&ãã§åå² 59 let param = []; 60 if( urlParam.indexOf('&') >= 0){ 61 param = urlParam.split('&'); 62 } 63 64 var paramItem = [] 65 // ãã©ã¡ã¼ã¿ã飿³é åã«ãæ ¼ç´ 66 var paramArray = []; 67 for (i = 0; i < param.length; i++) { 68 paramItem = param[i].split('='); 69 paramArray[paramItem[0]] = paramItem[1]; 70 // pageNoãåå¨ããå ´åãpageNoã®ã¿ãããããã¦è¨å®ããªãã 71 } 72 73 paramArray.PageNo = no 74 for (k in paramArray) { 75 newjunban.push(k + '=' + paramArray[k]); 76 addJunban = newjunban.join("&"); 77 } 78 newjunban.push('ListCnt=' + this.listCnt); 79 history.pushState("PageNo", null, pathname + '?' + addJunban); 80 //APIåå¾ 81 store.dispatch("getPagerData"); 82 } 83 } 84});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.