优化登录提示框
This commit is contained in:
parent
c0090dacdf
commit
63d313ed2f
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="auth-login-box">
|
||||
<widget-modal v-show="showLoginModal" title="该操作需要登录" @close="closeModal">
|
||||
<widget-modal v-show="showLoginModal" title="该操作需要登录" @close="closeModal" :showClose="false">
|
||||
<view class="login-box">
|
||||
<view class="btn" @click="toLogin">去登录</view>
|
||||
</view>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<text class="title">
|
||||
{{ title }}
|
||||
</text>
|
||||
<text class="iconfont icon-guanbi close"></text>
|
||||
<text class="iconfont icon-guanbi close" v-if="showClose" @click="close"></text>
|
||||
</view>
|
||||
<view class="content-box">
|
||||
<slot></slot>
|
||||
|
@ -30,6 +30,10 @@ export default {
|
|||
type: String,
|
||||
default: "650rpx",
|
||||
},
|
||||
showClose: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
components: {},
|
||||
created() {},
|
||||
|
|
Loading…
Reference in New Issue