乡村相册

This commit is contained in:
yanran200730
2022-05-18 18:06:39 +08:00
parent 5e92053f60
commit ddc813efd1
18 changed files with 746 additions and 574 deletions

View File

@@ -18,8 +18,9 @@
<div class="tips">
选择不限后
1. 成员可以同步手机原相机数码相机等拍摄的照片和视频
2. 仅乡村相册裴舍的照片或者视频会计入考勤保证考勤统计真实性
2. 仅乡村相册拍摄的照片或者视频会计入考勤保证考勤统计真实性
</div>
<div class="form-btn" hover-class="text-hover" @click="save">保存</div>
</div>
</template>
@@ -35,14 +36,18 @@
}
},
onLoad () {
onLoad (query) {
this.currIndex = Number(query.value)
},
methods: {
linkTo (url) {
uni.navigateTo({
url
save () {
uni.$emit('change', {
type: 'photoSource',
value: this.currIndex
})
uni.navigateBack({
delta: 1
})
}
}
@@ -55,6 +60,25 @@
box-sizing: border-box;
}
.form-btn {
position: fixed;
bottom: 0;
left: 0;
z-index: 1;
width: 100%;
height: 112px;
line-height: 112px;
text-align: center;
color: #fff;
font-size: 32px;
background: #1365DD;
&:active {
opacity: 0.8;
}
}
.tips {
line-height: 44px;
margin: 32px;
@@ -120,4 +144,4 @@
}
}
}
</style>
</style>