123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <template>
- <view>
- <ujp-navbar title="确认订单"></ujp-navbar>
- <!-- 商品信息 -->
- <view class="product-infos">
- <view class="picture">
- <img src="../../assets/img/productPic.png" alt="">
- </view>
- <view class="infos">
- <view class="name">
- 自营站充电服务费6折卡
- </view>
- <view class="specification">
- <view class="title">
- 可用338度(有效期30天)
- </view>
- <view class="value">
- x1
- </view>
- </view>
- <view class="price">
- 12.9元
- </view>
- </view>
- </view>
- <!-- 订单金额 -->
- <view class="order-price">
- <view class="title">
- 订单金额
- </view>
- <view class="price-group">
- <view class="item">
- <view class="item-title">
- 商品金额
- </view>
- <view class="item-value">
- 12.9元
- </view>
- </view>
- <view class="item">
- <view class="item-title">
- 优惠金额
- </view>
- <view class="item-value">
- 0元
- </view>
- </view>
- <view class="item">
- <view class="item-title">
- 合计
- </view>
- <view class="item-value">
- 12.9元
- </view>
- </view>
- </view>
- </view>
- <!-- 支付方式 -->
- <view class="payment-mode">
- <view class="title">
- 支付方式
- </view>
- <view class="mode">
- <view class="item">
- <view class="mode-name">
- <view class="img"><img src="../../assets/img/wechat-pay-fill.svg" alt=""></view>微信支付
- </view>
- <view class="mode-radio">
- <label class="radio">
- <radio value="" /><text></text>
- </label>
- </view>
- </view>
- <view class="item">
- <view class="mode-name">
- <view class="img"><img src="../../assets/img/alipay-fill.svg" alt=""></view>微信支付
- </view>
- <view class="mode-radio">
- <label class="radio">
- <radio value="" /><text></text>
- </label>
- </view>
- </view>
- </view>
- </view>
- <!-- 底部 -->
- <view class="bottom">
- <view class="to-be-pay">
- 待支付: 12.9元
- </view>
- <view class="btn">
- <button class="submit">提交订单</button>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- }
- }
- </script>
- <style>
- page {
- padding-bottom: 100px;
- }
- </style>
- <style scoped lang="scss">
- .product-infos {
- display: flex;
- align-items: center;
- margin: 24rpx;
- background-color: #fff;
- padding: 32rpx 24rpx;
- .picture {
- width: 152rpx;
- height: 152rpx;
- border-radius: 4px;
- overflow: hidden;
- margin-right: 16rpx;
- img {
- width: 100%;
- }
- }
- .infos {
- flex: 1;
- .name {
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- font-weight: bold;
- }
- .specification {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 8rpx;
- .title {
- color: rgba(119, 119, 119, 1);
- font-size: 24rpx;
- }
- .value {
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- }
- }
- .price {
- color: rgba(16, 16, 16, 1);
- font-size: 32rpx;
- margin-top: 24rpx;
- }
- }
- }
- // 订单金额
- .order-price {
- margin: 40rpx;
- padding: 32rpx 24rpx;
- background-color: #fff;
- border-radius: 8px;
- .title {
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- font-weight: bold;
- }
- .price-group {
- margin-top: 32rpx;
- .item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 24rpx;
- .item-title {
- color: rgba(51, 51, 51, 1);
- }
- .item-value {
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx
- }
- }
- }
- }
- // 支付方式
- .payment-mode{
- margin: 40rpx;
- padding: 32rpx 24rpx;
- background-color: #fff;
- border-radius: 8px;
-
- .title {
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- font-weight: bold;
- }
- .mode{
- margin-top: 24rpx;
- .item{
- margin-bottom: 24rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .mode-name{
- display: flex;
- align-items: center;
- .img{
- width: 48rpx;
- height: 48rpx;
- margin-right: 8rpx;
- img{
- width: 100%;
- }
- }
- }
- /deep/.uni-radio-input{
- width: 40rpx;
- height: 40rpx;
- }
- /deep/.uni-radio-input-checked{
- background-color: #00B962 !important;
- border-color: #00B962 !important;
- }
- }
- }
- }
- // 底部
- .bottom{
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: #fff;
- padding: 24rpx 32rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .to-be-pay{
- color: rgba(16, 16, 16, 1);
- font-size: 40rpx;
- font-weight: bold;
- }
- .submit{
- width: 318rpx;
- height: 96rpx;
- line-height: 96rpx;
- background-color: rgba(0, 185, 98, 1);
- color: rgba(255, 255, 255, 1);
- font-size: 36rpx;
- border-radius: 50px;
-
- }
- }
- </style>
|