Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ly980408 committed Mar 1, 2020
1 parent 8dd9f6e commit 51a02e6
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 26 deletions.
55 changes: 34 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,43 @@

UI库: Vant-UI

未解决bug:
- 详情页 NavBar 各项对应位置获取问题,当图片加载过慢时会产生错误
- 底部 tabbar 由于内部封装的是Vant组件,偶尔出现点击问题(问题出现在PC端模拟器)
## 项目演示

[Meow Shopping](http://ilovemeow.shop/)

## Project setup
```
npm install
```
## 项目截图

### Compiles and hot-reloads for development
```
npm run serve
```
### 首页

### Compiles and minifies for production
```
npm run build
```
![首页1](README/%E9%A6%96%E9%A1%B51.jpg)

### Lints and fixes files
```
npm run lint
```
![首页tab](README/%E9%A6%96%E9%A1%B5tab.jpg)

![首页tab2](README/%E9%A6%96%E9%A1%B5tab2.jpg)

### 详情

![详情](README/%E8%AF%A6%E6%83%85.jpg)

![详情tab1](README/%E8%AF%A6%E6%83%85tab1.jpg)

![详情tab2](README/%E8%AF%A6%E6%83%85tab2.jpg)

![详情tab3](README/%E8%AF%A6%E6%83%85tab3.jpg)

![详情sku](README/%E8%AF%A6%E6%83%85sku.jpg)

### 分类

![分类](README/%E5%88%86%E7%B1%BB.jpg)

![分类2](README/%E5%88%86%E7%B1%BB2.jpg)

### 购物车

![购物车](README/%E8%B4%AD%E7%89%A9%E8%BD%A6.jpg)

![购物车2](README/%E8%B4%AD%E7%89%A9%E8%BD%A62.jpg)

![购物车3](README/%E8%B4%AD%E7%89%A9%E8%BD%A63.jpg)

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Binary file added README/分类.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/分类2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/详情.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/详情sku.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/详情tab1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/详情tab2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/详情tab3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/购物车.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/购物车2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/购物车3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/首页1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/首页tab.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added README/首页tab2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/components/Tabbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,5 @@ export default {
<style lang="scss" scoped>
.van-tabbar{
background-color: #f6f6f6;
z-index: 999;
}
</style>
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant from 'vant'
import 'vant/lib/index.css'
import router from './router'

Vue.use(Vant)

Expand Down
3 changes: 1 addition & 2 deletions src/network/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import axios from 'axios'

export function request (config) {
const instance = axios.create({
// baseURL: 'http://123.207.32.32:8000/api/hy',
baseURL: 'http://106.54.54.237:8000/api/hy',
baseURL: 'http://123.207.32.32:8000/api/wh',
timeout: 5000
})

Expand Down
2 changes: 1 addition & 1 deletion src/views/Cart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="cart">
<cart-nav-bar class="cart-nav-bar" />
<div v-if="cartList.length===0" class="no-goods">购物车里空空如也~</div>
<cart-list v-else :cartList="cartList" />
<cart-list :cartList="cartList" />
</div>
</template>

Expand Down

0 comments on commit 51a02e6

Please sign in to comment.