zoukankan      html  css  js  c++  java
  • 第五篇 Scrum冲刺博客

    一、会议图片

    二、项目进展

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

    三、部分代码

    <!--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{
                 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{
                         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;
         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;
        }
    }  

    四、项目截图

    五、每日总结

    成员 总结
    冯荣新 学海无涯苦做舟
    陈泽佳 没有天生的信心,只有不断培养的信心
    徐伟浩 对数据库的理解更加深刻
    谢佳余 回到熟悉的领域还是很轻松的
    邓帆涛 学习如逆水行舟,不进则退
  • 相关阅读:
    Jquery基于ActiveX的批量上传
    枚举类型在as3中的实现
    delphi操作word基类,插入表格,分页符,日期,页码,替换,图片
    消除文本锯齿
    As3显示对象scrollRect滚动问题
    Bitmap序列化
    加载图片的方法
    球体旋转坐标推导
    AS3基于TextField实现图文并排更新于2015.08.05
    Flash与外部程序之间的通信
  • 原文地址:https://www.cnblogs.com/frx2000/p/12985069.html
Copyright © 2011-2022 走看看