This commit is contained in:
parent
212186dbb3
commit
07d702fee2
|
@ -19,7 +19,7 @@
|
|||
|
||||
<view class="back-img">
|
||||
<image :src="avatar" class="head-port" @click="goNav('/pages/my/userinfo')"></image>
|
||||
<image class="popop-kuang" src="../../static/grade3.gif"></image>
|
||||
<image class="popop-kuang" :src="technicianType=='3'?'../../static/grade1.gif':technicianType=='4'?'../../static/grade2.gif':'../../static/grade3.gif'"></image>
|
||||
</view>
|
||||
<view class="u-flex-1" v-if="isLogin && userName">
|
||||
<view class="u-font-18">
|
||||
|
|
|
@ -12,9 +12,11 @@
|
|||
<view class="page-head-mian">
|
||||
<view class="page-head-ft">
|
||||
<view class="page-head-xuan" @click="xuanzhe">
|
||||
<image class="service-viedeimg" src="../../static/videoimg1.png"></image>
|
||||
选择
|
||||
</view>
|
||||
<view class="" @click="setVideo">
|
||||
<view class="page-head-xuan" @click="setVideo">
|
||||
<image class="service-viedeimg" src="../../static/videoimg2.png"></image>
|
||||
发布视频
|
||||
</view>
|
||||
|
||||
|
@ -22,13 +24,13 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view :style="'width: 100%; height: '+ (windowHeight) +'px; background-color: #000000;'" :scroll-y="true" @scrolltolower="scrolltolower" :lower-threshold="lowerThreshold">
|
||||
<view style="display: flex; flex-direction: row; flex-wrap: wrap;padding-top: 70px;">
|
||||
<scroll-view :style="'width: 100%; height: '+ (windowHeight) +'px; background-color: #f5f5f5;'" :scroll-y="true" @scrolltolower="scrolltolower" :lower-threshold="lowerThreshold">
|
||||
<view style="display: flex; flex-direction: row; flex-wrap: wrap;padding-top: 46px;">
|
||||
<checkbox-group class="checkbox-group" @change="checkboxChange">
|
||||
<view class="checkbox-group-list" v-for="(list,index) in dataList" :key="index">
|
||||
<view class="data-list">
|
||||
<image v-if="checkboxShow==1" @click="towxh5Video(list)" :src="list.picPath" mode="aspectFill" style="width: 100%; height: 100%;"></image>
|
||||
<image v-if="checkboxShow==0" :src="list.picPath" mode="aspectFill" style="width: 100%; height: 100%;"></image>
|
||||
<image v-if="checkboxShow==1" @click="towxh5Video(list)" :src="list.picPath" mode="aspectFill" style="width: 100%; height: 100%;border-radius: 10rpx;"></image>
|
||||
<image v-if="checkboxShow==0" :src="list.picPath" mode="aspectFill" style="width: 100%; height: 100%; border-radius: 10rpx;"></image>
|
||||
<checkbox v-if="checkboxShow==0" class="check-list" style="border-radius:50%;" activeBackgroundColor="#029d88" color="#029d88" :value="list.id.toString()" :checked="checkbox"/>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -36,6 +38,7 @@
|
|||
</view>
|
||||
</scroll-view>
|
||||
<view class="shanchu" v-if="checkboxShow==0" @click="deleteVodeo">
|
||||
<image class="service-deleimg" src="../../static/dele.png"></image>
|
||||
<span>删除</span>
|
||||
</view>
|
||||
<uni-popup style="width: 100%;height: 100vh;" type="center" ref="pinglun" @touchmove.stop.prevent="moveHandle">
|
||||
|
@ -277,10 +280,13 @@
|
|||
<style scoped>
|
||||
.shanchu{
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
background-color: #fff;
|
||||
height: 48px;
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.check-list{
|
||||
position: absolute;
|
||||
|
@ -290,10 +296,10 @@
|
|||
margin-bottom: 5px;
|
||||
}
|
||||
.data-list{
|
||||
padding:4rpx;
|
||||
width:100%;
|
||||
height:100%;
|
||||
background-color: #000000;
|
||||
|
||||
background-color: #fff;
|
||||
}
|
||||
.checkbox-group-list{
|
||||
position: relative;
|
||||
|
@ -314,14 +320,18 @@
|
|||
}
|
||||
/deep/.uni-checkbox-input{
|
||||
border-radius: 50%;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
width: 23px;
|
||||
height: 24px;
|
||||
}
|
||||
.page-head-xuan{
|
||||
margin-left: 10px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
}
|
||||
.page-head-mian{
|
||||
width: 60%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
@ -388,8 +398,6 @@
|
|||
}
|
||||
|
||||
.page-head-ft{
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-webkit-align-items: center;
|
||||
|
@ -400,6 +408,7 @@
|
|||
flex-direction: row-reverse;
|
||||
font-size: 13px;
|
||||
box-sizing: border-box;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.btn-icon{
|
||||
color: rgb(0, 0, 0);
|
||||
|
@ -474,4 +483,12 @@
|
|||
width: 120rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.service-viedeimg{
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.service-deleimg{
|
||||
width: 40rpx;
|
||||
height:40rpx;}
|
||||
</style>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<template>
|
||||
<view style="padding-bottom: 100upx; margin-top: 20rpx;">
|
||||
<view class=" padding bg radius margin">
|
||||
<view>
|
||||
<view class="padding bg radius margin">
|
||||
<view class="padding-top">发布内容</view>
|
||||
<view class="margin-tb-sm">
|
||||
<u-input v-model="form.describes" style="border-radius: 20rpx;"
|
||||
type="textarea" height="200" placeholde="请填写发布内容" maxlengt="200" :clearable="false" />
|
||||
</view>
|
||||
<view style="height: 15rpx;"></view>
|
||||
</view>
|
||||
<view class=" padding bg radius margin">
|
||||
<view class="margin-top-sm">上传视频</view>
|
||||
|
@ -21,12 +20,10 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="margin-top" @click="addvideo" v-if="videosList.length<=0">
|
||||
<view style="width: 200rpx;height: 200rpx;background: #f7f8fa;"
|
||||
class="flex justify-center align-center">
|
||||
<view class="flex justify-center align-center video-img">
|
||||
<view>
|
||||
<view class="text-center">
|
||||
<image src="../../static/images/my/avatar.png" style="width: 80rpx;height: 80rpx;">
|
||||
</image>
|
||||
<image src="../../static/images/my/video.png" style="width: 80rpx;height: 80rpx;"></image>
|
||||
</view>
|
||||
<view class="text-center add-word">添加视频</view>
|
||||
</view>
|
||||
|
@ -46,24 +43,20 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="margin-top" @click="addImage(4)" v-if="form.headImg.length<=0">
|
||||
<view style="width: 200rpx;height: 200rpx;background: #f7f8fa;"
|
||||
class="flex justify-center align-center">
|
||||
<view class="flex justify-center align-center video-img">
|
||||
<view>
|
||||
<view class="text-center">
|
||||
<image src="../../static/images/my/avatar.png" style="width: 80rpx;height: 80rpx;">
|
||||
</image>
|
||||
<image src="../../static/images/my/avatar.png" style="width: 80rpx;height: 80rpx;"></image>
|
||||
</view>
|
||||
<view class="text-center add-word">添加头像</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
<view class="tabbar" style="background: linear-gradient(to right, #019c88, #2dbe93); border-radius: 50rpx;"
|
||||
@click="submit()">提交发布
|
||||
<view class="push-button">
|
||||
<view class="tabbar"
|
||||
@click="submit()">发布
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -207,11 +200,10 @@
|
|||
|
||||
.bg {
|
||||
width: 94%;
|
||||
margin:30rpx auto;
|
||||
margin:20rpx auto;
|
||||
background-color: #FFFFFF;
|
||||
padding: 20rpx 36rpx;
|
||||
border-radius: 26rpx;
|
||||
|
||||
}
|
||||
.add-word{
|
||||
font-size: 26rpx;
|
||||
|
@ -232,14 +224,14 @@
|
|||
flex: 200rpx 1 !important;
|
||||
}
|
||||
|
||||
.footer {
|
||||
/*.footer {
|
||||
padding-left: 30upx;
|
||||
font-size: 24upx;
|
||||
color: #666666;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
}*/
|
||||
|
||||
.u-input__input {
|
||||
color: balck !important;
|
||||
|
@ -250,24 +242,34 @@
|
|||
line-height: 78upx;
|
||||
/* background: #f7f7f7; */
|
||||
}
|
||||
|
||||
.push-button{
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.tabbar {
|
||||
width: 690upx;
|
||||
height: 86upx;
|
||||
background: #019c88;
|
||||
border-radius: 8upx;
|
||||
display: inline-block;
|
||||
width: 92%;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
line-height: 86upx;
|
||||
color: #FFFFFF;
|
||||
margin-top: 20rpx;
|
||||
text-align: center;
|
||||
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
|
||||
height: 40px;
|
||||
border-radius: 28px;
|
||||
color: #ffffff;
|
||||
line-height: 40px;
|
||||
margin-top: 4px;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.popup_pay {
|
||||
|
||||
width: 100%;
|
||||
position: relative;
|
||||
padding-bottom: 45rpx;
|
||||
padding-bottom: 0rpx;
|
||||
/* height: 160px; */
|
||||
/* #ifndef MP-WEIXIN */
|
||||
/* height: 130px; */
|
||||
|
@ -296,4 +298,10 @@
|
|||
.bgCol2 {
|
||||
color: #557EFD;
|
||||
}
|
||||
.video-img{
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
background: #f7f8fa;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
</style>
|
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 43 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue