File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1515 to =" /models"
1616 class =" btn btn-sm"
1717 :class =" [
18- isModelPage ? 'btn-primary' : 'btn-ghost '
18+ isModelPage ? 'btn-primary' : 'btn-soft '
1919 ]"
2020 >
2121 <span class =" icon-[tabler--database] inline-block me-1.5 size-5" ></span >
2727 to =" /prompts"
2828 class =" btn btn-sm"
2929 :class =" [
30- isPromptPage ? 'btn-primary' : 'btn-ghost '
30+ isPromptPage ? 'btn-primary' : 'btn-soft '
3131 ]"
3232 >
3333 <span class =" icon-[tabler--square-letter-p] inline-block me-1.5 size-5" ></span >
9999 <div class =" flex flex-col gap-2" >
100100 <router-link
101101 to =" /models"
102- class =" btn"
103- :class =" [
104- isModelPage ? 'btn-primary' : 'btn-ghost'
105- ]"
102+ class =" btn btn-xl justify-start w-full"
103+ :class =" { 'btn-primary': isModelPage }"
106104 data-overlay =" #mobile-drawer"
107105 >
108- <span class =" icon-[tabler--database] inline-block me-1.5 size-5" ></span >
109- 模型管理
106+ <div class =" w-8 flex justify-center" >
107+ <span class =" icon-[tabler--database] size-6" ></span >
108+ </div >
109+ <span >模型管理</span >
110110 </router-link >
111111 <router-link
112112 to =" /prompts"
113- class =" btn"
114- :class =" [
115- isPromptPage ? 'btn-primary' : 'btn-ghost'
116- ]"
113+ class =" btn btn-xl justify-start w-full"
114+ :class =" { 'btn-primary': isPromptPage }"
117115 data-overlay =" #mobile-drawer"
118116 >
119- <span class =" icon-[tabler--square-letter-p] inline-block me-1.5 size-5" ></span >
120- 提示词管理
117+ <div class =" w-8 flex justify-center" >
118+ <span class =" icon-[tabler--square-letter-p] size-6" ></span >
119+ </div >
120+ <span >提示词管理</span >
121121 </router-link >
122122 <!-- 这里可以添加更多导航项 -->
123123 </div >
You can’t perform that action at this time.
0 commit comments