123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- <template>
- <div class="right" :style="{ height: height, width: width }">
- <div class="searchbox">
- <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
- <div class="search_content">
- <span>
- <svg t="1676477903545" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2780" width="16" height="16"><path d="M474.453333 884.053333c-225.28 0-409.6-184.32-409.6-409.6s184.32-409.6 409.6-409.6 409.6 184.32 409.6 409.6-184.32 409.6-409.6 409.6z m0-68.266666c187.733333 0 341.333333-153.6 341.333334-341.333334s-153.6-341.333333-341.333334-341.333333-341.333333 153.6-341.333333 341.333333 153.6 341.333333 341.333333 341.333334z m252.586667 54.613333c-13.653333-13.653333-10.24-37.546667 3.413333-47.786667s37.546667-10.24 47.786667 3.413334l64.853333 78.506666c13.653333 13.653333 10.24 37.546667-3.413333 47.786667s-37.546667 10.24-47.786667-3.413333l-64.853333-78.506667z" fill="#2c2c2c" p-id="2781"></path></svg>
- <span>筛选搜索</span>
- </span>
- <button type="button" class="el-button el-button--primary el-button--small">
- <span>查询搜索</span>
- </button>
- <button type="button" class="el-button el-button--default el-button--small">
- <span>重置</span>
- </button>
- </div>
-
- <div class="block">
-
- <div class="block_left">
- <div>
- <span class="demonstration">藏品名称(套):</span>
- </div>
- <div class="block_input">
- <el-input v-model="input" placeholder="请输入藏品名称" clearable ></el-input>
- </div>
-
- </div>
-
- <div class="block_right">
- <div>
- <span class="demonstration">创建时间:</span>
- </div>
- <el-date-picker v-model="value1" type="daterange" align="right" unlink-panels range-separator="至"
- start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">
- </el-date-picker>
- </div>
- </div>
- </el-form>
-
- </div>
- <div class="total">
- <i class="el-icon-tickets" style="margin-right: 5px;"></i>
- <span>套系列表 共有</span>
- <span style="color: rgb(24, 144, 255);">{{ total1 }}</span>
- <span>条数据 </span>
- <button type="button" class="el-button el-button--default el-button--small total-but-add">
- <span>添加</span>
- </button>
- </div>
- <div class="list">
- <div>
- <div class="list-total">
- <el-radio-group v-model="radio1">
- <el-radio-button label="在售"></el-radio-button>
- <el-radio-button label="预售"></el-radio-button>
- <el-radio-button label="已过期"></el-radio-button>
-
- </el-radio-group>
- </div>
- </div>
- <div class="list-data">
- <el-table
- border="true"
- :data="tableData"
- style="width: 100%">
- <el-table-column
- align="center"
- label="ID"
- width="100">
- <template slot-scope="scope">
- <span >{{ scope.row.id }}</span>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="商品名称(套)"
- width="200">
- <template slot-scope="scope">
- <span >{{ scope.row.name }}</span>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="创建时间"
- width="200">
- <template slot-scope="scope">
-
- <span >{{ scope.row.date }}</span>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="展示时间"
- width="200">
- <template slot-scope="scope">
-
- <span >{{ scope.row.time }}</span>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="藏品数量"
- width="198">
- <template slot-scope="scope">
- <span >{{ scope.row.num }}</span>
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="状态"
- width="200">
- <template slot-scope="scope">
- <div slot="reference" class="name-wrapper">
- <el-tag size="medium">{{ scope.row.state }}</el-tag>
- </div>
-
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="操作"
- width="200">
- <template>
- <div>
- <el-button
- type="text"
- size="small">
- 藏品列表
- </el-button>
- </div>
-
- <el-button
- type="text"
- size="small">
- 上架
- </el-button>
- <el-button
- type="text"
- size="small">
- 修改时间
- </el-button>
- </template>
- </el-table-column>
- </el-table>
- </div>
- <div class="paging-button">
- <el-pagination
- background
- layout="prev, pager, next"
- page-size="6"
- pager-count="6"
- current-page="1"
- hide-on-single-page="true"
- :total="total1">
- </el-pagination>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- tableData: [
-
- {
- id:12121,
- name: '测试',
- date: '2016-05-02',
- time:'2023-02-10:00:00-2023-02-16:00:00:00',
- num: 2,
- state:'已上架'
- },
- {
- id:12121,
- name: '测试',
- date: '2016-05-02',
- time:'2023-02-10:00:00-2023-02-16:00:00:00',
- num: 2,
- state:'已上架'
- },
- {
- id:121,
- name: '测试1',
- date: '2016-05-02',
- time:'2023-02-10:00:00-2023-02-16:00:00:00',
- num: 21,
- state:'已上架'
- },
- {
- id:12121,
- name: '测试3',
- date: '2016-05-02',
- time:'2023-02-10:00:00-2023-02-16:00:00:00',
- num: 6,
- state:'已上架'
- },
- {
- id:12121,
- name: '测试',
- date: '2016-05-02',
- time:'2023-02-10:00:00-2023-02-16:00:00:00',
- num: 3,
- state:'已上架'
- },
- {
- id:12121,
- name: '测试',
- date: '2016-05-02',
- time:'2023-02-10:00:00-2023-02-16:00:00:00',
- num: 2,
- state:'已上架'
- }],
- pickerOptions: {
- shortcuts: [{
- text: '最近一周',
- onClick(picker) {
- const end = new Date();
- const start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
- picker.$emit('pick', [start, end]);
- }
- }, {
- text: '最近一个月',
- onClick(picker) {
- const end = new Date();
- const start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
- picker.$emit('pick', [start, end]);
- }
- }, {
- text: '最近三个月',
- onClick(picker) {
- const end = new Date();
- const start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
- picker.$emit('pick', [start, end]);
- }
- }]
- },
- value1: '',
- input: '',
- radio1:"在售",
- total1:6,
- };
- },
- methods: {
- }
- };
- </script>
- <style scoped>
- .list-data{
- border: 1px solid #ebebeb;
- margin: -1px 15px 20px 20px;
- }
- .paging-button{
- margin-left: 1100px;
- }
- .list-total{
- margin-left: 20px;
- }
- .total-but-add{
- float: right;
- margin-top: -5px;
- }
- .block_left,.block_right {
- text-align:center;
- line-height: 36px;
- font-size: 14px;
- color: #606266;
- }
- .block_right{
- margin-left: 60px;
- }
- .block span{
- padding-left: 20px;
- margin-bottom: -20px;
- }
- .block div{
- float: left;
- text-align:center
- }
- .block{
- margin-top: 34px;
- }
- .block_input{
- width: 400px;
- }
- .search_content{
- margin-bottom: 20px;
- }
- .searchbox button {
- float: right;
- margin-left: 15px;
- }
- .searchbox,.total{
- border: 1px solid #ebebeb;
- margin: 20px 15px 20px 20px;
- padding: 20px;
- border-radius: 4px;
- height: 160px;
- }
- .total{
- border: 1px solid #ebebeb;
- margin: 20px 15px 20px 20px;
- padding: 20px;
- border-radius: 4px;
- height: 62px;
- }
- .up {
- width: 96%;
- height: 170px;
- margin-top: 20px;
- margin-left: 2%;
- border: 1px solid #ccc;
- border-radius: 4px;
- }
- .up-title {
- font-size: 20px;
- width: 20%;
- margin-left: 20px;
- margin-top: 20px;
- float: left;
- }
- .btn {
- float: right;
- padding-right: 3%;
- margin-top: 2.5%;
- }
- .up-input {
- width: 250px;
- margin-left: 15px;
- }
- .up-input-title {
- margin-left: 40px;
- float: left;
- }
- .up-input-right {
- margin-left: 15px;
- width: 500px;
- }
- .up-input-title-right {
- width: 800px;
- margin-left: 450px;
- }
- .left-up {
- width: 80%;
- float: left;
- height: 37px;
- margin-top: 50px;
- }
- .right-up {
- width: 16%;
- margin-top: 2%;
- float: right;
- }
- .anniu {
- padding-right: 5%;
- }
- .down {
- margin-top: 40px;
- }
- .down-add {
- padding: 10px;
- margin: 0 27px;
- border: 1px solid #ccc;
- border-radius: 2px
- }
- .down-title {
- padding-top: 10px;
- color: #303133;
- }
- .down-table {
- margin-top: 15px;
- text-align: center;
- margin: 35px 27px;
- }
- .el-table .el-table__header-wrapper th,
- .el-table .el-table__fixed-header-wrapper th {
- word-break: break-word;
- /* background-color: #f8f8f9; */
- color: #515a6e;
- height: 40px;
- font-size: 13px;
- text-align: center;
- }
- .bottom-number {
- padding-top: 5px;
- color: #303133;
- float: right;
- }
- .bottom-page {
- float: right;
- }
- .el-icon-search {
- padding-right: 10px;
- }
- .btn-delete {
- margin-left: 20px;
- }
- /**
- 自适应
- */
- /* .demonstration{
- width: 50%;
- } */
- .right {
- float: none;
- width: 100%;
- height: 100%;
- /* background-color: #9dc3e6; */
- }
- </style>
|