Commit c8415ac4 authored by Mac's avatar Mac

11

parent 382849a2
......@@ -341,7 +341,7 @@
<view style="width: 100%;height: 85px;"></view>
</scroll-view>
<!-- 输入框 -->
<view class="comment" v-if="focu==true" :style="{'bottom':inputheight}">
<view class="comment" v-if="focu==true" :style="{'bottom':inputheight,'height':is_bang}">
<input type="text" v-model="commentMsg.Content" :placeholder='placeholder' class="commentinput" :focus='focu' @focus='getfocus' @blur='inputheight=0'>
<view class="comment-pl" :style="{background:mainColor}" @click="addComment">评论</view>
</view>
......@@ -419,10 +419,12 @@
playindex:0,
controls:false,//显示默认控件
dianindex:0,//点的索引
inputheight:0,//键盘的高度
inputheight:0,//键盘的高度
is_bang:0
}
},
created() {
created() {
this.is_bang = this.$uiConfig.is_bang ? 80 : 52;
this.contentHeight = this.$utils.calcContentHeight(-40) + "px";
this.mainColor = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary;
......
......@@ -295,7 +295,7 @@
</view>
</view>
<!-- 输入框 -->
<view class="comment" :style="{'bottom':inputheight}" >
<view class="comment" :style="{'bottom':inputheight,'height':is_bang}" >
<input type="text"
v-model="commentMsg.Content"
:placeholder='placeholder'
......@@ -355,6 +355,7 @@
showdelete:false,//提示删除的弹框
index:0,//上个页面的索引
inputheight:0,//键盘的高度
is_bang:0,
}
},
onLoad(options) {
......@@ -369,6 +370,7 @@
uni.setNavigationBarTitle({
title: '详情',
});
this.is_bang = this.$uiConfig.is_bang ? 80 : 52;
this.mainColor = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary;
this.pricecolor = this.$uiConfig.pricecolor;
......
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