Commit 857a80e0 authored by zhoucong's avatar zhoucong

123

parent ece4f8ec
......@@ -256,6 +256,17 @@
}
}
,{
"path" : "pages/vlog/myVlogPhotos/myVlogPhotos",
"style" :
{
"navigationBarTitleText": "我的vlog照片",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor":"#ffffff",
"navigationBarTextStyle": "black"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
......
<template>
<view class="content">
<view class="" style="display: flex;margin-top: 40rpx;">
<u-section title="精彩瞬间" :right="false" color="#303133" ></u-section>
<text style="font-size: 24rpx;color: #ccc;margin-left: 30rpx;">MOMENT</text>
</view>
<image src="../../../static/img/vlog/icon/fengexian.png" mode="" style="width: 100%;height: 15rpx;"></image>
</view>
</template>
<script>
export default {
data() {
return {
}
},
onLoad(){//代替 vue 里面的 created
this.getPhotoData()
},
onReady() {//代替 vue 里面的 mounted
},
methods: {
getPhotoData(){//获取用户vlog图片
this.$request("distribution/vlog/getBeautyPhotos",{jobId: uni.getStorageSync("openid"),userId:uni.getStorageSync("openid")}).then(res=>{
console.log("123",res);
})
}
}
}
</script>
<style lang="scss" scoped>
.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;
}
</style>
\ No newline at end of file
<template>
<view class="content">
<view class="item">
<view class="item" style="padding: 20rpx 0;height: 220rpx;">
<image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<view class="title">
<text>我的VLOG照片</text>
<navigator url="../productDetails/productDetails" class="btnn" style="margin-top: 40rpx;">
<view>我的VLOG照片</view>
<navigator url="../myVlogPhotos/myVlogPhotos" class="btnn" style="margin-top: 50rpx;">
<view>点击查看</view>
</navigator>
</view>
......@@ -22,6 +22,9 @@
<view>开始制作</view>
</navigator>
</view>
<view class="guige">
规格:24张
</view>
</view>
<view class="item">
......@@ -36,6 +39,9 @@
<view>开始制作</view>
</navigator>
</view>
<view class="guige">
规格:24张
</view>
</view>
</block>
</view>
......@@ -56,13 +62,14 @@ export default {
</script>
<style lang="scss" scoped>
.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;
.item{display: flex;justify-content: space-between;padding: 20rpx 0;height: 220rpx;
.item{display: flex;justify-content: space-between;padding: 40rpx 0;height: 260rpx;position: relative;
image{width: 48%;height: 100%; border-radius: 10rpx;}
.title{width: 48%;height: 100%;text-align: center;font-weight: bold;
.btnn {display: inline-block;border-radius: 15rpx;background-color: #FFE600;font-weight: bold;padding: 15rpx 20rpx;}
}
.guige{position: absolute;bottom: 0;left: 13%;color: #999999;}
}
}
.noprice{font-size: 24rpx; text-decoration: line-through;color: #ccc;}
.price{font-size: 32rpx;color: #DE6F26;margin-left: 10rpx;}
.price{font-size: 32rpx;color: #EE520E;margin-left: 10rpx;}
</style>
\ No newline at end of file
......@@ -69,10 +69,10 @@
title: '提示',
content: '视频合成中,请在1~2分钟后在我的VLOG视频集中查看',
showCancel:false,
success(res) {
if (res.confirm) {
that.$u.route("pages/vlog/vlogIndex/vlogIndex")
}
success() {
uni.navigateTo({
url:"../vlogIndex/vlogIndex"
})
}
});
}else{
......@@ -80,10 +80,10 @@
title: '提示',
content: '请先在打卡点录制素材',
showCancel:false,
success(res) {
if (res.confirm) {
that.$u.route("pages/vlog/vlogIndex/vlogIndex")
}
success() {
uni.navigateTo({
url:"../vlogIndex/vlogIndex"
})
}
});
}
......
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