|
|
@@ -4,10 +4,10 @@
|
|
|
* @Author: dream
|
|
|
* @Date: 2021-03-26 13:59:15
|
|
|
* @LastEditors: dream
|
|
|
- * @LastEditTime: 2021-03-30 16:59:08
|
|
|
+ * @LastEditTime: 2021-03-31 10:52:20
|
|
|
-->
|
|
|
<template>
|
|
|
- <view class="submit-order-main">
|
|
|
+ <view class="submit-order-main" :style="{ paddingBottom: `${pagePaddingBottom}px`}">
|
|
|
<block v-if="isNoAddress">
|
|
|
<view class="order-no-address">
|
|
|
<view class="u-flex no-address iph-bg-fff">
|
|
|
@@ -28,14 +28,45 @@
|
|
|
<view class="detail-address">浙江省杭州市滨江区滨康路619号德邦电子3幢509慕玛披萨</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
+ <block>
|
|
|
+ <view class="u-m-t-16">
|
|
|
+ <iph-order-good-card />
|
|
|
+ </view>
|
|
|
+ <view class="u-m-t-16">
|
|
|
+ <iph-order-good-card />
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <view class="total-area iph-bg-fff">
|
|
|
+ <view class="u-flex">
|
|
|
+ <view class="u-flex-1">商品金额</view>
|
|
|
+ <view>¥1407</view>
|
|
|
+ </view>
|
|
|
+ <view class="u-flex u-m-t-32">
|
|
|
+ <view class="u-flex-1">运费</view>
|
|
|
+ <view>¥200</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <iph-fixed-bottom @getHeight="getFooterHeight">
|
|
|
+ <view class="footer u-flex iph-bg-fff">
|
|
|
+ <view class="u-flex-1">
|
|
|
+ <text class="u-m-b-8 u-font-32 u-line-44 text-weight-500 price-color">¥</text>
|
|
|
+ <text class="total-price price-color">1607</text>
|
|
|
+ </view>
|
|
|
+ <button class="pay-btn">立即支付</button>
|
|
|
+ </view>
|
|
|
+ </iph-fixed-bottom>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import IphFixedBottom from '../../components/iphFixedBottom.vue'
|
|
|
+import iphOrderGoodCard from './components/iphOrderGoodCard.vue'
|
|
|
export default {
|
|
|
+ components: { iphOrderGoodCard, IphFixedBottom },
|
|
|
name: 'orderSubmit',
|
|
|
data () {
|
|
|
return {
|
|
|
+ pagePaddingBottom: 0,
|
|
|
isNoAddress: false
|
|
|
}
|
|
|
},
|
|
|
@@ -43,7 +74,9 @@ export default {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ getFooterHeight (val) {
|
|
|
+ this.pagePaddingBottom = val + 8
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -85,5 +118,26 @@ export default {
|
|
|
color: $iph-empty-text;
|
|
|
}
|
|
|
}
|
|
|
+ .total-area {
|
|
|
+ margin-top: 8px;
|
|
|
+ padding: 32px;
|
|
|
+ }
|
|
|
+ .footer {
|
|
|
+ padding: 24px 32px;
|
|
|
+ .total-price {
|
|
|
+ font-size: 52px;
|
|
|
+ line-height: 74px;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ .pay-btn {
|
|
|
+ padding: 16px 56px;
|
|
|
+ line-height: 40px;
|
|
|
+ color: $iph-standby-text;
|
|
|
+ font-size: 28px;
|
|
|
+ font-weight: 500;
|
|
|
+ border-radius: 38px;
|
|
|
+ background-color: $u-type-primary;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|