7 | {{item.subcatetitle}} 8 | 9 | 更多+ 10 |
11 |├── statics ├── site.rar ├── css │ ├── site1.scss │ ├── site2.less │ └── site.css ├── imgs │ ├── bg.png │ └── logo.png ├── theme_rms.rar ├── mui │ ├── fonts │ │ ├── mui.ttf │ │ └── mui-icons-extra.ttf │ └── css │ │ └── icons-extra.css ├── site │ ├── images │ │ ├── Thumbs.db │ │ ├── logo.png │ │ ├── w_03.jpg │ │ ├── banner_1.png │ │ ├── banner_2.png │ │ ├── banner_3.png │ │ ├── focus_1.png │ │ ├── focus_2.png │ │ ├── move-box.png │ │ ├── avatar-bg.png │ │ ├── slide_btns.png │ │ └── user-avatar.png │ ├── css │ │ ├── icon │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ ├── iconfont.css │ │ │ ├── demo_fontclass.html │ │ │ ├── demo.css │ │ │ ├── demo_unicode.html │ │ │ └── demo_symbol.html │ │ ├── flexslider.css │ │ └── viewer.min.css │ └── js │ │ └── magnifier.js └── theme_rms │ └── fonts │ ├── element-icons.ttf │ └── element-icons.woff ├── .gitignore ├── .babelrc ├── src ├── stores │ ├── index.js │ ├── global │ │ └── index.js │ └── shopcar │ │ └── index.js ├── kits │ ├── imgzoomkit.js │ └── kits.js ├── App.vue ├── components │ ├── site │ │ ├── home │ │ │ └── list.vue │ │ ├── goods │ │ │ ├── successpay.vue │ │ │ ├── goodsmore.vue │ │ │ ├── payment.vue │ │ │ ├── goodslist.vue │ │ │ ├── goodsinfobottom.vue │ │ │ └── car.vue │ │ ├── down │ │ │ └── list.vue │ │ ├── common │ │ │ └── list.vue │ │ ├── point │ │ │ └── list.vue │ │ ├── question │ │ │ └── list.vue │ │ ├── subcom │ │ │ ├── categroupcontent.vue │ │ │ ├── inputnumber.vue │ │ │ ├── contentsildtophot.vue │ │ │ └── categroupcontent静态结构.vue │ │ ├── account │ │ │ ├── login.vue │ │ │ └── register.vue │ │ ├── member │ │ │ ├── center.vue │ │ │ ├── orderlist.vue │ │ │ └── orderinfo.vue │ │ ├── slayout.vue │ │ └── slayout_jquery版本.vue │ └── pay.vue └── main.js ├── index1.html ├── package.json ├── README.MD └── webpack.config.js /statics/site.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site.rar -------------------------------------------------------------------------------- /statics/css/site1.scss: -------------------------------------------------------------------------------- 1 | 2 | $color:blue; 3 | 4 | #v2{ 5 | border:1px solid $color; 6 | } -------------------------------------------------------------------------------- /statics/css/site2.less: -------------------------------------------------------------------------------- 1 | 2 | @color:green; 3 | 4 | #res{ 5 | border:2px solid @color; 6 | } -------------------------------------------------------------------------------- /statics/imgs/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/imgs/bg.png -------------------------------------------------------------------------------- /statics/imgs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/imgs/logo.png -------------------------------------------------------------------------------- /statics/theme_rms.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/theme_rms.rar -------------------------------------------------------------------------------- /statics/mui/fonts/mui.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/mui/fonts/mui.ttf -------------------------------------------------------------------------------- /statics/site/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/Thumbs.db -------------------------------------------------------------------------------- /statics/site/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/logo.png -------------------------------------------------------------------------------- /statics/site/images/w_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/w_03.jpg -------------------------------------------------------------------------------- /statics/site/images/banner_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/banner_1.png -------------------------------------------------------------------------------- /statics/site/images/banner_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/banner_2.png -------------------------------------------------------------------------------- /statics/site/images/banner_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/banner_3.png -------------------------------------------------------------------------------- /statics/site/images/focus_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/focus_1.png -------------------------------------------------------------------------------- /statics/site/images/focus_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/focus_2.png -------------------------------------------------------------------------------- /statics/site/images/move-box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/move-box.png -------------------------------------------------------------------------------- /statics/site/css/icon/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/css/icon/iconfont.eot -------------------------------------------------------------------------------- /statics/site/css/icon/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/css/icon/iconfont.ttf -------------------------------------------------------------------------------- /statics/site/images/avatar-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/avatar-bg.png -------------------------------------------------------------------------------- /statics/site/images/slide_btns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/slide_btns.png -------------------------------------------------------------------------------- /statics/mui/fonts/mui-icons-extra.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/mui/fonts/mui-icons-extra.ttf -------------------------------------------------------------------------------- /statics/site/css/icon/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/css/icon/iconfont.woff -------------------------------------------------------------------------------- /statics/site/images/user-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/site/images/user-avatar.png -------------------------------------------------------------------------------- /statics/theme_rms/fonts/element-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/theme_rms/fonts/element-icons.ttf -------------------------------------------------------------------------------- /statics/theme_rms/fonts/element-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivanyb/vueRMS_Site/HEAD/statics/theme_rms/fonts/element-icons.woff -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | npm-debug.log 14 | node_modules 15 | dist 16 | .idea 17 | .svn 18 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["es2015", { "modules": false }] 4 | ], 5 | "plugins": [ 6 | "transform-vue-jsx", 7 | ["component", [ 8 | { 9 | "libraryName": "element-ui", 10 | "styleLibraryName": "theme-default" 11 | }] 12 | ] 13 | ] 14 | } -------------------------------------------------------------------------------- /src/stores/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import vuex from 'vuex'; 3 | Vue.use(vuex); 4 | 5 | import global from './global/index.js'; 6 | import shopcar from './shopcar/index.js'; 7 | 8 | export default new vuex.Store({ 9 | modules:{ 10 | global, 11 | shopcar 12 | } 13 | }); -------------------------------------------------------------------------------- /index1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |您可以点击这里进入会员中心查看订单状态!
27 |如有其它问题,请立即与我们客服人员联系。
28 |7 | {{item.subcatetitle}} 8 | 9 | 更多+ 10 |
11 |9 | {{item.title}} 10 | 更多+ 11 |
12 |¥{{item.sell_price}}元
45 |
46 | 库存 {{item.stock_quantity}}
47 | 市场价:{{item.market_price}}
48 |
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 |
102 |
¥{{goods.sell_price}}元
118 |
119 | 库存 {{goods.stock_quantity}}
120 | 市场价:
121 |
38 |
| 订单号 | 86 |姓名 | 87 |订单金额 | 88 |下单时间 | 89 |状态 | 90 |操作 | 91 |
|---|---|---|---|---|---|
| {{item.order_no}} | 97 |{{item.accept_name}} | 98 |¥{{item.order_amount}} 99 | {{item.paymentTitle}} |
100 | {{item.add_time | datefmt('YYYY-MM-DD HH:MM:ss')}} | 101 |102 | {{item.statusName}} 103 | | 104 |
105 | 106 | 107 | |取消 108 | |
109 |
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 |
7 | JavaScript基础 8 | Web API 9 | JavaScript高级 10 | 更多+ 11 |
12 |
25 |
26 | nvm配置一、什么是nvmnvm全称是Node Version Manager作用:Simple bash script to manage multiple active node.js versionsnvm是一个简单的bash脚本用来管理系统中多个已存的Node.js版本github网址:OSX和linux版本:https://github.com/creationix/nvmwindow版本:http…
30 | 2017/9/1 16:09:10 31 |
38 |
39 |
51 |
52 | git clone别人项目代码修改后 提交到github报错如果你从 github 上clone了别人的代码,本地做了一些修改后,直接提交可能会遇到一些问题,首先需要你输入用户名,接着输入密码,最后返回错误提示信息.解决方法1.先删除掉克隆项目里的.git文件夹(有的文件夹可能隐藏了,需要在…
56 | 2017/9/13 21:00:18 57 |
64 |
65 | in运算符用于查看元素(键)是否属于对象,属于则返回true,不输入则返回false。Example: var obj={name:"Glad"}; "name" in obj => true; "age" in obj => false。 需要注意:in运算符可以用于数组中。Example: var arr=[1];…
69 | 2017/9/12 17:53:02 70 |
77 |
78 | 进行变量比较时,常常需要隐式转换,隐式转换遵循以下规则: 1.null==undefined 2.如果一个值是数字,一个是字符串则将字符串转换为数字,然后比较。Example:”a”==1? Number(“a”) => NaN; NaN==1 => false 3.如果一个值是true,则转换为…
82 | 2017/9/12 17:37:54 83 |
90 |
91 | 分析步骤:1. 建议:代码的效果出不来的时候,不要在编辑器里面死纠代码,也不要一味的拿老师的代码比较, 建议先在浏览器的控制台里面定位出代码的出错范围,再一步步的反推敲出错误!2. 看到图一 , 右下角的红色框住的是代码出错的行数, 再看到....…
95 | 2017/9/11 15:19:06 96 ||
38 | |
45 | 商品信息 | 46 |单价 | 47 |数量 | 48 |操作 | 49 ||||
|---|---|---|---|---|---|---|---|
|
52 | |
59 |
60 | |
64 |
65 | |
69 | 70 | ¥{{item.sell_price}} 71 | | 72 |
73 | |
75 |
76 | |
78 | ||
| 82 | 已选择商品 {{selectedCount}} 件 商品总金额(不含运费): 83 | ¥{{totalAmount}}元 84 | | 85 ||||||||
135 |
146 |
157 |
168 | 这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 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 |
37 |
| 商品信息 | 155 |名称 | 156 |单价 157 | | 158 | 159 |数量 | 160 |金额 | 161 | 162 |||
|---|---|---|---|---|---|---|
|
166 | |
168 | 169 | {{item.goods_title}} 170 | | 171 |
172 | ¥{{item.real_price}} 174 | |
175 | {{item.quantity}} | 176 |¥{{item.quantity * item.real_price }} | 177 |||
|
181 | 商品金额:¥{{orderinfo.payable_amount}} + 运费:¥{{orderinfo.express_fee}} 182 | 183 |应付总金额:¥{{orderinfo.order_amount}} 184 | |
185 | ||||||
42 |-
43 |
44 |
45 |
46 |
47 |
48 |
49 | {{pageitem.add_time | datefmt('YYYY-MM-DD HH:MM:ss')}}
50 |
51 |
52 |
53 |
54 |
55 | 56 |