|
|
@@ -1,25 +1,25 @@
|
|
|
<template>
|
|
|
<div class="device-layout">
|
|
|
<div class="d-header">
|
|
|
- <ul class="tab-list">
|
|
|
+ <!-- <ul class="tab-list">
|
|
|
<li @click="tabActive = item.id" :class="{active:tabActive === item.id}" v-for="(item,i) in langDevices.tabList" :key="i">
|
|
|
{{item.name}}({{i===0?allTotal:xiezuoNum}})
|
|
|
</li>
|
|
|
- </ul>
|
|
|
+ </ul> -->
|
|
|
<div class="rig-con">
|
|
|
<div class="btns" v-if="tabActive===4&&!isImgType">
|
|
|
- <span class="button" @click="addDevice"><i class="iconfont icon-jiahao"></i>{{$t('manage.deviceAdmin.addDevice')}}</span>
|
|
|
- <span class="button" @click="multCop">{{$t('manage.deviceAdmin.collaborative')}}</span>
|
|
|
+ <span class="button" @click="addDevice"><i class="iconfont icon-jiahao"></i>{{$t('manage.deviceAdmin.addDevice')}}</span>
|
|
|
+ <!-- <span class="button" @click="multCop">{{$t('manage.deviceAdmin.collaborative')}}</span> -->
|
|
|
<span class="button default" @click="multDel">{{langDevices.unbind}}</span>
|
|
|
</div>
|
|
|
- <div class="tab-search" :style="{marginRight:isWide?'0':'149px'}">
|
|
|
+ <!-- <div class="tab-search" :style="{marginRight:isWide?'0':'149px'}">
|
|
|
<input v-model="searchKey" @keyup.enter="getList(searchKey)" type="text" :placeholder="langDevices.placeholder.searchID">
|
|
|
<i class="iconfont icon-sousuo" @click="getList(searchKey)"></i>
|
|
|
- </div>
|
|
|
- <div class="main-list" v-if="tabActive===4">
|
|
|
+ </div> -->
|
|
|
+ <!-- <div class="main-list" v-if="tabActive===4">
|
|
|
<i @click="changeType(true)" class="iconfont icon-main_grid" :title="langDevices.pictle" :class="{active:isImgType}"></i>
|
|
|
<i @click="changeType(false)" class="iconfont icon-main_list" :title="langDevices.listtle" :class="{active:!isImgType}"></i>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -35,7 +35,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <template v-if="!loading" >
|
|
|
+ <template v-if="!loading">
|
|
|
<div class="d-item item" :style="{padding:language==='en'?'10px 16px':'10px 24px 10px 30px'}" v-for="(item,i) in mydevice.list" :key="i">
|
|
|
<template v-if="tabActive===4">
|
|
|
<div v-if="item.isExpire&&(item.usedSpace<=item.totalSpace)" class="tag expire">{{langDevices.jijiang}}</div>
|
|
|
@@ -76,10 +76,10 @@
|
|
|
<p class="d-id">ID: {{item.childName}}</p>
|
|
|
<p class="p-sub">剩余点数:{{item.balance}}</p>
|
|
|
<div class="d-edit" :class="{'dtow-edit':tabActive!==4}">
|
|
|
- <router-link class="primary" :to="{name:'introtow',params:{id:item.childName}}"><span>{{langDevices.recharge}}</span></router-link>
|
|
|
- <div>
|
|
|
+ <router-link class="primary" :to="{name:'introtow',params:{id:item.childName}}"><span>{{langDevices.recharge}}</span></router-link>
|
|
|
+ <div>
|
|
|
<span @click="unbind(item)">{{langDevices.unbind}}</span>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</div>
|
|
|
@@ -90,7 +90,7 @@
|
|
|
</template>
|
|
|
</div>
|
|
|
|
|
|
- <tableList v-else @selection-change="data=>{selectedArr=data}" :header='tabHeader' :showLine='true' :selection='true' :data='mydevice.list' class="table-list" >
|
|
|
+ <tableList v-else @selection-change="data=>{selectedArr=data}" :header='tabHeader' :showLine='true' :selection='true' :data='mydevice.list' class="table-list">
|
|
|
<div slot-scope="{data}" slot="header">
|
|
|
{{language==='en'?data.en:data.name}}
|
|
|
</div>
|
|
|
@@ -99,7 +99,7 @@
|
|
|
<span class="table-btn">
|
|
|
<router-link class="edit" target="_blank" :to="{name:'introduce',params:{id:item.childName}}">{{langDevices.capacity}}</router-link>
|
|
|
</span>
|
|
|
- <span class="edit table-btn" @click="handleCooperation(item)" v-if="item.status !== 0" >{{$t('manage.deviceAdmin.collaborative')}}</span>
|
|
|
+ <span class="edit table-btn" @click="handleCooperation(item)" v-if="item.status !== 0">{{$t('manage.deviceAdmin.collaborative')}}</span>
|
|
|
|
|
|
</template>
|
|
|
<span v-else-if="type==='qingkuang'">{{item.usedSpaceStr}} / {{item.totalSpaceStr}}</span>
|
|
|
@@ -110,7 +110,7 @@
|
|
|
</template>
|
|
|
|
|
|
<div class="scene-nothing" v-if="!total && !isImgType">
|
|
|
- <img :src="`${$cdn}images/nothing.png`" />
|
|
|
+ <!-- <img :src="`${$cdn}images/nothing.png`" /> -->
|
|
|
<div>{{langDevices.norecord}}</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -124,21 +124,23 @@
|
|
|
import { mapState } from 'vuex'
|
|
|
import Paging from '@/components/Paging'
|
|
|
import tableList from '@/components/table'
|
|
|
-import {device} from './idevice'
|
|
|
+import { device } from './idevice'
|
|
|
|
|
|
export default {
|
|
|
- components: {Paging, tableList},
|
|
|
+ components: { Paging, tableList },
|
|
|
data () {
|
|
|
let tabList = [
|
|
|
{
|
|
|
name: '四维看看Pro',
|
|
|
id: 4
|
|
|
- }, {
|
|
|
+ },
|
|
|
+ {
|
|
|
name: '四维看看Lite',
|
|
|
id: 0
|
|
|
}
|
|
|
]
|
|
|
- let isImgType = localStorage.getItem('isImgTypeForDevice') === '' ? true : (localStorage.getItem('isImgTypeForDevice') === 'true')
|
|
|
+ // let isImgType = localStorage.getItem('isImgTypeForDevice') === '' ? true : (localStorage.getItem('isImgTypeForDevice') === 'true')
|
|
|
+ let isImgType = false
|
|
|
|
|
|
return {
|
|
|
tabHeader: device,
|
|
|
@@ -151,7 +153,7 @@ export default {
|
|
|
currentPage: 1,
|
|
|
total: 0,
|
|
|
// isImgType: isImgType,
|
|
|
- isImgType: true,
|
|
|
+ isImgType: false,
|
|
|
searchKey: '',
|
|
|
pageSize: 8,
|
|
|
isWide: window.innerWidth > 1300,
|
|
|
@@ -160,17 +162,20 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState({
|
|
|
- language: state => state.language.current,
|
|
|
- token: state => state.user.token,
|
|
|
- langToast: state => state.language.home.toast,
|
|
|
- langDevices: state => state.language.home.manage.myDevices,
|
|
|
- mydevice: state => {
|
|
|
+ language: (state) => state.language.current,
|
|
|
+ token: (state) => state.user.token,
|
|
|
+ langToast: (state) => state.language.home.toast,
|
|
|
+ langDevices: (state) => state.language.home.manage.myDevices,
|
|
|
+ mydevice: (state) => {
|
|
|
let type = Object.prototype.toString.call(state.user.mydevice)
|
|
|
if (type === '[object Object]') {
|
|
|
return state.user.mydevice
|
|
|
}
|
|
|
- let condition = state.user.mydevice && state.user.mydevice !== 'null' && type !== '[object Array]'
|
|
|
- return (condition ? JSON.parse(state.user.mydevice) : {})
|
|
|
+ let condition =
|
|
|
+ state.user.mydevice &&
|
|
|
+ state.user.mydevice !== 'null' &&
|
|
|
+ type !== '[object Array]'
|
|
|
+ return condition ? JSON.parse(state.user.mydevice) : {}
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -180,7 +185,7 @@ export default {
|
|
|
},
|
|
|
tabActive (newVal) {
|
|
|
this.loading = true
|
|
|
- this.currentPage === 1 ? this.getList() : this.currentPage = 1
|
|
|
+ this.currentPage === 1 ? this.getList() : (this.currentPage = 1)
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
|
@@ -196,27 +201,37 @@ export default {
|
|
|
checkSelect () {
|
|
|
let pass = this.selectedArr.length <= 0
|
|
|
if (pass) {
|
|
|
- return this.$toast.show('warn', `${this.language === 'en' ? 'Please select at least one.' : '请至少勾选一项'}`)
|
|
|
+ return this.$toast.show(
|
|
|
+ 'warn',
|
|
|
+ `${
|
|
|
+ this.language === 'en'
|
|
|
+ ? 'Please select at least one.'
|
|
|
+ : '请至少勾选一项'
|
|
|
+ }`
|
|
|
+ )
|
|
|
}
|
|
|
return true
|
|
|
},
|
|
|
multCop () {
|
|
|
if (this.checkSelect()) {
|
|
|
- let ids = this.selectedArr.map(item => {
|
|
|
+ let ids = this.selectedArr.map((item) => {
|
|
|
return item.id
|
|
|
})
|
|
|
|
|
|
- this.$toast.showCooperation({
|
|
|
- ids: ids.join(','),
|
|
|
- type: 'device'
|
|
|
- }, () => {
|
|
|
- this.getList()
|
|
|
- })
|
|
|
+ this.$toast.showCooperation(
|
|
|
+ {
|
|
|
+ ids: ids.join(','),
|
|
|
+ type: 'device'
|
|
|
+ },
|
|
|
+ () => {
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
+ )
|
|
|
}
|
|
|
},
|
|
|
multDel () {
|
|
|
if (this.checkSelect()) {
|
|
|
- let ids = this.selectedArr.map(item => {
|
|
|
+ let ids = this.selectedArr.map((item) => {
|
|
|
return item.id
|
|
|
})
|
|
|
|
|
|
@@ -240,16 +255,19 @@ export default {
|
|
|
this.xiezuoNum = res.data.data.total
|
|
|
},
|
|
|
async handleCooperation (item) {
|
|
|
- this.$toast.showCooperation({
|
|
|
- num: item.id,
|
|
|
- cooName: item.cooperationUserName,
|
|
|
- type: 'device',
|
|
|
- getListData: {
|
|
|
- cameraId: item.id
|
|
|
+ this.$toast.showCooperation(
|
|
|
+ {
|
|
|
+ num: item.id,
|
|
|
+ cooName: item.cooperationUserName,
|
|
|
+ type: 'device',
|
|
|
+ getListData: {
|
|
|
+ cameraId: item.id
|
|
|
+ }
|
|
|
+ },
|
|
|
+ () => {
|
|
|
+ this.getList()
|
|
|
}
|
|
|
- }, () => {
|
|
|
- this.getList()
|
|
|
- })
|
|
|
+ )
|
|
|
},
|
|
|
gotoScene (item) {
|
|
|
this.$router.push({
|
|
|
@@ -286,8 +304,7 @@ export default {
|
|
|
},
|
|
|
async unbind (item, multi = false) {
|
|
|
this.$toast.showConfirm('warn', this.langToast['26'], async () => {
|
|
|
- let params = {
|
|
|
- }
|
|
|
+ let params = {}
|
|
|
multi ? (params['ids'] = item) : (params['cameraId'] = item.id)
|
|
|
let res = await this.$http({
|
|
|
method: 'post',
|
|
|
@@ -327,9 +344,15 @@ export default {
|
|
|
await this.$store.dispatch('getUserDevice', params)
|
|
|
|
|
|
if (!this.mydevice.total && searchKey) {
|
|
|
- return this.$toast.show('warn', this.language === 'en' ? 'No corresponding device found.' : '没有找到对应的设备', () => {
|
|
|
- this.getList()
|
|
|
- })
|
|
|
+ return this.$toast.show(
|
|
|
+ 'warn',
|
|
|
+ this.language === 'en'
|
|
|
+ ? 'No corresponding device found.'
|
|
|
+ : '没有找到对应的设备',
|
|
|
+ () => {
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
+ )
|
|
|
}
|
|
|
this.pageSize = this.mydevice.pageSize
|
|
|
this.total = this.mydevice.total || 0
|
|
|
@@ -348,16 +371,16 @@ export default {
|
|
|
$theme-color: #1fe4dc;
|
|
|
$font-color: #2d2d2d;
|
|
|
|
|
|
-.device-layout{
|
|
|
+.device-layout {
|
|
|
margin: 30px 0 30px 0;
|
|
|
// width: 995px;
|
|
|
color: $font-color;
|
|
|
- .d-header{
|
|
|
+ .d-header {
|
|
|
margin-left: 40px;
|
|
|
height: 30px;
|
|
|
- .tab-list{
|
|
|
+ .tab-list {
|
|
|
display: inline-block;
|
|
|
- li{
|
|
|
+ li {
|
|
|
display: inline-block;
|
|
|
margin-right: 40px;
|
|
|
cursor: pointer;
|
|
|
@@ -367,20 +390,21 @@ $font-color: #2d2d2d;
|
|
|
margin-right: 0;
|
|
|
}
|
|
|
}
|
|
|
- .active{
|
|
|
+ .active {
|
|
|
color: $theme-color;
|
|
|
border-bottom: 1px solid $theme-color;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .rig-con{
|
|
|
+ .rig-con {
|
|
|
margin-right: 40px;
|
|
|
- float: right;
|
|
|
+ float: left;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- .btns{
|
|
|
+ height: 30px;
|
|
|
+ .btns {
|
|
|
margin-right: 20px;
|
|
|
- .button{
|
|
|
+ .button {
|
|
|
line-height: 30px;
|
|
|
height: 30px;
|
|
|
min-width: 80px;
|
|
|
@@ -388,36 +412,37 @@ $font-color: #2d2d2d;
|
|
|
text-align: center;
|
|
|
vertical-align: middle;
|
|
|
font-size: 14px;
|
|
|
- color: #202020;
|
|
|
+ color: #000;
|
|
|
margin-left: 10px;
|
|
|
+ background: rgb(250, 205, 145);
|
|
|
cursor: pointer;
|
|
|
&:first-child {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
- .iconfont{
|
|
|
+ .iconfont {
|
|
|
font-size: 14px;
|
|
|
margin-right: 4px;
|
|
|
}
|
|
|
}
|
|
|
- .default{
|
|
|
- background: #E4E4E4;
|
|
|
+ .default {
|
|
|
+ background: rgb(250, 205, 145);
|
|
|
}
|
|
|
}
|
|
|
- .tab-search{
|
|
|
+ .tab-search {
|
|
|
float: right;
|
|
|
position: relative;
|
|
|
width: 230px;
|
|
|
padding-left: 10px;
|
|
|
border: 1px solid #ccc;
|
|
|
display: flex;
|
|
|
- .iconfont{
|
|
|
+ .iconfont {
|
|
|
width: 28px;
|
|
|
height: 28px;
|
|
|
padding: 6px;
|
|
|
cursor: pointer;
|
|
|
background: #e4e4e4;
|
|
|
}
|
|
|
- input{
|
|
|
+ input {
|
|
|
width: 100%;
|
|
|
font-size: 14px;
|
|
|
appearance: none;
|
|
|
@@ -426,25 +451,24 @@ $font-color: #2d2d2d;
|
|
|
border: 0;
|
|
|
}
|
|
|
}
|
|
|
- .main-list{
|
|
|
+ .main-list {
|
|
|
display: inline-block;
|
|
|
margin-left: 35px;
|
|
|
- .iconfont{
|
|
|
+ .iconfont {
|
|
|
cursor: pointer;
|
|
|
font-size: 20px;
|
|
|
margin-left: 5px;
|
|
|
}
|
|
|
- .active{
|
|
|
- color: #1fe4dc;
|
|
|
+ .active {
|
|
|
+ color: rgb(250, 205, 145);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
- .d-con{
|
|
|
+ .d-con {
|
|
|
margin-left: 40px;
|
|
|
display: inline-block;
|
|
|
- .item{
|
|
|
+ .item {
|
|
|
display: inline-block;
|
|
|
box-shadow: 0 4px 4px rgba($color: #000000, $alpha: 0.1);
|
|
|
position: relative;
|
|
|
@@ -452,44 +476,44 @@ $font-color: #2d2d2d;
|
|
|
height: 180px;
|
|
|
margin: 36px 36px 0 0;
|
|
|
}
|
|
|
- .edit-item{
|
|
|
+ .edit-item {
|
|
|
cursor: pointer;
|
|
|
vertical-align: top;
|
|
|
- .plus-con{
|
|
|
+ .plus-con {
|
|
|
position: absolute;
|
|
|
text-align: center;
|
|
|
- transform: translate(-50%,-50%);
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
- .iconplus{
|
|
|
+ .iconplus {
|
|
|
position: relative;
|
|
|
width: 50px;
|
|
|
height: 50px;
|
|
|
margin: 0 auto;
|
|
|
- span{
|
|
|
+ span {
|
|
|
position: absolute;
|
|
|
- transform: translate(-50%,-50%);
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
display: inline-block;
|
|
|
width: 50px;
|
|
|
height: 6px;
|
|
|
background: $font-color;
|
|
|
- &:last-child{
|
|
|
- transform: translate(-50%,-50%) rotate(90deg)
|
|
|
+ &:last-child {
|
|
|
+ transform: translate(-50%, -50%) rotate(90deg);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- p{
|
|
|
+ p {
|
|
|
margin-top: 28px;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .d-item{
|
|
|
+ .d-item {
|
|
|
padding: 10px 24px 10px 30px;
|
|
|
position: relative;
|
|
|
- .tag{
|
|
|
+ .tag {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
@@ -502,18 +526,18 @@ $font-color: #2d2d2d;
|
|
|
color: #fff;
|
|
|
padding: 0 10px;
|
|
|
}
|
|
|
- .expire{
|
|
|
+ .expire {
|
|
|
background: #fed228;
|
|
|
}
|
|
|
- .full{
|
|
|
+ .full {
|
|
|
background: #f90217;
|
|
|
}
|
|
|
- .i-left{
|
|
|
+ .i-left {
|
|
|
display: inline-block;
|
|
|
vertical-align: top;
|
|
|
width: 145px;
|
|
|
margin-top: 25px;
|
|
|
- .d-id{
|
|
|
+ .d-id {
|
|
|
font-size: 14px;
|
|
|
font-weight: bold;
|
|
|
margin-bottom: 5px;
|
|
|
@@ -522,26 +546,26 @@ $font-color: #2d2d2d;
|
|
|
overflow: hidden;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
- .capacity{
|
|
|
+ .capacity {
|
|
|
margin: 5px 0;
|
|
|
- .c-line{
|
|
|
+ .c-line {
|
|
|
width: 100%;
|
|
|
height: 10px;
|
|
|
background-color: #ccc;
|
|
|
- .active{
|
|
|
- background-color:$theme-color;
|
|
|
+ .active {
|
|
|
+ background-color: $theme-color;
|
|
|
height: 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .p-sub{
|
|
|
+ .p-sub {
|
|
|
color: #969696;
|
|
|
font-size: 14px;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
white-space: nowrap;
|
|
|
position: relative;
|
|
|
- img{
|
|
|
+ img {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 50%;
|
|
|
@@ -550,14 +574,14 @@ $font-color: #2d2d2d;
|
|
|
height: 22px;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
- .d-edit{
|
|
|
+ .d-edit {
|
|
|
margin-top: 10px;
|
|
|
font-size: 14px;
|
|
|
position: absolute;
|
|
|
bottom: 22px;
|
|
|
- div,a {
|
|
|
+ div,
|
|
|
+ a {
|
|
|
display: inline-block;
|
|
|
background: #fff;
|
|
|
color: #000;
|
|
|
@@ -573,20 +597,20 @@ $font-color: #2d2d2d;
|
|
|
box-sizing: border-box;
|
|
|
cursor: pointer;
|
|
|
position: relative;
|
|
|
- span{
|
|
|
+ span {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
- transform: translate(-50%,-50%);
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|
|
|
- .primary{
|
|
|
+ .primary {
|
|
|
background: #1fe4dc;
|
|
|
border: 1px solid #1fe4dc;
|
|
|
}
|
|
|
}
|
|
|
- .oper-con{
|
|
|
+ .oper-con {
|
|
|
flex: 1;
|
|
|
.oper {
|
|
|
width: 26px;
|
|
|
@@ -596,16 +620,16 @@ $font-color: #2d2d2d;
|
|
|
line-height: 30px;
|
|
|
height: 30px;
|
|
|
font-size: 14px;
|
|
|
- &:hover{
|
|
|
- >ul{
|
|
|
+ &:hover {
|
|
|
+ > ul {
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
|
- >div {
|
|
|
+ > div {
|
|
|
text-align: right;
|
|
|
display: inline-block;
|
|
|
width: 100%;
|
|
|
- .spot{
|
|
|
+ .spot {
|
|
|
width: 4px;
|
|
|
height: 4px;
|
|
|
display: inline-block;
|
|
|
@@ -613,8 +637,9 @@ $font-color: #2d2d2d;
|
|
|
border-radius: 50%;
|
|
|
position: relative;
|
|
|
margin-right: 10px;
|
|
|
- &::after,&::before{
|
|
|
- content: '';
|
|
|
+ &::after,
|
|
|
+ &::before {
|
|
|
+ content: "";
|
|
|
position: absolute;
|
|
|
width: 4px;
|
|
|
height: 4px;
|
|
|
@@ -625,78 +650,78 @@ $font-color: #2d2d2d;
|
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
|
}
|
|
|
- &::before{
|
|
|
+ &::before {
|
|
|
right: -8px;
|
|
|
left: unset;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- >ul{
|
|
|
+ > ul {
|
|
|
display: none;
|
|
|
position: absolute;
|
|
|
top: 30px;
|
|
|
z-index: 9;
|
|
|
left: 0;
|
|
|
- background: #F7F7F7;
|
|
|
+ background: #f7f7f7;
|
|
|
min-width: 90px;
|
|
|
- box-shadow:0px 1px 6px rgba(0,0,0,0.16);
|
|
|
- >li{
|
|
|
+ box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
|
|
|
+ > li {
|
|
|
text-align: left;
|
|
|
width: 100%;
|
|
|
line-height: 2.5;
|
|
|
padding: 0 10px;
|
|
|
color: #202020;
|
|
|
- &:hover{
|
|
|
- background-color: #EBEBEB;
|
|
|
+ &:hover {
|
|
|
+ background-color: #ebebeb;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .b_default{
|
|
|
- display: inline-block;
|
|
|
- background: #fff;
|
|
|
- color: #000;
|
|
|
- border: 1px solid #777;
|
|
|
- border-radius: 2px;
|
|
|
- font-size: 12px;
|
|
|
- width: 52px;
|
|
|
- height: 22px;
|
|
|
- line-height: 22px;
|
|
|
- text-align: center;
|
|
|
- vertical-align: middle;
|
|
|
- margin-left: 4px;
|
|
|
- -webkit-box-sizing: border-box;
|
|
|
- box-sizing: border-box;
|
|
|
- cursor: pointer;
|
|
|
- position: relative;
|
|
|
- >span{
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- -webkit-transform: translate(-50%,-50%);
|
|
|
- transform: translate(-50%,-50%);
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
+ .b_default {
|
|
|
+ display: inline-block;
|
|
|
+ background: #fff;
|
|
|
+ color: #000;
|
|
|
+ border: 1px solid #777;
|
|
|
+ border-radius: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+ width: 52px;
|
|
|
+ height: 22px;
|
|
|
+ line-height: 22px;
|
|
|
+ text-align: center;
|
|
|
+ vertical-align: middle;
|
|
|
+ margin-left: 4px;
|
|
|
+ -webkit-box-sizing: border-box;
|
|
|
+ box-sizing: border-box;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ > span {
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ -webkit-transform: translate(-50%, -50%);
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .dtow-edit{
|
|
|
+ .dtow-edit {
|
|
|
bottom: 40px;
|
|
|
}
|
|
|
}
|
|
|
- .i-right{
|
|
|
+ .i-right {
|
|
|
vertical-align: top;
|
|
|
float: right;
|
|
|
height: 100%;
|
|
|
position: relative;
|
|
|
- img{
|
|
|
- height:150px;
|
|
|
+ img {
|
|
|
+ height: 150px;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .table-list{
|
|
|
+ .table-list {
|
|
|
width: calc(100% - 80px);
|
|
|
margin: 30px auto;
|
|
|
font-size: 14px;
|
|
|
@@ -707,14 +732,14 @@ $font-color: #2d2d2d;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .scene-nothing{
|
|
|
+ .scene-nothing {
|
|
|
padding: 42px 0 150px 0;
|
|
|
text-align: center;
|
|
|
- img{
|
|
|
+ img {
|
|
|
padding-bottom: 22px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
- div{
|
|
|
+ div {
|
|
|
font-size: 16px;
|
|
|
color: #969696;
|
|
|
text-align: center;
|
|
|
@@ -722,7 +747,7 @@ $font-color: #2d2d2d;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
}
|
|
|
- .paging {
|
|
|
+ .paging {
|
|
|
// border-left: #e5e5e5 1px solid;
|
|
|
height: 100%;
|
|
|
margin: 40px 0;
|
|
|
@@ -789,11 +814,11 @@ $font-color: #2d2d2d;
|
|
|
width: 75%;
|
|
|
}
|
|
|
}
|
|
|
-@media screen and (max-width: 1700px){
|
|
|
+@media screen and (max-width: 1700px) {
|
|
|
.device-layout {
|
|
|
width: 95%;
|
|
|
- .d-con{
|
|
|
- .item{
|
|
|
+ .d-con {
|
|
|
+ .item {
|
|
|
width: 280px;
|
|
|
margin: 36px 36px 0 0;
|
|
|
}
|
|
|
@@ -801,40 +826,39 @@ $font-color: #2d2d2d;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 1400px){
|
|
|
- .device-layout {
|
|
|
+@media screen and (max-width: 1400px) {
|
|
|
+ .device-layout {
|
|
|
width: 98%;
|
|
|
- .d-header{
|
|
|
- .tab-search{
|
|
|
- margin-right: 60px!important;
|
|
|
+ .d-header {
|
|
|
+ .tab-search {
|
|
|
+ margin-right: 60px !important;
|
|
|
}
|
|
|
}
|
|
|
- .d-con{
|
|
|
- .item{
|
|
|
+ .d-con {
|
|
|
+ .item {
|
|
|
width: 265px;
|
|
|
margin: 20px 20px 0 0;
|
|
|
- padding: 10px 16px!important;
|
|
|
+ padding: 10px 16px !important;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 1300px){
|
|
|
- .device-layout {
|
|
|
+@media screen and (max-width: 1300px) {
|
|
|
+ .device-layout {
|
|
|
width: 100%;
|
|
|
- .d-header{
|
|
|
- .tab-search{
|
|
|
- margin-right: 20px!important;
|
|
|
+ .d-header {
|
|
|
+ .tab-search {
|
|
|
+ margin-right: 20px !important;
|
|
|
}
|
|
|
}
|
|
|
- .d-con{
|
|
|
- .item{
|
|
|
+ .d-con {
|
|
|
+ .item {
|
|
|
width: 235px;
|
|
|
margin: 10px 11px 0 0;
|
|
|
- padding: 10px 13px!important;
|
|
|
+ padding: 10px 13px !important;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
</style>
|