Download index.html from de1231321/city: direct link, hf CLI and curl.
- Browser
- Download file 41.4 kB
-
https://huggingface.co/spaces/de1231321/city/resolve/main/index.html
- Command line
-
hf download hf://spaces/de1231321/city/index.html
-
curl -L -o index.html https://huggingface.co/spaces/de1231321/city/resolve/main/index.html
41.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Channel Partners Dashboard</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| appleBlue: '#0071E3', | |
| appleGray: '#F5F5F7', | |
| appleDarkGray: '#86868B', | |
| appleLightGray: '#E5E5E5', | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .card-shadow { | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| } | |
| .smooth-transition { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .rotate-180 { | |
| transform: rotate(180deg); | |
| } | |
| .account-chip { | |
| display: inline-flex; | |
| align-items: center; | |
| margin: 0.25rem; | |
| padding: 0.35rem 0.75rem; | |
| border-radius: 9999px; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| background-color: #F3F4F6; | |
| color: #374151; | |
| box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); | |
| } | |
| .account-chip.traditional { | |
| background-color: #EFF6FF; | |
| color: #1E40AF; | |
| } | |
| .account-chip.regular { | |
| background-color: #F3F4F6; | |
| color: #374151; | |
| } | |
| .account-chip.test { | |
| background-color: #FEF2F2; | |
| color: #B91C1C; | |
| } | |
| .partner-card { | |
| border-radius: 1rem; | |
| overflow: hidden; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .partner-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .city-tag { | |
| display: inline-flex; | |
| align-items: center; | |
| background-color: #F9FAFB; | |
| border: 1px solid #E5E7EB; | |
| border-radius: 0.5rem; | |
| padding: 0.25rem 0.75rem; | |
| margin: 0.25rem; | |
| font-size: 0.75rem; | |
| } | |
| .header-gradient { | |
| background: linear-gradient(135deg, #0071E3 0%, #00A1E6 100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen font-sans"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <header class="mb-10"> | |
| <div class="header-gradient rounded-xl p-6 mb-6 text-white"> | |
| <h1 class="text-3xl font-bold">Channel Partners</h1> | |
| <p class="text-blue-100 mt-2">Manage and monitor all collaboration channels</p> | |
| </div> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-semibold text-gray-800">Partner Directory</h2> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search partners..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <div class="absolute left-3 top-2.5 text-gray-400"> | |
| <i class="fas fa-search"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- User Cards will be inserted here --> | |
| </div> | |
| </div> | |
| <script> | |
| const data = [ | |
| { | |
| "id": "1823303225514074114", | |
| "userName": "userA", | |
| "nickName": "用户A", | |
| "city": "台北市,高雄市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": null, | |
| "children": [ | |
| { | |
| "id": "1823303225514074114", | |
| "userName": "userA", | |
| "nickName": "用户A", | |
| "city": "台北市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1823303225514074114", | |
| "userName": "userA", | |
| "nickName": "用户A", | |
| "city": "高雄市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "1846016359534096386", | |
| "userName": "郑州信鼎数科6548", | |
| "nickName": "郑州信鼎数科", | |
| "city": "郑州市", | |
| "ratio": 80.00, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": "", | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "新乡市,开封市,商丘市,濮阳市,鹤壁市,许昌市,郑州市", | |
| "ratio": null, | |
| "account": "传统账户568,账户619,传统账户588,传统账户168,账户319,传统账户188,账户416,传统账户98,账户311,账户113,账户211,账户143,传统账户18,账户163,账户85,账户183,传统账户58,传统账户78,传统账户578,传统账户158,传统账户598,传统账户198,账户426,账户326,传统账户218,传统账户558,传统账户28,账户153,账户193,传统账户M9", | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": null, | |
| "children": [ | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "新乡市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "开封市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "商丘市", | |
| "ratio": 50.00, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": "", | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "濮阳市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "鹤壁市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "许昌市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1846085321240276994", | |
| "userName": "商丘凯驰9308", | |
| "nickName": "商丘凯驰", | |
| "city": "郑州市", | |
| "ratio": 20.00, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": "", | |
| "excludeCityAccount": "", | |
| "children": null | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "长沙市,株洲市,湘潭市,衡阳市,岳阳市,常德市,益阳市,怀化市,娄底市,邵阳市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": null, | |
| "children": [ | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "长沙市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "株洲市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "湘潭市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "衡阳市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "岳阳市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "常德市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "益阳市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "怀化市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "娄底市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1850852618798596097", | |
| "userName": "长沙东创1431", | |
| "nickName": "长沙东创", | |
| "city": "邵阳市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "南昌市,九江市,赣州市,上饶市,抚州市,宜春市,吉安市,新余市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": null, | |
| "children": [ | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "南昌市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "九江市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "赣州市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "上饶市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "抚州市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "宜春市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "吉安市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1851060131351461890", | |
| "userName": "南昌振融2014", | |
| "nickName": "南昌振融", | |
| "city": "新余市", | |
| "ratio": null, | |
| "account": null, | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "1854824818299834369", | |
| "userName": "山东临沂1436", | |
| "nickName": "临沂智融", | |
| "city": "临沂市", | |
| "ratio": null, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1855805372201689090", | |
| "userName": "青岛合创9502", | |
| "nickName": "青岛合创", | |
| "city": "青岛市", | |
| "ratio": null, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1855806060822519809", | |
| "userName": "芜湖利见众仁0093", | |
| "nickName": "芜湖利见众仁", | |
| "city": "芜湖市", | |
| "ratio": null, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1855814038682329089", | |
| "userName": "德州信承1915", | |
| "nickName": "德州信承", | |
| "city": "德州市", | |
| "ratio": null, | |
| "account": "传统账户568,账户719,传统账户588,传统账户168,传统账户188,传统账户98,账户113,账户211,账户133,账户143,传统账户18,账户163,账户183,传统账户36,传统账户58,账户83,传统账户78,传统账户578,传统账户598,传统账户158,传统账户198,传统账户86,账户103,传统账户218,账户123,传统账户558,传统账户28,账户153,账户93,账户173,账户193,传统账户K,传统账户66", | |
| "isFullyInvestAccount": null, | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1855868546791759873", | |
| "userName": "绵阳地瓜网5882", | |
| "nickName": "绵阳地瓜网", | |
| "city": "绵阳市", | |
| "ratio": null, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1857317483205521409", | |
| "userName": "南宁谭凤毛5340", | |
| "nickName": "南宁谭凤毛", | |
| "city": "南宁市", | |
| "ratio": 100.00, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": "", | |
| "excludeCityAccount": "", | |
| "children": null | |
| }, | |
| { | |
| "id": "1859176724656721921", | |
| "userName": "天津温丹琼3754", | |
| "nickName": "天津温丹琼", | |
| "city": "天津市", | |
| "ratio": null, | |
| "account": "账户426,账户326,账户416,传统账户28,传统账户78,传统账户86,账户211,账户311,账户229,账户111,账户319,账户419,账户219,传统账户598,传统账户578,传统账户588,传统账户558,传统账户568,账户143,账户116,账户719,测试账户,传统账户R,传统账户Q,传统账户P,账户193,账户173,账户183,账户163,传统账户测试,账户519,测试传统账户,传统账户218,账户153,账户133,账户132,传统账户36,传统账户K,账户316,账户123,账户113,传统账户98,传统账户M7,传统账户56,账户45,传统账户J,传统账户17,传统账户H,传统账户M9,账户96,账户68,账户95,账户55,账户82,账户152,传统账户198,传统账户G,账户85,传统账户A2,传统账户188,账户109,传统账户F,账户72,传统账户168,传统账户158,传统账户M8,传统账户M5,账户18,传统账户18,传统账户1,账户58,传统账户A1,传统账户E,账户56,传统账户C,传统账户66,传统账户B,传统账户5,账户62,传统账户58,传统账户A,账户65,账户56.-,账户66,传统账户D,账户78,账户93,账户98,账户28,账户83,传统账户M6", | |
| "isFullyInvestAccount": "1", | |
| "ratioA": null, | |
| "ratioB": null, | |
| "cityAccount": null, | |
| "excludeCityAccount": "", | |
| "children": null | |
| } | |
| ]; | |
| // Function to render account chips | |
| function renderAccounts(accountString) { | |
| if (!accountString) return ''; | |
| const accounts = accountString.split(','); | |
| let html = ''; | |
| accounts.forEach(account => { | |
| const isTraditional = account.includes('传统账户'); | |
| const isTest = account.includes('测试'); | |
| let chipClass = 'regular'; | |
| if (isTraditional) chipClass = 'traditional'; | |
| if (isTest) chipClass = 'test'; | |
| html += `<span class="account-chip ${chipClass}">${account}</span>`; | |
| }); | |
| return html; | |
| } | |
| // Function to render city chips | |
| function renderCities(cityString) { | |
| if (!cityString) return ''; | |
| const cities = cityString.split(','); | |
| let html = ''; | |
| cities.forEach(city => { | |
| html += `<span class="city-tag"><i class="fas fa-map-marker-alt text-blue-400 mr-1.5"></i>${city}</span>`; | |
| }); | |
| return html; | |
| } | |
| // Function to create a user card | |
| function createUserCard(user) { | |
| const hasChildren = user.children && user.children.length > 0; | |
| const hasAccounts = user.account && user.account.length > 0; | |
| let cardHtml = ` | |
| <div class="bg-white partner-card card-shadow overflow-hidden smooth-transition"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <h3 class="text-xl font-bold text-gray-800">${user.nickName}</h3> | |
| <p class="text-sm text-gray-500 mt-1">@${user.userName}</p> | |
| </div> | |
| ${user.ratio !== null ? `<span class="bg-blue-600 text-white text-sm font-medium px-3 py-1 rounded-full shadow-sm">${user.ratio}%</span>` : ''} | |
| </div> | |
| <div class="mt-6"> | |
| <div class="flex items-center text-sm text-gray-500 font-medium"> | |
| <i class="fas fa-city mr-2 text-blue-500"></i> | |
| <span>合作城市</span> | |
| </div> | |
| <div class="mt-3 flex flex-wrap"> | |
| ${renderCities(user.city)} | |
| </div> | |
| </div> | |
| `; | |
| if (hasAccounts) { | |
| cardHtml += ` | |
| <div class="mt-6"> | |
| <div class="flex items-center text-sm text-gray-500 font-medium"> | |
| <i class="fas fa-wallet mr-2 text-blue-500"></i> | |
| <span>账户</span> | |
| ${user.isFullyInvestAccount === '1' ? '<span class="ml-2 text-xs bg-green-100 text-green-800 px-2.5 py-1 rounded-full font-medium">全投账户</span>' : ''} | |
| </div> | |
| <div class="mt-3 max-h-32 overflow-y-auto px-1"> | |
| <div class="flex flex-wrap"> | |
| ${renderAccounts(user.account)} | |
| </div> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| if (hasChildren) { | |
| cardHtml += ` | |
| <div class="mt-6"> | |
| <button onclick="toggleDetails(this)" class="flex items-center text-sm text-blue-600 font-medium hover:text-blue-800"> | |
| <span>查看详细城市信息</span> | |
| <i class="fas fa-chevron-down ml-2 text-xs smooth-transition"></i> | |
| </button> | |
| <div class="hidden mt-4 border-t border-gray-100 pt-4"> | |
| ${user.children.map(child => ` | |
| <div class="mb-4 last:mb-0"> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-sm font-medium text-gray-700">${child.city}</span> | |
| ${child.ratio !== null ? `<span class="text-xs bg-blue-100 text-blue-800 px-2.5 py-1 rounded-full font-medium">${child.ratio}%</span>` : ''} | |
| </div> | |
| ${child.account ? ` | |
| <div class="mt-2 text-xs text-gray-500"> | |
| <div class="flex flex-wrap">${renderAccounts(child.account)}</div> | |
| </div> | |
| ` : ''} | |
| </div> | |
| `).join('')} | |
| </div> | |
| </div> | |
| `; | |
| } | |
| cardHtml += ` | |
| </div> | |
| </div> | |
| `; | |
| return cardHtml; | |
| } | |
| // Function to toggle details | |
| function toggleDetails(button) { | |
| const detailsSection = button.nextElementSibling; | |
| const icon = button.querySelector('i'); | |
| detailsSection.classList.toggle('hidden'); | |
| icon.classList.toggle('rotate-180'); | |
| } | |
| // Render all user cards | |
| document.addEventListener('DOMContentLoaded', () => { | |
| const container = document.querySelector('.grid'); | |
| data.forEach(user => { | |
| const cardHtml = createUserCard(user); | |
| container.insertAdjacentHTML('beforeend', cardHtml); | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=de1231321/city" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |