Commit 1212bc31 authored by 和慭琛's avatar 和慭琛

图片展示页 UI高保真还原

parent bcbfacff
......@@ -6,6 +6,19 @@
*/
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/photo/detail",
"style": {
"navigationBarTitleText": "图片展示"
}
},
{
"path": "pages/photo/preview",
"style": {
"navigationBarTitleText": "照片预览"
}
},
{
"path": "pages/photo/list",
......@@ -47,12 +60,7 @@
{
"path": "pages/photo/detail",
"style": {
"navigationBarTitleText": "图片展示"
}
},
......@@ -77,12 +85,6 @@
{
"path": "pages/photo/preview",
"style": {
"navigationBarTitleText": "照片预览"
}
},
// {
// "path": "pages/photo/index",
......
<template>
<view class="backView">
<view class="topView">
<text class="topTitle">示范照片 ({{currentNumber}}/{{totalNumber}})</text>
<!--text class="topTitle">示范照片 ({{currentNumber}}/{{totalNumber}})</text-->
</view>
<scroll-view scroll-x class="centerBackView">
<image class="photoImage" @click="imageClick(item.image)" :src="item.image" mode="" v-for="(item,ikey) in photoList":key="ikey"></image>
......@@ -42,6 +42,10 @@
}
]
this.totalNumber = this.photoList.length
uni.setNavigationBarTitle({
title: '走线照片 (' + this.currentNumber + '/'+ this.totalNumber + ')'
});
},
//照片预览
......@@ -78,9 +82,9 @@
}
.topView{
background-color: #000000;
background-color: #333333;
width: 100%;
height: 15%;
height: 146rpx;
display: flex;
align-items: center;
......@@ -94,7 +98,7 @@
.centerBackView{
background-color: #007AFF;
height: 800rpx;
height: 568rpx;
display: flex;
flex-direction: row;
}
......@@ -102,26 +106,27 @@
.photoImage{
background-color: #4CD964;
width: 750rpx;
height: 800rpx;
height: 568rpx;
}
.bottomView{
background-color: #000000;
background-color: #333333;
width: 100%;
height: 20%;
height: 488rpx;
position: fixed;
bottom: 0;
display: flex;
flex-direction: column-reverse;
align-items: center;
justify-content: center;
}
.takeView{
background-color: #FFFFFF;
width: 160rpx;
height: 160rpx;
border-radius: 80rpx;
width: 146rpx;
height: 102rpx;
border-radius: 16rpx;
margin-bottom: 50rpx;
display: flex;
align-items: center;
justify-content: center;
......
......@@ -280,6 +280,7 @@
.topItemTitle{
font-size: 32rpx;
color: #999999;
padding-left: 30rpx;
}
......@@ -287,6 +288,7 @@
font-size: 32rpx;
font-weight: bold;
color: #333333;
padding-left: 30rpx;
}
......
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