@@ -64,6 +64,10 @@ export default {
bounce: false,
click: true
});
+ this.scroll = new BScroll(this.$refs.wrapper2, {
+ bounce: false,
+ click: true
+ });
});
},
watch: {},
From bb14963ef6e0f236eb4951b0ab67ca886139237c Mon Sep 17 00:00:00 2001
From: ewall <1054064180@qq.com>
Date: Thu, 23 Aug 2018 16:33:46 +0800
Subject: [PATCH 2/2] 'add'
---
README.md | 2 +-
src/assets/styles/iconfont.css | 14 ++--
src/assets/styles/iconfont.eot | Bin 2956 -> 3024 bytes
src/assets/styles/iconfont.svg | 11 ++-
src/assets/styles/iconfont.ttf | Bin 2788 -> 2856 bytes
src/assets/styles/iconfont.woff | Bin 1852 -> 1860 bytes
src/assets/styles/variables.less | 6 +-
src/components/goodsItem.vue | 62 ++++++++++++++++
src/components/myHeader.vue | 7 +-
src/router/index.js | 6 ++
src/view/classify.vue | 12 ++-
src/view/goodList.vue | 123 +++++++++++++++++++++++++++++++
12 files changed, 223 insertions(+), 20 deletions(-)
create mode 100644 src/components/goodsItem.vue
create mode 100644 src/view/goodList.vue
diff --git a/README.md b/README.md
index d49711c..a89a3eb 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-分类详情页之better-scroll实现滚动
\ No newline at end of file
+chapter22商品列表页
\ No newline at end of file
diff --git a/src/assets/styles/iconfont.css b/src/assets/styles/iconfont.css
index e4e8762..2728a11 100644
--- a/src/assets/styles/iconfont.css
+++ b/src/assets/styles/iconfont.css
@@ -1,10 +1,10 @@
@font-face {font-family: "iconfont";
- src: url('iconfont.eot?t=1533722683634'); /* IE9*/
- src: url('iconfont.eot?t=1533722683634#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAc8AAsAAAAACuQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7kimY21hcAAAAYAAAAB6AAAByJz01G9nbHlmAAAB/AAAAxoAAAR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V8bUnV0K27LnpQ0kV7NSRKyQl7WtlRC6gE2ZVeOEXpc0Yk/KGdI/wAJWm7IAAAAeJxjYGKAAC4G7ICNkYmRmZGFkZWRjZGdgbGCoywztTwns7iEPTE5Ob80r4StOCO/tDKVvyIzMS+9qjQ/C0iX5JcyMAAAcwQQQQAAAA==') format('woff'),
- url('iconfont.ttf?t=1533722683634') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
- url('iconfont.svg?t=1533722683634#iconfont') format('svg'); /* iOS 4.1- */
+ src: url('iconfont.eot?t=1535008467385'); /* IE9*/
+ src: url('iconfont.eot?t=1535008467385#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAdEAAsAAAAACygAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8xUlYY21hcAAAAYAAAACAAAAB3jtbbkFnbHlmAAACAAAAAxkAAARsd7fPJ2hlYWQAAAUcAAAALwAAADYSaEOjaGhlYQAABUwAAAAcAAAAJAfeA4hobXR4AAAFaAAAAA4AAAAcHAAAAGxvY2EAAAV4AAAAEAAAABAESAUMbWF4cAAABYgAAAAdAAAAIAEbAJRuYW1lAAAFqAAAAUUAAAJtPlT+fXBvc3QAAAbwAAAAVAAAAGwW/9dUeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBye+T9PY27438AQw9zA0AAUZgTJAQDrRgyZeJztkUEKgzAQRV80hlKkJ+lJ3HTjwqWrnKMrbyR4oskxdCYjKD1Df3iB/yEZmA90QKu8lQhhIWD6ahpq3vKseWRU/+JBQ5KPzLLKVoaS9x1+/U1B31zHJibNGv3X5iX+6us9nS7ZNh1rR2an5qtjzcjm6CYpg2NNluwQD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ovI+j/DSwMzA1ALgcDE0gUAGIpDAkAeJxjYGRgYG7438AQw8IAAkCSkQEVsAMARw0CcHicY2FgYGDBgQEB3AAdAAAAAAAAAMwBKgFqAawCEgI2eJxjYGRgYGBn6GDgYgABJiDmArP/g/kMABc1AbAAAAB4nGWPTU7DMBCFX/oHpBKqqGCH5AViASj9EatuWFRq911036ZOmyqJI8et1ANwHo7ACTgC3IA78EgnmzaWx9+8eWNPANzgBx6O3y33kT1cMjtyDRe4F65TfxBukF+Em2jjVbhF/U3YxzOmwm10YXmD17hi9oR3YQ8dfAjXcI1P4Tr1L+EG+Vu4iTv8CrfQ8erCPuZeV7iNRy/2x1YvnF6p5UHFockikzm/gple75KFrdLqnGtbxCZTg6BfSVOdaVvdU+zXQ+ciFVmTqgmrOkmMyq3Z6tAFG+fyUa8XiR6EJuVYY/62xgKOcQWFJQ6MMUIYZIjK6Og7VWb0r7FDwl57Vj3N53RbFNT/c4UBAvTPXFO6stJ5Ok+BPV8bUnV0K27LnpQ0kV7NSRKyQl7WtlRC6gE2ZVeOEXpc0Yk/KGdI/wAJWm7IAAAAeJxtxTsOgCAMANDWDyUunrEhBGoIDFBFTq+Jq295MMFng3+EE8644IoGCS3YU/yVpDZi54rmZmtk6cqZRvQ5JDE1Fr393oVzGFqO91YU4AGopxYz') format('woff'),
+ url('iconfont.ttf?t=1535008467385') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
+ url('iconfont.svg?t=1535008467385#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
@@ -19,6 +19,10 @@
.icon-account:before { content: "\e6b8"; }
+.icon-shaixuan:before { content: "\e74a"; }
+
+.icon-zhengli:before { content: "\e766"; }
+
.icon-shouye:before { content: "\e64f"; }
.icon-xiangzuojiantou:before { content: "\e660"; }
diff --git a/src/assets/styles/iconfont.eot b/src/assets/styles/iconfont.eot
index 994f6b32ee4947d2e2bc85dfbe233e578ad85352..c59968874d9671e596978148759c99e208c944f7 100644
GIT binary patch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qYqoq)E|@rdX#Rm-ZWVpF7<3jUKzP r%dfDFGx9o*O309-fFepL1Ll>*+3BUZ*@c{JrBa!D^Eunw7()01VSJNy diff --git a/src/assets/styles/iconfont.woff b/src/assets/styles/iconfont.woff index 35381787cd3d607b01be75eaa450eaa1ae1fc588..438f2a7350dd94a71257dfabaa86fb290e7cfea8 100644 GIT binary patch delta 1429 zcmXw(cU03?6vux*0tNzvDG>v*mm^`wkbp82f|iY1l}ZLA0g0eQ4aE|XO&Em=N=>lH zJVXVB0wQ}UGnAtN6$2GcKuC>%6hR>UVcU1k_q=yM_r3SM|J>V*>_%!{^Y!omKmc0s zqk!V}u4taC>BMsC@%o-jCq@GRcmslvKq2njMOSKMECm2$AOzC}0NKcE4SX|N7%>z8 z j2%t%k?E`@Y52ZpT=dWB>M53kYv5 Adsas+l-ni%E z@!!~)O*QB~H+95K>kjS-dzKOYD9W%Y+C&-Srk12$=_c#_Ozqs>n>@E!!LoI@g_{Lq znJeMMVP@kdV^Ig&yLeikcvGGJ4swdoNK9uK6D3T|0d5K$vWez1GyBWWpw=8b9%6>6 zw|pGU?_J4`;a;_VP0Oee>}4#f &@Zhg%UFt|uIC%-1!D~k{7cN#)zfi5^{%(PYSligKNw{{jS?FLE4E|>bgR6v zdbCpKR~#>K|9if-AdF7WtZC>Qr$~U*vH2Cr9{H4f(hEex;jHOb)wpDRO~C-JRM+dP z?H1^X2M|NXD{mCX(;`k{cYDHpiFvV32FVY1C}`!yv5E=%!t`Ec{mFlJ^+Zhdd2zwV z+jQRj@tl)Ah0T(-_qfK8fNPSfytV1Z3?9ev2d9)=w0TzRQrX%7hjE?oGy046Gi6Z6 z>`;1iZv6eHa-ZdKg=0RJ;Z69*7F9v)hy#w|y2WP1Og&=0NusyN7H2+MXt-RSWWJC< zYKy@%u&y}!-R+9Ymf#|fogNG?6H;7@knkpwmF>t%a90=l`fa`&f{J%Pu3>UmusBy( zSCu-*j)+<2CgB_shh`48ATtbEXJd rCYx zeqv*(^p7%F8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By{a@n3rLsbmohK_0CNNoK>z>%US4&N diff --git a/src/assets/styles/variables.less b/src/assets/styles/variables.less index 6821746..21ab736 100644 --- a/src/assets/styles/variables.less +++ b/src/assets/styles/variables.less @@ -8,4 +8,8 @@ @sizeXL: 18px; @sizeL: 16px; @sizeM: 14px; -@sizeS: 12px; \ No newline at end of file +@sizeS: 12px; + +// 字体色 +@fontColor1:#000; +@fontColor2:#7e7c7c; \ No newline at end of file diff --git a/src/components/goodsItem.vue b/src/components/goodsItem.vue new file mode 100644 index 0000000..447e79b --- /dev/null +++ b/src/components/goodsItem.vue @@ -0,0 +1,62 @@ + + + ++ + + + + \ No newline at end of file diff --git a/src/components/myHeader.vue b/src/components/myHeader.vue index 5112a9a..ba25223 100644 --- a/src/components/myHeader.vue +++ b/src/components/myHeader.vue @@ -12,12 +12,7 @@ diff --git a/src/router/index.js b/src/router/index.js index c2f203e..a53cad7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,6 +2,7 @@ import Vue from 'vue' import Router from 'vue-router' import Home from '@/view/home' import Classify from '@/view/classify' +import GoodList from '@/view/goodList' Vue.use(Router) @@ -15,5 +16,10 @@ export default new Router({ path: '/classify', name: 'Classify', component: Classify + }, + { + path: '/goodList', + name: 'GoodList', + component: GoodList }] }) diff --git a/src/view/classify.vue b/src/view/classify.vue index dc4a623..9915d6f 100644 --- a/src/view/classify.vue +++ b/src/view/classify.vue @@ -25,7 +25,7 @@时尚玛丽珍2018新品花水钻百搭如熙女鞋++ ¥99.9 + ¥999.9 ++{{item.title}}-+@@ -90,8 +90,18 @@ export default { path: "/" }); }, + // 左侧菜单栏点击 menuClick(idx) { this.currentIndex = idx; + }, + // item块点击 + itemClick(title) { + this.$router.push({ + path: "/goodList", + query: { + title: title + } + }); } } }; diff --git a/src/view/goodList.vue b/src/view/goodList.vue new file mode 100644 index 0000000..bf7373c --- /dev/null +++ b/src/view/goodList.vue @@ -0,0 +1,123 @@ + +{{item.name}}+ ++ + + + ++ ++ +{{$route.query.title}}+ +++ ++ 综合排序 +++ + 销量 +++ + 价格 +++ + 筛选 +++++++