Skip to content

Commit

Permalink
feat(:rocket:): 部署新功能
Browse files Browse the repository at this point in the history
将之前vant的版本跟新到2.2.1
  • Loading branch information
geekskai committed Sep 14, 2019
1 parent 70fcd46 commit febc494
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 185 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"better-scroll": "^1.15.2",
"core-js": "^2.6.5",
"qrcodejs2": "0.0.2",
"vant": "^2.0.0-beta.5",
"vant": "^2.2.1",
"vconsole": "^3.3.0",
"vee-validate": "^3.0.5",
"vue": "^2.6.10",
Expand Down
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
<script src="https://cdn.bootcss.com/axios/0.19.0/axios.js"></script>
<script src="https://unpkg.com/vue-lazyload/vue-lazyload.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-awesome-swiper.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/vant.min.js"></script>
<% } %>
<title>链猫商城</title>
</head>
Expand Down
21 changes: 0 additions & 21 deletions src/icons/svg/add.svg

This file was deleted.

24 changes: 0 additions & 24 deletions src/icons/svg/wallet-two-big.svg

This file was deleted.

123 changes: 0 additions & 123 deletions src/views/loveShop/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,129 +69,6 @@
</li>
</ul>
</section>

<!-- <ul class="list-item">
<li class="card-item">
<div class="card-img">
<img src="../../assets/image/premiumRanking/demo0.png" />
</div>
<ul class="card-info">
<li class="info-top">
<div class="item-title">高解析度无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳</div>
<span class="item-desc">正品大牌 产家直营</span>
</li>
<li>
<p class="item-price">¥1988</p>
<span class="item-hot">
<span class="hot-text">热卖指数</span>
<span class="hot-index">
<i>99</i>
</span>
</span>
</li>
</ul>
</li>
<li class="card-item">
<div class="card-img">
<img src="../../assets/image/premiumRanking/demo1.png" />
</div>
<ul class="card-info">
<li class="info-top">
<div class="item-title">高解析度无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳</div>
<span class="item-desc">正品大牌 产家直营</span>
</li>
<li>
<p class="item-price">¥1988</p>
<span class="item-hot">
<span class="hot-text">热卖指数</span>
<span class="hot-index">
<i>99</i>
</span>
</span>
</li>
</ul>
</li>
<li class="card-item">
<div class="card-img">
<img src="../../assets/image/premiumRanking/demo1.png" />
</div>
<ul class="card-info">
<li class="info-top">
<div class="item-title">高解析度无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳</div>
<span class="item-desc">正品大牌 产家直营</span>
</li>
<li>
<p class="item-price">¥1988</p>
<span class="item-hot">
<span class="hot-text">热卖指数</span>
<span class="hot-index">
<i>99</i>
</span>
</span>
</li>
</ul>
</li>
<li class="card-item">
<div class="card-img">
<img src="../../assets/image/premiumRanking/demo1.png" />
</div>
<ul class="card-info">
<li class="info-top">
<div class="item-title">高解析度无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳</div>
<span class="item-desc">正品大牌 产家直营</span>
</li>
<li>
<p class="item-price">¥1988</p>
<span class="item-hot">
<span class="hot-text">热卖指数</span>
<span class="hot-index">
<i>99</i>
</span>
</span>
</li>
</ul>
</li>
<li class="card-item">
<div class="card-img">
<img src="../../assets/image/premiumRanking/demo1.png" />
</div>
<ul class="card-info">
<li class="info-top">
<div class="item-title">高解析度无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳</div>
<span class="item-desc">正品大牌 产家直营</span>
</li>
<li>
<p class="item-price">¥1988</p>
<span class="item-hot">
<span class="hot-text">热卖指数</span>
<span class="hot-index">
<i>99</i>
</span>
</span>
</li>
</ul>
</li>
<li class="card-item">
<div class="card-img">
<img src="../../assets/image/premiumRanking/demo1.png" />
</div>
<ul class="card-info">
<li class="info-top">
<div class="item-title">高解析度无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳无线蓝牙降噪 头戴耳</div>
<span class="item-desc">正品大牌 产家直营</span>
</li>
<li>
<p class="item-price">¥1988</p>
<span class="item-hot">
<span class="hot-text">热卖指数</span>
<span class="hot-index">
<i>99</i>
</span>
</span>
</li>
</ul>
</li>
</ul>-->
</van-tab>
</van-tabs>
</section>
Expand Down
12 changes: 4 additions & 8 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,6 @@ module.exports = {
.options({
symbolId: 'icon-[name]'
})
config.module.rule('svg-inline-loade').test(/\.svg$/).use('svg-inline-loade').loader('svg-inline-loader')
// 修改images loader 添加svg处理
const imagesRule = config.module.rule('images')
imagesRule.exclude.add(path.resolve(__dirname, 'src/icons'))
config.module
.rule('images')
.test(/\.(png|jpe?g|gif|svg)(\?.*)?$/)
// 压缩代码
config.optimization.minimize(true)
// 分割代码
Expand Down Expand Up @@ -104,7 +97,8 @@ module.exports = {
config.externals(externals)
const cdn = {
css: [
'https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.7/css/swiper.min.css'
'https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.7/css/swiper.min.css',
'https://cdn.jsdelivr.net/npm/[email protected]/lib/index.css'
],
js: [
// vue
Expand All @@ -117,6 +111,8 @@ module.exports = {
'https://unpkg.com/[email protected]/dist/axios.min.js',
// vue-lazyload
'https://unpkg.com/vue-lazyload/vue-lazyload.js',
// vant
'https://cdn.jsdelivr.net/npm/[email protected]/lib/vant.min.js',
// vue-awesome-swiper
'https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-awesome-swiper.min.js'
]
Expand Down

0 comments on commit febc494

Please sign in to comment.