提交 f732c299 编写于 作者: DCloud_JSON's avatar DCloud_JSON

简单适配pc端

上级 dd36ebcc
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
"uniStatistics" : { "uniStatistics" : {
"enable" : false "enable" : false
}, },
"vueVersion" : "3", "vueVersion" : "2",
"h5" : { "h5" : {
"unipush" : { "unipush" : {
"enable" : true "enable" : true
......
...@@ -31,8 +31,10 @@ ...@@ -31,8 +31,10 @@
<view class="textarea-box"> <view class="textarea-box">
<textarea v-model="content" class="textarea" :auto-height="true" :disabled="inputBoxDisabled" <textarea v-model="content" class="textarea" :auto-height="true" :disabled="inputBoxDisabled"
:placeholder="placeholderText" :maxlength="-1" placeholder-class="input-placeholder"></textarea> :placeholder="placeholderText" :maxlength="-1" placeholder-class="input-placeholder"></textarea>
</view>
<view class="send-btn-box">
<button @click="beforeSendMsg" :disabled="inputBoxDisabled || !content" class="send">发送</button>
</view> </view>
<button @click="beforeSendMsg" :disabled="inputBoxDisabled || !content" class="send">发送</button>
</view> </view>
</view> </view>
<label class="set-stream"> <label class="set-stream">
...@@ -513,5 +515,26 @@ ...@@ -513,5 +515,26 @@
padding:0 5px; padding:0 5px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
/* #ifdef H5 */
@media screen and (min-width:600px){
.textarea-box{
flex:1
}
.trash,
.send-btn-box{
flex-shrink: 0;
width: 100px;
justify-content: center;
padding: 0;
margin: 0;
}
.trash{
width: 60px;
}
.textarea-box .textarea {
width: 100%;
}
}
/* #endif */
</style> </style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册