|
|
|
|
@ -7,186 +7,148 @@
|
|
|
|
|
* @Description: 卡拉杰克模型分析页面,展示采购品类矩阵
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="purchase app-container student-training-shell legacy-training-page">
|
|
|
|
|
<TrainingIntro title="卡拉杰克模型">
|
|
|
|
|
<template #background>
|
|
|
|
|
<p>
|
|
|
|
|
采购定位在电商企业中具有极其重要的战略意义。它决定了企业将要采购哪些商品、从哪些供应商采购以及采购的数量和价格等关键要素。一个准确的采购定位能够确保企业采购到符合市场需求、具有竞争力的商品,从而提高企业的市场竞争力。
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
采购定位的关键因素
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
目标市场与消费群体:
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
企业需要明确自己的目标市场和消费群体,了解他们的需求、偏好和消费能力。
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
根据目标市场和消费群体的特点,选择适合的商品类型和品牌。
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
商品品类与差异化特点:
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
企业需要确定采购的商品品类,考虑这些品类在市场上的竞争情况和潜在增长机会。
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
强调商品的差异化特点,如功能、设计、价格、质量等,以便与竞争对手区分开来。
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
供应商选择与合作关系:
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
选择信誉良好、实力雄厚的供应商,确保商品的品质和供应的稳定性。
|
|
|
|
|
<br />
|
|
|
|
|
<div class="purchase-page student-training-shell">
|
|
|
|
|
<main class="purchase-core">
|
|
|
|
|
<section class="task-header">
|
|
|
|
|
<div class="task-head-main">
|
|
|
|
|
<div class="task-head-top">
|
|
|
|
|
<span class="task-badge"><el-icon><Goods /></el-icon> 核心实训 · 采购需求预测</span>
|
|
|
|
|
<span class="task-status">进行中 · Step 01</span>
|
|
|
|
|
</div>
|
|
|
|
|
<h1 class="task-title">卡拉杰克模型分析</h1>
|
|
|
|
|
<p class="task-brief">
|
|
|
|
|
<span class="task-brief-text">采购定位在电商企业中具有极其重要的战略意义。使用卡拉杰克模型,根据生鲜电商平台运营模式及主要品类,分析采购产品定位,给出品类采购管理措施。</span>
|
|
|
|
|
<button type="button" class="task-brief-toggle" @click="briefOpen = !briefOpen">
|
|
|
|
|
{{ briefOpen ? "收起" : "展开目标与要求" }}
|
|
|
|
|
</button>
|
|
|
|
|
<span v-if="briefOpen" class="task-brief-more">
|
|
|
|
|
<b>实训目标</b>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>掌握卡拉杰克模型的四个象限分类</li>
|
|
|
|
|
<li>能够根据案例背景进行商品分类矩阵构建</li>
|
|
|
|
|
<li>给出差异化采购策略实施建议</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<b>实训要求</b>
|
|
|
|
|
<p>请根据案例背景信息利用卡拉杰克模型进行该生鲜电商平台的商品分类矩阵构建。</p>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
与供应商建立长期稳定的合作关系,实现互利共赢。
|
|
|
|
|
<br />
|
|
|
|
|
<section class="purchase-workbench">
|
|
|
|
|
<div class="workbench-head">
|
|
|
|
|
<div>
|
|
|
|
|
<p class="section-eyebrow">Kraljic Matrix Analysis</p>
|
|
|
|
|
<h2>卡拉杰克模型分析</h2>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
成本效益分析:
|
|
|
|
|
<br />
|
|
|
|
|
<p class="step-intro">
|
|
|
|
|
卡拉杰克模型是由彼得·卡拉杰克于1983年提出的一种采购管理工具,旨在帮助企业更好地管理供应链和采购策略。该模型从供应风险和利润影响两个维度出发,把物品分为四个象限:
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
考虑采购成本和效益的平衡,确保采购的商品具有合理的性价比。
|
|
|
|
|
<br />
|
|
|
|
|
<div class="kraljic-legend">
|
|
|
|
|
<div class="legend-item">
|
|
|
|
|
<span class="legend-color" style="background: #90EE90"></span>
|
|
|
|
|
<div><strong>战略物品</strong>:高供应风险和高利润影响,通常具有技术专利或高技术含量</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="legend-item">
|
|
|
|
|
<span class="legend-color" style="background: #FFA500"></span>
|
|
|
|
|
<div><strong>杠杆物品</strong>:低供应风险和高利润影响,市场上供应商众多</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="legend-item">
|
|
|
|
|
<span class="legend-color" style="background: #ADD8E6"></span>
|
|
|
|
|
<div><strong>瓶颈物品</strong>:高供应风险和低利润影响,由特定的少数供应商提供</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="legend-item">
|
|
|
|
|
<span class="legend-color" style="background: #98FB98"></span>
|
|
|
|
|
<div><strong>一般物品</strong>:低供应风险和低利润影响,多为日常消耗品</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
通过谈判、招标等方式争取最优惠的采购价格和服务条件。
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
<template #goal>
|
|
|
|
|
<p>
|
|
|
|
|
使用卡拉杰克模型,根据生鲜电商平台运营模式及主要品类,分析采购产品定位,给出品类采购管理措施。
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
</TrainingIntro>
|
|
|
|
|
<div class="training-step-area">
|
|
|
|
|
|
|
|
|
|
<p style="font-size: 16px">卡拉杰克模型是由彼得·卡拉杰克于1983年提出的一种采购管理工具,旨在帮助企业更好地管理供应链和采购策略。该模型从供应风险和利润影响两个维度出发,把物品分为四个象限:战略物品、杠杆物品、瓶颈物品和一般物品。</p>
|
|
|
|
|
<p>
|
|
|
|
|
战略物品:高供应风险和高利润影响。这些物品通常具有技术专利或高技术含量,对企业战略实现具有重要影响力。
|
|
|
|
|
<br />
|
|
|
|
|
杠杆物品:低供应风险和高利润影响。这些物品市场上供应商众多,标准化程度高,能够为企业降低成本。
|
|
|
|
|
<br />
|
|
|
|
|
瓶颈物品:高供应风险和低利润影响。这些物品通常由特定的少数供应商提供,存在供应垄断和运输风险。
|
|
|
|
|
<br />
|
|
|
|
|
一般物品:低供应风险和低利润影响。这些物品多为日常消耗品,市场上供应商众多,采购工作较为简单。
|
|
|
|
|
<br />
|
|
|
|
|
</p>
|
|
|
|
|
<img src="@/assets/images/u1933.jpg" alt="" style="width: 477px; height: 392px" />
|
|
|
|
|
<div class="caseBacktitle">
|
|
|
|
|
<img src="@/assets/images/步骤.png" alt="" />
|
|
|
|
|
<span>实验实训</span>
|
|
|
|
|
<div class="case-section">
|
|
|
|
|
<h3>案例背景:「优鲜到家」社区化生鲜零售平台</h3>
|
|
|
|
|
<p>成立于2023年的「优鲜到家」定位为社区化生鲜零售平台,聚焦一二线城市中高端家庭消费群体,覆盖水果、蔬菜、肉类、水产、乳制品、预制菜六大核心品类。平台采用「前置仓+社区团长」双轨运营模式,目前已布局全国15个城市,日均订单量突破30万单,SKU超2000个。</p>
|
|
|
|
|
</div>
|
|
|
|
|
<p>成立于2023年的「优鲜到家」定位为社区化生鲜零售平台,聚焦一二线城市中高端家庭消费群体,覆盖水果、蔬菜、肉类、水产、乳制品、预制菜六大核心品类14。平台采用「前置仓+社区团长」双轨运营模式,目前已布局全国15个城市,日均订单量突破30万单,SKU超2000个,其中60%为产地直采商品。</p>
|
|
|
|
|
<p>商品品类与供应链:</p>
|
|
|
|
|
<el-table
|
|
|
|
|
:data="tableData"
|
|
|
|
|
border
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
:header-cell-style="{
|
|
|
|
|
color: '#fff',
|
|
|
|
|
fontSize: '14px',
|
|
|
|
|
backgroundColor: '#1e88e5!important',
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<div class="table-panel">
|
|
|
|
|
<h4>商品品类与供应链</h4>
|
|
|
|
|
<div class="table-wrap">
|
|
|
|
|
<el-table :data="tableData" border>
|
|
|
|
|
<el-table-column prop="category" label="品类" align="center"></el-table-column>
|
|
|
|
|
<el-table-column prop="featuredProduct" label="特色商品" align="center"></el-table-column>
|
|
|
|
|
<el-table-column prop="procurementMode" label="采购模式" align="center"></el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<p>
|
|
|
|
|
三、核心运营模式
|
|
|
|
|
<br />
|
|
|
|
|
1.仓储物流体系
|
|
|
|
|
<br />
|
|
|
|
|
建立三级仓储网络:
|
|
|
|
|
<br />
|
|
|
|
|
▶ 产地仓(云南、山东等6大农业产区)负责分拣初加工
|
|
|
|
|
<br />
|
|
|
|
|
▶ 城市中心仓(每省1-2个)实现跨区域调拨
|
|
|
|
|
<br />
|
|
|
|
|
▶ 社区前置仓(半径3公里)支持30分钟达服务
|
|
|
|
|
<br />
|
|
|
|
|
投入AI分拣机器人,分拣效率达6000件/小时,损耗率降至0.8%
|
|
|
|
|
<br />
|
|
|
|
|
2.社区化销售网络
|
|
|
|
|
<br />
|
|
|
|
|
发展团长合伙人制度:
|
|
|
|
|
<br />
|
|
|
|
|
▶ 招募社区宝妈、便利店店主作为团长,提供15%销售分成
|
|
|
|
|
<br />
|
|
|
|
|
▶ 开发「团长作战室」系统,实时显示商品动销数据与佣金收益
|
|
|
|
|
<br />
|
|
|
|
|
推行「拼团预售+到店自提」模式:
|
|
|
|
|
<br />
|
|
|
|
|
▶ 爆款商品提前24小时发起拼团,满20单触发产地直发
|
|
|
|
|
<br />
|
|
|
|
|
▶ 在社区驿站设置智能冷柜,支持人脸识别取货
|
|
|
|
|
<br />
|
|
|
|
|
</p>
|
|
|
|
|
<p>请根据案例背景信息利用卡拉杰克模型进行该生鲜电商平台的商品分类矩阵构建。</p>
|
|
|
|
|
<el-table
|
|
|
|
|
:data="procurementCategoryData"
|
|
|
|
|
border
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
:header-cell-style="{
|
|
|
|
|
color: '#fff',
|
|
|
|
|
fontSize: '14px',
|
|
|
|
|
backgroundColor: '#1e88e5!important',
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="categoryType" label="品类分类" align="center"></el-table-column>
|
|
|
|
|
<el-table-column prop="value" label="典型采购品项" align="center">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="case-section">
|
|
|
|
|
<h3>核心运营模式</h3>
|
|
|
|
|
<div class="operation-mode">
|
|
|
|
|
<h4>1. 仓储物流体系</h4>
|
|
|
|
|
<p>建立三级仓储网络:产地仓(云南、山东等6大农业产区)负责分拣初加工;城市中心仓(每省1-2个)实现跨区域调拨;社区前置仓(半径3公里)支持30分钟达服务。投入AI分拣机器人,分拣效率达6000件/小时,损耗率降至0.8%。</p>
|
|
|
|
|
<h4>2. 社区化销售网络</h4>
|
|
|
|
|
<p>发展团长合伙人制度,招募社区宝妈、便利店店主作为团长,提供15%销售分成。推行「拼团预售+到店自提」模式,爆款商品提前24小时发起拼团,满20单触发产地直发。</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="task-section">
|
|
|
|
|
<h3>实训任务:卡拉杰克模型分类矩阵</h3>
|
|
|
|
|
<p>请根据案例背景信息选择各品类的定位类型:</p>
|
|
|
|
|
<div class="table-wrap">
|
|
|
|
|
<el-table :data="procurementCategoryData" border>
|
|
|
|
|
<el-table-column prop="categoryType" label="品类分类" align="center" width="120"></el-table-column>
|
|
|
|
|
<el-table-column prop="value" label="典型采购品项" align="center">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-select v-model="scope.row.value" placeholder="" @change="handleChange(scope.row.value, scope.$index)">
|
|
|
|
|
<el-select v-model="scope.row.value" placeholder="请选择" @change="handleChange(scope.row.value, scope.$index)">
|
|
|
|
|
<el-option v-for="item in options" :key="item.label" :label="item.label" :value="item.label" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="longitudinalAxis" label="核心特征" align="center"></el-table-column>
|
|
|
|
|
<el-table-column prop="basedOn" label="模型定位依据" align="center"></el-table-column>
|
|
|
|
|
<el-table-column prop="longitudinalAxis" label="核心特征" align="center"></el-table-column>
|
|
|
|
|
<el-table-column prop="basedOn" label="模型定位依据" align="center"></el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<el-button type="primary" @click="handleClick" style="margin-top: 20px">生成可视化图形</el-button>
|
|
|
|
|
<div class="main" ref="mainref" style="width: 80%; height: 400px" v-if="showChat"></div>
|
|
|
|
|
<p>请简要分析差异化采购策略实施:</p>
|
|
|
|
|
<el-table
|
|
|
|
|
:data="list"
|
|
|
|
|
border
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
:header-cell-style="{
|
|
|
|
|
color: '#fff',
|
|
|
|
|
fontSize: '14px',
|
|
|
|
|
backgroundColor: '#1e88e5!important',
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="classification" label="品类分类" align="center" width="120"></el-table-column>
|
|
|
|
|
<el-table-column prop="value" label="管理措施" align="center" style="height: 40px">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="task-actions">
|
|
|
|
|
<button type="button" class="outline-action" @click="handleClick"><el-icon><DataLine /></el-icon>生成可视化图形</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="chart-container" ref="mainref" v-if="showChat"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="task-section">
|
|
|
|
|
<h3>差异化采购策略实施</h3>
|
|
|
|
|
<div class="table-wrap">
|
|
|
|
|
<el-table :data="list" border>
|
|
|
|
|
<el-table-column prop="classification" label="品类分类" align="center" width="120"></el-table-column>
|
|
|
|
|
<el-table-column prop="value" label="管理措施" align="center">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-input v-model="scope.row.value" placeholder="" :rows="2" type="textarea"></el-input>
|
|
|
|
|
<el-input v-model="scope.row.value" placeholder="请填写管理措施" type="textarea" :rows="3"></el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<div class="taskfooter">
|
|
|
|
|
<el-button @click="submitTask">提交任务</el-button>
|
|
|
|
|
<el-button @click="resetTask">重新实训</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<TrainingLegacyActions />
|
|
|
|
|
|
|
|
|
|
<div class="task-actions">
|
|
|
|
|
<button type="button" class="btn primary" @click="submitTask"><el-icon><Check /></el-icon>提交任务</button>
|
|
|
|
|
<button type="button" class="btn" @click="resetTask"><el-icon><RefreshLeft /></el-icon>重新实训</button>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
</main>
|
|
|
|
|
<TrainingAiSidebar />
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script setup>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import TrainingLegacyActions from "@/views/components/TrainingLegacyActions.vue";
|
|
|
|
|
import { Check, DataLine, Goods, RefreshLeft } from "@element-plus/icons-vue";
|
|
|
|
|
import TrainingAiSidebar from "@/views/components/TrainingAiSidebar.vue";
|
|
|
|
|
import TrainingIntro from '@/views/components/TrainingIntro.vue';
|
|
|
|
|
import popModel from "@/views/components/popModal.vue";
|
|
|
|
|
import * as analysisAPI from "@/api/market-demand-mining.js";
|
|
|
|
|
import * as echarts from "echarts";
|
|
|
|
|
import useUserStore from "@/store/modules/user";
|
|
|
|
|
const userStore = useUserStore();
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
const briefOpen = ref(false);
|
|
|
|
|
// 图形展示状态
|
|
|
|
|
const showChat = ref(false);
|
|
|
|
|
const dialogVisible = ref(false);
|
|
|
|
|
@ -574,25 +536,684 @@ onMounted(() => {
|
|
|
|
|
echo();
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.purchase {
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 教育蓝极简 · 卡拉杰克模型分析页
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
.purchase-page {
|
|
|
|
|
--student-accent: #2563eb;
|
|
|
|
|
--student-accent-deep: #1d4ed8;
|
|
|
|
|
--student-accent-light: #3b82f6;
|
|
|
|
|
--student-accent-soft: #eff6ff;
|
|
|
|
|
--student-danger: #ef4444;
|
|
|
|
|
--student-success: #2ba471;
|
|
|
|
|
--student-panel-border: #e5e7eb;
|
|
|
|
|
--student-card-bg: #ffffff;
|
|
|
|
|
--student-panel-bg: #fafbfc;
|
|
|
|
|
--student-text: #1f2937;
|
|
|
|
|
--student-text-secondary: #6b7280;
|
|
|
|
|
--student-font-data: "DM Mono", ui-monospace, monospace;
|
|
|
|
|
--student-fs-display: 26px;
|
|
|
|
|
--student-fs-h1: 20px;
|
|
|
|
|
--student-fs-h2: 16px;
|
|
|
|
|
--student-fs-h3: 15px;
|
|
|
|
|
--student-fs-body: 14px;
|
|
|
|
|
--student-fs-body-sm: 13px;
|
|
|
|
|
--student-fs-caption: 12px;
|
|
|
|
|
--student-fs-button: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purchase-core {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 0;
|
|
|
|
|
max-width: 960px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 28px 32px 48px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-header {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 18px 20px 18px 24px;
|
|
|
|
|
border: 1px solid var(--student-panel-border);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
background: var(--student-card-bg);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 4px;
|
|
|
|
|
background: var(--student-accent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-head-main {
|
|
|
|
|
display: grid;
|
|
|
|
|
justify-items: start;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
}
|
|
|
|
|
.caseBacktitle {
|
|
|
|
|
|
|
|
|
|
.task-head-top {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-badge {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 7px;
|
|
|
|
|
padding: 4px 12px;
|
|
|
|
|
border: 1px solid var(--student-panel-border);
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
color: var(--student-accent-deep);
|
|
|
|
|
background: var(--student-accent-soft);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-status {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 3px 10px;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
color: var(--student-text-secondary);
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
font-family: var(--student-font-data);
|
|
|
|
|
font-size: var(--student-fs-caption);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
&::before {
|
|
|
|
|
content: "";
|
|
|
|
|
width: 6px;
|
|
|
|
|
height: 6px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: var(--student-accent-light);
|
|
|
|
|
animation: pulse 1.8s ease-in-out infinite;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
|
0%, 100% { opacity: 0.4; }
|
|
|
|
|
50% { opacity: 1; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-title {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--student-text);
|
|
|
|
|
font-size: var(--student-fs-display);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 1.35;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-brief {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--student-text-secondary);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-brief-text {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-brief-toggle {
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: 0;
|
|
|
|
|
color: var(--student-accent-deep);
|
|
|
|
|
background: transparent;
|
|
|
|
|
font: inherit;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
&:hover { text-decoration: underline; color: var(--student-accent-deep); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-brief-more {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
border-top: 1px dashed var(--student-panel-border);
|
|
|
|
|
|
|
|
|
|
b { color: var(--student-text); font-size: 12px; }
|
|
|
|
|
ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; }
|
|
|
|
|
p { margin: 0; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purchase-workbench {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.workbench-head {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-eyebrow {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--student-accent);
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.workbench-head h2 {
|
|
|
|
|
margin: 4px 0 0;
|
|
|
|
|
color: var(--student-text);
|
|
|
|
|
font-size: var(--student-fs-h1);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 1.35;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.step-intro {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--student-text-secondary);
|
|
|
|
|
font-size: var(--student-fs-body);
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
.kraljic-legend {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
border: 1px solid var(--student-panel-border);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background: var(--student-panel-bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.legend-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
font-size: var(--student-fs-body-sm);
|
|
|
|
|
color: var(--student-text-secondary);
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
|
|
|
|
strong { color: var(--student-text); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.legend-color {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.case-section,
|
|
|
|
|
.task-section {
|
|
|
|
|
h3 {
|
|
|
|
|
margin: 0 0 12px;
|
|
|
|
|
font-size: var(--student-fs-h2);
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--student-text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
|
margin: 12px 0 8px;
|
|
|
|
|
font-size: var(--student-fs-body);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--student-text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--student-text-secondary);
|
|
|
|
|
font-size: var(--student-fs-body);
|
|
|
|
|
line-height: 1.7;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.operation-mode {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
border: 1px solid var(--student-panel-border);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background: var(--student-panel-bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.table-panel {
|
|
|
|
|
h4 {
|
|
|
|
|
margin: 0 0 10px;
|
|
|
|
|
font-size: var(--student-fs-h3);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--student-text);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.table-wrap {
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
|
|
|
|
:deep(.el-table) {
|
|
|
|
|
font-size: var(--student-fs-body-sm);
|
|
|
|
|
|
|
|
|
|
th.el-table__cell {
|
|
|
|
|
background: var(--student-accent) !important;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chart-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 400px;
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
border: 1px solid var(--student-panel-border);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.outline-action,
|
|
|
|
|
.btn {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
min-height: 36px;
|
|
|
|
|
height: 36px;
|
|
|
|
|
padding: 0 14px;
|
|
|
|
|
border: 1px solid rgba(37, 99, 235, 0.45);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
color: var(--student-accent);
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
font-size: var(--student-fs-button);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: border-color 0.16s ease, background 0.16s ease,
|
|
|
|
|
color 0.16s ease, transform 0.16s ease,
|
|
|
|
|
box-shadow 0.16s ease;
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
|
|
|
|
border-color: var(--student-accent);
|
|
|
|
|
background: var(--student-accent-soft);
|
|
|
|
|
color: var(--student-accent);
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn.primary {
|
|
|
|
|
border-color: var(--student-accent);
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: var(--student-accent);
|
|
|
|
|
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
|
|
|
|
|
|
|
|
|
|
&:hover:not(:disabled) {
|
|
|
|
|
border-color: var(--student-accent-deep);
|
|
|
|
|
background: var(--student-accent-deep);
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 教育蓝极简换肤 · channel/purchase.vue
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
|
|
|
|
|
/* 画布背景 */
|
|
|
|
|
#app .studentLayout .app-main:has(.purchase-page) {
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* el-table 基础换肤 */
|
|
|
|
|
:has(.purchase-page) {
|
|
|
|
|
.el-table {
|
|
|
|
|
--el-table-bg-color: #ffffff !important;
|
|
|
|
|
--el-table-tr-bg-color: transparent !important;
|
|
|
|
|
--el-table-header-bg-color: #fafbfc !important;
|
|
|
|
|
--el-table-row-hover-bg-color: rgba(37, 99, 235, 0.04) !important;
|
|
|
|
|
line-height: 1.55;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 步骤导航:分段连接胶囊(教育蓝极简)
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
#app .studentLayout .app-main:has(.purchase-page) .step-indicator {
|
|
|
|
|
display: flex !important;
|
|
|
|
|
flex-wrap: nowrap !important;
|
|
|
|
|
align-items: stretch !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
gap: 0 !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
margin: 0 0 20px !important;
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
border: none !important;
|
|
|
|
|
border-radius: 0 !important;
|
|
|
|
|
background: transparent !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
|
|
|
|
|
.step-tab {
|
|
|
|
|
flex: 1 1 0 !important;
|
|
|
|
|
max-width: 240px !important;
|
|
|
|
|
display: flex !important;
|
|
|
|
|
flex-direction: row !important;
|
|
|
|
|
align-items: center !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
gap: 8px !important;
|
|
|
|
|
min-width: 0 !important;
|
|
|
|
|
height: auto !important;
|
|
|
|
|
min-height: 40px !important;
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
padding: 8px 14px !important;
|
|
|
|
|
border: 1px solid #e5e7eb !important;
|
|
|
|
|
border-right: none !important;
|
|
|
|
|
border-radius: 0 !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
color: #6b7280 !important;
|
|
|
|
|
font-size: 13px !important;
|
|
|
|
|
font-weight: 600 !important;
|
|
|
|
|
line-height: 1.3 !important;
|
|
|
|
|
white-space: normal !important;
|
|
|
|
|
text-align: center !important;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.16s ease !important;
|
|
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
border-radius: 8px 0 0 8px !important;
|
|
|
|
|
}
|
|
|
|
|
&:last-child {
|
|
|
|
|
border-radius: 0 8px 8px 0 !important;
|
|
|
|
|
border-right: 1px solid #e5e7eb !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.step-bar {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.step-no,
|
|
|
|
|
.step-marker {
|
|
|
|
|
position: static !important;
|
|
|
|
|
flex: 0 0 auto !important;
|
|
|
|
|
display: inline-flex !important;
|
|
|
|
|
align-items: center !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
min-width: 22px !important;
|
|
|
|
|
height: 22px !important;
|
|
|
|
|
padding: 0 5px !important;
|
|
|
|
|
border-radius: 6px !important;
|
|
|
|
|
background: #f3f4f6 !important;
|
|
|
|
|
color: #6b7280 !important;
|
|
|
|
|
font-family: var(--student-font-data), ui-monospace, "SF Mono", Consolas, monospace !important;
|
|
|
|
|
font-size: 12px !important;
|
|
|
|
|
font-weight: 700 !important;
|
|
|
|
|
line-height: 1 !important;
|
|
|
|
|
transition: all 0.16s ease !important;
|
|
|
|
|
&::after {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.step-name {
|
|
|
|
|
color: inherit !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.step-copy {
|
|
|
|
|
margin-left: 0 !important;
|
|
|
|
|
gap: 4px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover:not(.active):not(.complete) {
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
background: #eff6ff !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
z-index: 1 !important;
|
|
|
|
|
.step-no,
|
|
|
|
|
.step-marker {
|
|
|
|
|
background: #2563eb !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.complete:not(.active) {
|
|
|
|
|
border-color: #e5e7eb !important;
|
|
|
|
|
color: #374151 !important;
|
|
|
|
|
.step-no,
|
|
|
|
|
.step-marker {
|
|
|
|
|
background: rgba(43, 164, 113, 0.12) !important;
|
|
|
|
|
color: #16915f !important;
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: #2ba471 !important;
|
|
|
|
|
background: #f0fdf6 !important;
|
|
|
|
|
z-index: 1 !important;
|
|
|
|
|
.step-no,
|
|
|
|
|
.step-marker {
|
|
|
|
|
background: #2ba471 !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
background: #2563eb !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
font-weight: 700 !important;
|
|
|
|
|
z-index: 2 !important;
|
|
|
|
|
.step-no,
|
|
|
|
|
.step-marker {
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
background: #1d4ed8 !important;
|
|
|
|
|
border-color: #1d4ed8 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.step-connector {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 共用组件换肤:TrainingMaterialButton 资料按钮
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
.purchase-page .workbench-actions .material-button.el-button {
|
|
|
|
|
height: 36px !important;
|
|
|
|
|
min-height: 36px !important;
|
|
|
|
|
border: 1px solid rgba(37, 99, 235, 0.45) !important;
|
|
|
|
|
border-radius: 8px !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
font-size: 13px !important;
|
|
|
|
|
font-weight: 600 !important;
|
|
|
|
|
transition:
|
|
|
|
|
border-color 0.16s ease,
|
|
|
|
|
background 0.16s ease,
|
|
|
|
|
color 0.16s ease,
|
|
|
|
|
box-shadow 0.16s ease !important;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #eff6ff !important;
|
|
|
|
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.is-plain {
|
|
|
|
|
border-color: #e5e7eb !important;
|
|
|
|
|
color: #9ca3af !important;
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: #e5e7eb !important;
|
|
|
|
|
color: #9ca3af !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 顶部导出按钮(outline-action)
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
.purchase-page .workbench-actions > button.outline-action {
|
|
|
|
|
display: inline-flex !important;
|
|
|
|
|
align-items: center !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
gap: 6px !important;
|
|
|
|
|
height: 36px !important;
|
|
|
|
|
min-height: 36px !important;
|
|
|
|
|
padding: 0 14px !important;
|
|
|
|
|
border: 1px solid rgba(37, 99, 235, 0.45) !important;
|
|
|
|
|
border-radius: 8px !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
font-size: 13px !important;
|
|
|
|
|
font-weight: 600 !important;
|
|
|
|
|
line-height: 1 !important;
|
|
|
|
|
transition:
|
|
|
|
|
border-color 0.16s ease,
|
|
|
|
|
background 0.16s ease,
|
|
|
|
|
color 0.16s ease,
|
|
|
|
|
box-shadow 0.16s ease !important;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #eff6ff !important;
|
|
|
|
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
|
|
|
|
|
transform: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 底部步骤按钮(task-actions > button)
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
.purchase-page .task-actions {
|
|
|
|
|
gap: 14px !important;
|
|
|
|
|
margin-top: 20px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purchase-page .task-actions > button {
|
|
|
|
|
display: inline-flex !important;
|
|
|
|
|
align-items: center !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
gap: 8px !important;
|
|
|
|
|
height: 40px !important;
|
|
|
|
|
min-height: 40px !important;
|
|
|
|
|
padding: 0 18px !important;
|
|
|
|
|
border: 1px solid rgba(37, 99, 235, 0.45) !important;
|
|
|
|
|
border-radius: 10px !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
font-size: 13px !important;
|
|
|
|
|
font-weight: 700 !important;
|
|
|
|
|
line-height: 1 !important;
|
|
|
|
|
transition:
|
|
|
|
|
transform 0.16s ease,
|
|
|
|
|
border-color 0.16s ease,
|
|
|
|
|
background 0.16s ease,
|
|
|
|
|
box-shadow 0.16s ease !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purchase-page .task-actions > button:hover:not(:disabled) {
|
|
|
|
|
transform: translateY(-1px) !important;
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #eff6ff !important;
|
|
|
|
|
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 主按钮(primary) */
|
|
|
|
|
.purchase-page .task-actions > button.primary {
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
background: #2563eb !important;
|
|
|
|
|
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purchase-page .task-actions > button.primary:hover:not(:disabled) {
|
|
|
|
|
border-color: #1d4ed8 !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
background: #1d4ed8 !important;
|
|
|
|
|
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 顶部任务工具栏(el-button)
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
.purchase-page .task-toolbar-button.el-button {
|
|
|
|
|
display: inline-flex !important;
|
|
|
|
|
align-items: center !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
gap: 6px !important;
|
|
|
|
|
min-height: 34px !important;
|
|
|
|
|
height: 34px !important;
|
|
|
|
|
padding: 0 12px !important;
|
|
|
|
|
border: 1px solid rgba(37, 99, 235, 0.45) !important;
|
|
|
|
|
border-radius: 8px !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
font-size: 13px !important;
|
|
|
|
|
font-weight: 600 !important;
|
|
|
|
|
transition:
|
|
|
|
|
border-color 0.16s ease,
|
|
|
|
|
background 0.16s ease,
|
|
|
|
|
color 0.16s ease,
|
|
|
|
|
box-shadow 0.16s ease !important;
|
|
|
|
|
|
|
|
|
|
&:hover:not(.is-disabled) {
|
|
|
|
|
border-color: #2563eb !important;
|
|
|
|
|
color: #2563eb !important;
|
|
|
|
|
background: #eff6ff !important;
|
|
|
|
|
transform: translateY(-1px) !important;
|
|
|
|
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
* 窄屏:横向滑动
|
|
|
|
|
* ============================================================ */
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
|
#app .studentLayout .app-main:has(.purchase-page) .step-indicator {
|
|
|
|
|
justify-content: flex-start !important;
|
|
|
|
|
overflow-x: auto !important;
|
|
|
|
|
}
|
|
|
|
|
#app .studentLayout .app-main:has(.purchase-page) .step-indicator .step-tab {
|
|
|
|
|
flex: 0 0 140px !important;
|
|
|
|
|
max-width: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|