小程序--确认订单

<import src="../../template/baseNavigationBar.wxml"/>
<template is="navigationBar" data="{{...item}}"></template>
<view class="order_address" bindtap="bindaddress">
    <view class="select_address"><text class="iconfont icon-map_line-"></text>点击去选择地址</view>
    <view><text class="iconfont icon-arrowright"></text></view>
</view>
<view class="Receiving_address" bindtap="bindaddress">
    <view>
        <view class="name_iphone">天津 天津市 津南区</view>
        <view class="address">天安门后广场</view>
        <view class="name_iphone">张三 1313212313</view>
    </view>
    <view><text class="iconfont icon-arrowright"></text></view>
</view>

<view class="goods_msg">
    <view class="goods_img"><image src="../../images/img.png" mode="widthFix"></image></view>
    <view class="goods_content">共1件 <text class="iconfont icon-arrowright"></text></view>
</view>

<view class="msg_list">
    <view class="msg_item">
        <view>商品原价</view>
        <view>¥11.8</view>
    </view>
    <view class="msg_item">
        <view>配送费</view>
        <view>包邮</view>
    </view>
    <view class="msg_item">
        <view>商品优惠</view>
        <view>-¥11.8</view>
    </view>
    <view class="Total">
       合计 <text class="Total_price">¥9.8</text>
    </view>
</view>

<view class="order_pay">
    <view class="pay_money">付款 <text class="Total_price">¥9.8</text></view>
    <view class="submit_order" bindtap="bindSubmitOrder">提交订单</view>
</view>
@import "../../lib/style/iconfont.wxss";
@import "../../lib/style/base.wxss";
@import "../../lib/style/baseNavigationBar.wxss";
page {
    background-color: #f3f3f3;
}
.order_address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 160rpx 20rpx 20rpx;
    height: 200rpx;
    line-height: 200rpx;
    background: white;
    border-radius: 10rpx;
    padding: 30rpx;
}
.Receiving_address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20rpx;
    height: 200rpx;
    background: white;
    border-radius: 10rpx;
    padding: 30rpx;
}
.name_iphone {
    color: #7e7e7e;
    font-size: 24rpx;
}
.address {
    font-size: 32rpx;
    padding: 20rpx 0;
}
.select_address {
    color: #7e7e7e;
}
.icon-arrowright {
    font-size: 28rpx;
}
.icon-map_line- {
    margin-right: 10rpx;
}
.goods_msg {
    display: flex;
    margin: 20rpx;
    background: white;
    border-radius: 10rpx;
    padding: 30rpx;
    align-items: center;
}
.goods_img {
    width: 100rpx;
    height: 100rpx;
    overflow: hidden;
    margin-right: 20rpx;
    flex-shrink: 0;
}
.goods_img image {
    width: 100%;
    border-radius: 50%;
}
.goods_content {
    flex: 1;
    text-align: right;
    font-size: 24rpx;
}
.msg_list {
    margin: 20rpx;
    background: white;
    border-radius: 10rpx;
}
.msg_item {
    display: flex;
    justify-content: space-between;
    margin: 0 20rpx;
    padding: 30rpx 0;
    border-bottom: 2rpx solid #f3f3f3;
}
.Total {
    text-align: right;
    margin: 0 20rpx;
    padding: 30rpx 0;
    font-size: 32rpx;
}
.Total_price {
    color: #ad0e12;
    font-size: 32rpx;
}
.order_pay {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 93rpx;
    line-height: 93rpx;
    justify-content: space-between;
    background: white;

}
.submit_order {
    width: 32%;
    background: #ad0e12;
    color: white;
    font-size: 32rpx;
    text-align: center;
}
.pay_money {
    font-size: 32rpx;
    margin-left: 30rpx;
}

猜你喜欢

转载自blog.csdn.net/Acitylion/article/details/89552134