mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 18:06:47 +08:00
评论样式
This commit is contained in:
@@ -37,12 +37,11 @@
|
||||
<!-- 这里需要一个是否已经收藏的变量来控制,已收藏就显示收藏数 -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<u-toast ref="interactToast"></u-toast>
|
||||
<u-popup :show="inputShow" @close="closeInput" @open="openInput">
|
||||
<u-popup :show="inputShow" @close="closeInput" @open="openInput" :round="16">
|
||||
<view class="users-box" v-show="usersListShow">
|
||||
<view class="users-list" v-for="u in usersList" :key="u.id" @click="userSelect(u)">
|
||||
<u-avatar shape="circle" :size="50" v-if="u.avatar != ''" :src="u.avatar"></u-avatar>
|
||||
@@ -56,11 +55,11 @@
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<view style="display: flex;">
|
||||
<view style="flex: 1;"><u--textarea :height="150" v-model="inputValue" placeholder="写下您的评论(140字以内),可以@作者哦~" count ></u--textarea></view>
|
||||
<view style="width:160upx;text-align: center;padding-top: 10px;line-height: 80upx;">
|
||||
<view style="padding: 40upx 44upx 32upx 22upx;">
|
||||
<view ><u--textarea style="border: none;background: #F4F4F4;" :height="50" v-model="inputValue" placeholder="写下您的评论(140字以内),可以@作者哦~" count ></u--textarea></view>
|
||||
<view style="padding-top: 10px;line-height: 80upx;display: flex;float: right;">
|
||||
<view @click="usersClick()">@</view>
|
||||
<view style="padding: 20upx;"><u-button @click="submit" type="primary" text="发布"></u-button></view>
|
||||
<view style="padding:20upx;"><u-button @click="submit" style="padding: 2upx 30upx;height: 52upx;background: #87B3FF;border-color: #87B3FF;" type="primary" text="发布"></u-button></view>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
@@ -219,7 +218,8 @@ export default {
|
||||
conType,
|
||||
content,
|
||||
source:1,
|
||||
pageUrl:location.href,
|
||||
// pageUrl:location.href,
|
||||
pageUrl:'',
|
||||
sendAid:this.userInfo.aid,
|
||||
}
|
||||
apiMessage.save(message).then(res=>{
|
||||
@@ -646,8 +646,8 @@ export default {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.wenz{
|
||||
font-size: 14px;
|
||||
color: #000000;
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
margin-left: 2px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user