Skip to content

Commit

Permalink
加入统计
Browse files Browse the repository at this point in the history
  • Loading branch information
xa1st committed Nov 27, 2023
1 parent bce32ab commit c2a453e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
小小购物车

### 版本
v1.0.0
v1.0.1

### 作者
猫东东 <https://blog.del.pub>

### 最后更新
2023-11-25

2023.11.27

### 使用方法
用uniapp导入然后发布

git clone https://github.com/afyi/cart.git

cd cart

yarn

yarn dev

### 更新历史

v1.0.0 2023-11-25
v1.0.1 2023.11.27

1. 用VUE重写一下,用uniapp太麻烦了

v1.0.0 2023.11.25

1. 第一版本算法

Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>小小购物车 v1.0.0 by 猫东东</title>
<title>小小购物车 v1.0.1 by 猫东东</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script src="https://npm.elemecdn.com/[email protected]/bsz.js"></script>
</body>
</html>
6 changes: 6 additions & 0 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<text>添加商品</text>
</div>

<!-- 版权 -->
<div class="copyright text-center">
<a href="https://blog.del.pug" target="_blank" title="联系我">猫南南</a> 🍭 <a href="javascript:void(0)">访问<span id="busuanzi_value_page_pv" title="已读次数"></span>次</a> 🍵 <a href="https://github.com/afyi/cart" target="_blank" title="该项目的github">GITHUB</a>
</div>

</section>

<footer>
Expand Down Expand Up @@ -189,4 +194,5 @@
.addItem { width: 100%; background-color: $color-primary; line-height: 3rem; margin: .8rem auto; color:$bg-color;}
.mask {width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; right: 0; z-index: 1; background-color: $bg-color-mask;}
.editbox .addbtn {background-color: $color-primary;}
.copyright a{color: #bbb;text-decoration: none;font-size: .85rem;}
</style>

0 comments on commit c2a453e

Please sign in to comment.