我觉得这样的设计并没有特点 请你重新设计 - Initial Deployment
Browse filesFiles changed (2)
- README.md+7-5
- index.html+792-19
12345678910---title: Cityemoji: 🦀colorFrom: bluecolorTo: bluesdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: cityemoji: 🐳colorFrom: graycolorTo: graysdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792<!DOCTYPE html><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 chipsfunction 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 chipsfunction 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 cardfunction 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 detailsfunction toggleDetails(button) {const detailsSection = button.nextElementSibling;const icon = button.querySelector('i');detailsSection.classList.toggle('hidden');icon.classList.toggle('rotate-180');}// Render all user cardsdocument.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>
README.md+7-5
index.html+792-19