1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

购物车按钮点击添加弹窗:暂未实现~

This commit is contained in:
程序员小墨 2023-04-16 00:01:01 +08:00
parent 67e18187c0
commit 9ae61d5b66
3 changed files with 13 additions and 3 deletions

View File

@ -2,8 +2,6 @@
【想一想访客怎么处理】
购物车隐藏
首页密码修改
大门人员进出后台管理
@ -18,6 +16,8 @@
后台管理两个端分开
体温上报添加一个按钮 可以删除当日填报
项目部署到服务器
& 小程序提审(提审时隐藏小商店)
& 发给老班看一看

View File

@ -139,6 +139,16 @@ Page({
})();
},
btnAddCartTap() {
wx.showModal({
title: '暂未实现',
content: '时间有限,该功能暂未实现~',
showCancel: false,
complete: (res) => {
}
})
},
loadPageData() {
(async () => {
let goodDetail = await goodService.getGoodDetail(this.data.goodId)

View File

@ -43,7 +43,7 @@
<button class="buy-count-btn" bindtap="btnAddCount" size="mini">+</button>
</view>
<view class="bottom-buttons">
<view class="btn" id="btn-addcart">加入购物车</view>
<view class="btn" id="btn-addcart" bindtap="btnAddCartTap" style="filter: grayscale(1);">加入购物车</view>
<view class="btn" id="btn-buy" bindtap="btnBuyTap">立即下单</view>
</view>
</view>