Commit fa63405e authored by renjie's avatar renjie

相册首页修改

parent 135b379c
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
<image class="img" src="./static/album/DIY.png"></image> <image class="img" src="./static/album/DIY.png"></image>
<text class="title">影像DIY</text> <text class="title">影像DIY</text>
</view> </view>
<view class="item" @click="jumpToCustomClick"> <view class="item" @click="jumpToScanFaceClick">
<image class="img" src="./static/album/custom.png"></image> <image class="img" src="./static/album/custom.png"></image>
<text class="title">旅拍定制</text> <text class="title">旅拍定制</text>
</view> </view>
<view class="item"> <view class="item" @click="jumptoVlog">
<image class="img" src="./static/album/myVlog.png"></image> <image class="img" src="./static/album/myVlog.png"></image>
<text class="title">我的Vlog</text> <text class="title">我的Vlog</text>
</view> </view>
...@@ -143,7 +143,9 @@ export default { ...@@ -143,7 +143,9 @@ export default {
url: './getPortrait' url: './getPortrait'
}) })
}else if(res.data.isScanFace === 1) {//已扫脸 }else if(res.data.isScanFace === 1) {//已扫脸
this.jumpToCustomClick() uni.navigateTo({
url: './myPhotoAlbum/myPhotoAlbum'
})
} }
}else{ }else{
uni.showToast({ uni.showToast({
...@@ -153,20 +155,16 @@ export default { ...@@ -153,20 +155,16 @@ export default {
} }
}) })
}, },
jumpToCustomClick() {//---跳转旅拍定制页面 jumptoVlog() {//---跳转到vlog页面
uni.navigateTo({ console.log('fdsa')
url: './myPhotoAlbum/myPhotoAlbum' uni.redirectTo({
}) url: '/pages/vlog/vlogIndex/vlogIndex'
})
}, },
jumpToClick(title) { jumpToClick(title) {
if(title === '精彩瞬间') { if(title === '精彩瞬间' || title === '网红旅拍') {
this.jumpToScanFaceClick() this.jumpToScanFaceClick()
} }
if(title === '网红旅拍') {
uni.navigateTo({
url: './myPhotoAlbum/myPhotoAlbum'
})
}
}, },
recordDeviceInfo() {//---记录设备信息 recordDeviceInfo() {//---记录设备信息
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight // 状态栏高度 this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight // 状态栏高度
...@@ -230,7 +228,6 @@ export default { ...@@ -230,7 +228,6 @@ export default {
width: 200rpx; width: 200rpx;
height: 136rpx; height: 136rpx;
border-radius: 16rpx; border-radius: 16rpx;
// padding: 10rpx 12rpx 8rpx 12rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.12); box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.12);
overflow: hidden; overflow: hidden;
...@@ -259,6 +256,7 @@ export default { ...@@ -259,6 +256,7 @@ export default {
.demo-water { .demo-water {
image { image {
border-radius: 16rpx 16rpx 0 0; border-radius: 16rpx 16rpx 0 0;
height: 458rpx;
width: 100%; width: 100%;
} }
/deep/.u-wrap, /deep/.u-wrap,
...@@ -268,6 +266,9 @@ export default { ...@@ -268,6 +266,9 @@ export default {
} }
.left.demo-water { .left.demo-water {
margin-right: 14rpx; margin-right: 14rpx;
image {
height: 400rpx;
}
} }
.info-box { .info-box {
display: flex; display: flex;
...@@ -334,7 +335,7 @@ export default { ...@@ -334,7 +335,7 @@ export default {
height: 720rpx; height: 720rpx;
} }
/deep/.u-btn { /deep/.u-btn {
width: 304rpx ; width: 304rpx;
} }
} }
</style> </style>
\ No newline at end of file
pages/album/static/album/pillow.png

77.9 KB | W: | H:

pages/album/static/album/pillow.png

269 KB | W: | H:

pages/album/static/album/pillow.png
pages/album/static/album/pillow.png
pages/album/static/album/pillow.png
pages/album/static/album/pillow.png
  • 2-up
  • Swipe
  • Onion skin
pages/album/static/album/postcard.png

66.8 KB | W: | H:

pages/album/static/album/postcard.png

241 KB | W: | H:

pages/album/static/album/postcard.png
pages/album/static/album/postcard.png
pages/album/static/album/postcard.png
pages/album/static/album/postcard.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment