{{item.catetitle}}
70 |71 | {{itemSon.subcatetitle}} 72 | 更多 73 | + 74 | 75 |
76 |├── babel.config.js ├── public ├── favicon.ico └── index.html ├── src ├── assets │ └── statics │ │ ├── img │ │ ├── 01.gif │ │ └── loading2.gif │ │ ├── site │ │ └── css │ │ │ └── icon │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ ├── iconfont.css │ │ │ ├── demo_fontclass.html │ │ │ ├── demo.css │ │ │ ├── demo_unicode.html │ │ │ ├── demo_symbol.html │ │ │ ├── iconfont.svg │ │ │ └── iconfont.js │ │ └── lib │ │ ├── hoverNav │ │ ├── images │ │ │ ├── s_03.jpg │ │ │ ├── w_03.jpg │ │ │ ├── bodyBg.jpg │ │ │ ├── bodyBg2.jpg │ │ │ └── bodyBg3.jpg │ │ ├── www.jq22.com.txt │ │ ├── jquery插件库.url │ │ ├── css │ │ │ └── style.css │ │ └── index.html │ │ └── zoom │ │ ├── images │ │ └── move-box.png │ │ ├── css │ │ └── magnifier.css │ │ └── js │ │ └── magnifier.js ├── components │ ├── paySuccess.vue │ ├── login.vue │ ├── orderInfo.vue │ ├── PersonalCenter.vue │ ├── index.vue │ ├── orderCenter.vue │ ├── buyCar.vue │ ├── lookOrder.vue │ ├── payOrder.vue │ └── goodsInfo.vue ├── main.js └── App.vue ├── .gitignore ├── README.md └── package.json /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/app' 4 | ] 5 | } -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/statics/img/01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/img/01.gif -------------------------------------------------------------------------------- /src/assets/statics/img/loading2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/img/loading2.gif -------------------------------------------------------------------------------- /src/assets/statics/site/css/icon/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/site/css/icon/iconfont.eot -------------------------------------------------------------------------------- /src/assets/statics/site/css/icon/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/site/css/icon/iconfont.ttf -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/images/s_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/hoverNav/images/s_03.jpg -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/images/w_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/hoverNav/images/w_03.jpg -------------------------------------------------------------------------------- /src/assets/statics/lib/zoom/images/move-box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/zoom/images/move-box.png -------------------------------------------------------------------------------- /src/assets/statics/site/css/icon/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/site/css/icon/iconfont.woff -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/images/bodyBg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/hoverNav/images/bodyBg.jpg -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/images/bodyBg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/hoverNav/images/bodyBg2.jpg -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/images/bodyBg3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/hoverNav/images/bodyBg3.jpg -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/www.jq22.com.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutumnFish/SZHMBBB_pro/HEAD/src/assets/statics/lib/hoverNav/www.jq22.com.txt -------------------------------------------------------------------------------- /src/assets/statics/lib/hoverNav/jquery插件库.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://www.jq22.com/ 5 | IDList= 6 | HotKey=0 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | 14 | # Editor directories and files 15 | .idea 16 | .vscode 17 | *.suo 18 | *.ntvs* 19 | *.njsproj 20 | *.sln 21 | *.sw* 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 02.first 2 | 3 | ## Project setup 4 | ``` 5 | npm install 6 | ``` 7 | 8 | ### Compiles and hot-reloads for development 9 | ``` 10 | npm run serve 11 | ``` 12 | 13 | ### Compiles and minifies for production 14 | ``` 15 | npm run build 16 | ``` 17 | 18 | ### Lints and fixes files 19 | ``` 20 | npm run lint 21 | ``` 22 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 11 |71 | {{itemSon.subcatetitle}} 72 | 更多 73 | + 74 | 75 |
76 |89 | {{itemSon.sell_price}}元
90 |
91 | 库存 {{itemSon.stock_quantity}}
92 | 市场价:
93 | {{itemSon.market_price}}
94 |
95 |
font-class是unicode使用方式的一种变种,主要是解决unicode书写不直观,语意不明确的问题。
165 |与unicode使用方式相比,具有如下特点:
166 |使用步骤如下:
173 |<link rel="stylesheet" type="text/css" href="./iconfont.css">
177 | <i class="iconfont icon-xxx"></i>
179 | 180 |182 |"iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。
181 |
unicode是字体在网页端最原始的应用方式,特点是:
184 |190 |192 |注意:新版iconfont支持多色图标,这些多色图标在unicode模式下将不能使用,如果有需求建议使用symbol的引用方式
191 |
unicode使用步骤如下:
193 |@font-face {
195 | font-family: 'iconfont';
196 | src: url('iconfont.eot');
197 | src: url('iconfont.eot?#iefix') format('embedded-opentype'),
198 | url('iconfont.woff') format('woff'),
199 | url('iconfont.ttf') format('truetype'),
200 | url('iconfont.svg#iconfont') format('svg');
201 | }
202 |
203 | .iconfont{
205 | font-family:"iconfont" !important;
206 | font-size:16px;font-style:normal;
207 | -webkit-font-smoothing: antialiased;
208 | -webkit-text-stroke-width: 0.2px;
209 | -moz-osx-font-smoothing: grayscale;
210 | }
211 |
212 | <i class="iconfont">3</i>
214 |
215 | 216 |218 |"iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。
217 |
| 订单号 | 96 |姓名 | 97 |订单金额 | 98 |下单时间 | 99 |状态 | 100 |操作 | 101 |
|---|---|---|---|---|---|
| {{item.order_no}} | 104 |{{item.accept_name}} | 105 |
106 | ¥{{item.payable_amount}}
107 | 在线支付 108 | |
109 | {{item.payment_time | cutTime('YYYY/MM/DDTHH:mm:ss')}} | 110 |111 | {{item.statusName}} 112 | | 113 |
114 |
115 | 117 | 119 | |取消 120 | 121 | |
122 |
| 49 | 选择 50 | | 51 |商品信息 | 52 |单价 | 53 |数量 | 54 |金额(元) | 55 |操作 | 56 |||||
|---|---|---|---|---|---|---|---|---|---|
|
60 |
61 |
70 |
62 |
63 |
64 |
65 | 购物车没有商品!
66 |
69 | 您的购物车为空, 67 | 马上去购物吧! 68 | |
71 | |||||||||
|
75 | |
78 |
79 | |
83 | {{item.sell_price}} | 84 |
85 | |
87 | {{item.buycount*item.sell_price}} | 88 |89 | 删除 90 | | 91 |||||
| 94 | 已选择商品 95 | {{totalCount}} 件 商品总金额(不含运费): 96 | ¥ 97 | {{totalPrice}}元 98 | | 99 ||||||||||
这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 229 | 这种用法其实是做了一个svg的集合,与另外两种相比具有如下特点:
230 |font-size,color来调整样式。使用步骤如下:
237 |<script src="./iconfont.js"></script>
239 | <style type="text/css">
241 | .icon {
242 | width: 1em; height: 1em;
243 | vertical-align: -0.15em;
244 | fill: currentColor;
245 | overflow: hidden;
246 | }
247 | </style>
248 | <svg class="icon" aria-hidden="true">
250 | <use xlink:href="#icon-xxx"></use>
251 | </svg>
252 |
253 | | 商品信息 | 135 |名称 | 136 |单价 137 | | 138 |数量 | 139 |金额 | 140 |||
|---|---|---|---|---|---|---|
|
143 | |
145 |
146 | |
148 |
149 | ¥{{item.goods_price}} 151 | |
152 | {{item.quantity}} | 153 |¥{{item.quantity*item.goods_price}} | 154 |||
|
157 | 商品金额: 158 | ¥{{totalPrice}} + 运费: 159 | ¥{{orderinfo.express_fee}} 160 | 161 |应付总金额: 162 | ¥{{totalPrice+orderinfo.express_fee}} 163 | 164 | |
165 | ||||||
| 商品信息 | 103 |单价 | 104 |购买数量 | 105 |金额(元) | 106 ||
|---|---|---|---|---|
|
109 | |
113 |
114 | |
118 | 119 | 120 | ¥{{item.sell_price}} 121 | 122 | | 123 |{{item.buycount}} | 124 |125 | 126 | ¥{{item.buycount*item.sell_price}} 127 | 128 | | 129 |
{{goodsinfo.sub_title}}
25 |
115 |-
117 |
118 |
119 |
120 |
121 |
122 | {{item.user_name}}
123 | {{item.add_time | cutTime}}
124 |
125 |
127 |
128 |
129 |暂无评论,快来抢沙发吧!
116 |{{item.content}}
126 |