乡村相册
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user