diff --git a/src/components/SearchKeyboard/SearchKeyboard.vue b/src/components/SearchKeyboard/SearchKeyboard.vue index a06f644..5070005 100644 --- a/src/components/SearchKeyboard/SearchKeyboard.vue +++ b/src/components/SearchKeyboard/SearchKeyboard.vue @@ -62,7 +62,7 @@ background-color="#fff" border-radius="12px" stroke-style="#D8B78A" - fill-style="#fff" + fill-style="rgba(0, 0, 0, 0.03)" :width="700" :height="214" @result="result" diff --git a/src/components/TypeBtnList/TypeBtnList.vue b/src/components/TypeBtnList/TypeBtnList.vue index 9b9819f..895c75a 100644 --- a/src/components/TypeBtnList/TypeBtnList.vue +++ b/src/components/TypeBtnList/TypeBtnList.vue @@ -53,7 +53,7 @@ function changeType(item: TypeItem, index: number) { padding-bottom: 18px; font-size: 32px; font-family: 'font_bold'; - color: rgb(0 0 0 / 60%); + color: rgb(0 0 0 / 40%); line-height: 57px; font-style: normal; font-weight: 400; @@ -73,10 +73,9 @@ function changeType(item: TypeItem, index: number) { } } &.active { - font-size: 40px; - color: rgb(0 0 0 / 80%); - h4 { + font-size: 40px; + color: rgb(0 0 0 / 80%); border-bottom: 6px solid #d7ba92; } } diff --git a/src/components/Written/Written.vue b/src/components/Written/Written.vue index 225d8f4..e607390 100644 --- a/src/components/Written/Written.vue +++ b/src/components/Written/Written.vue @@ -39,9 +39,9 @@ const props = withDefaults(defineProps(), { lang: 'CN', backgroundColor: '#f2f2f2', borderRadius: '10px', - fillText: '手写区域', + fillText: '手写输入区域', fillFontSize: '100px', - strokeStyle: '#000', + strokeStyle: 'rgba(0, 0, 0, 0.3)', fillStyle: 'rgba(85, 73, 54, 0.1)' }) diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index 664b0c3..0d9a8e3 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -26,7 +26,8 @@ }, "search": { "title": "全局搜索", - "valueTip": "Search", + "valueTip": "Please enter initial letters in English and Chinese", + "valueTipHand": "Please enter your Chinese name by hand", "act": "Activity", "brand": "Brand", "num": "Result" diff --git a/src/i18n/lang/tw.json b/src/i18n/lang/tw.json index 3f68c96..e301f8e 100644 --- a/src/i18n/lang/tw.json +++ b/src/i18n/lang/tw.json @@ -26,7 +26,8 @@ }, "search": { "title": "全局搜索", - "valueTip": "搜索", + "valueTip": "請輸入中英文首字母,例如XBK(星巴克)", + "valueTipHand": "請手寫輸入中文名查詢", "act": "活動", "brand": "品牌", "num": "搜索結果" diff --git a/src/i18n/lang/zh.json b/src/i18n/lang/zh.json index 4391294..59f9624 100644 --- a/src/i18n/lang/zh.json +++ b/src/i18n/lang/zh.json @@ -26,7 +26,8 @@ }, "search": { "title": "全局搜索", - "valueTip": "搜索", + "valueTip": "请输入中英文首字母,例如 XBK(星巴克)", + "valueTipHand": "请手写输入中文名查询", "act": "活动", "brand": "品牌", "num": "搜索结果" diff --git a/src/views/Search/Search.vue b/src/views/Search/Search.vue index dea9779..23fa809 100644 --- a/src/views/Search/Search.vue +++ b/src/views/Search/Search.vue @@ -40,13 +40,9 @@
- + + +

{{ mode === 'hand' ? $t('search.valueTipHand') : $t('search.valueTip') }}