index-legacy.996287fb.js 19 KB

1234567891011
  1. ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._menuItem_1a8q1_1{box-sizing:border-box;border-right:4px solid transparent}._menuItem_1a8q1_1 ._icon1_1a8q1_5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAclBMVEUAAACZmZmZmZmZmZmZmZmZmZmZmZmZmZmVlZWZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmampqcnJyZmZmZmZmampqampqZmZmYmJiZmZmXl5eZmZmampqZmZmbm5ubm5uZmZkfuaIxAAAAJXRSTlMAgPvh9Zevkg2O8aKc7YvnhNLd9wjGUQO9dzoo2IZmG+OoYUceYhzpBQAAAUVJREFUSMfN1dtugzAMgGEToJxpoRwKbD37/V9xdtrRlrDISKvU/xLlkyzFIkCFkau4rUfFcZxRa65MDzBTWOCfHa9glqOlr9AELtqqKwMo/pxHURQEgU+lXEKttFi1U4CUA3N1WqRyAIEWjhy0Jy32YgDVDinV2IF5SV4vBnAokcoGMYAhQ8o9iAH0HlJFKAbQKKR2lRjAHrmTHICjxVkOwNdDLQBtzasuBVwyD4ZuoztXc6A0wODhvZ0MbHDsKgL78bwXikCbKNStG5iU8j5NAZNQByAA9hgclwCfB/0HcElWLyUXO+hxmuqt4BuNnKc/VGaAxgSNFUBXuC8VHViAtQgR47eCnDfyswBf0XYpUEvA5u3A0eDx7BZp6o8Fv0W3cqp+AiUKc8fxhOV3UNUo6vEGVU6RZfEt796WUmOIys1v538Ayd1jJlAUSpMAAAAASUVORK5CYII=) no-repeat center;background-size:contain}._menuItem_1a8q1_1 ._icon2_1a8q1_9{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAflBMVEUAAACZmZmZmZmZmZmZmZmZmZmUlJSZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmampqbm5uZmZmZmZmZmZmampqampqYmJiZmZmZmZmYmJibm5uampqZmZmZmZmbm5uZmZmZmZmampqYmJiZmZmZmZmZmZmampqampqXl5eZmZkNVmV2AAAAKXRSTlMA1Pzn99sCzahV8e2gmX5EJQd1aGA+IuLEEQ1SODEbiBZLH5C+tFmwLC/QEpoAAAIOSURBVEjHxVTbdqowEEVCIlLkjlxEsWg9zf//4MkkRBOGWNfqQ/cDa5jsmWSu3t/hUNyIH9Dw3r9Fn2Kfz/go8p/5nxE3sD27md0E30q5DyhRAskcfkPhuM29Gmh+XDPP63dbsNh0a1G2XCLNG3A6aH0B5nvMrz8U3z8kEOnheVKCNkP+JT9o45QRIRzNs1AorkuDFugJ5HyAvFhnmdA0y3iBn0oRXlTYpxA4vGlxa6LEPQSu9U5VJC7on7Yn+3RcRuV1QtN6r29AYf3TeV+P4WBpLkZm6tUsEWb7IKI2FyWu1QGXem/oViv9bdFVtXip5J7gXopBQoXgoUpnirqV4m69UDVeW7jmvpgHOnkYWQBHqmgs5haOK/ya6tOaVSBb+Dot+aWe+WA/3TiGP+Y2Xz01GS7sqOY/iqtTx/JzXdx8tAlUWqKSPeafVobD8yh9NNDgRuKp/K/k/Ymma5MvUJPJQ6UdAhBTlBI2ylfNfvJIZ65r9NUIlVHv3WMYrpAmlMHnM/jwaLwKhG/wsntycPNsGUgbIcnWhvqG7i0Ki+gTJCFEUhPAGvOcKPRYCt5GVy/03OijecpEkkf9SLjSiXgOMS/vbB7TIH9lsLNX5llmF8PJOK1NIlp31OhADrG8RCP6xn5h4ibriv3S4PrDk5AByV7xK44MuE83TjQcGbwDY9G8xSfmQg7e4B//A8imasPe6dzwAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._menuItem_1a8q1_1 ._icon3_1a8q1_13{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAZlBMVEUAAACampqZmZmampqZmZmZmZmZmZmcnJyfn5+ZmZmZmZmampqZmZmZmZmZmZmampqZmZmcnJyZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmampqampqYmJiampqampqYmJicnJyZmZnCmI1WAAAAIXRSTlMASbZt3r4/DAb67tPGqI1QMx718unnlH2gnXZxYVsrKhL+b8u1AAABH0lEQVRIx9WSW3eDIBCEN1VQES+J0dwv8///ZJlTH5piIjzYNt8D5zA4sLOu/CZr2+1zX873nV1PGhSA2pdrJ6tJQweguP1Ub4WTu6cvQIWoIxqkeRQbEC2TVDxL84fEKbXqWZs2PN19l3ZUNl6TvOMXVxCvgFdFTkb02uDRXpIven5RJiMld/24ubRCyDlFEOlZSF4hmIpxBkQwuPI5QXWzmqWpOVWtHNyaSBAJgIMw8D3McGdw4TsSCKsXxBnwLoa2NHUWYyjZPx1hGMcgizQgXUUZSBJr2C5uSJYNPWTL/TiORv6/pvWPDSbOYMS69SpBXAFYObpVZRJApgAcJdvyIfUxizIcX3e1LhBMocWhewTS67G4kzWYxdgTo34CUqJWgIrzrX0AAAAASUVORK5CYII=) no-repeat center;background-size:contain}._menuItem_1a8q1_1 ._icon4_1a8q1_17{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAb1BMVEUAAACZmZmampqVlZWZmZmZmZmampqampqZmZmZmZmampqdnZ2ZmZmZmZmZmZmampqampqZmZmampqampqZmZmZmZmZmZmampqZmZmZmZmXl5eYmJiZmZmampqZmZmampqZmZmbm5uampqZmZmZmZki42SsAAAAJHRSTlMAsb0Mwe6INfv3tgPd18ZNPtGmVfLmzS6AZR8Qc5yXkl85RBlGtkCUAAABOElEQVRIx82U2XKDMAxFBcSA2fc9SdPq/7+xtmc8FS5g8sLkPDHCx1cYj+ACiizEI7gbrNeHaIP3VLihHYcKHJG5RzDElgp0AwptgV0l9MX8hjAvKSIfzgqviqNiPCXwEjXlGUGTJcK1Cx0qmkcPEWJoF1IUdKMHQATbNwQgOS8w+FjB+RAhE6uGSQtoFxIUhFEer4XaN6AJinaYqHBHg43LFzbk8j3N0UKFZmh13dVCz9aCvz6lOI9Ctc9LC+AFlOn/sU5+ytzgojETeUdkhsDQTkKFCu08qfCToI10Bsq8VI4glX/f+aOVQ0g+VIsHG8RSyEmhloMITMz35g7f+0KpAihfonI7DOiMJuVpFAfzkATYI3I1l8EeQQNqMBnV/d+iIAFmRL/ZEQ2gEXs9xVXz2Knf4XJ+Af8FVkoaW9RhAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._menuItem_1a8q1_1 ._icon5_1a8q1_21{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAeFBMVEUAAACZmZmZmZmYmJiampqZmZmbm5uZmZmZmZmZmZmbm5ucnJyZmZmZmZmampqZmZmZmZmZmZmZmZmZmZmampqZmZmbm5uYmJiZmZmZmZmZmZmZmZmampqZmZmZmZmZmZmZmZmZmZmZmZmampqampqampqampqZmZlqLc7bAAAAJ3RSTlMAxkaLIvgFX6BzYwuv6mzw4Jkvp3ZNGBLk0s98OdaQPyi8rYRU2sG3RnkeAAABtElEQVRIx92VyXajMBBFMUZgIzOPjRk8Je///7BLotKNlRDkRTa5G0pS3aMSdUAOUZ0iaMSwr51NZIEFibspFHhC5A7zOD4R8+auzvqjSUHsOH+EQSr1/I3CQnJSn9CItxhMgRciIKF85kzz8RzeYTD4ep6LYHoaZhxPwRMP6XwhSB5+g5HxBgh7gd/BxVrgUwfWArelky8IfqRalO0/Ubq+ITAh1kgrQ2BGrBIaAvMY1gRxMQXGm9xPxC1lHj4EGzwBJHYCc6XUxlrgL61+RSiB9qWS/DLL7QXmhwW/lvZCXd2vCcTdRvD7Y5GCOW8K3kngA4raLaFpObfLgoukYEs40np7Kyepi7MQMuDIoZ1wAMJfI3jnotSCADoLIVbtc5WQAqJeaXIYShYe809DCTSDzvUWyMVlOc6C3wJDfNEl5TARlT7gO4hsFnogavjQzhkmO120Cu7NLFTAla8btZQYwkEJO2BPj/87SO2lDlHHh9OCfcOXpfdP8Gm0C8pEXYBrpMBEjw6oFv/0xPuuAW+TNwJCbcgnjXpnlVxgJuPxeD2V5K4TzMa7dGzJb5HoYt+Y/QsGlWHlrvTqqQAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._menuItem_1a8q1_1._active_1a8q1_25,._menuItem_1a8q1_1:hover{background-color:#e9fff8;color:#2dc7aa;border-right-color:#2dc7aa}._menuItem_1a8q1_1._active_1a8q1_25 ._icon1_1a8q1_5,._menuItem_1a8q1_1:hover ._icon1_1a8q1_5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAgVBMVEUAAAAux6ktx6otx6otyKotx6otyKotyKotyKotyKonyKgtyKosx6otyKosyKosyKotx6otyKotx6otyKotx6otyKsmz60tyKotyKotyKosyKosx6styKssx6osyqwjvZssyKosxqotx6stx6stx6wpyawtx6otx6osy6ooya4tx6ri9x0zAAAAKnRSTlMAgOH88fn1r4+YDZztooWVk4zp0tqLCOTGgr13UjooBKsbZmNLHs1gRROCVLZCAAABUElEQVRIx83VaY+CMBCA4bGVylW55FAO7z36/3/gMpXgartk2MTE9yPMExqgKfT5CeOcO44jhFj2hX1pmpblJjiCJT9Tf1ZeLSBXE22+TcDUVFVhAI6XE7cvjqPI87wAk1IetFjtnwFeXYCtWouADsDVYksHcNDiRAfFDu/yhgjGjyRaMoCjfuthRwbQhTjAjmQArcCJzCcDuHAc2RVkAGeFHegAFlp80gF4elEzwL7CX50KMGkHXb3WnQsa6IQa2tHAVo1dLYAZ4DTOC/8JBFawl47SpQ1QABJfB0AARgYo5wDvPyA1wUWuHpJfMBRZQaue4+0kWBtgXGuMG9sAjQmaSQB1xh7KahhyTTAdguUckLwc4DElXgrwEznvBXC78/ngfux+BN6tCIsxdyjpy/PqF2CKGBufRiwfQFEpUvczqFhk4XJM6JwhrsP1JLf5H7lGcGan0B7JAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._menuItem_1a8q1_1._active_1a8q1_25 ._icon2_1a8q1_9,._menuItem_1a8q1_1:hover ._icon2_1a8q1_9{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAjVBMVEUAAAAtyKstx6oryawsx6opxK0mwqcsyKosyKotx6otx6ssyKosx6otyKotyKstx6otyKoryqotyKstx6osyKosx6wsx6otyKosyKosyKotyastyKstyKosyKosyKstyKosyKstyKssya0tyKssyKotyKotyKssyKstyKotyastyKstyassx6styastx6o2sWZ9AAAALnRSTlMA1Pwj9w0H8ejkVETazKiZPhR/dDEb7d7EnTihiGdXs2JLIOzPvpB6X1GrayhZv4KkVwAAAhtJREFUSMfFVNuWqjAMrchVGeSiooDI4GV0xtP//7yTtCAtAQ5rnYfZD11Z6U6a5sZ+D8vk5hqmH5TWLHqdG7zBJbH/zf90uIKP3TgzqvGspHsz9aTgLkf8BuD4ZrMQaUaegcoqP9BiYQ398sAF1rYHp5e1+gTNN5QfXiTfWH7BuVeCOKH2RfwLvnnI18wFYaXeBaC49w0OSI8x1AzzojsDTdr/L/LXQsSIEv0WPw4x9l+NpXjEj+u3G6py4AGrs93qtwWonnq9QHMYd0dV+K0zY/P/ECmZCQez5DIdLtSmaTGb1mGg1BtFF5NKkzTIavEfKVsu7aUjCLQQPJB+1rJbw65bU4sOgs8R+ys+U/bmIa2HutvkCBltzjU8GUXot7chq0DWcd72+ad25s1NfeMURqFvgh+h9eMsYk85/07+2Ea2vQuTm/R1bcrUpcU5ofgwhGmlONwVwkfalcbykPMSfPH+l6ArJmdUuzVTSnsR9pmJqV0zgkJE1fix8cXV+ylvcAk9lHqX72G4Y5pIBrswePieyQqFF3op2Qi+321/BSlqLb/Ht+gerj9RAsERPzBxjbFRJO1YAm/R9n3AxmE54BBDgSQXMkh8cgLHJpvW6Q9DeJAie8pgpa/MncguxShjOzSJZN35Sgdy/MskUugbPcJ42mABlP80uE8beMTAXU7xK04MuOEvRuFxYjAHyqKZxXfVhWzO4D//AjaYdk7sTffSAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._menuItem_1a8q1_1._active_1a8q1_25 ._icon3_1a8q1_13,._menuItem_1a8q1_1:hover ._icon3_1a8q1_13{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAclBMVEUAAAAtx6otx6ssx6styKosyKktx6otx6otyKosx6otx6otyKosyKssx6kryK0syqofwaItx6otyKosx6otx6otx6otx6styKssyKstyKosyKslxrQsx6ktyKstx6ssyKovyqwryKorxqoq1apAv78tx6qNxhSoAAAAJXRSTlMAtklt3z/07+jGvI1QMx4LCPv52dLAqZ+UfXUNp2FbRSsqEgYEVQdmUQAAAShJREFUSMfVkt1ygyAQhbdFEFCjMT8aTdL87fu/YnenTicNGOHCtvkudsbDHmDxwG+yMKq5uvK1UWYBPjaImLlyRvIGfChaWZ4f1fOSZDV6AtpH1eLoCRKZ/KeYIyPByxaJpLqXqoS17dgzKSR299KOFeU8krP8ZAvwXODpJb0jOs/gUBzFFxqJtRhYI6GHj2Px3X5IMIjkAMxtj8Hsb2RoMYIWoOAEZfn7JHnGqSqgoSogCEGtDfDAFwjiwoNDTRUCodYaMM6Ar2IoVmlWxhg4dCsZYRhiUEYaMPmIMjAi1qBnN4h5h27L+X4cR6P6X2n9Y0MaZ0jBUD1BECdqNdBRtT0E0Ftq7aDXfJB9m8Ty5TVtLWsMppZASI2B6CFfZWdSnCQ1Hcf3EwLhYUTnPxqoAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._menuItem_1a8q1_1._active_1a8q1_25 ._icon4_1a8q1_17,._menuItem_1a8q1_1:hover ._icon4_1a8q1_17{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAgVBMVEUAAAAtyKotyKoqwKotx6otyKotyasrxqksx6otx6otyKofya4A5X8syKotyKosx6otyassyKssyKotx6osyKoqyqssx6osyKosyKstyKotx6otx6otx6osyqwsya0tx6gtx6otyKsux6otyaosyKstyKotyawsyKstxqgqy6otx6qWlJEKAAAAKnRSTlMAsb0M7sGINff7tQMB19LOU008xWQQ8t6kguXcyEEwIOiqnJeSeXBaKhshL6iGAAABTUlEQVRIx82U2W6DMBBFDXGCAbOELSH73uT+/wcWB5EOBHCoVNTzhEY+vrYZDRuBbSzQhzAtRols6BA7KsTQY1BBANzsgwMHKpQb9DAF+FjCPUoHCOnNA8T1UyFaCjxJPhKEjwr/E6Fisy5cvRDgSXbeMQew9YKHgiCZMEYE3R1U+w0ROPu3gvELAX8gxICd7wcIaxTYztytC+GswUvYoGSVP6hwQgP53nx2Rprv0hwt9NJZvqrqZiXseF2Y1V/JDZ1yH+t16dSi7N+fdZ973LRGGjPOpI+4IXDoWVBhCT0XKjwW0OGnjJJej0aBp/6+8cNBrVQfx9uEtSCVMCeFLwAx6yZUg4oWXLXDtnO99MuARsS0NyCol9x1T4QMqgBC8mzOduYqQDaKrnrwqHvghrSgiYjUm5MAGnHvOlHYUk+6zuQu+Vm21rOTZGPzDQp2ZL+OZUnrAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._menuItem_1a8q1_1._active_1a8q1_25 ._icon5_1a8q1_21,._menuItem_1a8q1_1:hover ._icon5_1a8q1_21{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAkFBMVEUAAAAtyKosyKstx6ssyKsuyKktyaosx6otx6styKoxz7Msx6owzKktx6otx6otx6otyKotx6otx6otyKotx6styaorxqstx6otx6osx6otyKosx6ssyaokx6stx6osx6otyKstyKstyKosyKosyawA1pUtyKotx6styKstyKsux60oyK4tyKosyKssx6otx6owizMnAAAAL3RSTlMAx0aLc19jI6GwBfgK6Sr07uTfp25NEtbRz3c5GAj7rZeQfT8wAsSbhFQfDbtpv0bNV44AAAHLSURBVEjH3ZXblqIwEEVpVFBBbnIZQERE2nuf//+7qYSyx04PTXyYl9kvVmrVXklZK8EgksUKEiebbIxRqjWeCMxRgesfOAfOd+fpF+68uSmrfkkiEG8sNFCIXJmvKVy7XFQGtPL6OINKvzf161M9s6f8vQ9PUMgqmedDMCUtdxy3sy+cr8ZfhCsvf0CpoL797hWh5q71BO56pi3wWHL3BaFaiRHtJt8ozKUiMBaGiBJFYBoMYikCc86GBMdTBebSmt+IQ6qcPwQdbB8I9ATmRqWptsA3bfOKMAXC7hVhWRzVf2mcfyx0F1df2CSnDx/OSUeoyngdgSlGBXvh4AFF4ZiQ8rO7zXczz6VgTJgCCOuideUkNIQjMOVQT5gD1n8jXPbrQgpbINcQYjE+Uwgh4GwGhmxZFQvn/tEQAmWQm/YTFb/84ko2vdCFQBZ78kgHqPiJbPAdxLEXSiBIuWljD5V3IdxFcEp7IQFulHOBrejHV4S5EGiDCf187rC6Si+UlyM+1os/TFL+WNqfwpJWb7NpID6AQ0RASz85kDy96cHlpwFkrd3QqcWG3OmqNAbx+KI9DnFobouC3GFmWwg+XEOXQx34ebxUsr8BLEl2dBECg9QAAAAASUVORK5CYII=) no-repeat center;background-size:contain}._users_42v9b_1 .el-dialog{--el-dialog-border-radius: 18px !important;--el-dialog-width: 488px;background:url(./assets/open_live-bg.f4421891.png) no-repeat top center #fff;background-size:contain}._users_42v9b_1 .el-dialog__header{padding:0}._users_42v9b_1 .el-dialog__headerbtn .el-dialog__close{font-size:24px}\n";document.head.appendChild(__vite_style__);System.register(['./vendor-legacy.b19481d4.js','./music_default-legacy.0ca69b44.js','./icon_timer-legacy.c5e10338.js','./icon_vip_default-legacy.d2430bdf.js','./index-legacy.902a9e5a.js','./index-legacy.f5b14698.js'],function(exports){'use strict';var defineComponent,createVNode,RouterLink,createTextVNode,ElButton,ElDialog,RouterView,__glob_5_0,__glob_5_1,__glob_5_2,__glob_5_3,__glob_5_4,__glob_5_5,__glob_5_6,__glob_5_7,__glob_5_8,__glob_5_9,__glob_5_10,__glob_5_11,__glob_5_13,__glob_5_14,__glob_5_17,__glob_5_18,__glob_5_12,__glob_5_15,__glob_5_16,state,iconTeacher,OpenMember;return{setters:[function(module){defineComponent=module.d;createVNode=module.c;RouterLink=module.R;createTextVNode=module.a;ElButton=module.k;ElDialog=module.K;RouterView=module.J;},function(module){__glob_5_0=module._;__glob_5_1=module.a;__glob_5_2=module.b;__glob_5_3=module.c;__glob_5_4=module.d;__glob_5_5=module.e;__glob_5_6=module.f;__glob_5_7=module.g;__glob_5_8=module.h;__glob_5_9=module.i;__glob_5_10=module.j;__glob_5_11=module.k;__glob_5_13=module.l;__glob_5_14=module.m;__glob_5_17=module.n;__glob_5_18=module.o;},function(module){__glob_5_12=module._;},function(module){__glob_5_15=module._;__glob_5_16=module.a;},function(module){state=module.q;iconTeacher=module.d;},function(module){OpenMember=module.O;}],execute:function execute(){var menuItem="_menuItem_1a8q1_1";var icon1="_icon1_1a8q1_5";var icon2="_icon2_1a8q1_9";var icon3="_icon3_1a8q1_13";var icon4="_icon4_1a8q1_17";var icon5="_icon5_1a8q1_21";var active="_active_1a8q1_25";var styles$1={menuItem:menuItem,icon1:icon1,icon2:icon2,icon3:icon3,icon4:icon4,icon5:icon5,active:active};var defaultRoute='userInfo';var UserMenu=defineComponent({name:'user-menu',data:function data(){return{};},computed:{activeRoute:function activeRoute(){return this.$route.name;},acitveMenuRoute:function acitveMenuRoute(){return this.$route.meta.activeMenu;},menuList:function menuList(){var hasRoute=this.$router.hasRoute(defaultRoute);// 判断是否有个人中心的菜单
  2. if(!hasRoute){return;}var allRouter=this.$router.getRoutes();var userInfoRouter=allRouter.find(function(item){return item.name===defaultRoute;});var list=[];userInfoRouter===null||userInfoRouter===void 0?void 0:userInfoRouter.children.forEach(function(item){if(!item.meta.hidden){list.push(item);}});return list;}},render:function render(){var _this=this;return createVNode("div",{"class":"bg-white rounded-[6px] text-center pt-6 flex items-center flex-col"},[this.menuList.map(function(item){return createVNode(RouterLink,{"to":item.path,"class":['py-4 px-6 flex items-center text-lg font-semibold text-[#666] w-full last:mb-0 cursor-pointer',styles$1.menuItem,(item.name===_this.activeRoute||item.name===_this.acitveMenuRoute)&&styles$1.active]},{default:function _default(){return[createVNode("i",{"class":['w-6 h-6 mr-[22px]',styles$1['icon'+item.meta.index]]},null),item.meta.title];}});})]);}});var users="_users_42v9b_1";var styles={users:users};// import musicActive from '../../images/music_active.png'
  3. // import entryDefault from '../../images/entry_default.png'
  4. // import entryActive from '../../images/entry_active.png'
  5. var getAssetsHomeFile=function getAssetsHomeFile(fileName){var path="../../images/".concat(fileName);var modules={"../../images/course_bg.png":__glob_5_0,"../../images/entry_active.png":__glob_5_1,"../../images/entry_default.png":__glob_5_2,"../../images/icon_cert.png":__glob_5_3,"../../images/icon_cert_default.png":__glob_5_4,"../../images/icon_king.png":__glob_5_5,"../../images/icon_live.png":__glob_5_6,"../../images/icon_live_default.png":__glob_5_7,"../../images/icon_member.png":__glob_5_8,"../../images/icon_member_default.png":__glob_5_9,"../../images/icon_music.png":__glob_5_10,"../../images/icon_music_default.png":__glob_5_11,"../../images/icon_timer.png":__glob_5_12,"../../images/icon_video.png":__glob_5_13,"../../images/icon_video_default.png":__glob_5_14,"../../images/icon_vip.png":__glob_5_15,"../../images/icon_vip_default.png":__glob_5_16,"../../images/music_active.png":__glob_5_17,"../../images/music_default.png":__glob_5_18};return modules[path].default;};var Users=defineComponent({name:'users',computed:{userInfo:function userInfo(){return state.user.data;}},data:function data(){return{memberStatus:false};},methods:{onDetail:function onDetail(type){if(type==='entry'){this.$router.push({path:'/teacherAuth'});}else if(type==='music'){this.$router.push({path:'/musicAuth'});}},// 检验是否有对应徽章
  6. checkBadge:function checkBadge(type){// tag : 老师点亮图标
  7. // STYLE:个人风采
  8. // VIDEO:视频课
  9. // LIVE:直播课,
  10. // MUSIC:曲目 逗号隔开
  11. var status=false;var userInfo=this.userInfo;switch(type){case'STYLE':case'VIDEO':case'LIVE':case'MUSIC':if(userInfo.tag){status=userInfo.tag.indexOf(type)>-1;}break;case'VIP':status=userInfo.isVip>0;break;default:status=false;break;}return status;}},render:function render(){var _this2=this;return createVNode("div",{"class":['text-center pb-8 relative overflow-hidden',styles.users]},[createVNode("div",{"class":"bg-[#CFF2FF] absolute left-6 top-0 text-[#0089B9] text-xs py-0.5 px-2 rounded-[10px]"},[createTextVNode("\u8001\u5E08")]),createVNode("img",{"src":this.userInfo.heardUrl||iconTeacher,"class":"w-[68px] h-[68px] rounded-full border-2 border-[#2DC7AA] border-solid mt-6 mx-auto object-cover"},null),createVNode("p",{"class":"text-[#333] text-lg font-semibold pt-4 flex items-center justify-center"},[this.userInfo.username,createVNode("img",{"src":this.checkBadge('VIP')?getAssetsHomeFile('icon_vip.png'):getAssetsHomeFile('icon_vip_default.png'),"class":"h-[26px]"},null)]),createVNode("div",{"class":"flex items-center justify-center pt-2 pb-10"},[createVNode("span",{"class":"text-base text-[#999]"},[createTextVNode("\u52CB\u7AE0")]),createVNode("img",{"src":this.checkBadge('VIP')?getAssetsHomeFile('icon_member.png'):getAssetsHomeFile('icon_member_default.png'),"class":"h-[26px] px-1"},null),createVNode("img",{"src":this.checkBadge('STYLE')?getAssetsHomeFile('icon_cert.png'):getAssetsHomeFile('icon_cert_default.png'),"class":"h-[26px] px-1"},null),createVNode("img",{"src":this.checkBadge('VIDEO')?getAssetsHomeFile('icon_video.png'):getAssetsHomeFile('icon_video_default.png'),"class":"h-[26px] px-1"},null),createVNode("img",{"src":this.checkBadge('LIVE')?getAssetsHomeFile('icon_live.png'):getAssetsHomeFile('icon_live_default.png'),"class":"h-[26px] px-1"},null),createVNode("img",{"src":this.checkBadge('MUSIC')?getAssetsHomeFile('icon_music.png'):getAssetsHomeFile('icon_music_default.png'),"class":"h-[26px] px-1"},null)]),createVNode("div",{"class":this.userInfo.entryFlag!==1||!this.checkBadge('VIP')?'mb-9':''},[this.userInfo.entryFlag!==1&&createVNode(ElButton,{"round":true,"type":"primary","size":"large","plain":true,"class":"!px-4 !bg-white hover:!bg-[#2DC7AA]","onClick":function onClick(){_this2.onDetail('entry');}},{default:function _default(){return[createTextVNode("\u8FBE\u4EBA\u8BA4\u8BC1")];}}),!this.checkBadge('VIP')&&createVNode(ElButton,{"round":true,"type":"primary","size":"large","class":"!px-4","onClick":function onClick(){return _this2.memberStatus=true;}},{default:function _default(){return[createTextVNode("\u5F00\u901A\u4F1A\u5458")];}})]),createVNode("div",{"class":"text-base text-[#999] mx-[25px] flex items-center justify-center pt-10 border-t border-solid border-[#E7E6E6]"},[createVNode("span",{"class":"flex items-center justify-center flex-col leading-6 cursor-pointer flex-1 border-r border-solid border-[#E7E6E6]","onClick":function onClick(){_this2.$router.push('/userInfo/myFans');}},[createVNode("b",{"class":"text-[#333333] text-[28px] pl-1 pb-1"},[this.userInfo.fansNum||0]),createTextVNode("\u7C89\u4E1D")]),createVNode("span",{"class":"pl-3 flex items-center flex-col justify-center leading-6 cursor-pointer flex-1","onClick":function onClick(){_this2.$router.push('/userInfo/musicClass');}},[createVNode("b",{"class":"text-[#333333] text-[28px] pl-1 pb-1"},[this.userInfo.musicSheetNum||0]),createTextVNode("\u4E50\u8C31")])]),createVNode(ElDialog,{"modelValue":this.memberStatus,"onUpdate:modelValue":function onUpdateModelValue(val){return _this2.memberStatus=val;},"closeOnClickModal":false,"closeOnPressEscape":false},{default:function _default(){return[createVNode(OpenMember,null,null)];}})]);}});var index=exports('default',defineComponent({name:'user-info',render:function render(){return createVNode("div",{"class":"bg-[#F6F7F8] overflow-hidden"},[createVNode("div",{"class":"w-[1002px] mt-[86px] rounded-[10px] bg-white py-5 overflow-hidden mb-10 min-h-full m-auto text-[#333] flex"},[createVNode("div",{"class":"w-[264px] "},[createVNode(Users,null,null),createVNode(UserMenu,null,null)]),createVNode("div",{"class":"w-[737px] border-l border-l-[#E7E6E6]"},[createVNode(RouterView,null,null)])])]);}}));}};});})();