|
@@ -29,7 +29,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<scroll-view scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
|
|
<scroll-view scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
|
|
|
- <view class="card-box box-border-box p-24 bgc-f flex-justify-space" v-for="(item,i) in 5" :key="i">
|
|
|
|
|
|
|
+ <view class="card-box box-border-box p-24 bgc-f flex-justify-space" v-for="(item,i) in 5" :key="i" @click.stop="toDet()">
|
|
|
<image class="card-head" src="@/static/img/my/lqzx-bg.png" mode="scaleToFill"></image>
|
|
<image class="card-head" src="@/static/img/my/lqzx-bg.png" mode="scaleToFill"></image>
|
|
|
<view class="flex-1">
|
|
<view class="flex-1">
|
|
|
<view class="card-1 flex-justify-space mb-16">
|
|
<view class="card-1 flex-justify-space mb-16">
|
|
@@ -68,11 +68,11 @@
|
|
|
<image src="@/static/img/school/fx.png" mode=""></image>
|
|
<image src="@/static/img/school/fx.png" mode=""></image>
|
|
|
<view class="fs-24 fc-9">分享</view>
|
|
<view class="fs-24 fc-9">分享</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="align-items-center" @click="handUp()">
|
|
|
|
|
|
|
+ <view class="align-items-center" @click.stop="handUp()">
|
|
|
<uni-icons type="hand-up" size="22" color="#999"></uni-icons>
|
|
<uni-icons type="hand-up" size="22" color="#999"></uni-icons>
|
|
|
<view class="fs-24 fc-9">12</view>
|
|
<view class="fs-24 fc-9">12</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="align-items-center">
|
|
|
|
|
|
|
+ <view class="align-items-center" @click.stop="openMsg()">
|
|
|
<image src="@/static/img/school/info.png" mode=""></image>
|
|
<image src="@/static/img/school/info.png" mode=""></image>
|
|
|
<view class="fs-24 fc-9">6</view>
|
|
<view class="fs-24 fc-9">6</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -84,21 +84,104 @@
|
|
|
|
|
|
|
|
<uni-popup ref="popup" type="bottom">
|
|
<uni-popup ref="popup" type="bottom">
|
|
|
<view class="pop-box box-border-box p-24">
|
|
<view class="pop-box box-border-box p-24">
|
|
|
- <view class="head-pop flex-justify-space align-items-center">
|
|
|
|
|
- <uni-icons type="closeempty" size="24"></uni-icons>
|
|
|
|
|
|
|
+ <view class="head-pop flex-justify-space align-items-center mb-24">
|
|
|
|
|
+ <uni-icons @click.stop="closePop()" type="closeempty" size="24"></uni-icons>
|
|
|
<view class="fs-36 fc-0 fw-600">选发布类型</view>
|
|
<view class="fs-36 fc-0 fw-600">选发布类型</view>
|
|
|
- <view class="fs-28 fw-600 fc-41ABF5">确定</view>
|
|
|
|
|
|
|
+ <view class="fs-28 fw-600 fc-41ABF5" @click.stop="add">确定</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="scroll-view-css">
|
|
|
|
|
+ <view class="item-box fs-32 " :class="id==i?'fc-41ABF5 bgc-D5EDFB':'bgc-F3F4F6'" v-for="(item,i) in 10" :key="i">分享交流</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </uni-popup>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <uni-popup ref="popmsg" type="bottom">
|
|
|
|
|
+ <view class="pop-box pop-msg box-border-box p-24">
|
|
|
|
|
+ <view class="pop-input" v-if="isShowIpnut">
|
|
|
|
|
+ <view class="head-pop flex-justify-space align-items-center mb-24 box-border-box p-24">
|
|
|
|
|
+ <uni-icons @click.stop="closeInput()" type="closeempty" size="24"></uni-icons>
|
|
|
|
|
+ <view class="fs-36 fc-0 fw-600">评论</view>
|
|
|
|
|
+ <view class="fs-28 fw-600 fc-41ABF5" @click.stop="save">确定</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="scroll-view-css">
|
|
|
|
|
+ <view class="bgc-f box-border-box p-32">
|
|
|
|
|
+ <view class="fs-34 fw-600 mb-20">评论</view>
|
|
|
|
|
+ <textarea class=" fs-24" placeholder='友善评论,文明发言'></textarea>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="">
|
|
|
|
|
+ <EnUpload></EnUpload>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="head-pop flex-justify-space align-items-center mb-24">
|
|
|
|
|
+ <view class=""></view>
|
|
|
|
|
+ <view class="fs-36 fc-0 fw-600">评论(4)</view>
|
|
|
|
|
+ <uni-icons @click.stop="closeMsg()" type="closeempty" size="24"></uni-icons>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="scroll-view-css box-border-box plr-24">
|
|
|
|
|
+ <view class="list-box flex-justify-space" v-for="(item,i) in 10" :key="i">
|
|
|
|
|
+ <image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
|
|
|
|
|
+ <view class="flex-1">
|
|
|
|
|
+ <view class=" flex-justify-space">
|
|
|
|
|
+ <view class="p-b-20 b-b-F9F9F9 mr-20">
|
|
|
|
|
+ <view class="fs-28 fw-400 fc-9 mb-8">
|
|
|
|
|
+ 最佳损友最佳损友 <span class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="fs-30 fw-400 mb-8" @click.stop="openInput()">
|
|
|
|
|
+ 回关一下啊,这么近这么近这么近这么近这么近这么近
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex-wrap-wrap mb-8">
|
|
|
|
|
+ <image class="msg-img" v-for="(item,i) in 4" :key="i" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="fs-24 fw-400 fc-9 mb-8">2021-04-17 15:53</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="display-flex">
|
|
|
|
|
+ <uni-icons type="hand-up" size="20" color="#999"></uni-icons>
|
|
|
|
|
+ <view class="fs-24 fw-400 fc-9 mt-5">11</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="list-box flex-justify-space" v-for="(info,index) in 5" :key="index">
|
|
|
|
|
+ <image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
|
|
|
|
|
+ <view class="flex-1">
|
|
|
|
|
+ <view class=" flex-justify-space">
|
|
|
|
|
+ <view class="p-b-20 b-b-F9F9F9 mr-20">
|
|
|
|
|
+ <view class="fs-28 fw-400 fc-9 mb-8">
|
|
|
|
|
+ 最佳损友最佳损友 <span class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="fs-30 fw-400 mb-8" @click.stop="openInput()">
|
|
|
|
|
+ 回关一下啊,这么近这么近这么近这么近这么近这么近
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex-wrap-wrap mb-8">
|
|
|
|
|
+ <image class="msg-img-1 msg-img" v-for="(item,i) in 4" :key="i" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="fs-24 fw-400 fc-9 mb-8">2021-04-17 15:53</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="display-flex">
|
|
|
|
|
+ <uni-icons type="hand-up" size="20" color="#999"></uni-icons>
|
|
|
|
|
+ <view class="fs-24 fw-400 fc-9 mt-5">11</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+ import EnUpload from '@/components/en-from/en-upload/en-upload.vue';
|
|
|
export default {
|
|
export default {
|
|
|
|
|
+ components:{EnUpload},
|
|
|
data(){
|
|
data(){
|
|
|
return{
|
|
return{
|
|
|
id:0,
|
|
id:0,
|
|
|
|
|
+ isShowIpnut:false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -110,10 +193,38 @@
|
|
|
},
|
|
},
|
|
|
handUp(){
|
|
handUp(){
|
|
|
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ toDet(){
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url:"/pages-school/circle-info"
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
openPop(){
|
|
openPop(){
|
|
|
this.$refs.popup.open();
|
|
this.$refs.popup.open();
|
|
|
},
|
|
},
|
|
|
|
|
+ closePop(){
|
|
|
|
|
+ this.$refs.popup.close();
|
|
|
|
|
+ },
|
|
|
|
|
+ add(){
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url:"/pages-school/add-circle"
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ save(){
|
|
|
|
|
+ this.isShowIpnut = false;
|
|
|
|
|
+ },
|
|
|
|
|
+ openMsg(){
|
|
|
|
|
+ this.$refs.popmsg.open();
|
|
|
|
|
+ },
|
|
|
|
|
+ closeMsg(){
|
|
|
|
|
+ this.$refs.popmsg.close();
|
|
|
|
|
+ },
|
|
|
|
|
+ openInput(){
|
|
|
|
|
+ this.isShowIpnut = true;
|
|
|
|
|
+ },
|
|
|
|
|
+ closeInput(){
|
|
|
|
|
+ this.isShowIpnut = false;
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
@@ -125,12 +236,70 @@
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
|
|
.pop-box{
|
|
.pop-box{
|
|
|
|
|
+
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 50vh;
|
|
height: 50vh;
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
|
border-radius: 24rpx 24rpx 0rpx 0rpx;
|
|
border-radius: 24rpx 24rpx 0rpx 0rpx;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
|
+ .item-box{
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 92rpx;
|
|
|
|
|
+
|
|
|
|
|
+ border-radius: 200rpx;
|
|
|
|
|
+ line-height: 92rpx;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ margin-bottom: 24rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .pop-msg{
|
|
|
|
|
+ height: 70vh;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ .pop-input{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 70vh;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ border-top: 1rpx solid #ccc;
|
|
|
|
|
+ border-radius: 20rpx 20rpx 0 0;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ }
|
|
|
|
|
+ .head-pop{
|
|
|
|
|
+ padding-bottom: 34rpx !important;
|
|
|
|
|
+ border-bottom: 1rpx solid #F2F2F2;
|
|
|
|
|
+ }
|
|
|
|
|
+ .list-box{
|
|
|
|
|
+ .list-box-img{
|
|
|
|
|
+ width: 80rpx;
|
|
|
|
|
+ height: 80rpx;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ margin-right: 16rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .only-box{
|
|
|
|
|
+ padding: 4rpx 16rpx;
|
|
|
|
|
+ background: rgba(65,171,245,0.1);
|
|
|
|
|
+ border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .msg-img{
|
|
|
|
|
+ width: 144rpx;
|
|
|
|
|
+ height: 144rpx;
|
|
|
|
|
+ border-radius: 12rpx;
|
|
|
|
|
+ margin-right:5rpx;
|
|
|
|
|
+ margin-bottom: 5rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .msg-img:nth-child(3n){
|
|
|
|
|
+ margin-right: 0rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .msg-img-1{
|
|
|
|
|
+ width: 100rpx !important;
|
|
|
|
|
+ height: 100rpx !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.circle-add{
|
|
.circle-add{
|
|
@@ -139,7 +308,7 @@
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
right: 0;
|
|
right: 0;
|
|
|
bottom: 20vh;
|
|
bottom: 20vh;
|
|
|
- z-index: 100;
|
|
|
|
|
|
|
+ z-index: 2;
|
|
|
}
|
|
}
|
|
|
.w-400{
|
|
.w-400{
|
|
|
width: 400rpx;
|
|
width: 400rpx;
|