Explorar el Código

提交订单与订单详情新增留言

DELL hace 3 años
padre
commit
5cf994c60e
Se han modificado 2 ficheros con 15 adiciones y 0 borrados
  1. 10 0
      packageGoods/order/detail.vue
  2. 5 0
      packageGoods/order/settlement.vue

+ 10 - 0
packageGoods/order/detail.vue

@@ -44,6 +44,10 @@
 					</view>
 				</view>
 			</view>
+			<view class="flex freight" v-if="info.memo != ''">
+				<text style="margin-right: 30rpx;">留言:</text>
+				<text>{{info.memo}}</text>
+			</view>
 
 			<view class="detail-info">
 				<view class="detail-info-title">订单信息</view>
@@ -389,6 +393,12 @@
 </style>
 
 <style lang="scss" scoped>
+	.freight {
+			margin-bottom: 20rpx;
+			background-color: #fff;
+			justify-content: space-between;
+			padding: 20rpx 16rpx;
+		}
 	.detail {
 		margin: 10rpx;
 		padding-bottom: 160rpx;

+ 5 - 0
packageGoods/order/settlement.vue

@@ -67,6 +67,10 @@
 				</view>
 			</view>
 
+			<view class="flex settlement-freight">
+				<text style="margin-right: 30rpx;">留言</text>
+				<u-input placeholder="请输入留言" clearable  inputAlign="right" border="none" />
+			</view>
 			<view class="flex settlement-freight">
 				<text>运费</text>
 				<text>¥{{ $numberFormat(info.freightAmt) }}</text>
@@ -453,6 +457,7 @@
 		}
 
 		&-freight {
+			margin-bottom: 20rpx;
 			background-color: #fff;
 			justify-content: space-between;
 			padding: 20rpx 16rpx;