diff --git a/src/components/Posters.vue b/src/components/Posters.vue index ecf0ddc..259545e 100644 --- a/src/components/Posters.vue +++ b/src/components/Posters.vue @@ -1,16 +1,21 @@ @@ -28,7 +33,7 @@ export default { }, mode: { type: String, - default: 'normal'//date,none + default: 'normal'//date,music } }, methods: { @@ -88,6 +93,17 @@ export default { display: block; } + .music { + position: absolute; + font-size: 1.2rem; + background: gold; + color: black; + padding: .2rem .3rem; + border-radius: .2rem; + top: .7rem; + left: .7rem; + } + .num { color: white; position: absolute; @@ -117,10 +133,11 @@ export default { padding: .6rem; border-radius: .6rem; - .day{ + .day { font-weight: bold; } - .month{ + + .month { font-size: 1rem; } } diff --git a/src/config/index.js b/src/config/index.js index 2ed0b0f..930589f 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -1,8 +1,8 @@ export default { - // baseUrl: 'http://192.168.0.103/index.php/v1', - // filePreview:'http://192.168.0.103/static/uploads/', - baseUrl: 'http://192.168.10.164/index.php/v1', - filePreview:'http://192.168.10.164/static/uploads/' + baseUrl: 'http://192.168.0.103/index.php/v1', + filePreview:'http://192.168.0.103/static/uploads/', + // baseUrl: 'http://192.168.10.164/index.php/v1', + // filePreview:'http://192.168.10.164/static/uploads/' // baseUrl: 'http://localhost/index.php/v1', // filePreview:'http://localhost/static/uploads/' } \ No newline at end of file diff --git a/src/pages/home/Music.vue b/src/pages/home/Music.vue index 15cc4dd..cc6b584 100644 --- a/src/pages/home/Music.vue +++ b/src/pages/home/Music.vue @@ -8,8 +8,11 @@
- - + +
@@ -33,10 +36,20 @@ - + +
+
+ + 分享到日常 +
+
+ + 拍同款 +
+
@@ -332,8 +434,22 @@ export default { color: white; font-size: 1.4rem; - #BaseHeader { - opacity: 0; + .fixed-back { + position: fixed; + left: 1rem; + top: 2rem; + z-index: 3; + } + + .fixed-header { + background: @main-bg; + width: 100%; + position: fixed; + z-index: 2; + height: 6rem; + display: flex; + align-items: center; + justify-content: center; } .l-header { diff --git a/src/utils/global-methods.js b/src/utils/global-methods.js index c4831d3..011b3b1 100644 --- a/src/utils/global-methods.js +++ b/src/utils/global-methods.js @@ -251,9 +251,10 @@ export default { } }, $imgPreview(url) { + // console.log(url) if (!url) return //本地图片 - if (url.includes('img')) { + if (url.includes('img') ||url.includes('data:image')) { return url } //网络,全路径图片