Commit a768b22e authored by chenkai@duiba.com.cn's avatar chenkai@duiba.com.cn

首页工具新增体质测试和AI起名

parent cfa344ec
This diff is collapsed.
......@@ -63,6 +63,20 @@
"navigationBarTitleText": ""
}
},
{
"path": "pages/naming/naming",
"style": {
"navigationBarTitleText": "星妈起名",
"enablePullDownRefresh": false
}
},
{
"path": "pages/naming/namingResult",
"style": {
"navigationBarTitleText": "星妈起名",
"enablePullDownRefresh": false
}
},
{
"path": "pages/expertTeamPage/expertTeamPage",
"style": {
......
......@@ -170,10 +170,10 @@
<view class="item_line"></view>
</view>
<!--避字-->
<!--避字-->
<view class="taboo_word">
<view class="item_top">
<span class="title_txt"></span>
<span class="title_txt"></span>
<input class="taboo_input" :placeholder="showPlaceholder2 ? '示例:然、萌' : ''" v-model="avoidChars"
@blur="e => enforceSeparator(e, 2)" @click="showPlaceholder2 = false" />
</view>
......@@ -293,7 +293,7 @@
//必有字
const requiredChars = ref('');
const showPlaceholder2 = ref(true);
//避
//避
const avoidChars = ref('');
//期望风格
const expectedStyle = ref('');
......@@ -416,7 +416,7 @@
return input.length <= filtered.length || input === filtered
}
//设置必有字和避字,用、隔开每一个字
//设置必有字和避字,用、隔开每一个字
const enforceSeparator = (e, idx) => {
let text = e.detail.value
// 1. 移除所有现有分隔符(避免干扰)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment