|
|
@@ -19,22 +19,22 @@
|
|
|
@click="onBack"
|
|
|
/>
|
|
|
<span class="c-designer__name u-bold u-ellipsis">{{ program.name }}</span>
|
|
|
- <span>{{ program.resolutionRatio }}</span>
|
|
|
- <div class="l-flex__fill c-sibling-item" />
|
|
|
+ <span class="c-sibling-item">{{ program.resolutionRatio }}</span>
|
|
|
<div
|
|
|
v-if="hasNext"
|
|
|
- class="l-flex--row center c-sibling-item c-designer__shortcut u-pointer"
|
|
|
+ class="c-sibling-item c-designer__shortcut u-pointer"
|
|
|
@click="switchBgm"
|
|
|
>
|
|
|
<i class="o-next" />
|
|
|
</div>
|
|
|
<div
|
|
|
v-if="hasAudio"
|
|
|
- class="l-flex--row center c-sibling-item c-designer__shortcut u-pointer"
|
|
|
+ class="c-sibling-item c-designer__shortcut u-pointer"
|
|
|
@click="toggleMute"
|
|
|
>
|
|
|
<volume :muted="muted" />
|
|
|
</div>
|
|
|
+ <div class="l-flex__fill c-sibling-item" />
|
|
|
<button
|
|
|
v-if="hasWidgets"
|
|
|
class="c-sibling-item o-button mini"
|
|
|
@@ -244,7 +244,7 @@
|
|
|
class="c-card__tag"
|
|
|
>{{ source.tag }}</div>
|
|
|
<i
|
|
|
- class="c-card__icon el-icon-delete"
|
|
|
+ class="c-card__icon el-icon-delete o-icon--active"
|
|
|
@mousedown.stop
|
|
|
@pointerdown.stop
|
|
|
@click.stop="onDelAsset(index)"
|
|
|
@@ -315,7 +315,7 @@
|
|
|
class="c-card__checkbox"
|
|
|
/>
|
|
|
<i
|
|
|
- class="el-icon-video-play c-card__type u-pointer"
|
|
|
+ class="c-card__type el-icon-video-play o-icon--active u-pointer"
|
|
|
@click.stop="onView(item)"
|
|
|
/>
|
|
|
</card>
|
|
|
@@ -409,7 +409,7 @@ export default {
|
|
|
condition: { originalName: '', type: this.assetType[0] },
|
|
|
list: this.getAssets,
|
|
|
transform: this.transformAsset,
|
|
|
- filters: (this.assetType.length ? [
|
|
|
+ filters: (this.assetType.length > 1 ? [
|
|
|
{
|
|
|
key: 'type', type: 'select', options: this.assetType.map(type => {
|
|
|
return {
|
|
|
@@ -759,12 +759,7 @@ export default {
|
|
|
this.muted = this.$muted
|
|
|
},
|
|
|
onDelAsset (index) {
|
|
|
- this.$confirm(
|
|
|
- '移除该数据?',
|
|
|
- { type: 'warning' }
|
|
|
- ).then(() => {
|
|
|
- this.sources.splice(index, 1)
|
|
|
- })
|
|
|
+ this.sources.splice(index, 1)
|
|
|
},
|
|
|
onSourceDragStart () {
|
|
|
this.dragging = true
|
|
|
@@ -1085,22 +1080,15 @@ $border: #242835;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.c-grid.dragging .c-card .c-card__icon {
|
|
|
+.c-info-grid.dragging .c-card .c-card__icon {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.c-card {
|
|
|
- &:hover &__icon {
|
|
|
- display: block;
|
|
|
- padding: 6px;
|
|
|
- color: #fff;
|
|
|
- border-radius: 50%;
|
|
|
- background-color: rgba(#000, 0.5);
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
+ color: $info;
|
|
|
|
|
|
- &.sortable-chosen &__icon {
|
|
|
- display: none;
|
|
|
+ &:hover &__icon {
|
|
|
+ display: inline-block;
|
|
|
}
|
|
|
|
|
|
&__icon {
|
|
|
@@ -1108,23 +1096,22 @@ $border: #242835;
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
right: 0;
|
|
|
+ padding: 6px;
|
|
|
+ font-size: 16px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: rgba(#000, 0.4);
|
|
|
z-index: 9;
|
|
|
}
|
|
|
|
|
|
- &__type {
|
|
|
+ &__tag {
|
|
|
position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- padding: 2px;
|
|
|
- color: $gray;
|
|
|
- font-size: 24px;
|
|
|
- border-radius: 50%;
|
|
|
- background-color: rgba(0, 0, 0, 0.5);
|
|
|
- transform: translate(-50%, -50%);
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $primary;
|
|
|
- }
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ padding: 4px 6px;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 1;
|
|
|
+ border-bottom-right-radius: $radius;
|
|
|
+ background-color: rgba(#000, 0.4);
|
|
|
}
|
|
|
|
|
|
&__checkbox {
|
|
|
@@ -1135,16 +1122,15 @@ $border: #242835;
|
|
|
z-index: 9;
|
|
|
}
|
|
|
|
|
|
- &__tag {
|
|
|
+ &__type {
|
|
|
position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- padding: 4px 6px;
|
|
|
- color: #fff;
|
|
|
- font-size: 12px;
|
|
|
- line-height: 1;
|
|
|
- border-bottom-right-radius: $radius;
|
|
|
- background-color: rgba(#000, 0.5);
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ padding: 2px;
|
|
|
+ font-size: 24px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: rgba(#000, 0.4);
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
}
|
|
|
}
|
|
|
|