generateList.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. <template>
  2. <view class="gbox">
  3. <u-list @scrolltolower="scrolltolower" height="100%">
  4. <u-list-item v-for="(item, index) in list" :key="index">
  5. <view class="gbox-item">
  6. <view class="gbox-item-top adf">
  7. <view class="gbox-item-top-type">{{typeCfg[item.type]||'个人版'}}</view>
  8. <view class="gbox-item-top-title">{{item.reportName||''}}</view>
  9. </view>
  10. <view class="gbox-item-ps">
  11. <view class="gbox-item-p adfac">
  12. <view class="gbox-item-p-left">团队名称:</view>
  13. <view class="gbox-item-p-right">{{item.teamName||''}}</view>
  14. </view>
  15. <view class="gbox-item-p adf">
  16. <view class="gbox-item-p-left">报告状态:</view>
  17. <view class="gbox-item-p-right" :style="{'color':stateColor[item.state]}">{{stateDict[item.state]}}</view>
  18. </view>
  19. <view class="gbox-item-p adf">
  20. <view class="gbox-item-p-left">创建时间:</view>
  21. <view class="gbox-item-p-right">{{item.createDate||''}}</view>
  22. </view>
  23. <!-- <image class="gbox-item-ask" :src="imgBase+'report_ask.png'" @click="askReport(item)" v-if="item.state==1&&item.fileUrl"></image> -->
  24. <image class="gbox-item-ask" :src="imgBase+'report_ask.png'" @click="testShow=true" v-if="item.state==1&&item.fileUrl"></image>
  25. </view>
  26. <view class="gbox-item-bottom adfacjb">
  27. <view class="gbox-item-bottom-rightbox adfac" v-if="item.type==1">
  28. <view class="gbox-item-bottom-right" @click="openEvaluation(item)" v-if="canEditEvaluation(item)">评估修改</view>
  29. <view class="gbox-item-bottom-right report-button-disabled" @click="showReportUnavailable('background')" v-if="item.state==1">背景报告</view>
  30. <view class="gbox-item-bottom-right report-button-disabled" @click="showReportUnavailable('professional')" v-if="item.state==1">教练报告</view>
  31. <view class="gbox-item-bottom-right" @click="reviewArtifact(item, 'public')" v-if="item.state==1">团队报告</view>
  32. <view class="gbox-item-bottom-right" @click="reSendReport(item)" v-if="item.state==-1">重新生成</view>
  33. </view>
  34. <view class="gbox-item-bottom-rightbox adfac" v-else-if="item.type==2">
  35. <view class="gbox-item-bottom-right" @click="openEvaluation(item)" v-if="canEditEvaluation(item)">评估修改</view>
  36. <view class="gbox-item-bottom-right" @click="reviewArtifact(item, 'background')" v-if="item.state==1">背景报告</view>
  37. <view class="gbox-item-bottom-right" @click="reviewArtifact(item, 'professional')" v-if="item.state==1">教练报告</view>
  38. <view class="gbox-item-bottom-right" @click="reviewArtifact(item, 'public')" v-if="item.state==1">团队报告</view>
  39. <view class="gbox-item-bottom-right" @click="forwardReport(item)" v-if="item.state==1&&item.fileUrl">发送邮件</view>
  40. <view class="gbox-item-bottom-right" @click="sendReport(item)" v-if="item.state!=-1">发送报告</view>
  41. <view class="gbox-item-bottom-right" @click="reSendReport(item)" v-if="item.state==-1">重新生成</view>
  42. </view>
  43. </view>
  44. <view class="gbox-item-generating-mask" v-if="isReportGenerating(item)" @click.stop="showGeneratingReminder"></view>
  45. </view>
  46. </u-list-item>
  47. </u-list>
  48. <view class="kind-reminder adffcacjc" v-if="testShow">
  49. <view class="kr-box adffcac">
  50. <view class="kr-title">温馨提示</view>
  51. <view class="kr-p" style="margin-top: 54rpx;">功能测试中,即将上线,敬请期待!</view>
  52. <view class="kr-btn" @click="testShow=false">确定</view>
  53. </view>
  54. </view>
  55. <view class="kind-reminder adffcacjc" v-if="reportReminderShow">
  56. <view class="kr-box adffcac">
  57. <view class="kr-title">温馨提示</view>
  58. <view class="kr-p" style="margin-top: 54rpx;">{{reportReminderMsg}}</view>
  59. <view class="kr-btn" @click="reportReminderShow=false">确定</view>
  60. </view>
  61. </view>
  62. <view class="evaluation-mask adffcacjc" v-if="evaluationVisible">
  63. <view class="evaluation-box">
  64. <view class="kr-title">修改评估内容</view>
  65. <view class="evaluation-label">总体评估结果</view>
  66. <textarea class="evaluation-textarea" maxlength="20000" v-model="evaluationForm.overallAssessment" placeholder="请输入总体评估结果"></textarea>
  67. <view class="evaluation-label">团队发展建议</view>
  68. <textarea class="evaluation-textarea" maxlength="20000" v-model="evaluationForm.developmentAdvice" placeholder="请输入团队发展建议"></textarea>
  69. <view class="evaluation-actions">
  70. <view class="evaluation-cancel" @click="closeEvaluation">取消</view>
  71. <view class="evaluation-submit" :class="{disabled:evaluationSubmitting}" @click="submitEvaluation">{{evaluationSubmitting?'提交中':'保存提交'}}</view>
  72. </view>
  73. </view>
  74. </view>
  75. <cus-select-team-user
  76. ref="selectTeamUser"
  77. :show="teamUserShow"
  78. :list="teamUserList"
  79. @close="handleClose"
  80. @changeAll="changeAll"
  81. @handleSelectUser="handleSelectUser"
  82. @handleConfirm="sendConfirm"
  83. ></cus-select-team-user>
  84. </view>
  85. </template>
  86. <script>
  87. import { getPlatformInfo } from '@/utils/platform.js';
  88. import { reportArtifactUrl, reportArtifactDownloadUrl } from '@/utils/reportArtifactLinks.js'
  89. import { canEditEvaluation, isReportGenerating, EVALUATION_PROCESSING_PROMPT, normalizeEvaluationForm } from '@/utils/reportEvaluationEdit.js'
  90. import CusSelectTeamUser from '@/components/CusSelectTeamUser/index.vue'
  91. export default {
  92. props:{
  93. list:{
  94. typeof:Array,
  95. default:[]
  96. }
  97. },
  98. components:{ CusSelectTeamUser },
  99. data(){
  100. return {
  101. typeCfg:{
  102. 1:'个人版',
  103. 2:'团队版',
  104. 0:'团队PRO版'
  105. },
  106. stateDict:{
  107. '0':'生成中',
  108. '1':'生成成功',
  109. '-1':'生成失败'
  110. },
  111. stateColor:{
  112. '0':'#FFD750',
  113. '1':'#33A7A7',
  114. '-1':'#F4657A'
  115. },
  116. teamUserShow:false,
  117. teamUserList:[],
  118. categoryData:[],
  119. sendType:1,
  120. selectItem:null,
  121. testShow:false,
  122. reportReminderShow:false,
  123. reportReminderMsg:'',
  124. evaluationVisible:false,
  125. evaluationSubmitting:false,
  126. evaluationReportId:'',
  127. evaluationForm:{overallAssessment:'',developmentAdvice:''}
  128. }
  129. },
  130. methods:{
  131. isReportGenerating(item){
  132. return isReportGenerating(item);
  133. },
  134. showGeneratingReminder(){
  135. this.$showToast('报告正在生成中,暂不可操作,请稍候。');
  136. },
  137. guardReportOperation(item){
  138. if(!this.isReportGenerating(item)) return true;
  139. this.showGeneratingReminder();
  140. return false;
  141. },
  142. scrolltolower(){
  143. this.$emit('scrolltolower')
  144. },
  145. getUserCategoryData(){
  146. return new Promise((resolve,reject)=>{
  147. this.$api.get('/getListByType/UserCategory').then(({data:res})=>{
  148. if(res.code!==0) return this.$showToast(res.msg)
  149. this.categoryData = res.data.map(d=>({name:d.dictLabel,id:d.dictValue}))
  150. resolve()
  151. })
  152. })
  153. },
  154. async forwardReport(item){
  155. if(!this.guardReportOperation(item)) return;
  156. //发送给账号自己的邮箱
  157. if(!uni.getStorageSync('userInfo')||!JSON.parse(uni.getStorageSync('userInfo')).email) return this.$showModal('发送邮件前请先在我的-设置-用户信息中绑定邮箱')
  158. uni.showModal({
  159. title:'温馨提示',
  160. content:`是否确认将“${item.reportName||''}”下的PDF报告文件发送到账号绑定邮箱中?`,
  161. confirmText:'确认',
  162. success: (res) => {
  163. if(res.confirm){
  164. this.$api.get(`/core/report/sendToEmail/${item.reportId}`).then(({data:res})=>{
  165. if(res.code!==0) return this.$showToast(res.msg)
  166. this.$showModal('邮件发送成功,可在绑定的邮箱中查看详细内容。')
  167. })
  168. }
  169. }
  170. })
  171. // this.sendType = 1;
  172. // this.$refs.selectTeamUser.title = '发送邮件'
  173. // await this.getUserCategoryData()
  174. // this.$api.get(`/core/member/listByQueTeamId/${item.teamQueId}`).then(({data:res})=>{
  175. // if(res.code!==0) return this.$showToast(res.msg)
  176. // this.teamUserList = res.data;
  177. // this.teamUserList.forEach((l,i)=>{
  178. // l.categoryName = this.categoryData.find(c=>c.id==l.category)?.name;
  179. // this.$set(this.teamUserList[i],'select',false);
  180. // })
  181. // this.teamUserShow = true;
  182. // })
  183. },
  184. handleSelectUser(index){
  185. this.$set(this.teamUserList[index],'select',!this.teamUserList[index].select);
  186. this.dealNumAndAll()
  187. },
  188. handleClose(){
  189. this.teamUserShow = false;
  190. this.initSelectUserComponent();
  191. },
  192. changeAll(selected){
  193. this.teamUserList.forEach((l,i)=>{
  194. this.$set(this.teamUserList[i],'select',selected);
  195. })
  196. this.$refs.selectTeamUser.selectNums = this.teamUserList.filter(l=>l.select).length;
  197. },
  198. dealNumAndAll(){
  199. const selectnum = this.teamUserList.filter(l=>l.select).length;
  200. this.$refs.selectTeamUser.selectNums = selectnum;
  201. this.$refs.selectTeamUser.selectAll = selectnum === this.teamUserList.length;
  202. },
  203. showReportUnavailable(kind){
  204. this.reportReminderMsg = kind === 'background'
  205. ? '背景报告需配合团队版评估数据生成'
  206. : '教练报告需要配合团队版评估数据生成';
  207. this.reportReminderShow = true;
  208. },
  209. canEditEvaluation(item){
  210. return canEditEvaluation(item);
  211. },
  212. openEvaluation(item){
  213. if(!this.guardReportOperation(item)) return;
  214. if(!this.canEditEvaluation(item)) return;
  215. this.evaluationReportId = item.reportId;
  216. this.evaluationSubmitting = false;
  217. this.evaluationVisible = true;
  218. this.$api.get('/core/report/evaluation/'+item.reportId).then(({data:res})=>{
  219. if(res.code!==0){ this.closeEvaluation(); return this.$showToast(res.msg); }
  220. if(res.data && res.data.processing){ this.closeEvaluation(); return this.$showToast('评估分析正在重新生成中,请稍候'); }
  221. this.evaluationForm = normalizeEvaluationForm(res.data || {});
  222. })
  223. },
  224. closeEvaluation(){
  225. if(this.evaluationSubmitting) return;
  226. this.evaluationVisible = false;
  227. this.evaluationReportId = '';
  228. },
  229. submitEvaluation(){
  230. if(this.evaluationSubmitting) return;
  231. if(!this.evaluationForm.overallAssessment.trim()) return this.$showToast('请输入总体评估结果');
  232. if(!this.evaluationForm.developmentAdvice.trim()) return this.$showToast('请输入团队发展建议');
  233. this.evaluationSubmitting = true;
  234. this.$api.post('/core/report/evaluation/'+this.evaluationReportId, this.evaluationForm).then(({data:res})=>{
  235. if(res.code!==0) return this.$showToast(res.msg);
  236. this.evaluationVisible = false;
  237. this.$emit('reSendReport');
  238. this.reportReminderMsg = EVALUATION_PROCESSING_PROMPT;
  239. this.reportReminderShow = true;
  240. }).finally(()=>{ this.evaluationSubmitting = false; });
  241. },
  242. sendConfirm(){
  243. if(!this.guardReportOperation(this.selectItem)) return;
  244. if(this.teamUserList.filter(t=>t.select).length===0) return this.$showToast('请选择要发送的用户')
  245. if(this.sendType===1&&(!uni.getStorageSync('userInfo')||!JSON.parse(uni.getStorageSync('userInfo')).email)) return this.$showModal('发送前请先在我的-设置-用户信息中绑定邮箱')
  246. if(this.sendType===1){
  247. this.handleClose();
  248. } else if(this.sendType===2){
  249. const item = JSON.parse(JSON.stringify(this.selectItem));
  250. uni.showModal({
  251. title:'发送报告',
  252. content:`是否确认将“${item.reportName||''}”发送给团队成员`,
  253. confirmText:'确认',
  254. success: (res) => {
  255. if(res.confirm){
  256. this.$api.post(`/core/report/sendReport`,{
  257. reportId:item.reportId,
  258. memberList:this.teamUserList.filter(t=>t.select).map(t=>({id:t.id,mobile:t.mobile,category:t.category}))
  259. }).then(({data:res})=>{
  260. if(res.code!==0) return this.$showToast(res.msg)
  261. this.handleClose();
  262. uni.navigateTo({
  263. url:'/pagesHome/sendResult?result='+res.code
  264. })
  265. })
  266. }
  267. }
  268. })
  269. }
  270. },
  271. initSelectUserComponent(){
  272. this.$refs.selectTeamUser.selectNums = 0;
  273. this.$refs.selectTeamUser.selectAll = false;
  274. },
  275. reviewArtifact(item, kind){
  276. if(!this.guardReportOperation(item)) return;
  277. const url = reportArtifactUrl(item, kind)
  278. if(!url) return this.$showToast('该报告尚未生成,请稍后再试。')
  279. const { isPC, isMobile, platform } = getPlatformInfo();
  280. console.log(platform,'platform');//android
  281. if (isPC) {
  282. this.$showModal('请在手机端该微信小程序中查看报告')
  283. } else if (isMobile||platform==='devtools') {
  284. this.openReportDocument(url)
  285. // uni.navigateTo({
  286. // url:'/pages/webView?src='+item.fileUrl
  287. // })
  288. }
  289. },
  290. async openReportDocument(fileUrl) {
  291. try {
  292. // 1. 显示加载提示
  293. uni.showLoading({ title: '加载中...' });
  294. // 2. 先下载PDF文件到本地(解决安卓直接预览网络文件慢的问题)
  295. const downloadRes = await uni.downloadFile({
  296. url: reportArtifactDownloadUrl(fileUrl),
  297. // 可选:设置超时时间,避免长时间等待
  298. timeout: 30000
  299. });
  300. const dres = downloadRes[1]||null;
  301. if (dres.statusCode !== 200) {
  302. uni.hideLoading();
  303. uni.showToast({ title: '文件下载失败', icon: 'none' });
  304. return;
  305. }
  306. // 3. 按实际扩展名使用微信原生文档预览
  307. const openRes = await uni.openDocument({
  308. filePath: dres.tempFilePath,
  309. fileType: this.documentType(fileUrl),
  310. showMenu: false
  311. });
  312. uni.hideLoading();
  313. } catch (error) {
  314. uni.hideLoading();
  315. uni.showToast({ title: '加载失败,请重试', icon: 'none' });
  316. }
  317. },
  318. documentType(fileUrl) {
  319. const path = (fileUrl || '').split('?')[0].toLowerCase()
  320. return path.endsWith('.docx') ? 'docx' : 'pdf'
  321. },
  322. askReport(item){
  323. if(!this.guardReportOperation(item)) return;
  324. uni.navigateTo({
  325. url:`/pages/reportAsk?pdfUrl=${item.fileUrl}&fileName=${this.typeCfg[item.type]||'个人版'}-${item.reportName}`
  326. })
  327. },
  328. async sendReport(item){
  329. if(!this.guardReportOperation(item)) return;
  330. if(!item.fileUrl) return this.$showModal('该报告尚未生成PDF文件,请等待生成后发送。')
  331. this.sendType = 2;
  332. this.$refs.selectTeamUser.title = '发送报告'
  333. this.selectItem = item;
  334. await this.getUserCategoryData()
  335. this.$api.get(`/core/member/listByQueTeamId/${item.teamQueId}`).then(({data:res})=>{
  336. if(res.code!==0) return this.$showToast(res.msg)
  337. this.teamUserList = res.data;
  338. this.teamUserList.forEach((l,i)=>{
  339. l.categoryName = this.categoryData.find(c=>c.id==l.category)?.name;
  340. this.$set(this.teamUserList[i],'select',false);
  341. })
  342. this.teamUserShow = true;
  343. })
  344. },
  345. reSendReport(item){
  346. if(!this.guardReportOperation(item)) return;
  347. this.$api.get(`/core/report/regenerateReport/${item.reportId}`).then(({data:res})=>{
  348. if(res.code!==0) return this.$showToast(res.msg)
  349. this.$emit('reSendReport')
  350. })
  351. }
  352. }
  353. }
  354. </script>
  355. <style scoped lang="scss">
  356. @import '../../../static/_asset-config';
  357. .gbox{
  358. height: 100%;
  359. &-item{
  360. margin-top: 20rpx;
  361. background: #FFFFFF;
  362. border-radius: 24rpx;
  363. padding: 40rpx 20rpx 20rpx;
  364. position: relative;
  365. &-generating-mask{
  366. position: absolute;
  367. left: 0;
  368. right: 0;
  369. top: 0;
  370. bottom: 0;
  371. z-index: 10;
  372. border-radius: 24rpx;
  373. background: rgba(255, 255, 255, .35);
  374. }
  375. &-top{
  376. &-type{
  377. width: 98rpx;
  378. height: 36rpx;
  379. padding: 2rpx 13rpx;
  380. box-sizing: border-box;
  381. background: #FFF7DC;
  382. border-radius: 6rpx;
  383. font-family: PingFangSC, PingFang SC;
  384. font-weight: 400;
  385. font-size: 24rpx;
  386. color: #BA9B31;
  387. line-height: 33rpx;
  388. }
  389. &-title{
  390. width: calc(100% - 98rpx);
  391. font-family: PingFang-SC, PingFang-SC;
  392. font-weight: bold;
  393. font-size: 32rpx;
  394. color: #002846;
  395. line-height: 32rpx;
  396. text-indent: 17rpx;
  397. }
  398. }
  399. &-ps{
  400. margin-top: 20rpx;
  401. background: #F5F8FA;
  402. border-radius: 5px;
  403. padding: 20rpx 20rpx 30rpx;
  404. position: relative;
  405. }
  406. &-p{
  407. margin-top: 32rpx;
  408. &:first-child{
  409. margin-top: 0;
  410. }
  411. &>view{
  412. font-family: PingFangSC, PingFang SC;
  413. font-weight: 400;
  414. font-size: 24rpx;
  415. color: #667E90;
  416. line-height: 24rpx;
  417. }
  418. &-left{
  419. width: 134rpx;
  420. }
  421. &-right{
  422. width: calc(100% - 134rpx);
  423. }
  424. &-progress{
  425. width: calc(100% - 134rpx);
  426. &-l{
  427. width: 410rpx;
  428. height: 12rpx;
  429. background: #F0F2F8;
  430. border-radius: 6rpx;
  431. position: relative;
  432. &-current{
  433. height: 12rpx;
  434. background: #FFDF73;
  435. border-radius: 6rpx;
  436. position: absolute;
  437. left: 0;
  438. top: 0;
  439. }
  440. }
  441. &-r{
  442. width: calc(100% - 410rpx);
  443. font-family: PingFangSC, PingFang SC;
  444. font-weight: 400;
  445. font-size: 24rpx;
  446. color: #002846;
  447. line-height: 24rpx;
  448. text-align: right;
  449. }
  450. }
  451. }
  452. &-ask{
  453. width: 64rpx;
  454. height: 64rpx;
  455. position: absolute;
  456. right: 20rpx;
  457. bottom: 42rpx;
  458. }
  459. &-bottom{
  460. margin-top: 20rpx;
  461. overflow: hidden;
  462. &-rightbox{
  463. flex: 1;
  464. margin-left: -35rpx;
  465. justify-content: flex-end;
  466. }
  467. &-left{
  468. &>view{
  469. font-family: PingFangSC, PingFang SC;
  470. font-weight: 400;
  471. font-size: 24rpx;
  472. color: #667E90;
  473. line-height: 24rpx;
  474. }
  475. }
  476. &-right{
  477. flex: 1;
  478. width: 0;
  479. height: 64rpx;
  480. padding: 0 8rpx;
  481. text-align: center;
  482. box-sizing: border-box;
  483. line-height: 64rpx;
  484. white-space: nowrap;
  485. background: linear-gradient( 90deg, #33A7A7 0%, #4DB2B2 100%);
  486. border-radius: 20rpx;
  487. font-family: PingFang-SC, PingFang-SC;
  488. font-size: 24rpx;
  489. color: #FFFFFF;
  490. margin-left: 35rpx;
  491. &.report-button-disabled{
  492. background: #D5DDE2;
  493. color: #FFFFFF;
  494. }
  495. }
  496. }
  497. }
  498. .kind-reminder{
  499. position: fixed;
  500. left: 0;
  501. right: 0;
  502. top: 0;
  503. bottom: 0;
  504. z-index: 1000;
  505. background: rgba(0, 0, 0, .6);
  506. .kr-box{
  507. width: calc(100% - 100rpx);
  508. padding: 54rpx 60rpx 48rpx;
  509. box-sizing: border-box;
  510. background: asset-image('remind_bg.png') no-repeat;
  511. background-size: 100% 100%;
  512. position: relative;
  513. image{
  514. width: 48rpx;
  515. height: 48rpx;
  516. position: absolute;
  517. top: 40rpx;
  518. right: 30rpx;
  519. }
  520. .kr-title{
  521. font-family: PingFang-SC, PingFang-SC;
  522. font-weight: bold;
  523. font-size: 36rpx;
  524. color: #002846;
  525. line-height: 56rpx;
  526. text-align: center;
  527. }
  528. .kr-p{
  529. font-family: PingFangSC, PingFang SC;
  530. font-weight: 400;
  531. font-size: 30rpx;
  532. color: #002846;
  533. line-height: 48rpx;
  534. text-align: center;
  535. span{
  536. font-weight: bold;
  537. margin: 0 10rpx;
  538. }
  539. }
  540. .kr-btn{
  541. width: calc(100% - 80rpx);
  542. height: 88rpx;
  543. background: linear-gradient( 90deg, #33A7A7 0%, #64BBBB 100%);;
  544. border-radius: 44rpx;
  545. font-family: PingFang-SC, PingFang-SC;
  546. font-weight: bold;
  547. font-size: 32rpx;
  548. color: #FFFFFF;
  549. line-height: 88rpx;
  550. text-align: center;
  551. letter-spacing: 2rpx;
  552. margin-top: 66rpx;
  553. }
  554. }
  555. }
  556. }
  557. .evaluation-mask{position:fixed;left:0;right:0;top:0;bottom:0;z-index:30;background:rgba(0,0,0,.45);}
  558. .evaluation-box{width:650rpx;background:#fff;border-radius:16rpx;padding:34rpx 28rpx 26rpx;box-sizing:border-box;}
  559. .evaluation-label{font-size:28rpx;font-weight:bold;color:#333;margin:18rpx 0 12rpx;}
  560. .evaluation-textarea{width:100%;height:180rpx;box-sizing:border-box;background:#f7f7f7;border-radius:8rpx;padding:18rpx;font-size:26rpx;color:#333;}
  561. .evaluation-actions{display:flex;justify-content:flex-end;gap:20rpx;margin-top:28rpx;}
  562. .evaluation-cancel,.evaluation-submit{padding:18rpx 28rpx;border-radius:10rpx;font-size:28rpx;}
  563. .evaluation-cancel{color:#666;background:#f2f2f2;}.evaluation-submit{color:#fff;background:#833478;}.evaluation-submit.disabled{opacity:.5;}
  564. </style>