Browse Source

feat: 工作台按钮

test2
xuesinan 4 years ago
parent
commit
6e434e6bd9
  1. 2
      CHANGELOG.md
  2. 23
      components/PrettyExchange/PrettyExchange.vue
  3. 23
      components/Projects/ProjectItem.vue
  4. 2
      pages/workbench/workbench.vue

2
CHANGELOG.md

@ -15,6 +15,7 @@
- | 登录图标、日历页今日 | [7de419d](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/7de419d)
- | 服务、插件缓存、导入选择服务列表、 | [cc8004b](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/cc8004b)
- | 给财务条传参数 | [5ff7706](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/5ff7706)
- | 给财务条详情页传参 | [fa92a11](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/fa92a11)
- | 更新代码 | [392c8cc](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/392c8cc)
- | 工作台功能 | [b674733](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/b674733)
- | 广告页、引导页 | [fe87d00](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/fe87d00)
@ -84,6 +85,7 @@
- | 查询查件详情 | [5935a3d](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/5935a3d)
- | 登录页验证码获取 | [108e322](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/108e322)
- | 广告页、引导页 | [b63ade5](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/b63ade5)
- | 广告页不显示 | [d749dfb](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/d749dfb)
- | 获取c插件信息 | [7b02efc](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/7b02efc)
交付物 | 修复检查人选择组件之间相互影响的bug | [435c0bd](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/435c0bd)
交付物 | 重构交付物审核部分,修复审核bug | [5fd8889](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/5fd8889)

23
components/PrettyExchange/PrettyExchange.vue

@ -49,9 +49,7 @@
</view>
</view>
<view class="workbench-btn" v-if="index === 0" @click="toWorkbench">
<u-button>工作台</u-button>
</view>
<view class="workbench-btn" v-if="index === 0" @click="toWorkbench">工作台</view>
<!-- 箭头 -->
<view v-if="item.sonProjectList && item.sonProjectList.length">
@ -518,25 +516,16 @@
}
.workbench-btn {
position: relative;
right: 10px;
margin-right: 10px;
width: 80px;
height: 36px;
line-height: 36px;
border-radius: 18px;
overflow: hidden;
border: 1px solid #2B85E4;
button {
font-size: 12px;
background-color: #1890FF;
color: #FFFFFF;
width: 100%;
height: 100%;
&:after {
border: none;
}
}
background-color: #1890FF;
font-size: 12px;
color: #FFFFFF;
text-align: center;
}
</style>

23
components/Projects/ProjectItem.vue

@ -18,9 +18,7 @@
</view>
</view>
<view class="workbench-btn" v-if="index === 0" @click="toWorkbench">
<u-button>工作台</u-button>
</view>
<view class="workbench-btn" v-if="index === 0" @click="toWorkbench">工作台</view>
<!-- 箭头 -->
<view v-if="item.sonProjectList && item.sonProjectList.length">
@ -141,25 +139,16 @@ function openMenu(project) {
}
.workbench-btn {
position: relative;
right: 10px;
margin-right: 10px;
width: 80px;
height: 36px;
line-height: 36px;
border-radius: 18px;
overflow: hidden;
border: 1px solid #2B85E4;
button {
font-size: 12px;
background-color: #1890FF;
color: #FFFFFF;
width: 100%;
height: 100%;
&:after {
border: none;
}
}
background-color: #1890FF;
font-size: 12px;
color: #FFFFFF;
text-align: center;
}
</style>

2
pages/workbench/workbench.vue

@ -8,7 +8,7 @@
<style lang="scss" scoped>
image {
width: 100%;
height: 100%;
height: calc(100vh - var(--status-bar-height));
object-fit: cover;
}
</style>

Loading…
Cancel
Save