Browse Source

feat: 面变化首页变化

develop
wangrongrong 4 years ago
parent
commit
5e860f151b
  1. 3
      CHANGELOG.md
  2. 19
      src/components/Projects/Projects.vue
  3. 2
      src/components/Upload/Upload.vue

3
CHANGELOG.md

@ -1,9 +1,10 @@
# 0.1.0 (2021-08-04) # 0.1.0 (2021-08-05)
### 🌟 新功能 ### 🌟 新功能
范围|描述|commitId 范围|描述|commitId
--|--|-- --|--|--
- | 上传逻辑变化 | [3ff1dc2](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/3ff1dc2) - | 上传逻辑变化 | [3ff1dc2](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/3ff1dc2)
- | 首页项目样式改变 | [8514c85](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/8514c85)
plugin | 插件添加了token及param参数 | [aeb0292](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/aeb0292) plugin | 插件添加了token及param参数 | [aeb0292](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/aeb0292)
task status | 任务状态切换未完 | [7ffd135](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/7ffd135) task status | 任务状态切换未完 | [7ffd135](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/7ffd135)
- | 标题栏变化 | [3898cfe](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/3898cfe) - | 标题栏变化 | [3898cfe](https://dd.tall.wiki/gitea/ccsens_fe/TALL-MUI-3/commits/3898cfe)

19
src/components/Projects/Projects.vue

@ -6,18 +6,18 @@
</view> </view>
<view class="title">我的LWBS</view> <view class="title">我的LWBS</view>
</view> </view>
<view class="p-2 task" v-for="(task, index) in tasks" :key="index"> <view v-for="(task, index) in tasks" :key="index">
<view> <view>
<!-- 有子项目 --> <!-- 有子项目 -->
<view class="flex items-center justify-between" v-if="index <= 2"> <view class="Item flex items-center justify-between" v-if="index <= 2">
<view class="flex items-center"> <view class="flex items-center">
<view class="firstTask ml-1 mr-2 rounded-full text-white" v-if="index === 0"> <view class="firstTask rounded-full text-white" v-if="index === 0">
<view class="flex items-center justify-center">{{ index + 1 }}</view> <view class="flex items-center justify-center">{{ index + 1 }}</view>
</view> </view>
<view class="sencondTask ml-1 mr-2 rounded-full text-white" v-else-if="index === 1"> <view class="sencondTask rounded-full text-white" v-else-if="index === 1">
<view class="flex items-center justify-center">{{ index + 1 }}</view> <view class="flex items-center justify-center">{{ index + 1 }}</view>
</view> </view>
<view class="thirdTask ml-1 mr-2 rounded-full text-white" v-else-if="index === 2"> <view class="thirdTask rounded-full text-white" v-else-if="index === 2">
<view class="flex items-center justify-center">{{ index + 1 }}</view> <view class="flex items-center justify-center">{{ index + 1 }}</view>
</view> </view>
<view> <view>
@ -34,9 +34,9 @@
<u-icon name="arrow-right" size="28" @click="openProjectItem(index)"></u-icon> <u-icon name="arrow-right" size="28" @click="openProjectItem(index)"></u-icon>
</view> </view>
<!-- 没有子项目 --> <!-- 没有子项目 -->
<view v-else> <view class="Item" v-else>
<view class="flex items-center"> <view class="flex items-center">
<view class="routine w-8 h-8 ml-1 mr-2 bg-white border rounded-full"> <view class="routine w-8 h-8 bg-white border rounded-full">
<view class="flex items-center justify-center">{{ index + 1 }}</view> <view class="flex items-center justify-center">{{ index + 1 }}</view>
</view> </view>
<view> <view>
@ -173,4 +173,9 @@ export default {
font-size: 10px; font-size: 10px;
margin: 2px; margin: 2px;
} }
.Item {
border-bottom: 1px solid #fafafa;
height: 60px;
padding: 10px 16px;
}
</style> </style>

2
src/components/Upload/Upload.vue

@ -64,7 +64,7 @@ export default {
position: relative; position: relative;
left: 80%; left: 80%;
bottom: 25px; bottom: 25px;
height: 20px; height: 5px;
} }
.one { .one {
position: relative; position: relative;

Loading…
Cancel
Save