From 0c807f353e7459888803562953afda327c840f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 18 Mar 2023 21:39:55 +0800 Subject: Shorten course detail classic property names --- Course/Detail/Classic.ui.qml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'Course') diff --git a/Course/Detail/Classic.ui.qml b/Course/Detail/Classic.ui.qml index d755076..d598089 100644 --- a/Course/Detail/Classic.ui.qml +++ b/Course/Detail/Classic.ui.qml @@ -11,13 +11,13 @@ Flickable { property alias introTitleParagraph: introTitleParagraph property alias tabs: tabs property alias courseDescription: courseDescription - property alias detailImage: image - property alias detailPrice: price - property alias detailOriginalPrice: originalPrice - property alias detailDiscount: discount - property alias detailTime: time - property alias detailTrial: trial - property alias detailBuy: buy + property alias image: image + property string priceText: "$150" + property alias originalPrice: originalPrice + property alias discount: discount + property alias time: time + property alias trial: trial + property alias buy: buy property bool doesntEmbed: Qt.platform.os === "android" || Qt.platform.os === "linux" || Qt.platform.os === "osx" @@ -300,8 +300,7 @@ Flickable { RowLayout { Label { - id: price - text: "$150" + text: priceText font { family: heebo.name pointSize: 23 -- cgit v1.2.3