54 lines
991 B
Vue
54 lines
991 B
Vue
![]() |
<template>
|
||
|
<view class="">
|
||
|
<button class="btn" @click="navTo('/subpkg/withdrawDeposit/withdrawDeposit')">提现余额</button>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { Toast } from '@/libs/uniApi.js'
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
onLoad() {},
|
||
|
onShow() {},
|
||
|
methods: {
|
||
|
navTo(url) {
|
||
|
url ?
|
||
|
uni.navigateTo({
|
||
|
url: url,
|
||
|
fail() {
|
||
|
uni.switchTab({
|
||
|
url: url
|
||
|
})
|
||
|
}
|
||
|
}) : Toast('暂未开放')
|
||
|
},
|
||
|
},
|
||
|
onPullDownRefresh() {
|
||
|
uni.stopPullDownRefresh()
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss">
|
||
|
.btn{
|
||
|
color: #fff;
|
||
|
border-radius: 100px;
|
||
|
text-align: center;
|
||
|
line-height: 84.21rpx;
|
||
|
margin: 0 auto;
|
||
|
margin-top: 84.21rpx;
|
||
|
width: 693.93rpx;
|
||
|
height: 84.21rpx;
|
||
|
background: $theme-oa-color;
|
||
|
box-shadow: 0px 9px 26px 1px #E9EFF5;
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
}
|
||
|
</style>
|