stash
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
<style scoped lang="scss">
|
||||
.sent--text {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -77,17 +77,17 @@
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
|
||||
.button {
|
||||
border: none;
|
||||
background: #34CE98;
|
||||
color: white;
|
||||
width: 120rpx;
|
||||
line-height: 70rpx;
|
||||
text-align: center;
|
||||
border-radius: 10rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
// .button {
|
||||
// border: none;
|
||||
// background: #34CE98;
|
||||
// color: white;
|
||||
// width: 120rpx;
|
||||
// line-height: 70rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 10rpx;
|
||||
// font-size: 30rpx;
|
||||
// font-weight: bold;
|
||||
// }
|
||||
// .button[disabled] {
|
||||
// background-color: #555555;
|
||||
// }
|
||||
|
||||
@@ -5,19 +5,24 @@
|
||||
<view class="custom-header">
|
||||
<view class="header-flex">
|
||||
<view class="tabs">
|
||||
<view class="item show">私聊</view>
|
||||
<view class="item" @click="onNav('', {})">群聊</view>
|
||||
<view class="item show">
|
||||
私聊
|
||||
<u-badge absolute max="99" shape="horn" :offset="[-7, -7]" :value="5" />
|
||||
</view>
|
||||
<view class="item" @click="onNav('', {})">
|
||||
群聊
|
||||
<u-badge absolute max="99" shape="horn" :offset="[-7, -7]" :value="10" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="btns">
|
||||
<view class="item" @click="scanQrCode">
|
||||
<uni-icons color="#555" type="scan" size="22"></uni-icons>
|
||||
<uni-icons color="#555" type="scan" size="22" />
|
||||
</view>
|
||||
<view class="item" @click="onNav('imFriends', {})">
|
||||
<uni-icons color="#555" custom-prefix="iconfont" type="icon-tuandui" size="22"></uni-icons>
|
||||
<u-badge absolute max="99" isDot :offset="[0, 0]" :show="hasNewFriends" />
|
||||
<uni-icons color="#555" custom-prefix="iconfont" type="icon-tuandui" size="22" />
|
||||
</view>
|
||||
<!-- <view class="item" @click="onNav('', {})">
|
||||
<uni-icons color="#555" custom-prefix="iconfont" type="icon-gengduo2" size="22"></uni-icons>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -46,7 +51,7 @@
|
||||
<message-preview class="preview" :msg="item.latestMessage" />
|
||||
</view>
|
||||
</view>
|
||||
<!-- TODO 长按的弹出框,怎么点击隐藏,没搞明白 -->
|
||||
|
||||
<view class="shade" @click="hidePop" v-show="showPop">
|
||||
<view class="pop" :style="popStyle" :class="{'show':showPop}">
|
||||
<view v-for="(item, index) in popButton" :key="index" @click="pickerMenu" :data-index="index">
|
||||
@@ -89,7 +94,8 @@
|
||||
popButton: ['置顶聊天', '删除该聊天'],
|
||||
/* 弹窗定位样式 */
|
||||
popStyle: "",
|
||||
pickedItem: {}
|
||||
pickedItem: {},
|
||||
hasNewFriends: true
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -268,6 +274,7 @@
|
||||
|
||||
.tabs {
|
||||
.item {
|
||||
position: relative;
|
||||
margin-left: $margin;
|
||||
display: inline-block;
|
||||
font-size: $title-size-lg;
|
||||
@@ -289,6 +296,7 @@
|
||||
|
||||
.btns {
|
||||
.item {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-left: $margin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user