智慧教务系统UniApp前端项目(使用中2025-0517)
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.
 
 
 
 
 

202 lines
3.9 KiB

<!--授课统计-详情-->
<template>
<view class="main_box">
<view class="main_section">
<view class="section">
<view class="text_input">
<fui-textarea placeholder="请输入反馈内容"></fui-textarea>
</view>
</view>
<view class="section">
<view class="upload_box">
<view>上传图片</view>
<AQUplodeImgMulti :inputName="`images_arr`" :inputValue="formData.images_arr || []"
@AQUploadSuccess="AQUploadSuccess" />
</view>
</view>
<view class="section">
<view class="input_box">
<fui-input label="邮箱方式" borderTop placeholder="请输入邮箱"></fui-input>
</view>
</view>
<view class="describe">
反馈的相关问题会第一时间通过邮箱解答
</view>
<view class="btn">提交</view>
</view>
</view>
</template>
<script>
// import user from '@/api/user.js';
import AQUplodeImgMulti from '@/components/AQ/AQUplodeImgMulti';
import AQTabber from "@/components/AQ/AQTabber"
export default {
components: {
AQTabber,
AQUplodeImgMulti,
},
data() {
return {
formData: {
images_arr: []
},
//课程下拉菜单相关
show_course: false, //是否显示下拉菜单
//课程下拉菜单
course_name: '课程', //选中的下拉菜单名称
options_course: [{
text: '请选择课程',
value: '',
checked: true
}, {
text: '羽毛球课程1',
value: '1'
}, {
text: '篮球课程2',
value: '2'
}],
//课室下拉菜单相关
show_classroom: false, //是否显示下拉菜单
//课程下拉菜单
classroom_name: '课室', //选中的下拉菜单名称
options_classroom: [{
text: '请选择课室',
value: '',
checked: true
}, {
text: '羽毛球201',
value: '1'
}, {
text: '篮球室101',
value: '2'
}],
}
},
onLoad() {},
methods: {
//######AQ上传文件组件相关######
// 上传文件回调
AQUploadSuccess(res) {
console.log('接收AQ上传回调xxx1', res)
// 使用 split 方法分割字符串
let _inputValue = []
if (res.filePathArr.length) {
_inputValue = res.filePathArr
}
this.formData[res.inputName] = _inputValue
// console.log('接收AQ上传回调xxx1',res)
// console.log('接收AQ上传回调xxx2',this.formData.member_store_certification_arr)
},
}
}
</script>
<style lang="less" scoped>
.main_box {
background: #292929;
}
//自定义导航栏
.navbar_section {
display: flex;
justify-content: center;
align-items: center;
background: #29d3b4;
.title {
padding: 20rpx 0;
font-size: 30rpx;
color: #315d55;
}
}
.main_section {
min-height: 100vh;
background: #292929 100%;
padding: 0 0rpx;
padding-top: 32rpx;
padding-bottom: 150rpx;
font-size: 28rpx;
color: #fff;
display: flex;
flex-direction: column;
gap: 20rpx;
.section {
background-color: #434544;
padding: 40rpx 40rpx;
.text_input {
border: 1px solid #434544;
background-color: #434544 !important;
::v-deep .fui-textarea__wrap {
border: 1px solid #797979;
background-color: #434544 !important;
}
::v-deep .fui-textarea__background {
border: 0;
background-color: #434544 !important;
}
}
.upload_box {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.input_box {
padding: 0;
color: #fff;
::v-deep .fui-input__wrap {
background: #434544 !important;
padding-left: 0 !important;
}
::v-deep .fui-input__label {
span {
color: #fff !important;
}
}
::v-deep .uni-input-input {
color: #fff;
}
::v-deep .fui-input__background {
background: #434544 !important;
}
}
}
.btn {
margin: 0 auto;
margin-top: 40rpx;
border: 1px solid #25a18b;
color: #25a18b;
width: 80%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
}
}
.describe {
color: #999999;
padding-left: 30rpx;
}
</style>