You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
305 lines
6.5 KiB
305 lines
6.5 KiB
2 months ago
|
<template>
|
||
|
<view class="add">
|
||
|
<view class="add-hd">如需尽快解决问题,可直接联系在线客服<image src="@/static/jiantou1.png"></image></view>
|
||
|
<view class="add-content">
|
||
|
<view class="content">
|
||
|
<view class="title"><text class="red">*</text>反馈类型</view>
|
||
|
<view class="tab">
|
||
|
<view class="li" :class="tabIndex == 1?'li-on':''" @click="tabItem(1)">界面</view>
|
||
|
<view class="li" :class="tabIndex == 2?'li-on':''" @click="tabItem(2)">服务问题</view>
|
||
|
</view>
|
||
|
<view class="info">
|
||
|
<picker mode="selector">
|
||
|
<view class="picker picker-on">请选择</view>
|
||
|
</picker>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="content">
|
||
|
<view class="title"><text class="red">*</text>反馈内容</view>
|
||
|
<view class="box">
|
||
|
<textarea maxlength="200" placeholder="如有必要,请详细描述(200字以内)~"></textarea>
|
||
|
<view class="tips">0/200字</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="content">
|
||
|
<view class="title"><text class="red">*</text>图片上传<text class="hs">(上传聊天截图或与问题描述相关的图片)</text></view>
|
||
|
<view class="list">
|
||
|
<view class="item">
|
||
|
<image class="pic" src="@/static/1.png"></image>
|
||
|
<image class="del" src="@/static/fabu-cha.png"></image>
|
||
|
</view>
|
||
|
<view class="upload">
|
||
|
<image class="pic" src="@/static/fankui-tianjia.png"></image>
|
||
|
<view class="txt">上传图片</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="content">
|
||
|
<view class="title"><text class="red">*</text>联系方式</view>
|
||
|
<view class="list">
|
||
|
<view class="dd">
|
||
|
<input type="text" placeholder="请填写您的姓名"/>
|
||
|
</view>
|
||
|
<view class="dd">
|
||
|
<input type="text" placeholder="请填写您的电话或邮箱"/>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="add-fd">
|
||
|
<view class="btn">提交反馈</view>
|
||
|
<view class="history">反馈记录 ></view>
|
||
|
</view>
|
||
|
<u-popup v-model="show" mode="center" border-radius="20" :mask-close-able="true">
|
||
|
<view class="feed">
|
||
|
<image src="@/static/feed-01.png"></image>
|
||
|
<view class="title">反馈提交成功</view>
|
||
|
<view class="btn">我知道了</view>
|
||
|
</view>
|
||
|
</u-popup>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
show: false,
|
||
|
tabIndex: 1
|
||
|
};
|
||
|
},
|
||
|
methods: {
|
||
|
tabItem(index) {
|
||
|
this.tabIndex = index;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
.add{
|
||
|
overflow: hidden;
|
||
|
padding-bottom: 200rpx;
|
||
|
&-hd{
|
||
|
padding: 0 20rpx;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
line-height: 80rpx;
|
||
|
background: #FBEBEB;
|
||
|
font-weight: 400;
|
||
|
font-size: 26rpx;
|
||
|
color: #E53623;
|
||
|
image{
|
||
|
width: 45rpx;
|
||
|
height: 45rpx;
|
||
|
}
|
||
|
}
|
||
|
.feed{
|
||
|
width: 670rpx;
|
||
|
height: 688rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 20rpx;
|
||
|
text-align: center;
|
||
|
padding-top: 70rpx;
|
||
|
box-sizing: border-box;
|
||
|
image{
|
||
|
width: 408rpx;
|
||
|
height: 315rpx;
|
||
|
}
|
||
|
.title{
|
||
|
font-weight: 500;
|
||
|
font-size: 36rpx;
|
||
|
color: #222222;
|
||
|
margin-top: 50rpx;
|
||
|
}
|
||
|
.btn{
|
||
|
width: 400rpx;
|
||
|
line-height: 90rpx;
|
||
|
background: linear-gradient(0deg, #000000, #3D3B38);
|
||
|
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
|
||
|
border-radius: 90rpx;
|
||
|
font-weight: 500;
|
||
|
font-size: 30rpx;
|
||
|
color: #FFFFFF;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 50rpx;
|
||
|
}
|
||
|
}
|
||
|
&-content{
|
||
|
padding: 30rpx;
|
||
|
overflow: hidden;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 20rpx;
|
||
|
width: 700rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 20rpx;
|
||
|
box-sizing: border-box;
|
||
|
.content{
|
||
|
box-sizing: border-box;
|
||
|
overflow: hidden;
|
||
|
.box{
|
||
|
width: 100%;
|
||
|
background: #F6F6F6;
|
||
|
border-radius: 10rpx;
|
||
|
padding: 30rpx;
|
||
|
box-sizing: border-box;
|
||
|
margin: 30rpx auto;
|
||
|
textarea{
|
||
|
width: 100%;
|
||
|
height: 300rpx;
|
||
|
font-weight: 400;
|
||
|
font-size: 28rpx;
|
||
|
color: #212121;
|
||
|
}
|
||
|
.tips{
|
||
|
font-weight: 400;
|
||
|
font-size: 28rpx;
|
||
|
color: #999999;
|
||
|
margin-top: 20rpx;
|
||
|
text-align: right;
|
||
|
}
|
||
|
}
|
||
|
.picker{
|
||
|
height: 90rpx;
|
||
|
line-height: 90rpx;
|
||
|
background: #F6F6F6;
|
||
|
border-radius: 10rpx;
|
||
|
padding: 0 30rpx;
|
||
|
box-sizing: border-box;
|
||
|
font-size: 28rpx;
|
||
|
color: #333333;
|
||
|
margin: 30rpx auto;
|
||
|
}
|
||
|
.tab{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: flex-start;
|
||
|
margin-top: 20rpx;
|
||
|
.li{
|
||
|
padding: 0 40rpx;
|
||
|
font-weight: 500;
|
||
|
font-size: 30rpx;
|
||
|
color: #333333;
|
||
|
line-height: 61rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 61rpx;
|
||
|
border: 1px solid #CCCCCC;
|
||
|
text-align: center;
|
||
|
margin-right: 20rpx;
|
||
|
&-on{
|
||
|
background: linear-gradient(0deg, #000000, #3D3B38);
|
||
|
border: 1px solid #2261CD;
|
||
|
color: #FFFFFF;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.title{
|
||
|
.red{
|
||
|
color: #E53623;
|
||
|
}
|
||
|
.hs{
|
||
|
font-size: 24rpx;
|
||
|
color: #999999;
|
||
|
}
|
||
|
font-weight: 400;
|
||
|
font-size: 30rpx;
|
||
|
color: #212121;
|
||
|
}
|
||
|
.list{
|
||
|
width: 110%;
|
||
|
margin-bottom: 30rpx;
|
||
|
overflow: hidden;
|
||
|
.dd{
|
||
|
width: 100%;
|
||
|
padding: 0 20rpx;
|
||
|
box-sizing: border-box;
|
||
|
background: #F6F6F6;
|
||
|
border-radius: 10rpx;
|
||
|
margin-top: 20rpx;
|
||
|
input{
|
||
|
width: 100%;
|
||
|
height: 90rpx;
|
||
|
line-height: 90rpx;
|
||
|
font-weight: 400;
|
||
|
font-size: 28rpx;
|
||
|
color: #212121;
|
||
|
}
|
||
|
}
|
||
|
.upload{
|
||
|
width: 150rpx;
|
||
|
height: 150rpx;
|
||
|
background: #FFFFFF;
|
||
|
border-radius: 10rpx;
|
||
|
border: 1px solid #DDDDDD;
|
||
|
float: left;
|
||
|
font-weight: 400;
|
||
|
text-align: center;
|
||
|
font-size: 24rpx;
|
||
|
color: #999999;
|
||
|
margin-top: 30rpx;
|
||
|
image{
|
||
|
width: 50rpx;
|
||
|
height: 50rpx;
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 25rpx;
|
||
|
margin-bottom: 10rpx;
|
||
|
}
|
||
|
}
|
||
|
.item{
|
||
|
width: 150rpx;
|
||
|
height: 150rpx;
|
||
|
border-radius: 10rpx;
|
||
|
float: left;
|
||
|
margin-top: 30rpx;
|
||
|
overflow: hidden;
|
||
|
position: relative;
|
||
|
margin-right: 12rpx;
|
||
|
.pic{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.del{
|
||
|
width: 35rpx;
|
||
|
height: 35rpx;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
z-index: 2;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&-fd{
|
||
|
width: 100%;
|
||
|
padding: 20rpx 25rpx;
|
||
|
box-sizing: border-box;
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
z-index: 22;
|
||
|
background-color: #FFFFFF;
|
||
|
.btn{
|
||
|
width: 100%;
|
||
|
line-height: 90rpx;
|
||
|
background: linear-gradient(0deg, #000000, #3D3B38);
|
||
|
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
|
||
|
border-radius: 90rpx;
|
||
|
text-align: center;
|
||
|
font-weight: 400;
|
||
|
font-size: 30rpx;
|
||
|
color: #FFFFFF;
|
||
|
letter-spacing: 2rpx;
|
||
|
}
|
||
|
.history{
|
||
|
text-align: center;
|
||
|
font-weight: 400;
|
||
|
font-size: 26rpx;
|
||
|
color: #666666;
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|