Commit cfeca1dd by wangzhihui

```

feat(router): 添加工资条路由配置

添加salary模块的路由配置,包含keepAlive、title等页面元信息,
设置背景色和显示操作栏等属性

fix(purchase): 移除无用注释代码

移除dialog组件中被注释的无用代码块,清理页面结构

refactor(purchase): 更新表格组件标签名并优化条件判断

将StickyTable组件标签名改为sticky-table以符合命名规范,
优化数组长度判断的逻辑表达式

docs(salary): 创建工资条页面基础文件

创建工资条功能的基础页面文件
```
1 parent c0a5c209
......@@ -23,7 +23,19 @@ const pages = {
}
}
]
],
salary: [
{
name: 'index',
meta: {
keepAlive: true,
title: '企微推送H5',
noAuth: true,
backgroundColor: '#f7f8fa',
showAction: true
}
}
],
}
let routes = [
{
......
<template>
<van-popup round v-model="isShow" position="bottom" :style="{ height: '75%' }" class="popup" @close="onClose" :close-on-click-overlay="false">
<div class="title">{{ title }}</div>
<!-- <div v-if="loading"> -->
<div class="content">
<div class="content">
<slot></slot>
</div>
<div class="btn-group">
......@@ -12,8 +11,6 @@
</div>
<div v-if="showCloseBtn" class="close-btn" @click="handleCancel">关闭</div>
</div>
<!-- </div> -->
<template v-if="loading">
<div class="mask">
<div class="loading-home">
......
......@@ -25,11 +25,11 @@
<div class="title">
商品信息<span class="title-tip">点击商品名称可查看商品全部信息</span>
</div>
<StickyTable :columns="tableColumns" :data="purchaseOrderInfo.goodsList" :height="purchaseOrderInfo?.goodsList?.length > 5 ? '216px' : 'auto'">
<sticky-table :columns="tableColumns" :data="purchaseOrderInfo.goodsList" :height="purchaseOrderInfo&&purchaseOrderInfo.goodsList&&purchaseOrderInfo.goodsList.length > 5 ? '216px' : 'auto'">
<template #upgradeGoodsName="{ row }">
<span style="color: #347bff; cursor: pointer;" @click="handleProductClick(row)">{{ row.upgradeGoodsName }}</span>
</template>
</StickyTable>
</sticky-table>
</div>
<!-- 收件信息 -->
<div class="info-section">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!