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