|
@@ -5,193 +5,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import checkbox from "@/components/Checkbox/index";
|
|
|
-import page from "@/components/pagination/index";
|
|
|
export default {
|
|
|
- components: { checkbox, page },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- input: "",
|
|
|
- show: true,
|
|
|
- total: 0,
|
|
|
- form: {},
|
|
|
- tableData: [
|
|
|
- {
|
|
|
- photo:
|
|
|
- "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",
|
|
|
- updatetime: "2023-01-01 00:00",
|
|
|
- name: "海康威视软件包",
|
|
|
- introduction: "xxxxxxxxxxxxx",
|
|
|
- status: "1",
|
|
|
- },
|
|
|
- {
|
|
|
- photo:
|
|
|
- "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",
|
|
|
- updatetime: "2023-01-01 00:00",
|
|
|
- name: "海康威视软件包",
|
|
|
- introduction: "xxxxxxxxxxxxx",
|
|
|
- status: "2",
|
|
|
- },
|
|
|
- {
|
|
|
- photo:
|
|
|
- "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",
|
|
|
- updatetime: "2023-01-01 00:00",
|
|
|
- name: "海康威视软件包",
|
|
|
- introduction: "xxxxxxxxxxxxx",
|
|
|
- status: "3",
|
|
|
- },
|
|
|
- ],
|
|
|
- paginationData: {
|
|
|
- pageSize: 10,
|
|
|
- pagerCount: 5,
|
|
|
- currentPage: 1,
|
|
|
- pageSizes: [5, 10, 20, 30],
|
|
|
- total: 30,
|
|
|
- currentChange: (val) => {
|
|
|
- this.getTableData(val);
|
|
|
- },
|
|
|
- handleSizeChange: (val) => {
|
|
|
- this.handleSizeChange(val);
|
|
|
- },
|
|
|
- },
|
|
|
- };
|
|
|
- },
|
|
|
- methods: {
|
|
|
- handleSelectionChange() {
|
|
|
- //
|
|
|
- },
|
|
|
- getTableData(val) {},
|
|
|
- handleSizeChange(val) {},
|
|
|
- },
|
|
|
-};
|
|
|
-</script>
|
|
|
-<style lang="less" scoped>
|
|
|
-.content {
|
|
|
- top: 77px;
|
|
|
- position: absolute;
|
|
|
- left: 218px;
|
|
|
- right: 16px;
|
|
|
- height: -webkit-fill-available;
|
|
|
- margin-bottom: 20px;
|
|
|
- background-color: #ffffff;
|
|
|
-}
|
|
|
-
|
|
|
-.el-table {
|
|
|
- top: 100px;
|
|
|
- margin-left: 2.5%;
|
|
|
- border: 1px solid #f0f2f2;
|
|
|
- font-size: 0.95rem;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- color: #b2b2b2;
|
|
|
- background: rgba(255, 255, 255, 0.8);
|
|
|
- /deep/th {
|
|
|
- background: #f7fbff;
|
|
|
- }
|
|
|
- /deep/.el-checkbox {
|
|
|
- color: #b2b2b2;
|
|
|
- .el-checkbox__input.is-checked + .el-checkbox__label {
|
|
|
- color: #2ea8e6;
|
|
|
- }
|
|
|
-
|
|
|
- .el-checkbox__input.is-checked .el-checkbox__inner::after {
|
|
|
- width: 70%;
|
|
|
- height: 70%;
|
|
|
- background: #2ea8e6;
|
|
|
- border-radius: 0;
|
|
|
- transform: rotate(0deg) scaleY(1);
|
|
|
- position: static;
|
|
|
- // border: 1px solid #8DD9FF;
|
|
|
- }
|
|
|
-
|
|
|
- .el-checkbox__inner {
|
|
|
- border: 1px solid #8dd9ff;
|
|
|
- background: rgba(0, 170, 255, 0);
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- position: static;
|
|
|
- &::after {
|
|
|
- transition: 0ms;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .el-checkbox__label {
|
|
|
- padding-left: 0;
|
|
|
- font-size: 15px;
|
|
|
- position: absolute;
|
|
|
- top: 1px;
|
|
|
- left: 25px;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.el-form-item {
|
|
|
- margin-bottom: 0 !important;
|
|
|
+ //
|
|
|
}
|
|
|
|
|
|
-/deep/.el-form-item__label {
|
|
|
- padding: 0;
|
|
|
-}
|
|
|
-
|
|
|
-/deep/.el-form-item__content {
|
|
|
- margin-right: 8px;
|
|
|
-}
|
|
|
-
|
|
|
-.bottom {
|
|
|
- position: absolute;
|
|
|
- left: 20px;
|
|
|
- right: 16px;
|
|
|
- bottom: 20px;
|
|
|
- height: 50px;
|
|
|
- line-height: 20px;
|
|
|
- background-color: rgba(255, 255, 255, 1);
|
|
|
- text-align: center;
|
|
|
-
|
|
|
- .checkbox {
|
|
|
- position: absolute;
|
|
|
- left: 29px;
|
|
|
- top: 15px;
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
-
|
|
|
- .check-cancel {
|
|
|
- position: absolute;
|
|
|
- // line-height: 20px;
|
|
|
- font-size: 14px;
|
|
|
- text-align: center;
|
|
|
- left: 140px;
|
|
|
- top: 10px;
|
|
|
- }
|
|
|
-
|
|
|
- .bottom_button {
|
|
|
- position: absolute;
|
|
|
- left: 200px;
|
|
|
- margin-top: 15px;
|
|
|
-
|
|
|
- .delete {
|
|
|
- font-size: 14px;
|
|
|
- text-align: center;
|
|
|
- padding: 1px;
|
|
|
- }
|
|
|
-
|
|
|
- .disabled {
|
|
|
- font-size: 14px;
|
|
|
- text-align: center;
|
|
|
- padding: 1px;
|
|
|
- }
|
|
|
-
|
|
|
- .export {
|
|
|
- font-size: 14px;
|
|
|
- text-align: center;
|
|
|
- padding: 1px;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-.search {
|
|
|
- position: absolute;
|
|
|
- width: 300px;
|
|
|
- top: 20px;
|
|
|
- right: 2.5%;
|
|
|
-}
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
</style>
|