diff --git a/src/saas/AppCountryAlbum/Watermark.vue b/src/saas/AppCountryAlbum/Watermark.vue index 1af2905c..21e7d785 100644 --- a/src/saas/AppCountryAlbum/Watermark.vue +++ b/src/saas/AppCountryAlbum/Watermark.vue @@ -14,13 +14,12 @@ :style="{left: x + 'px', top: y + 'px' }" @touchstart="onTouchstart" @touchmove="onTouchmove"> - +
取消 -

水印

确定
@@ -41,23 +40,31 @@ :key="item.id" @click.stop="currIndex = index"> + 编辑
{{ item.name }}
-
- -
返回
-
-
- -
水印
-
-
- -
上传
+

编辑图片

+
+
+ +
返回
+
+
+ +
水印
+
+
+ +
剪裁
+
+
+ +
上传
+
@@ -210,6 +217,10 @@ } }, + toEdit () { + this.$refs.WatermarkItem.linkTo('./WatermarkConfig') + }, + save () { this.isHide = true this.$loading() @@ -284,10 +295,11 @@ this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${lat},${lng}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => { if (res.code === 0) { const data = res.data.result + alert(JSON.stringify(data)) uni.setStorageSync('address', { lat, lng, - address: data.title, + address: data.address, cityCode: `${data.ad_info.adcode}` }) @@ -557,15 +569,31 @@ } .photo-tabbar { - display: flex; position: fixed; - align-items: center; bottom: 0; left: 0; z-index: 10; width: 100%; - height: 160px; - background: #1E1E21; + padding-bottom: 40px; + background: #FFFFFF; + border-radius: 32px 32px 0px 0px; + border: 1px solid #DDDDDD; + overflow: hidden; + + h2 { + width: 750px; + height: 96px; + line-height: 96px; + margin-bottom: 20px; + text-align: center; + color: #333333; + font-size: 28px; + } + + & > div { + align-items: center; + display: flex; + } .item { flex: 1; @@ -579,7 +607,7 @@ div { font-size: 28px; - color: #fff; + color: #333; } } } @@ -625,6 +653,22 @@ height: 200px; } + span { + position: absolute; + left: 50%; + top: 50%; + z-index: 1; + width: 128px; + height: 56px; + line-height: 56px; + text-align: center; + background: rgba(0, 0, 0, 0.8); + border-radius: 8px; + color: #fff; + font-size: 32px; + transform: translate(-50%, -50%); + } + &:first-child { flex-direction: column; background: #E4E7EB; diff --git a/src/saas/AppCountryAlbum/images/shangchuan-black.png b/src/saas/AppCountryAlbum/images/shangchuan-black.png new file mode 100644 index 00000000..d9a778a2 Binary files /dev/null and b/src/saas/AppCountryAlbum/images/shangchuan-black.png differ diff --git a/src/saas/AppCountryAlbum/images/shuiyin-white.png b/src/saas/AppCountryAlbum/images/shuiyin-white.png new file mode 100644 index 00000000..3c35ab52 Binary files /dev/null and b/src/saas/AppCountryAlbum/images/shuiyin-white.png differ