美文网首页
账号模块相关

账号模块相关

作者: xqiiitan | 来源:发表于2025-06-17 09:19 被阅读0次

rightPage/StackPages/settingItems

import QtQuick 2.0
import QtQuick.Controls 2.0
import "../../../basic"

// 账号
Item{
    anchors.left: parent.left
    anchors.right: parent.right
    height: 100
    Label{
        id:counterTitleLabel
        text: "账号"
        font.pixelSize: 22
        font.bold: true
        font.family: "黑体"
        anchors.left: parent.left
        color: "white"
    }
    Label{
        id:counterDescLabel
        text:"登录网易云音乐,手机电脑多端同步,320k高音质无线下载"
        font.bold: true
        font.family: BasicConfig.commFont
        anchors.verticalCenter: counterTitleLabel.verticalAlignment
        anchors.left: counterTitleLabel.right
        color: "#e8e8e8"
        anchors.leftMargin: 100
    }
    //立即登录
    Rectangle{
        width: 100; height: 30; radius: 15
        anchors.left: counterDescLabel.left
        anchors.top: counterDescLabel.bottom
        anchors.topMargin: 20
        color: "#e84b5f"
        Label{
            text: "立即登录"
            font.pixelSize: 18
            font.family: BasicConfig.commFont
            anchors.centerIn: parent
            color: "white"
        }
        MouseArea{
            anchors.fill: parent
            hoverEnabled: true
            onEntered: {
                parent.opacity=0.8
                cursorShape=Qt.PointingHandCursor
            }
            onExited: {
                parent.opacity=1
                cursorShape=Qt.ArrowCursor
            }
        }
    }

}

相关文章

网友评论

      本文标题:账号模块相关

      本文链接:https://www.haomeiwen.com/subject/lgkqgjtx.html