fix: 统一小程序按钮契约并补齐模板图标
This commit is contained in:
1 parent
07629a4596
commit
3330b536dc
9 files changed
+118
-10
No files matched your search
@@ -203,6 +203,7 @@ function Profile({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
data-editor-target="linjing-editorial.profile.records"
|
||||
onClick={() => navigate("records")}
|
||||
>
|
||||
<View className="entry-icon" />
|
||||
<View className="entry-copy">
|
||||
<Text>{p.recordsTitle || "我的咨询记录"}</Text>
|
||||
<Text>{p.recordsSubtitle}</Text>
|
||||
@@ -211,7 +212,7 @@ function Profile({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
</View>
|
||||
{rows(config.coverage).length > 0 && (
|
||||
<View className="info-card" data-editor-target="linjing-editorial.profile.coverage">
|
||||
<View className="card-title">{p.coverageTitle}</View>
|
||||
<View className="card-title coverage-title">{p.coverageTitle}</View>
|
||||
{rows(config.coverage).map((item, index) => (
|
||||
<View className="note" key={index}>
|
||||
<Text className="note-title">{item.title}</Text>
|
||||
@@ -222,7 +223,7 @@ function Profile({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
)}
|
||||
{Array.isArray(config.warranty) && config.warranty.length > 0 && (
|
||||
<View className="info-card" data-editor-target="linjing-editorial.profile.warranty">
|
||||
<View className="card-title">{p.warrantyTitle}</View>
|
||||
<View className="card-title warranty-title">{p.warrantyTitle}</View>
|
||||
{config.warranty.map((item, index) => (
|
||||
<View className="warranty" key={index}>
|
||||
<Text className="dot">•</Text>
|
||||
|
||||
Reference in new issue
Block a user