Browse Source

1.修改输入框

306132416@qq.com 6 years ago
parent
commit
9d97a305b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -36,7 +36,7 @@
 		</scroll-view>
 		<view class="send-box" :style="{ 'padding-bottom' : isShowKeyBoard + 'px'}">
 			<input type="text" class="enter-box" v-model="inputInfo" :adjust-position="true" @input='isInputing'
-		    @confirm='sendInputInfo' :style="{'width':inputWidth}" />
+		    :style="{'width':inputWidth}" confirm-hold='true' confirm-type='send' @confirm="sendInputInfo" />
 			<button type="primary" class="submit-message" @click="sendInputInfo()" v-if='isShowSend'>发送</button>
 			<image src="/static/setIcon.png"  @click.stop='openModal()' v-if='isShowSetCenter'></image>
 		</view>