Commit fbff1f34 authored by Mac's avatar Mac

1

parent ecf70ae3
...@@ -340,8 +340,8 @@ ...@@ -340,8 +340,8 @@
<u-loadmore :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20" bg-color="#FFF" /> <u-loadmore :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20" bg-color="#FFF" />
</scroll-view> </scroll-view>
<!-- 输入框 --> <!-- 输入框 -->
<view class="comment" v-if="focu==true" :style="{'bottom':inputheight}"> <view class="comment" v-if="focu==true" :style="{'bottom':'5px'}">
<input type="text" v-model="commentMsg.Content" :placeholder='placeholder' class="commentinput" :focus='focu' @focus='getfocus'> <input type="text" v-model="commentMsg.Content" :placeholder='placeholder' class="commentinput" :focus='focu' @focus='getfocus' @keyboardheightchange='keyboardheight'>
<view class="comment-pl" :style="{background:mainColor}" @click="addComment">评论</view> <view class="comment-pl" :style="{background:mainColor}" @click="addComment">评论</view>
</view> </view>
...@@ -502,7 +502,9 @@ ...@@ -502,7 +502,9 @@
} }
); );
}, },
keyboardheight(e){
console.log(e,'新的')
},
//语音播放 //语音播放
playVoice(x,i) { playVoice(x,i) {
let that = this let that = this
......
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
</view> </view>
</view> </view>
<!-- 输入框 --> <!-- 输入框 -->
<view class="comment" :style="{'bottom':inputheight}"> <view class="comment" :style="{'bottom':'5px'}">
<input type="text" v-model="commentMsg.Content" :placeholder='placeholder' class="commentinput" :focus='focu' @focus='getfocus'> <input type="text" v-model="commentMsg.Content" :placeholder='placeholder' class="commentinput" :focus='focu' @focus='getfocus'>
<view class="comment-pl" :style="{background:mainColor}" @click.stop="addComment">评论</view> <view class="comment-pl" :style="{background:mainColor}" @click.stop="addComment">评论</view>
</view> </view>
......
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