|
|
@@ -1,133 +1,590 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<DirectionalLayout
|
|
|
+<ScrollView
|
|
|
xmlns:ohos="http://schemas.huawei.com/res/ohos"
|
|
|
ohos:height="match_parent"
|
|
|
ohos:width="match_parent"
|
|
|
- ohos:orientation="vertical"
|
|
|
- ohos:background_element="#FFFFFFFF"
|
|
|
- ohos:padding="16vp">
|
|
|
+ ohos:background_element="#FFF5F5F5">
|
|
|
|
|
|
- <!-- 标题 -->
|
|
|
- <Text
|
|
|
- ohos:id="$+id:detail_title"
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="match_parent"
|
|
|
- ohos:text="订单详情"
|
|
|
- ohos:text_size="18fp"
|
|
|
- ohos:text_color="#FF000000"
|
|
|
- ohos:text_weight="600"
|
|
|
- ohos:bottom_margin="16vp"/>
|
|
|
-
|
|
|
- <!-- 商品名称 -->
|
|
|
<DirectionalLayout
|
|
|
ohos:height="match_content"
|
|
|
ohos:width="match_parent"
|
|
|
- ohos:orientation="horizontal"
|
|
|
- ohos:bottom_margin="12vp">
|
|
|
- <Text
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="80vp"
|
|
|
- ohos:text="商品名称:"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF666666"/>
|
|
|
- <Text
|
|
|
- ohos:id="$+id:detail_goods_name"
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="0vp"
|
|
|
- ohos:weight="1"
|
|
|
- ohos:text="--"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF000000"/>
|
|
|
- </DirectionalLayout>
|
|
|
+ ohos:orientation="vertical"
|
|
|
+ ohos:padding="12vp">
|
|
|
|
|
|
- <!-- 业务类型 -->
|
|
|
- <DirectionalLayout
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="match_parent"
|
|
|
- ohos:orientation="horizontal"
|
|
|
- ohos:bottom_margin="12vp">
|
|
|
- <Text
|
|
|
+ <!-- 顶部金额卡片 -->
|
|
|
+ <DirectionalLayout
|
|
|
ohos:height="match_content"
|
|
|
- ohos:width="80vp"
|
|
|
- ohos:text="业务类型:"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF666666"/>
|
|
|
- <Text
|
|
|
- ohos:id="$+id:detail_biz_type"
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="0vp"
|
|
|
- ohos:weight="1"
|
|
|
- ohos:text="--"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF000000"/>
|
|
|
- </DirectionalLayout>
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="vertical"
|
|
|
+ ohos:background_element="$graphic:background_circle_16"
|
|
|
+ ohos:padding="16vp"
|
|
|
+ ohos:alignment="center"
|
|
|
+ ohos:bottom_margin="12vp">
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_total_amount"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="¥0.00"
|
|
|
+ ohos:text_size="30fp"
|
|
|
+ ohos:text_color="#FF000000"
|
|
|
+ ohos:text_weight="600"/>
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="已支付"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:top_margin="20vp"/>
|
|
|
+ </DirectionalLayout>
|
|
|
|
|
|
- <!-- 车场名称 -->
|
|
|
- <DirectionalLayout
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="match_parent"
|
|
|
- ohos:orientation="horizontal"
|
|
|
- ohos:bottom_margin="12vp">
|
|
|
- <Text
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="80vp"
|
|
|
- ohos:text="车场名称:"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF666666"/>
|
|
|
- <Text
|
|
|
- ohos:id="$+id:detail_park_name"
|
|
|
+ <!-- 订单详情卡片 -->
|
|
|
+ <DirectionalLayout
|
|
|
ohos:height="match_content"
|
|
|
- ohos:width="0vp"
|
|
|
- ohos:weight="1"
|
|
|
- ohos:text="--"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF000000"/>
|
|
|
- </DirectionalLayout>
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="vertical"
|
|
|
+ ohos:background_element="$graphic:background_circle_16"
|
|
|
+ ohos:padding="16vp"
|
|
|
+ ohos:bottom_margin="12vp">
|
|
|
|
|
|
- <!-- 支付时间 -->
|
|
|
- <DirectionalLayout
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="match_parent"
|
|
|
- ohos:orientation="horizontal"
|
|
|
- ohos:bottom_margin="12vp">
|
|
|
- <Text
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="80vp"
|
|
|
- ohos:text="支付时间:"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF666666"/>
|
|
|
- <Text
|
|
|
- ohos:id="$+id:detail_pay_time"
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="0vp"
|
|
|
- ohos:weight="1"
|
|
|
- ohos:text="--"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF000000"/>
|
|
|
- </DirectionalLayout>
|
|
|
+ <!-- 车牌号码 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_plate_no"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="车牌号码"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_plate_no"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"
|
|
|
+ ohos:max_text_lines="2"
|
|
|
+ ohos:truncation_mode="ellipsis_at_end"/>
|
|
|
+ </DirectionalLayout>
|
|
|
|
|
|
- <!-- 金额 -->
|
|
|
- <DirectionalLayout
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="match_parent"
|
|
|
- ohos:orientation="horizontal"
|
|
|
- ohos:bottom_margin="12vp">
|
|
|
- <Text
|
|
|
- ohos:height="match_content"
|
|
|
- ohos:width="80vp"
|
|
|
- ohos:text="支付金额:"
|
|
|
- ohos:text_size="14fp"
|
|
|
- ohos:text_color="#FF666666"/>
|
|
|
- <Text
|
|
|
- ohos:id="$+id:detail_amount"
|
|
|
+ <!-- 车场名称 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_park_name"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="车场名称"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_park_name"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"
|
|
|
+ ohos:max_text_lines="2"
|
|
|
+ ohos:truncation_mode="ellipsis_at_end"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 入场时间(临停) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_in_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="入场时间"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_in_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 停车时长(临停) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_stay_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="停车时长"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_stay_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 停车费(临停) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_total_fee"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="停车费"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_total_fee"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 优惠金额(临停) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_discount"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="优惠金额"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_discount"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 实付金额(临停) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_actual_amount"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="实付金额"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_actual_amount"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 车位数量(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_parking_lot"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="车位数量"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_parking_lot"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 套餐名称(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_card_type"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="套餐名称"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_card_type"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 套餐单价(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_card_price"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="套餐单价"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_card_price"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 购买数量(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_card_copies"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="购买数量"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_card_copies"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 续费时长(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_renew_duration"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="续费时长"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_renew_duration"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 原到期时间(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_before_expire"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="原到期时间"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_before_expire"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 续费后开始时间(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_start_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="续费后开始时间"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_start_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 续费后到期时间(月卡) -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_end_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp"
|
|
|
+ ohos:visibility="hide">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="续费后到期时间"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_end_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 订单类型 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_order_type"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="订单类型"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_order_type"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 支付时间 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_pay_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="支付时间"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_pay_time"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 支付方式 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_pay_way"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="支付方式"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_pay_way"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 订单号 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:id="$+id:layout_order_id"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="订单号"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_order_id"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF333333"
|
|
|
+ ohos:text_alignment="right"
|
|
|
+ ohos:max_text_lines="2"
|
|
|
+ ohos:truncation_mode="ellipsis_at_end"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ <!-- 电子发票卡片 -->
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:visibility="hide"
|
|
|
+ ohos:id="$+id:layout_invoice"
|
|
|
ohos:height="match_content"
|
|
|
- ohos:width="0vp"
|
|
|
- ohos:weight="1"
|
|
|
- ohos:text="¥0.00"
|
|
|
- ohos:text_size="16fp"
|
|
|
- ohos:text_color="#FA6332"
|
|
|
- ohos:text_weight="600"/>
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="vertical"
|
|
|
+ ohos:background_element="$graphic:background_circle_16"
|
|
|
+ ohos:padding="16vp">
|
|
|
+
|
|
|
+ <DirectionalLayout
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_parent"
|
|
|
+ ohos:orientation="horizontal"
|
|
|
+ ohos:top_margin="20vp">
|
|
|
+ <Text
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="match_content"
|
|
|
+ ohos:text="电子发票"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FF999999"
|
|
|
+ ohos:right_margin="30vp"/>
|
|
|
+ <Text
|
|
|
+ ohos:id="$+id:detail_invoice_status"
|
|
|
+ ohos:height="match_content"
|
|
|
+ ohos:width="0vp"
|
|
|
+ ohos:weight="1"
|
|
|
+ ohos:text="--"
|
|
|
+ ohos:text_size="14fp"
|
|
|
+ ohos:text_color="#FFFF6600"
|
|
|
+ ohos:text_alignment="right"/>
|
|
|
+ <Image
|
|
|
+ ohos:id="$+id:detail_invoice_arrow"
|
|
|
+ ohos:height="16vp"
|
|
|
+ ohos:width="16vp"
|
|
|
+ ohos:image_src="$media:close"
|
|
|
+ ohos:scale_mode="zoom_center"
|
|
|
+ ohos:visibility="hide"/>
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
+ </DirectionalLayout>
|
|
|
+
|
|
|
</DirectionalLayout>
|
|
|
|
|
|
-</DirectionalLayout>
|
|
|
+</ScrollView>
|
|
|
|