diff --git a/pages/rankList/compontents/masterHand.vue b/pages/rankList/compontents/masterHand.vue
index 8db99d4..bcd36ca 100644
--- a/pages/rankList/compontents/masterHand.vue
+++ b/pages/rankList/compontents/masterHand.vue
@@ -14,14 +14,28 @@
-
+
+
+ {{`${index+1}`}}
+
+
+
- {{`${index+1}`}}
-
+
+
+ {{item.name}}
+
+
+ {{'排位分: 30'}}
+
+ {{'二连胜'}}
+
+
+ {{'100%'}}
+
+
+
@@ -78,6 +92,11 @@
console.log(indexList.value);
};
+ const tabsChange = () => {
+ console.log('切换了');
+ }
+
+
onMounted(() => {
onLoad()
})
@@ -89,4 +108,68 @@
background-color: #fff;
border-radius: 10rpx 10rpx 0 0;
}
+
+ .table-left {
+ width: 17vw;
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .table-right {
+ width: 66vw;
+ display: flex;
+ justify-content: space-between;
+
+ .right-name {
+ width: 20vw;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+
+ .right-content {
+ width: 50vw;
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ }
+
+ .content-left {
+ width: 14vw;
+ height: 2.2vh;
+ background-color: #e7b696;
+ position: relative;
+ transform: skewX(-25deg);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ .content-text {
+ position: absolute;
+ transform: skewX(25deg);
+ font-size: 10px;
+ font-weight: 600;
+ color: red;
+ }
+ }
+ .content-right{
+ width: 10vw;
+ height: 2.2vh;
+ background-color: #e7b696;
+ position: relative;
+ transform: skewX(-25deg);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ .content-text {
+ position: absolute;
+ transform: skewX(25deg);
+ font-size: 10px;
+ font-weight: 600;
+ color: #fff;
+ }
+ }
+ }
+ :deep(.u-cell__body){
+ padding: 13px 0 13px 15px;
+ }
\ No newline at end of file
diff --git a/pages/rankList/compontents/sectSchool.vue b/pages/rankList/compontents/sectSchool.vue
index 5c4fea9..56b3cf7 100644
--- a/pages/rankList/compontents/sectSchool.vue
+++ b/pages/rankList/compontents/sectSchool.vue
@@ -1,9 +1,161 @@
- 22222222
+
-
-
\ No newline at end of file
diff --git a/pages/rankList/index.vue b/pages/rankList/index.vue
index a8b3dd6..a2bb561 100644
--- a/pages/rankList/index.vue
+++ b/pages/rankList/index.vue
@@ -4,9 +4,13 @@
足球状元榜
-
-
- {{ textBtn }}
+
+
+ {{ handText }}
+
+
+
+ {{sectText }}
@@ -37,9 +41,15 @@ const { safeAreaInsets } = uni.getSystemInfoSync();
const handColor = ref(true)
const sectColor = ref(false)
-const show = ref(false);
-const columns = ref([
- ['总分榜', '总分榜1', '总分榜2']
+const showHand = ref(false);
+const showSect = ref(false);
+let handText = ref('状元榜')
+let sectText = ref('门派得分排行榜')
+const handColumns = ref([
+ ['状元榜', '连中榜', '明灯黑仔榜']
+]);
+const sectColumns = ref([
+ ['门派得分排行榜', '连中榜1', '明灯黑仔榜1']
]);
const handBtn = ()=>{
handColor.value = true
@@ -51,18 +61,23 @@ const sectBtn = ()=>{
sectColor.value = true
}
-let textBtn = ref('总分榜')
-const confirm = (e) => {
- textBtn.value = e.value[0]
- show.value = false;
+
+const confirmHand = (e) => {
+ handText.value = e.value[0]
+ showHand.value = false;
+};
+const confirmSect = (e) => {
+ sectText.value = e.value[0]
+ showSect.value = false;
};
-const cancel = ()=>{
+const cancelHand = ()=>{
show.value = false;
}
-const tabsChange = (tabItem)=>{
- // status.value = tabItem.name
+
+const cancelSect = ()=>{
+ show.value = false;
}