|
@@ -80,10 +80,13 @@
|
80
|
80
|
"
|
81
|
81
|
accept=".png,.jpeg,.jpg,.gif"
|
82
|
82
|
>
|
83
|
|
- <div v-if="!wallpaperInfo.hpath" class="icon">横屏壁纸</div>
|
84
|
|
- <div v-else class="hpath">
|
|
83
|
+ <div v-if="wallpaperInfo.hpath" class="hpath">
|
85
|
84
|
<img :src="$api.showImageUrl + wallpaperInfo.hpath" />
|
86
|
85
|
</div>
|
|
86
|
+ <div v-else class="icon">
|
|
87
|
+ <Icon type="ios-cloud-upload-outline" size="42"></Icon>
|
|
88
|
+ <div>横屏壁纸</div>
|
|
89
|
+ </div>
|
87
|
90
|
</Upload>
|
88
|
91
|
<span>支持图片格式:jpg、jgeg、gif、png</span>
|
89
|
92
|
</div>
|
|
@@ -119,7 +122,10 @@
|
119
|
122
|
<div class="view_content">
|
120
|
123
|
<div class="view_title">壁纸效果</div>
|
121
|
124
|
<div class="hpath">
|
122
|
|
- <img v-if="viewInfo.hpat" :src="$api.showImageUrl + viewInfo.hpath" />
|
|
125
|
+ <img
|
|
126
|
+ v-if="viewInfo.hpath"
|
|
127
|
+ :src="$api.showImageUrl + viewInfo.hpath"
|
|
128
|
+ />
|
123
|
129
|
</div>
|
124
|
130
|
</div>
|
125
|
131
|
<div class="view_content" style="margin-top: 20px">
|
|
@@ -573,6 +579,13 @@ export default {
|
573
|
579
|
cursor: pointer;
|
574
|
580
|
.icon {
|
575
|
581
|
color: #b8c2d9;
|
|
582
|
+ text-align: center;
|
|
583
|
+ }
|
|
584
|
+ &:hover {
|
|
585
|
+ background: #eaf5ff;
|
|
586
|
+ .icon {
|
|
587
|
+ color: #339cff;
|
|
588
|
+ }
|
576
|
589
|
}
|
577
|
590
|
.hpath {
|
578
|
591
|
width: 180px;
|