Commit fa63405e authored by renjie's avatar renjie

相册首页修改

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