diff --git a/src/views/project/ProjectDetails.vue b/src/views/project/ProjectDetails.vue index 760b51e..8c2e0a3 100644 --- a/src/views/project/ProjectDetails.vue +++ b/src/views/project/ProjectDetails.vue @@ -5,7 +5,7 @@
{{ data.name }} + :content="data.remark">
@@ -18,19 +18,17 @@
{{ i.stageName }}
- +
+ :style="(i.statusName === '已完成' || i.statusName === '进行中') ? 'color:#0060ff' : 'color:#999'"> {{ i.statusName || (data.unlockMode === 1 ? '未开始' : '未解锁') }}
-
+
@@ -62,20 +60,16 @@
当前进度
- +
{{ parseInt(value.currentRatio) }}% @@ -84,7 +78,7 @@
+ :style="{ background: (value.statusName !== '已结束' && (value.statusName || data.unlockMode === 1)) ? '#2478ff' : '#999' }"> {{ value.statusName || (data.unlockMode === 1 ? TASK_TYPES.toName[value.type] : '未解锁') }}
@@ -119,23 +113,17 @@
-
+
+ :v-model="value.name ? value.name : value.slice(value.lastIndexOf('/') + 1, value.indexOf('-')) + value.slice(value.lastIndexOf('.'))" + :style="{ width: '22px', height: '26px' }">
{{ value.name }}
- +
下载
@@ -148,13 +136,13 @@
- +
个人信息
- +
@@ -167,7 +155,7 @@
- +
学习进度
@@ -182,20 +170,20 @@
总进度
- +
- {{ parseInt(data.totalProgress * 100) }}% + {{ parseInt(data.totalProgress ? data.totalProgress > 1 ? 1 : data.totalProgress : 0 * 100) }}%
@@ -205,24 +193,26 @@
必修进度
- +
- {{ parseInt(data.compulsoryProgress * 100) }}% + font-size: 14px; + font-weight: 500; + color: #277aff; + margin-left: 10px;color:#677d86;"> + {{ + parseInt(((data.compulsoryProgress ? data.compulsoryProgress : 0) > 1 ? 1 : (data.compulsoryProgress ? data.compulsoryProgress : 0)) + * 100) }}%
@@ -234,35 +224,22 @@
-
积分排行榜 + style="display:flex;justify-content: space-between;align-items: center;height: 56px;padding-left: 27px;padding-right: 27px;"> +
积分排行榜
- - + +
-
+
-
+
+
@@ -278,11 +255,11 @@
+ style="display: flex;padding-top: 30px;padding-bottom: 100px;background: linear-gradient(0deg, rgba(36,120,255,0) 0%, rgba(36,120,255,0.15) 100%);">
排名
+ style="margin-left: 110px;margin-right: 110px;font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;"> 名称
@@ -292,86 +269,60 @@
-
+
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:30%;display: flex;justify-content: center;align-items: center;position: relative;"> {{ i + 1 == 1 || i + 1 == 2 || i + 1 == 3 ? '' : i + 1 }} - - - - + + + +
- + style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:34%;display: flex;justify-content: center;align-items: center;"> + {{ item.name }}
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:30%;display: flex;justify-content: center;align-items: center;"> {{ tabValue == 1 ? item?.pointsCount : item?.rateStr }}
-
+
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:30%;display: flex;justify-content: center;align-items: center;"> {{ '...' }}
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:34%;display: flex;justify-content: center;align-items: center;"> {{ '' }}
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:30%;display: flex;justify-content: center;align-items: center;"> {{ '' }}
-
+
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:30%;display: flex;justify-content: center;align-items: center;"> {{ myIndex }} - +
- + style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:34%;display: flex;justify-content: center;align-items: center;"> + {{ tableRankData[myIndex - 1]?.name }}
+ style="font-size: 14px;color:rgba(36, 120, 255, 1);font-weight: 600;width:30%;display: flex;justify-content: center;align-items: center;"> {{ tabValue == 1 ? tableRankData[myIndex - 1]?.pointsCount : tableRankData[myIndex - 1]?.rateStr }}
@@ -386,37 +337,37 @@ + style="display:flex;justify-content:center;align-items:center;height: 283px;padding:0;border-radius: 4px;" + width="502px">
{{ dialogVisibleTip }}
- 取消 - 确定 - + 取消 + 确定 +