diff --git a/src/components/pannel/index.scss b/src/components/pannel/index.scss
index ee83976..a6e48b7 100644
--- a/src/components/pannel/index.scss
+++ b/src/components/pannel/index.scss
@@ -58,6 +58,8 @@
.more {
margin-right: 20px;
+ position: absolute;
+ right: 0;
}
}
@@ -114,6 +116,14 @@
}
}
+.flexIble_list {
+ z-index: 4;
+ width: 20px;
+ height: 20px;
+ background: url('./list.png');
+ background-size: 100% 100%;
+}
+
.flexIble {
z-index: 4;
width: 16px;
@@ -149,4 +159,4 @@
transform: translateX(0px);
/* 样式 */
}
-}
\ No newline at end of file
+}
diff --git a/src/components/pannel/list.png b/src/components/pannel/list.png
new file mode 100644
index 0000000..a552315
Binary files /dev/null and b/src/components/pannel/list.png differ
diff --git a/src/components/scroll-table-details/data.js b/src/components/scroll-table-details/data.js
new file mode 100644
index 0000000..29f9375
--- /dev/null
+++ b/src/components/scroll-table-details/data.js
@@ -0,0 +1,65 @@
+export default [
+ {
+ area: '长春',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '松原',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '通化',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '四平',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '吉林',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '辽源',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '通化',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '白山',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ },
+ {
+ area: '延边',
+ count: 233,
+ money: 534534,
+ dealCount: 564,
+ dealMoney: 31
+ }
+];
diff --git a/src/components/scroll-table-details/index.html b/src/components/scroll-table-details/index.html
new file mode 100644
index 0000000..5718889
--- /dev/null
+++ b/src/components/scroll-table-details/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
{{line.voucherSummary}}
+
{{line.bookDate}}
+
{{line.jieAmount}}
+
{{line.daiAmount}}
+
查看详情
+
+
+
+
+
diff --git a/src/components/scroll-table-details/index.js b/src/components/scroll-table-details/index.js
new file mode 100644
index 0000000..baf6f92
--- /dev/null
+++ b/src/components/scroll-table-details/index.js
@@ -0,0 +1,95 @@
+import scroll from 'vue-seamless-scroll'
+export default {
+ components: {
+ scroll
+ },
+ data () {
+ return {
+ };
+ },
+ props: {
+ details: {
+ type: Boolean,
+ default: false
+ },
+ width: {
+ type: [String, Number],
+ default: '100%'
+ },
+ height: {
+ type: [String, Number],
+ default: '100'
+ },
+ bodyHeight: {
+ type: [Number],
+ default: 200
+ },
+ headers: {
+ type: Array,
+ default: function () {
+ return ['表头1', '表头2', '表头3']
+ }
+ },
+ data: {
+ type: Array,
+ default: function () {
+ return [
+ ['表头1', '表头2', '表头3'],
+ ['表头1', '表头2', '表头3'],
+ ['表头1', '表头2', '表头3'],
+ ['表头1', '表头2', '表头3'],
+ ['表头1', '表头2', '表头3'],
+ ['表头1', '表头2', '表头3'],
+ ['表头1', '表头2', '表头3'],
+ ['表头11', '表头22', '表头33']
+ ]
+ }
+ }
+ },
+ computed: {
+ dataLength: function () {
+ return this.dataList.length;
+ },
+ bodyStyle: function () {
+ return {
+ height: this.bodyHeight + 'px',
+ };
+ },
+ style: function () {
+ return {
+ height: this.height,
+ width: this.width
+ };
+ },
+ // 如果数据不足5条则不滚动
+ swiperOption: function () {
+ return {
+ step: 0.4,
+ limitMoveNum: 5,
+ hoverStop: true,
+ direction: 1,
+ openWatch: true,
+ singleHeight: 0,
+ waitTime: 1000
+ }
+ }
+ },
+ created () {
+ },
+ methods: {
+ lineClick (line) {
+ console.log(11111111111)
+ this.$emit('lineClick', line)
+ },
+ handleClick(e) {
+ // 获取最近携带 data-item 属性的元素
+ const target = e.target.closest('[data-item]');
+ if (!target) return;
+
+ // 解析存储的数据
+ const item = JSON.parse(target.dataset.item);
+ console.log("点击项数据:", item);
+ this.$emit('lineClick', item)
+ }
+ }
+};
diff --git a/src/components/scroll-table-details/index.scss b/src/components/scroll-table-details/index.scss
new file mode 100644
index 0000000..ad9630a
--- /dev/null
+++ b/src/components/scroll-table-details/index.scss
@@ -0,0 +1,133 @@
+.table_show {
+ box-sizing: border-box;
+ padding: 0 10px;
+ margin-top: 10px;
+
+ .table_header {
+ width: 100%;
+ background: rgba(44, 117, 223, 0.5);
+ border-radius: 4px;
+ height: 40px;
+ font-size: 12px;
+ font-family: MicrosoftYaHeiUI, MicrosoftYaHeiUI-Bold;
+ font-weight: 700;
+ text-align: center;
+ color: rgba(185, 211, 235, 1);
+ }
+
+ .table_bodyer {
+ margin-top: 20px;
+ overflow: hidden;
+ height: 200px;
+ line-height: 40px;
+
+ .table_one {
+ height: 40px;
+ display: flex;
+ justify-content: space-around;
+ }
+ }
+
+ .table_one {
+ width: 100%;
+ height: 40px;
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ }
+}
+
+.swiper-container {
+ height: 100%;
+}
+
+.table_bodyer {
+ height: 100%;
+
+}
+
+.margin {
+ margin-right: 5px;
+}
+
+.item_height {
+ color: rgba(214, 234, 252, 1);
+ font-size: 10px;
+ line-height: 40px;
+ height: 40px;
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ border-bottom: 1px solid #183053;
+
+ &:nth-child(odd) {
+ background-color: rgba(49, 129, 246, 0.1);
+ }
+
+ &:hover {
+ color: rgba(49, 129, 246, 1);
+ }
+}
+
+.item {
+ font-size: 14px;
+ text-align: center;
+ overflow: hidden;
+ white-space: nowrap;
+ flex: 1!important;
+}
+
+.item1 {
+ flex: 1.8;
+}
+
+.item:nth-child(1) {
+ text-align: left;
+ flex: 1.8;
+ padding-left: 5px;
+}
+
+.item:nth-child(2) {
+ flex: 1.3;
+}
+
+.item:nth-child(3) {
+ flex: 1.8;
+}
+
+.item:nth-child(4) {
+ flex: 1.4;
+}
+
+.item:nth-child(5) {
+ flex: 1.3;
+}
+
+.item:nth-child(6) {
+ flex: 1.3;
+}
+
+.item:nth-child(7) {
+ flex: 2;
+}
+
+.text_overflow {
+ text-overflow: ellipsis;
+}
+
+.test_center {
+ text-align: center;
+}
+
+.pop {
+ padding: 4px;
+ position: fixed;
+ z-index: 20;
+ color: white;
+ background: rgba($color: #000000, $alpha: 0.3);
+ border-radius: 6px;
+}
+
+.margin_top {
+ margin-top: 5px;
+}
diff --git a/src/components/scroll-table-details/index.vue b/src/components/scroll-table-details/index.vue
new file mode 100644
index 0000000..5ca257a
--- /dev/null
+++ b/src/components/scroll-table-details/index.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/components/scroll-table/index.html b/src/components/scroll-table/index.html
index b7d178c..316f614 100644
--- a/src/components/scroll-table/index.html
+++ b/src/components/scroll-table/index.html
@@ -13,4 +13,4 @@