源文件
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user