43 lines
784 B
Vue
43 lines
784 B
Vue
![]() |
<template>
|
||
|
<view class="">
|
||
|
<button class="new_btn" @click="navTo('/subpkg/newArchives/newArchives')">新建档案</button>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
onLoad() {},
|
||
|
onShow() {},
|
||
|
methods: {
|
||
|
navTo(url) {
|
||
|
url ?
|
||
|
uni.navigateTo({
|
||
|
url: url,
|
||
|
}) : Toast('暂未开放')
|
||
|
},
|
||
|
},
|
||
|
onPullDownRefresh() {
|
||
|
uni.stopPullDownRefresh()
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss">
|
||
|
.new_btn {
|
||
|
margin: 0 auto;
|
||
|
margin-top: 32rpx;
|
||
|
// margin-bottom: 40rpx;
|
||
|
width: 694rpx;
|
||
|
height: 84rpx;
|
||
|
background: $theme-oa-color;
|
||
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
||
|
color: #fff;
|
||
|
line-height: 80rpx;
|
||
|
text-align: center;
|
||
|
}
|
||
|
</style>
|