mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix build
This commit is contained in:
parent
d3bb97eb34
commit
f90115e22b
@ -170,7 +170,7 @@ if (process.env.NODE_ENV === 'production') {
|
|||||||
delete module.exports.devtool;
|
delete module.exports.devtool;
|
||||||
module.exports.output = {
|
module.exports.output = {
|
||||||
path: path.join(__dirname, '../docs/dist'),
|
path: path.join(__dirname, '../docs/dist'),
|
||||||
publicPath: '/vue',
|
publicPath: './',
|
||||||
filename: '[name].[hash:8].js'
|
filename: '[name].[hash:8].js'
|
||||||
};
|
};
|
||||||
module.exports.plugins = module.exports.plugins.concat([
|
module.exports.plugins = module.exports.plugins.concat([
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
@click="isOpen = !isOpen">
|
@click="isOpen = !isOpen">
|
||||||
{{group.groupName}}
|
{{group.groupName}}
|
||||||
</div>
|
</div>
|
||||||
<ul class="pure-menu-list" v-show="isOpen">
|
<ul class="mobile-nav-group__list" :class="{ 'mobile-nav-group__list--open': isOpen }">
|
||||||
<template v-for="navItem in group.list">
|
<template v-for="navItem in group.list">
|
||||||
<li
|
<li
|
||||||
class="mobile-nav-group__title"
|
class="mobile-nav-group__title"
|
||||||
@ -95,6 +95,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@e list {
|
||||||
|
height: 0;
|
||||||
|
transition: height .5s ease-out;
|
||||||
|
|
||||||
|
@m open {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user