diff --git a/pages/learnPath/allPath.vue b/pages/learnPath/allPath.vue
index d00518d..1b47b88 100644
--- a/pages/learnPath/allPath.vue
+++ b/pages/learnPath/allPath.vue
@@ -22,11 +22,112 @@
-
-
- {{ cell }}
+
+
+
+
+ |
+ name
+ |
+ Band1 |
+ Band2 |
+ Band3 |
+ Band4 |
+ Band5 |
+
+
+
+
+ | {{ row.name }} |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
-
@@ -35,11 +136,42 @@
export default {
data() {
return {
- tableData: [
- ['Header 1', 'Header 2', 'Header 3'],
- ['Row 1, Cell 1', 'Row 1, Cell 2', 'Row 1, Cell 3'],
- ['Row 2, Cell 1', 'Row 2, Cell 2', 'Row 2, Cell 3']
- ]
+ gridData: [{
+ name: '市场企划岗',
+ marketStatus: 0,
+ saleStatus: 1,
+ productStatus: 2,
+ FAEStatusL: 0,
+ salesManagement: 1
+ }, {
+ name: '销售岗',
+ marketStatus: 1,
+ saleStatus: 2,
+ productStatus: 1,
+ FAEStatusL: 0,
+ salesManagement: 1
+ }, {
+ name: '产品企划岗',
+ marketStatus: 2,
+ saleStatus: 0,
+ productStatus: 0,
+ FAEStatusL: 0,
+ salesManagement: 1
+ }, {
+ name: 'FAE岗',
+ marketStatus: 0,
+ saleStatus: 1,
+ productStatus: 2,
+ FAEStatusL: 0,
+ salesManagement: 1
+ }, {
+ name: '销售管理岗位',
+ marketStatus: 1,
+ saleStatus: 2,
+ productStatus: 0,
+ FAEStatusL: 0,
+ salesManagement: 1
+ }],
}
},
onLoad() {
@@ -62,20 +194,58 @@
background: #fff;
height: 100vh;
.table {
- display: table;
- width: 100%;
- }
- .table-row {
- display: table-row;
- }
-
- .table-cell {
- display: table-cell;
- border: 1px solid #ddd;
- padding: 10px;
- text-align: center;
- vertical-align: middle;
+ .table-container {
+ width: 100%;
+ overflow-x: auto;
+ }
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ }
+
+ th {
+ padding: 12px 20px;
+ text-align: center;
+ border: 2rpx solid #F0F6FC;
+ background: #F0F6FC;
+ }
+ td{
+ padding: 12px 16px;
+ text-align: center;
+ border: 2rpx solid #F0F6FC;
+ color: #333333;
+ font-weight: 400;
+ font-size: 28rpx;
+ }
+
+ th {
+ font-weight: bold;
+ color: #387DF7;
+ }
+ .first{
+ display: block;
+ text-align: center;
+ .text{
+ width: 212rpx;
+ border-collapse: collapse;
+ }
+ }
+
+ tbody tr:nth-child(odd) {
+ background-color: #ffffff;
+ }
+
+ tbody tr:hover {
+ background-color: rgba(0, 0, 0, .05);
+ }
+
+ image {
+ width: 40rpx;
+ height: 36rpx;
+ vertical-align: middle;
+ }
}
+
.headers{
/* margin-top: 38rpx; */
position: relative;
diff --git a/pages/learnPath/learnPath.vue b/pages/learnPath/learnPath.vue
index bee65c9..e150737 100644
--- a/pages/learnPath/learnPath.vue
+++ b/pages/learnPath/learnPath.vue
@@ -1,7 +1,7 @@
@@ -44,7 +44,7 @@
-
@@ -66,10 +66,10 @@
学习进度
-
+
-
+ {{currentItem.currentRatio || 0}}%
@@ -429,7 +429,12 @@
}
.prp{
display: flex;
+ position: relative;
+ width: 444rpx;
.text{
+ position: absolute;
+ right: -78rpx;
+ top: -14rpx;
font-weight: 400;
font-size: 28rpx;
color: #666666;
@@ -493,15 +498,20 @@
justify-content: center;
margin-bottom: 38rpx;
.text{
+ max-width: 80%;
margin-top: 26rpx;
height: 60rpx;
font-weight: 600;
font-size: 44rpx;
color: #FFFFFF;
line-height: 60rpx;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
}
.path_body{
+ height: 100vh;
background: #FFFFFF;
border-radius: 40rpx 40rpx 0rpx 0rpx;
/* height: 100vh; */
@@ -677,8 +687,8 @@
position: absolute;
bottom: 0;
left: 0;
- width: 64rpx;
- height: 64rpx;
+ width: 32px;
+ height: 32px;
clip: rect(16px 64px 32px 16px);
background: inherit;
transform: rotate(45deg);
diff --git a/pages/study/index.vue b/pages/study/index.vue
index c76c584..700bc20 100644
--- a/pages/study/index.vue
+++ b/pages/study/index.vue
@@ -200,7 +200,7 @@
总进度
{{Number(((detailData.overallCompletionRate || 0)*100).toFixed(2))}}%
-
+