shangfutong-ui/jeepay-ui-uapp-agent/pageAccount/takeMoney/components/SipwTips.vue

57 lines
1.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<JPopup ref="popup" type="center" dir="center">
<JMainCard>
<view class="s-tips bdR10"> 暂未设置支付密码请前往设置支付密码 </view>
<view class="s-button">
<view class="bdR10 cancel" @tap="popup.close()">取消</view>
<view class="bdR10 to-pwd" @tap="toPwd">前往设置</view>
</view>
</JMainCard>
</JPopup>
</template>
<script setup>
import { ref } from "vue"
import JPopup from "@/components/newComponents/JPopup/JPopup"
import JMainCard from "@/components/newComponents/JMainCard/JMainCard"
const popup = ref(null)
const toPwd = () => {
popup.value.close()
uni.navigateTo({
url: "/pageWork/setUp/takeMoneyPwd",
})
}
const open = () => {
popup.value.open()
}
defineExpose({ open })
</script>
<style lang="scss" scoped>
.s-tips {
padding: 35rpx;
background-color: #f2f2f2;
font-size: 30rpx;
color: #666;
}
.s-button {
display: flex;
justify-content: space-between;
text-align: center;
margin-top: 30rpx;
view {
flex: 1;
padding: 20rpx 0;
}
.to-pwd {
margin-left: 20rpx;
background-color: $primaryColor;
color: #fff;
}
.cancel {
color: #666;
background-color: #f2f2f2;
}
}
</style>