| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011 |
- <template>
- <view class="container">
- <view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
- <view class="top">
- <image class="return" @click="goBack" src="/static/image/back_white.png"></image>
- <text>任务详情</text>
- </view>
- <scroll-view class="content" scroll-y>
-
- <!-- 审核表单(根据类型动态渲染) -->
- <view v-if="auditData">
- <!-- 只有完成任务审核和创建任务审核才涉及文章、短视频、长视频 -->
- <view v-if="businessType === 'ADUIT_WCRWSH' || businessType === 'ADUIT_CJRW'">
- <!-- 短视频审核 -->
- <ShortVideoAudit v-if="auditData.shortVideoData" :data="auditData.shortVideoData" />
-
- <!-- 长视频审核 -->
- <LongVideoAudit v-else-if="auditData.longVideoData" :data="auditData.longVideoData" />
-
- <!-- 文章审核 -->
- <ArticleAudit v-else-if="auditData.articleData" :data="auditData.articleData" />
- </view>
-
- <!-- 讲者审核 -->
- <SpeakerAudit v-else-if="businessType === 'ADUIT_JZSH'" :data="{ docterVO: auditData.docterVO, companyUserVO: auditData.companyUserVO }" />
-
- <!-- 提现审核 -->
- <WithdrawAudit v-else-if="businessType === 'ADUIT_TXSH'" :data="auditData.withdrawData" />
-
- <!-- 服务单生成配置模板审核 -->
- <view v-else-if="businessType === 'AUDIT_FWDRWSCPZ'" class="info-section">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">服务单生成配置模板信息</text>
- </view>
- <view class="info-list">
- <view class="info-item">
- <text class="info-label">任务编号</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.taskNo ? auditData.auditTaskInfoVO.taskNo : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务名称</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.taskName ? auditData.auditTaskInfoVO.taskName : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">项目名称</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.projectName ? auditData.auditTaskInfoVO.projectName : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">归属部门</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.deptName ? auditData.auditTaskInfoVO.deptName : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">归属类型</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.belongTypeName ? auditData.auditTaskInfoVO.belongTypeName : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务数量</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.taskCount ? auditData.auditTaskInfoVO.taskCount : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">任务积分</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.taskIntegral ? auditData.auditTaskInfoVO.taskIntegral : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">计划开始时间</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.planStartTime ? auditData.auditTaskInfoVO.planStartTime : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">计划结束时间</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.planEndTime ? auditData.auditTaskInfoVO.planEndTime : '-' }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">申请人</text>
- <text class="info-value">{{ auditData.auditTaskInfoVO && auditData.auditTaskInfoVO.companyUserName ? auditData.auditTaskInfoVO.companyUserName : '-' }}</text>
- </view>
- </view>
-
- <!-- 审核流程信息 -->
- <view class="info-section" v-if="auditData.auditFlowVO && auditData.auditFlowVO.length > 0">
- <view class="section-header">
- <view class="section-indicator"></view>
- <text class="section-title">审核流程信息</text>
- </view>
- <view class="flow-list">
- <view v-for="(flow, index) in auditData.auditFlowVO" :key="index" class="flow-item">
- <view class="flow-step">
- <view class="step-number">{{ flow.stepNumber }}</view>
- <view class="step-line" v-if="index < auditData.auditFlowVO.length - 1"></view>
- </view>
- <view class="flow-content">
- <view class="flow-header">
- <text class="flow-title">{{ flow.stepDescription }}</text>
- <text class="flow-status" :class="{'status-pending': flow.status === 1, 'status-completed': flow.status === 2, 'status-submitted': flow.status === 0}">{{ flow.statusName }}</text>
- </view>
- <view class="flow-info">
- <text>审核人:{{ flow.auditUserName || '-' }}</text>
- </view>
- <view class="flow-info" v-if="flow.auditTime">
- <text>审核时间:{{ flow.auditTime }}</text>
- </view>
- <view class="flow-info" v-if="flow.comment">
- <text>审核意见:{{ flow.comment }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="bottom-bar">
- <view class="action-buttons">
- <view class="btn btn-cancel" @click="openRejectPopup">
- <image class="icon" src="/static/image/icon_approval_no.png"></image>
- <text>驳回</text>
- </view>
- <view class="btn btn-submit" @click="handleNext">
- <image class="icon" src="/static/image/icon_approval_yes.png"></image>
- <text>通过</text>
- </view>
- </view>
- </view>
- <!-- 驳回弹窗 -->
- <u-popup :show="showRejectPopup" mode="bottom" round="24" z-index="9999999">
- <view class="reject-popup-content">
- <view class="popup-header">
- <text class="popup-title">驳回</text>
- <image @click="showRejectPopup = false;" class="close" src="/static/image/icon_close.png"></image>
- </view>
- <view class="input-area">
- <textarea v-model="rejectReason" placeholder="请输入驳回意见" class="reason-input" :auto-height="true"
- maxlength="200" />
- </view>
- <view class="btn-group">
- <view class="button reject" @click="showRejectPopup = false">取消</view>
- <view class="button confirm" @click="handleConfirmReject ">确认驳回</view>
- </view>
- </view>
- </u-popup>
- </view>
- </template>
- <script>
- import { doAudit, getAuditFlows, getTaskFinishAuditInfo } from '@/api/audit.js'
- import ShortVideoAudit from './components/ShortVideoAudit.vue'
- import LongVideoAudit from './components/LongVideoAudit.vue'
- import ArticleAudit from './components/ArticleAudit.vue'
- import SpeakerAudit from './components/SpeakerAudit.vue'
- import WithdrawAudit from './components/WithdrawAudit.vue'
- export default {
- components: {
- ShortVideoAudit,
- LongVideoAudit,
- ArticleAudit,
- SpeakerAudit,
- WithdrawAudit
- },
- data() {
- return {
- userInfo:JSON.parse(uni.getStorageSync('userInfo')),
- // 弹窗默认隐藏
- showRejectPopup: false,
- // 驳回意见
- rejectReason: '',
- // 状态栏高度
- statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
- // 任务ID
- taskId: '',
- // 接口返回的原始数据
- auditData: null,
- // 审批信息
- approvalInfo: [],
- businessType:null
- }
- },
- onLoad(options) {
- console.log("options参数",options)
- if(options.businessType){
- this.businessType = options.businessType
- }
- if (options.taskId) {
- this.taskId = options.taskId
- this.loadData()
- }
- },
- methods: {
- // 打开驳回弹窗
- openRejectPopup() {
- // 直接打开驳回弹窗
- this.showRejectPopup = true
- },
- // 确认驳回
- async handleConfirmReject() {
- if (!this.rejectReason.trim()) {
- uni.showToast({
- title: '请输入驳回意见',
- icon: 'none'
- })
- return
- }
-
- try {
- uni.showLoading({
- title: '提交中...'
- })
-
- // 调用审核接口,传递action=2表示驳回
- const res = await doAudit({
- auditId: this.taskId,
- userId: this.userInfo.userId,
- userType: 0,
- action: 2,
- comment: this.rejectReason,
- companyId: this.userInfo.companyId
- })
-
- uni.hideLoading()
-
- if (res.code === 200) {
- uni.showToast({
- title: res.data.message,
- icon: none
- })
-
- // 关闭弹窗
- this.showRejectPopup = false
- // 重置输入
- this.rejectReason = ''
- // 重新加载数据
- this.loadData()
- } else {
- uni.showToast({
- title: res.msg || '驳回失败',
- icon: 'none'
- })
- }
- } catch (e) {
- uni.hideLoading()
- console.error('驳回失败', e)
- uni.showToast({
- title: '驳回失败,请稍后重试',
- icon: 'none'
- })
- }
- },
- // 返回上一页
- goBack() {
- uni.navigateBack()
- },
- // 加载数据
- async loadData() {
- try {
- uni.showLoading({
- title: '加载中...'
- })
-
- // 获取审批流程信息
- // const auditFlowsRes = await getAuditFlows({
- // auditId: this.taskId,
- // userId: this.userInfo.userId,
- // userType: this.userInfo.userType,
- // action: 0,
- // comment: "comment_3498cb3111a7",
- // companyId: this.userInfo.companyId
- // })
- // if (auditFlowsRes.code === 200) {
- // console.log('审批流程信息:', auditFlowsRes.data)
- // this.approvalInfo = auditFlowsRes.data || []
- // }
-
- // 获取任务完成审核信息
- const taskFinishAuditRes = await getTaskFinishAuditInfo({ taskId: 69||this.taskId })
- if (taskFinishAuditRes.code === 200) {
- // 直接保存接口返回的原始数据
- console.log('任务完成审核信息:', taskFinishAuditRes.data)
- this.auditData = taskFinishAuditRes.data
- }
-
- // 实际项目中替换为接口请求:const res = await getTaskDetail({ id: this.taskId })
- // 这里模拟接口赋值
-
- uni.hideLoading()
- } catch (e) {
- uni.hideLoading()
- console.error('加载数据失败', e)
- }
- },
- // 复制到剪贴板
- copyToClipboard(text) {
- uni.setClipboardData({
- data: text,
- success() {
- uni.showToast({
- title: '复制成功',
- icon: 'success'
- })
- }
- })
- },
- // 下载附件
- downloadAttachment() {
- uni.showToast({
- title: '开始下载附件',
- icon: 'none'
- })
- // 实际项目中添加下载逻辑:uni.downloadFile + uni.saveFile
- },
- // 备用方法(实际用openRejectPopup)
- handlePrev() {
- this.openRejectPopup()
- },
- // 审批通过
- async handleNext() {
- try {
- uni.showLoading({
- title: '提交中...'
- })
-
- // 调用审核接口,传递action=1表示通过
- const res = await doAudit({
- auditId: this.taskId,
- userId: this.userInfo.userId,
- userType: 0,
- action: 1,
- comment: "",
- companyId: this.userInfo.companyId
- })
-
- uni.hideLoading()
-
- if (res.code === 200) {
- uni.showToast({
- title: res.data.message,
- icon: none
- })
-
- // 重新加载数据
- this.loadData()
- } else {
- uni.showToast({
- title: res.msg || '审批通过失败',
- icon: 'none'
- })
- }
- } catch (e) {
- uni.hideLoading()
- console.error('审批通过失败', e)
- uni.showToast({
- title: '审批通过失败,请稍后重试',
- icon: 'none'
- })
- }
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- // 通用信息部分样式
- .info-section {
- background: #fff;
- border-radius: 16rpx;
- padding: 32rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
- }
- .section-header {
- display: flex;
- align-items: center;
- margin-bottom: 24rpx;
- }
- .section-indicator {
- width: 8rpx;
- height: 24rpx;
- background: #1989fa;
- border-radius: 4rpx;
- margin-right: 12rpx;
- }
- .section-title {
- font-size: 28rpx;
- font-weight: 600;
- color: #333;
- }
- .info-list {
- width: 100%;
- }
- .info-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 16rpx 0;
- border-bottom: 1rpx solid #f2f2f2;
- }
- .info-item:last-child {
- border-bottom: none;
- }
- .info-label {
- font-size: 26rpx;
- color: #666;
- flex: 1;
- }
- .info-value {
- font-size: 26rpx;
- color: #333;
- flex: 2;
- text-align: right;
- word-break: break-all;
- }
- // 审核流程样式
- .flow-list {
- position: relative;
- }
- .flow-item {
- display: flex;
- margin-bottom: 32rpx;
- position: relative;
- }
- .flow-step {
- width: 40rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- position: relative;
- }
- .step-number {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #1989fa;
- color: #fff;
- font-size: 24rpx;
- font-weight: bold;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 2;
- }
- .step-line {
- width: 2rpx;
- height: 100%;
- background: #e5e5e5;
- position: absolute;
- top: 40rpx;
- left: 19rpx;
- z-index: 1;
- }
- .flow-content {
- flex: 1;
- margin-left: 24rpx;
- background: #f9f9f9;
- border-radius: 12rpx;
- padding: 24rpx;
- position: relative;
- }
- .flow-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 16rpx;
- }
- .flow-title {
- font-size: 26rpx;
- font-weight: 600;
- color: #333;
- }
- .flow-status {
- font-size: 24rpx;
- padding: 4rpx 16rpx;
- border-radius: 12rpx;
- }
- .status-pending {
- background: #fff7e6;
- color: #fa8c16;
- }
- .status-completed {
- background: #f0f9eb;
- color: #52c41a;
- }
- .status-submitted {
- background: #e6f7ff;
- color: #1890ff;
- }
- .flow-info {
- font-size: 24rpx;
- color: #666;
- margin-bottom: 8rpx;
- }
- // 弹窗样式
- .reject-popup-content {
- padding: 32rpx;
- box-sizing: border-box;
- overflow: hidden;
- border-radius: 24rpx 24rpx 0 0;
- .popup-header {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 32rpx;
- position: relative;
- .popup-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .close {
- position: absolute;
- right: 0;
- width: 44rpx;
- height: 44rpx;
- }
- }
- .input-area {
- margin-bottom: 40rpx;
- .reason-input {
- min-height: 120rpx;
- padding: 20rpx;
- background: #F7F8FA;
- border-radius: 12rpx;
- font-size: 28rpx;
- color: #333;
- width: 100%; // 新增:确保输入框宽度100%
- box-sizing: border-box;
- }
- }
- .btn-group {
- display: flex;
- gap: 24rpx;
- .button {
- width: 332rpx;
- height: 80rpx;
- flex: 1;
- border-radius: 200rpx;
- font-size: 28rpx;
- text-align: center;
- line-height: 80rpx;
- }
- .reject {
- color: #388BFF;
- background: #FFFFFF;
- border-radius: 200rpx 200rpx 200rpx 200rpx;
- border: 2rpx solid #388BFF;
- }
- .confirm {
- background: #388BFF;
- color: #FFFFFF;
- }
- }
- }
- // 原有样式
- .container {
- min-height: 100vh;
- background: #f5f5f5;
- display: flex;
- flex-direction: column;
- height: auto;
- &::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- height: 532rpx;
- background: linear-gradient(180deg, rgba(56, 139, 255, 0.79) 0%, rgba(56, 139, 255, 0) 100%);
- }
- }
- .top {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 88rpx;
- position: relative;
- font-weight: 600;
- font-size: 36rpx;
- color: #FFFFFF;
- .return {
- position: absolute;
- left: 32rpx;
- width: 40rpx;
- height: 40rpx;
- }
- }
- .content {
- flex: 1;
- padding: 24rpx;
- box-sizing: border-box;
- padding-bottom: 200rpx;
- }
- /* 任务卡片样式 */
- .task-card {
- background: #fff;
- border-radius: 16rpx;
- padding: 24rpx;
- margin-bottom: 24rpx;
- .card-header {
- display: flex;
- justify-content: space-between;
- .card-title {
- font-weight: 500;
- font-size: 36rpx;
- color: #333333;
- margin-bottom: 24rpx;
- }
- .card-lable {
- height: 40rpx;
- box-sizing: border-box;
- padding: 4rpx 12rpx;
- font-size: 24rpx;
- border-radius: 8rpx;
- &.pending {
- background: #FEF8E3;
- color: #DE9B14;
- }
- &.reject {
- background: #FFF4F5;
- color: #CF3546;
- }
- &.pass {
- color: #07C160;
- background: #E6FAEF;
- }
- }
- }
- .card-meta {
- display: flex;
- align-items: center;
- gap: 16rpx;
- font-size: 24rpx;
- color: #666;
- .item{
- display: flex;
- align-items: center;
- image{
- width: 32rpx;
- height: 32rpx;
- margin-right: 16rpx;
- }
- }
- }
- }
- /* 通用信息区块样式 */
- .info-section {
- background: #fff;
- border-radius: 16rpx;
- padding: 24rpx;
- margin-bottom: 24rpx;
- .section-header {
- display: flex;
- align-items: center;
- margin-bottom: 24rpx;
- .section-indicator {
- width: 6rpx;
- height: 32rpx;
- background: #388BFF;
- border-radius: 3rpx;
- margin-right: 16rpx;
- }
- .section-title {
- font-weight: 600;
- font-size: 32rpx;
- color: #333333;
- }
- }
- .info-list {
- .info-item {
- display: flex;
- margin-bottom: 24rpx;
- &:last-child {
- margin-bottom: 0;
- }
- .info-label {
- width: 50%;
- font-size: 28rpx;
- color: #666;
- flex-shrink: 0;
- }
- .info-value {
- flex: 1;
- text-align: end;
- font-size: 28rpx;
- color: #333;
- }
- .copy-btn {
- margin-left: 16rpx;
- color: #2196F3;
- font-size: 24rpx;
- cursor: pointer;
- }
- .column {
- flex-direction: column;
- }
- .attachment-item {
- margin-top: 24rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 16rpx;
- background: #F7F8FA;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- .left {
- display: flex;
- align-items: center;
- .img {
- width: 72rpx;
- height: 72rpx;
- margin-right: 24rpx;
- }
- .txt-item {
- .attachment-name {
- font-size: 28rpx;
- color: #333;
- }
- .attachment-size {
- font-size: 24rpx;
- color: #999;
- }
- }
- }
- .download-btn {
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- }
- }
- /* 客户信息样式 */
- .client-list {
- .client-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 16rpx 0;
- &:last-child {
- border-bottom: none;
- }
- .client-info {
- display: flex;
- align-items: center;
- .avatar {
- width: 88rpx;
- height: 88rpx;
- margin-right: 24rpx;
- }
- .client-txt {
- .client-name {
- font-size: 28rpx;
- font-weight: 500;
- color: #333;
- .client-level {
- margin-left: 8rpx;
- padding: 2rpx 8rpx;
- background: #FFF6E5;
- color: #C89743;
- font-size: 22rpx;
- border-radius: 8rpx;
- }
- }
- }
- .client-hospital {
- font-size: 24rpx;
- color: #666;
- margin-top: 4rpx;
- display: flex;
- align-items: center;
- .line {
- width: 2rpx;
- height: 28rpx;
- background: #EAEBEE;
- margin: 0 24rpx;
- }
- }
- }
- .client-stats {
- display: flex;
- gap: 24rpx;
- font-size: 24rpx;
- color: #999999;
- .stat-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- .num {
- font-weight: 500;
- font-size: 28rpx;
- color: #333333;
- }
- }
- }
- }
- }
- /* 审批信息样式 */
- .approval-list {
- .approval-item {
- position: relative;
- padding-left: 24rpx;
- margin-bottom: 68rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- &:last-child {
- margin-bottom: 0;
- }
- .left {
- display: flex;
- align-items: center;
- .avatar-box {
- width: 80rpx;
- height: 80rpx;
- margin-right: 32rpx;
- position: relative;
- .avatar {
- width: 100%;
- height: 100%;
- }
- .icon {
- position: absolute;
- bottom: 0;
- right: 0;
- width: 32rpx;
- height: 32rpx;
- }
- }
- .approval-user {
- gap: 12rpx;
- .user-name {
- font-weight: 500;
- font-size: 28rpx;
- color: #333;
- }
- .user-status {
- font-size: 24rpx;
- }
- }
- }
- .approval-time {
- font-size: 24rpx;
- color: #999;
- margin-top: 4rpx;
- }
- }
- .approval-line {
- position: absolute;
- left: 64rpx;
- bottom: -64rpx;
- width: 1rpx;
- height: 56rpx;
- background: #BFD8FF;
- }
- }
- .reason {
- font-size: 28rpx;
- color: #666666;
- line-height: 40rpx;
- margin-left: 136rpx;
- background: #F7F8FA;
- border-radius: 16rpx;
- line-height: 40rpx;
- padding: 20rpx;
- }
- .bottom-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- background: #fff;
- padding: 24rpx 32rpx;
- border-top: 1rpx solid #F2F3F5;
- z-index: 100;
- display: flex;
- align-items: center;
- .action-buttons {
- display: flex;
- flex: 1;
- justify-content: space-between;
- .btn {
- width: 292rpx;
- height: 88rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 32rpx;
- font-weight: 500;
- border-radius: 200rpx 200rpx 200rpx 200rpx;
- cursor: pointer;
- display: flex;
- align-items: center;
- &.btn-cancel {
- background: #fff;
- border: 2rpx solid #CF3546;
- color: #CF3546;
- }
- &.btn-submit {
- background: #388BFF;
- color: #fff;
- }
- .icon {
- width: 32rpx;
- height: 32rpx;
- margin-right: 16rpx;
- }
- }
- }
- }
- </style>
|