This commit is contained in:
haomingming
2023-03-14 14:09:21 +08:00
parent 14bcbf1673
commit 959bfc61b1
79 changed files with 1601 additions and 438 deletions
+7 -2
View File
@@ -17,7 +17,8 @@ Page({
list_2: [],
show: false,
add_message: "",
current_words_type: 1
current_words_type: 1,
focus: true
},
onTabChange(e){
this.setData({
@@ -68,5 +69,9 @@ Page({
show: false,
});
},
onInput(){
this.setData({
focus: true
})
}
})
+5 -1
View File
@@ -1,5 +1,5 @@
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
<view class="container">
<t-tabs
defaultValue="{{ current_words_type }}"
@@ -45,7 +45,11 @@
type="textarea"
placeholder="请输入文字"
autosize
maxlength="500"
custom-style="height: 100%;"
border="{{ false }}"
focus="{{focus}}"
bindtap="onInput"
/>
</view>
</view>
+3 -2
View File
@@ -1,7 +1,8 @@
page{
background-color: #F6F6F6;
}
.container{
width: 100vw;
height: 100vh;
background-color: #F6F6F6;
}
.item_list{
width: 92vw;