add: 增加超级会员页面,修复未绑定美团的检查登录报错而未成功跳转首页问题
This commit is contained in:
@@ -7,25 +7,37 @@
|
||||
{{ props.intro }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-30">
|
||||
<el-switch v-model="isOpen" v-if="props.showSwitch" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import defaultIcon from '@/assets/logo.png';
|
||||
import defaultIcon from "@/assets/logo.png";
|
||||
|
||||
const props = defineProps({
|
||||
icon: {
|
||||
type: String,
|
||||
defautl: ''
|
||||
defautl: "",
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
default: ''
|
||||
default: "",
|
||||
},
|
||||
intro: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
default: "",
|
||||
},
|
||||
showSwitch: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
|
||||
const isOpen = defineModel("isOpen", {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
|
||||
// 动态获取PNG图标路径
|
||||
@@ -45,7 +57,7 @@ const getIconPath = (iconName) => {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
background-color: #F8F8F8;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 4px;
|
||||
transition: all 0.1s ease-in-out;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user