一、会议图片

二、项目进展

成员 完成情况 今日任务
冯荣新 未完成 购物车列表,购物车工具栏
陈泽佳 未完成 静态结构
徐伟浩 商品信息录入 协助前端获取数据
谢佳余 未完成 搜索算法设计
邓帆涛 未完成 意见反馈

三、部分代码

<!--pages/cart/index.wxml-->
<view>
<view class="get_address_row" wx:if="{{!address.userName}}">
<view class="address_btn">
<button bindtap="handleChooseAddress" type="primary" plain>获取收货地址</button>
</view>
</view>
<!--地址详细信息-->
<view wx:else class="address_info">
<text class="username">收货人: {{address.userName}}</text>
<text class="telephone">{{address.telNumber}}</text>
<view class="address">{{address.detailedAddress}}</view>
</view>
<!--购物车内容-->
<view class="cart_content" wx:if="{{cart.length}}">
<view class="title">购物车</view>
<view class="main">
<view class="item" wx:for="{{cart}}">
<!--复选框-->
<view class="chk_wrap">
<checkbox-group bindchange="handleItemChange" data-id="{{item.goods_id}}">
<checkbox checked="{{item.checked}}"></checkbox>
</checkbox-group>
</view>
<!--商品图片-->
<navigator class="img_wrap">
<image mode="widthFix" src="{{item.goods_small_logo}}"></image>
</navigator>
<!--商品信息-->
<view class="info_wrap">
<text class="name">{{item.goods_name}}</text>
<view class="row">
<text class="price">¥{{item.goods_price}}</text>
<digitalInput bindNumChange="numChange" binddeleteGoods="deleteGoods" initnum="{{item.goods_count}}" data-id="{{item.goods_id}}"></digitalInput>
</view>
</view>
</view>
</view>
</view>
<!--购物车没有内容-->
<view wx:else>
<image src="/styles/image/timg.gif" mode="widthFix"></image>
</view>
<!--底部工具栏-->
<view class="footer_tool">
<!--全选-->
<view class="all_chk_wrap">
<checkbox-group bindchange="handleCheckAll">
<checkbox color="#000" checked="{{allChecked}}" disabled="{{!cart.length}}">全选</checkbox>
</checkbox-group> </view>
<!--总价格-->
<view class="total_price_wrap">
<text class="text">合计: <text class="total_price"> ¥ {{totalPrice}}</text></text>
<text class="hint">包含运费</text>
</view>
<!--结算-->
<view class="order_pay_wrap" bindtap="handlePay">结算({{totalNum}})</view>
</view>
</view>

 

.get_address_row{
padding: 20rpx;
.address_btnp{
button{
width: 60%;
}
}
}
.address_info{
clear: both;
overflow: hidden;
padding: 20rpx;
.telephone{
float: right;
}
.address{
padding-top: 10rpx;
}
}
/*购物车列表*/
.cart_content{
.title{
padding: 20rpx;
font-size: 36rpx;
color: var(--themeColor);
border-top: 1px solid currentColor;
border-bottom: 1px solid currentColor;
font-weight: 600;
}
.main{
.item{
display: flex;
align-items: center;
height: 200rpx;
border-bottom: 1px solid #666666;
padding-bottom: 10rpx;
margin-top: 20rpx;
.chk_wrap{
flex: 1;
checkbox-group{
text-align: center;
}
}
.img_wrap{
flex: 3;
height: 99%;
overflow: hidden;
image{
width: 85%;
}
}
.info_wrap{
flex: 5;
padding-right: 10rpx;
display: flex;
flex-direction: column;
.name{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
margin-bottom: 30rpx;
font-size: 32rpx;
}
.row{
display: flex;
align-items: center;
justify-content: space-between;
.price{
color: red;
font-size: 35rpx;
font-weight: 600;
}
}
}
}
}
}
page{
padding-bottom: 90rpx;
}
/*容器*/
/*底部工具栏*/
.footer_tool{
position: fixed;
width: 100%;
bottom: 0;
display: flex;
height: 90rpx;
border-top: 1px solid #ccc;
align-items: center;
background-color: white;
.all_chk_wrap{
flex: 2;
display: flex;
justify-content: center;
align-items: center;
checkbox{
transform: scale(0.8,0.8);
}
}
.total_price_wrap{
flex: 4;
display: flex;
flex-direction: column;
text-align: right;
padding-right: 15rpx;
.total_price{
color: var(--themeColor);
font-size: 35rpx;
font-weight: 600;
}
}
.order_pay_wrap{
flex: 2;
background-color: red;
height: 100%;
color: white;
font-size: 35rpx;
font-weight: 600;
display: flex;
justify-content: center;
align-items: center;
}
}  

四、项目截图

五、每日总结

成员 总结
冯荣新 学海无涯苦做舟
陈泽佳 没有天生的信心,只有不断培养的信心
徐伟浩 对数据库的理解更加深刻
谢佳余 回到熟悉的领域还是很轻松的
邓帆涛 学习如逆水行舟,不进则退

最新文章

  1. python网络编程【二】(使用UDP)
  2. JSP代码加固
  3. 深入浅出: Java回调机制(异步)
  4. IplImage 结构解读(转)
  5. 【图文详解】scrapy安装与真的快速上手——爬取豆瓣9分榜单
  6. [DP]数位DP总结
  7. 02.Lua的数据类型
  8. windows通过cmd重新启动网卡
  9. IDEA内存异常问题
  10. Struts2的一个入门实例----登录功能
  11. sudo用法
  12. Python 转化成 PB 格式数据
  13. js中函数创建的三种方式
  14. UIView的绘制原理
  15. Storm是什么
  16. 【SPOJ116】Intervals
  17. 【上载虚拟机】XX是一个Workstations 12.X虚拟机,不受XX支持。请选择其他主机或将虚拟机的硬件版本更改为以下选项之一。
  18. DNS攻击
  19. 团队作业之现场UML设计
  20. zk-systemd

热门文章

  1. Centos 7下编译安装Nginx
  2. AttributeError: module &#39;time&#39; has no attribute &#39;clock&#39;
  3. Intellij IDEA 快速查找接口实现类的快捷键
  4. PHP date_modify() 函数
  5. PHP localeconv() 函数
  6. Skill 脚本演示 ycBusNet.il
  7. Node.js 和 Python之间如何进行选择?
  8. 使用 Python 为女神挑选口红
  9. 20行Python代码检测人脸是否佩戴口罩
  10. 【NBA 可视化】使用Pyecharts实现湖人19-20赛季投篮数据可视化~