提交 7412c5d9 authored 作者: lihuihui's avatar lihuihui
...@@ -10,7 +10,10 @@ export default {} ...@@ -10,7 +10,10 @@ export default {}
<style lang="scss" scoped> <style lang="scss" scoped>
#app { #app {
min-width: 320px;
max-width: 750px; max-width: 750px;
min-height: 100vh;
margin: 0 auto; margin: 0 auto;
background-color: #fff;
} }
</style> </style>
src/assets/images/banner.png

285.7 KB | W: | H:

src/assets/images/banner.png

425.3 KB | W: | H:

src/assets/images/banner.png
src/assets/images/banner.png
src/assets/images/banner.png
src/assets/images/banner.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/images/banner2.png

424.2 KB | W: | H:

src/assets/images/banner2.png

286.0 KB | W: | H:

src/assets/images/banner2.png
src/assets/images/banner2.png
src/assets/images/banner2.png
src/assets/images/banner2.png
  • 2-up
  • Swipe
  • Onion skin
<template> <template>
<van-button <van-button native-type="button" :disabled="currentDisabled" :loading="loading">{{ curretnValue }}</van-button>
native-type="button"
:disabled="currentDisabled"
:loading="loading"
>
{{ curretnValue }}
</van-button>
</template> </template>
<script> <script>
...@@ -61,6 +55,6 @@ export default { ...@@ -61,6 +55,6 @@ export default {
line-height: 38px; line-height: 38px;
} }
.van-button--default { .van-button--default {
border-color: #999; border-color: #ccc;
} }
</style> </style>
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
overflow: hidden; overflow: hidden;
} }
.course-item__text { .course-item__text {
max-height: 0.68rem; max-height: 0.34rem;
font-size: 0.26rem; font-size: 0.26rem;
color: #999; color: #999;
white-space: nowrap; white-space: nowrap;
......
...@@ -16,8 +16,3 @@ ...@@ -16,8 +16,3 @@
<script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/common/runtime.js"></script> <script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/common/runtime.js"></script>
</body> </body>
</html> </html>
<style>
html,body {
background: #fff;
}
</style>
<template> <template>
<van-collapse v-model="activeNames"> <van-collapse v-model="activeNames">
<van-collapse-item :title="item.name" :name="item.id" v-for="item in data" :key="item.id"> <van-collapse-item :title="item.name" :name="item.id" v-for="item in data" :key="item.id">
<template #right-icon>
<van-icon name="arrow" />
<van-icon name="arrow-down" />
</template>
<ul> <ul>
<li <li
v-for="subItem in item.children" v-for="subItem in item.children"
...@@ -62,5 +66,12 @@ export default { ...@@ -62,5 +66,12 @@ export default {
} }
li { li {
padding: 10px 0; padding: 10px 0;
font-size: 13px;
&:first-child {
padding-top: 0;
}
&:last-child {
padding-bottom: 20px;
}
} }
</style> </style>
...@@ -42,5 +42,8 @@ export default { ...@@ -42,5 +42,8 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss">
.course-item:last-child {
border-bottom: 0;
}
</style> </style>
...@@ -3,16 +3,14 @@ ...@@ -3,16 +3,14 @@
<div class="course-tag-message-hd"> <div class="course-tag-message-hd">
<div class="course-tag-message__title">{{data.name}}</div> <div class="course-tag-message__title">{{data.name}}</div>
</div> </div>
<div class="course-tag-message-bd"> <div class="course-tag-message-bd" v-if="data.tag && data.tag.length">
<template v-if="data.tag && data.tag.length"> <ul class="message-tag-list" ref="content">
<ul class="message-tag-list" ref="content"> <template v-for="item in data.tag">
<template v-for="item in data.tag"> <li class="course-tag-item" :key="item.id" @click="onClick(item)">
<li class="course-tag-item" :key="item.id" @click="onClick(item)"> <p>{{item.title}}</p>
<p>{{item.title}}</p> </li>
</li> </template>
</template> </ul>
</ul>
</template>
</div> </div>
<div class="more" @click="viewMore" v-if="hasMore"> <div class="more" @click="viewMore" v-if="hasMore">
<template v-if="!showMore"> <template v-if="!showMore">
...@@ -102,11 +100,11 @@ export default { ...@@ -102,11 +100,11 @@ export default {
border-radius: 6px; border-radius: 6px;
} }
.course-tag-message-hd { .course-tag-message-hd {
padding: 10px 0;
font-size: 15px; font-size: 15px;
color: #222; color: #222;
} }
.has-more .course-tag-message-bd { .has-more .course-tag-message-bd {
margin-top: 10px;
height: 102px; height: 102px;
overflow: hidden; overflow: hidden;
} }
......
...@@ -170,7 +170,6 @@ export default { ...@@ -170,7 +170,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.messages { .messages {
background: #eee; background: #eee;
overflow: hidden;
} }
.send { .send {
height: 50px; height: 50px;
......
...@@ -8,13 +8,15 @@ ...@@ -8,13 +8,15 @@
<div class="tag-content" v-html="html"></div> <div class="tag-content" v-html="html"></div>
</div> </div>
<div class="tools"> <div class="tools">
<ul> <div class="inner">
<li @click="toExamPage">知识点考试</li> <ul>
</ul> <li @click="toExamPage">知识点考试</li>
<ul> </ul>
<li @click="getCourseTag(detail.last)" v-if="detail.last">上一点</li> <ul>
<li @click="getCourseTag(detail.next)" v-if="detail.next">下一点</li> <li @click="getCourseTag(detail.last)" v-if="detail.last">上一点</li>
</ul> <li @click="getCourseTag(detail.next)" v-if="detail.next">下一点</li>
</ul>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -42,9 +44,9 @@ export default { ...@@ -42,9 +44,9 @@ export default {
html() { html() {
if (this.detail.contents) { if (this.detail.contents) {
return this.detail.contents return this.detail.contents
.replace(/\n/g, '<br/>') .replace(/---------- start ----------\n/gi, '')
.replace(/---------- start ----------/gi, '')
.replace(/---------- end ----------/gi, '') .replace(/---------- end ----------/gi, '')
.replace(/\n/g, '<br/>')
} }
return '' return ''
}, },
...@@ -99,28 +101,28 @@ export default { ...@@ -99,28 +101,28 @@ export default {
.course-tag-hd { .course-tag-hd {
position: sticky; position: sticky;
top: 0; top: 0;
padding: 0.4rem; padding: 20px;
background-color: #fff; background-color: #fff;
z-index: 10; z-index: 10;
} }
.course-tag-bd { .course-tag-bd {
padding: 0.4rem; padding: 20px;
} }
.course-tag-main { .course-tag-main {
padding: 0.2rem; padding: 10px;
background-color: #fff; background-color: #fff;
border-radius: 0.12rem; border-radius: 6px;
} }
.tag-title { .tag-title {
font-size: 0.3rem; font-size: 15px;
font-weight: bold; font-weight: bold;
color: #222; color: #222;
line-height: 0.48rem; line-height: 24px;
} }
.tag-content { .tag-content {
padding: 20px 0; padding: 10px 0;
font-size: 13px; font-size: 13px;
line-height: 24px; line-height: 22px;
img { img {
max-width: 100%; max-width: 100%;
} }
...@@ -129,13 +131,24 @@ export default { ...@@ -129,13 +131,24 @@ export default {
} }
} }
.tools { .tools {
display: flex;
justify-content: space-between;
margin-top: 5px; margin-top: 5px;
height: 34px;
padding-bottom: env(safe-area-inset-bottom);
.inner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: space-between;
height: 34px;
padding: 20px 20px 0;
padding-bottom: env(safe-area-inset-bottom);
}
li { li {
display: inline-block; display: inline-block;
height: 24px; height: 24px;
margin: 0 0 10px 10px; margin-left: 10px;
padding: 0 15px; padding: 0 15px;
font-size: 13px; font-size: 13px;
color: #fff; color: #fff;
......
...@@ -109,32 +109,33 @@ export default { ...@@ -109,32 +109,33 @@ export default {
.course-tag-hd { .course-tag-hd {
position: sticky; position: sticky;
top: 0; top: 0;
padding: 0.4rem; padding: 20px;
background-color: #fff; background-color: #fff;
z-index: 10; z-index: 10;
} }
.course-tag-bd { .course-tag-bd {
padding: 0.4rem; padding: 20px;
} }
.course-tag-main { .course-tag-main {
padding: 0.2rem; padding: 10px;
background-color: #fff; background-color: #fff;
border-radius: 0.12rem; border-radius: 6px;
} }
.course-title { .course-title {
font-size: 0.3rem; font-size: 15px;
font-weight: bold;
color: #222; color: #222;
} }
.tag-title { .tag-title {
font-size: 0.3rem; font-size: 15px;
font-weight: bold; font-weight: bold;
color: #222; color: #222;
line-height: 0.48rem; line-height: 24px;
} }
.tag-item { .tag-item {
position: relative; position: relative;
padding: 0.4rem 0.4rem 0.4rem 0; padding: 20px 20px 20px 0;
font-size: 0.3rem; font-size: 15px;
color: #222; color: #222;
line-height: 1.4; line-height: 1.4;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
...@@ -146,6 +147,7 @@ export default { ...@@ -146,6 +147,7 @@ export default {
right: 0; right: 0;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
color: #999;
} }
} }
</style> </style>
<template> <template>
<div class="message-card" :class="classes"> <div class="message-card" :class="classes">
<div class="message-card-content"> <div class="message-card-content">
<div class="message-arrow"></div>
<slot :data="data.payload"> <slot :data="data.payload">
<div class="message-card-text" v-if="data.type === 0">{{data.payload.text}}</div> <div class="message-card-text" v-if="data.type === 0">{{data.payload.text}}</div>
<course-tag-message <course-tag-message
...@@ -66,6 +67,16 @@ export default { ...@@ -66,6 +67,16 @@ export default {
border-radius: 6px; border-radius: 6px;
} }
.is-my { .is-my {
.message-arrow {
position: absolute;
right: -5px;
top: 16px;
width: 0;
height: 0;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 5px solid #67a8ff;
}
.message-card-content { .message-card-content {
text-align: right; text-align: right;
} }
...@@ -75,4 +86,19 @@ export default { ...@@ -75,4 +86,19 @@ export default {
background-color: #67a8ff; background-color: #67a8ff;
} }
} }
.message-card-content {
position: relative;
}
.is-system {
.message-arrow {
position: absolute;
left: -5px;
top: 16px;
width: 0;
height: 0;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-right: 5px solid #fff;
}
}
</style> </style>
...@@ -48,9 +48,9 @@ export default { ...@@ -48,9 +48,9 @@ export default {
html() { html() {
if (this.data.contents) { if (this.data.contents) {
return this.data.contents return this.data.contents
.replace(/\n/g, '<br/>') .replace(/---------- start ----------\n/gi, '')
.replace(/---------- start ----------/gi, '')
.replace(/---------- end ----------/gi, '') .replace(/---------- end ----------/gi, '')
.replace(/\n/g, '<br/>')
} }
return '' return ''
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="main-container"> <div class="main-container">
<search-bar readonly @click.native="toSearch"></search-bar> <search-bar readonly @click.native="toSearch"></search-bar>
<div class="banner"> <div class="banner">
<van-swipe class="banner-swipe" :autoplay="3000" indicator-color="white"> <van-swipe class="banner-swipe" :autoplay="3000">
<van-swipe-item> <van-swipe-item>
<img src="../../assets/images/banner.png" @click="onClickNav('pay')" /> <img src="../../assets/images/banner.png" @click="onClickNav('pay')" />
</van-swipe-item> </van-swipe-item>
...@@ -181,38 +181,40 @@ export default { ...@@ -181,38 +181,40 @@ export default {
overflow: hidden; overflow: hidden;
} }
.course-content-tag { .course-content-tag {
margin-top: 0.1rem;
li { li {
display: inline-block; display: inline-block;
padding: 0 5px; padding: 0 0.05rem;
font-size: 12px; font-size: 0.2rem;
color: #2b7ce9; color: #2b7ce9;
line-height: 14px; line-height: 0.28rem;
background-color: rgba(43, 124, 233, 0.4); background-color: #e9f1fc;
border-radius: 3px; border-radius: 0.06rem;
} }
} }
.course-content-ft { .course-content-ft {
margin-top: 10px; margin-top: 0.1rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.course-content__price { .course-content__price {
font-size: 13px; font-size: 0.26rem;
font-weight: bold;
color: #ff6767; color: #ff6767;
line-height: 1; line-height: 1;
span { span {
font-size: 24px; font-size: 0.48rem;
} }
} }
.course-content__button { .course-content__button {
width: 80px; width: 1.6rem;
height: 24px; height: 0.48rem;
font-size: 12px; font-size: 0.24rem;
color: #fff; color: #fff;
line-height: 24px; line-height: 0.48rem;
text-align: center; text-align: center;
background: rgba(255, 103, 103, 1); background: rgba(255, 103, 103, 1);
border-radius: 12px; border-radius: 0.24rem;
} }
</style> </style>
...@@ -24,10 +24,10 @@ export default { ...@@ -24,10 +24,10 @@ export default {
methods: { methods: {
submit() { submit() {
if (!this.ruleForm.account) { if (!this.ruleForm.account) {
this.$notify('请输入手机/邮箱/用户名') this.$toast('请输入手机/邮箱/用户名')
return false return false
} else if (!this.ruleForm.password) { } else if (!this.ruleForm.password) {
this.$notify('请输入密码') this.$toast('请输入密码')
return false return false
} }
return this.$refs.form.submit() return this.$refs.form.submit()
......
<template>
<div class="login">
<div class="login-box">
<div class="login-hd">
<h2 class="login-title">绑定</h2>
</div>
<div class="login-bd">
<div class="login-form">
<!-- 账号登录 -->
<account-login ref="form" @submit="onSubmit"></account-login>
<!-- 验证码登录 -->
<!-- <code-login ref="form" @submit="onSubmit"></code-login> -->
<div class="login-button" @click="handleSubmit">立即绑定</div>
</div>
</div>
<div class="login-ft">
<p class="login-tips">
登录遇到困难?请点击
<span class="forget-password" @click="passwordVisible = true">找回密码</span>
</p>
</div>
</div>
</div>
</template>
<script>
import Cookies from 'js-cookie'
import * as api from '@/api/account'
import AccountLogin from './accountLogin.vue'
import CodeLogin from './codeLogin.vue'
export default {
components: { AccountLogin, CodeLogin },
data() {
const UA = navigator.userAgent.toLowerCase()
return {
ruleForm: {
type: 1,
account: '',
password: '',
RememberMe: true,
service: 'https://h5.ezijing.com'
},
passwordVisible: false,
isWechat: /micromessenger/.test(UA),
unionid: Cookies.get('wechat_login_no_phone_error')
}
},
computed: {
// 重定向地址
redirectURI() {
const { query } = this.$route
return query.redirect_uri ? decodeURIComponent(query.redirect_uri) : ''
}
},
methods: {
handleSubmit() {
this.$refs.form.submit()
},
// 提交
onSubmit(data) {
this.unionid ? this.bindWechat(data) : this.loginRequest(data)
},
// 登录
loginRequest(data) {
const params = Object.assign({}, this.ruleForm, data)
api
.login(params)
.then(response => {
this.loginSuccess(response)
})
.catch(error => {
error.response && this.$toast(error.response.data.message)
})
},
// 绑定微信并登录
bindWechat() {
const data = Object.assign({}, this.ruleForm, { unionid: this.unionid })
api
.bindWechat(data)
.then(response => {
this.loginSuccess(response)
})
.catch(error => {
error.response && this.$toast(error.response.data.message)
})
},
// 登录成功
loginSuccess(response) {
if (response.code === 0) {
Cookies.remove('wechat_login_error', { domain: '.ezijing.com' })
Cookies.remove('wechat_login_no_phone_error', {
domain: '.ezijing.com'
})
if (this.redirectURI) {
window.location.href = this.redirectURI
} else {
this.$router.replace('/')
}
// this.$router.replace('/')
} else {
this.$toast(response.msg)
}
},
wechatLogin() {
const appId = 'wx451c01d40d090d7a'
// 回调地址
const redirectURI = `${process.env.VUE_APP_WECHAT_REDIRECT_URL}?needCheck=false&identity=friend&redirectUrl=${window.location.origin}`
// 微信的地址
console.log(redirectURI)
const wechatUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${encodeURIComponent(
redirectURI
)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
// 打开地址
window.location.href = wechatUrl
},
checkWechatLogin() {
return !!(
Cookies.get('wechat_login_error') ||
Cookies.get('wechat_login_no_phone_error')
)
}
},
created() {
// if (this.isWechat && !this.checkWechatLogin()) {
// this.wechatLogin()
// }
}
}
</script>
<style lang="scss">
.login {
position: relative;
min-height: 100vh;
display: flex;
flex-direction: column;
background: url('../../assets/images/login_bg.png') no-repeat;
background-size: contain;
}
.login-box {
position: absolute;
top: 100px;
left: 50px;
right: 50px;
height: 400px;
padding: 20px;
background: rgba(255, 255, 255, 1);
box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
border-radius: 20px;
}
.login-hd {
padding: 10px 0;
}
.login-title {
display: inline-block;
font-size: 24px;
color: #2b7ce9;
border-bottom: 5px solid #2b7ce9;
}
.login-bd {
margin-top: 20px;
flex: 1;
}
.login-button {
margin-top: 20px;
height: 40px;
font-size: 12px;
color: #fff;
line-height: 40px;
background: linear-gradient(
270deg,
rgba(43, 124, 233, 1) 0%,
rgba(103, 168, 255, 1) 100%
);
text-align: center;
border-radius: 3px;
cursor: pointer;
}
.login-ft {
padding: 40px 0;
}
.login-tips {
text-align: center;
font-size: 12px;
color: #999;
.forget-password {
color: #1989fa;
}
}
.login {
.van-field {
margin-bottom: 20px;
padding: 0;
flex-direction: column;
}
.van-field__label {
font-size: 12px;
color: #222;
margin-bottom: 5px;
padding-left: 10px;
}
.van-field__control {
padding: 8px;
border: 1px solid #ccc;
border-radius: 3px;
}
}
</style>
<template> <template>
<div class="code-login"> <div class="code-login">
<van-form class="login-form" ref="form" v-on="$listeners"> <van-form class="login-form" ref="form" v-on="$listeners">
<van-field v-model="ruleForm.account" name="account" label="手机号" placeholder="请输入手机号" /> <van-field
type="tel"
v-model="ruleForm.account"
name="account"
label="手机号"
placeholder="请输入手机号"
/>
<van-field <van-field
v-model="ruleForm.password" v-model="ruleForm.password"
type="digit"
:maxlength="4" :maxlength="4"
name="password" name="password"
label="验证码" label="验证码"
...@@ -32,10 +39,10 @@ export default { ...@@ -32,10 +39,10 @@ export default {
methods: { methods: {
submit() { submit() {
if (!this.ruleForm.account) { if (!this.ruleForm.account) {
this.$notify('请输手机号') this.$toast('请输入正确的手机号码')
return false return false
} else if (!this.ruleForm.password) { } else if (!this.ruleForm.password) {
this.$notify('请输入验证码') this.$toast('验证码输入错误,请重新输入')
return false return false
} }
return this.$refs.form.submit() return this.$refs.form.submit()
...@@ -43,7 +50,7 @@ export default { ...@@ -43,7 +50,7 @@ export default {
// 发送验证码 // 发送验证码
onSendCode() { onSendCode() {
if (!this.ruleForm.account) { if (!this.ruleForm.account) {
this.$notify('请输手机号') this.$toast('请输入正确的手机号码')
return false return false
} }
// 开始倒计时 // 开始倒计时
...@@ -56,17 +63,17 @@ export default { ...@@ -56,17 +63,17 @@ export default {
.sendResetPasswordCode({ account: this.ruleForm.account }) .sendResetPasswordCode({ account: this.ruleForm.account })
.then(response => { .then(response => {
if (response.code === 0) { if (response.code === 0) {
this.$notify({ type: 'success', message: '验证码发送成功' }) this.$toast({ type: 'success', message: '验证码发送成功' })
} else { } else {
// 停止计时 // 停止计时
this.$refs.countdown.stop() this.$refs.countdown.stop()
this.$notify(response.msg) this.$toast(response.msg)
} }
}) })
.catch(error => { .catch(error => {
// 停止计时 // 停止计时
this.$refs.countdown.stop() this.$refs.countdown.stop()
error.response && this.$notify(error.response.data.message) error.response && this.$toast(error.response.data.message)
}) })
} }
} }
......
...@@ -292,4 +292,8 @@ export default { ...@@ -292,4 +292,8 @@ export default {
border-radius: 3px; border-radius: 3px;
} }
} }
.van-toast--text {
padding: 20px;
border-radius: 6px;
}
</style> </style>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<van-icon name="arrow" class="icon" /> <van-icon name="arrow" class="icon" />
</li> </li>
</ul> </ul>
<div class="login-out" @click="logout" v-if="user.id">退出登录</div> <!-- <div class="login-out" @click="logout" v-if="user.id">退出登录</div> -->
</div> </div>
</template> </template>
......
...@@ -78,5 +78,8 @@ export default { ...@@ -78,5 +78,8 @@ export default {
font-size: 0.3rem; font-size: 0.3rem;
color: #222; color: #222;
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1;
&:last-child {
border-bottom: 0;
}
} }
</style> </style>
...@@ -126,6 +126,7 @@ export default { ...@@ -126,6 +126,7 @@ export default {
} }
.search-tips__title { .search-tips__title {
font-size: 0.3rem; font-size: 0.3rem;
font-weight: 400;
color: #222; color: #222;
} }
.search-tips__list { .search-tips__list {
......
...@@ -76,5 +76,8 @@ export default { ...@@ -76,5 +76,8 @@ export default {
font-size: 0.3rem; font-size: 0.3rem;
color: #222; color: #222;
border-bottom: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1;
&:last-child {
border-bottom: 0;
}
} }
</style> </style>
html * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
outline: none;
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body, body,
h1, h1,
h2, h2,
...@@ -93,20 +85,56 @@ body { ...@@ -93,20 +85,56 @@ body {
font-size: 14px; font-size: 14px;
line-height: 1.4; line-height: 1.4;
color: #222; color: #222;
font-family: 'Source Han Sans CN', 'PingFang SC', -apple-system, font-family: 'PingFang SC', 'Source Han Sans CN', -apple-system,
'Microsoft YaHei', 'Helvetica', 'Arial', Verdana, 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica', 'Arial', Verdana, 'Hiragino Sans GB',
'Wenquanyi Micro Hei', sans-serif; 'Wenquanyi Micro Hei', sans-serif;
background-color: #eee; background-color: #f7f7f7;
} }
.main-container { .main-container {
margin: 0 0.4rem; margin: 0 0.4rem;
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
} }
.main-tabs .van-tab {
font-size: 15px;
color: #999;
}
.main-tabs .van-hairline--top-bottom::after { .main-tabs .van-hairline--top-bottom::after {
border-top: 0; border-top: 0;
} }
.main-tabs .van-tab--active {
font-weight: 600;
color: #000;
}
.main-list .empty { .main-list .empty {
padding: 40px 0; padding: 40px 0;
text-align: center; text-align: center;
color: #999; color: #999;
} }
.van-collapse .van-collapse-item__title {
padding: 20px 0;
font-size: 15px;
font-weight: 600;
color: #222;
}
.van-collapse .van-icon {
margin-top: 4px;
color: #999;
}
.van-collapse .van-icon-arrow-down {
display: none;
}
.van-collapse .van-collapse-item__title--expanded .van-icon-arrow {
display: none;
}
.van-collapse .van-collapse-item__title--expanded .van-icon-arrow-down {
display: block;
}
.van-swipe .van-swipe__indicator--active {
width: 30px;
background-color: rgba(255, 255, 255, 0.4);
border-radius: 3px;
}
.van-swipe .van-swipe__indicators {
bottom: 5px;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论