airyland / airyland/vux

[Bug Report] popup-picker 多个标题之间的分隔线选择器更换

Open
#2,880 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
17.5k
Forks
3.6k
PR merge metrics
No merged PRs in 30d

Description

### VUX version
2.9.2

### OS/Browsers version
macOS High Sierra

### Vue version
2.5.17-beta.0

### Code

重现代码:

```html





```

这边想要使用 `` 来控制 `` 的出现与隐藏,所以使用 `show-cell` 属性将 ``原始的 `title` 模块隐藏,但是 `.vux-cell-box` 样式中的伪元素 `:before` 依旧有效,会出现一条分割线

这边可以使用 `:first-of-type` 来代替 `:first-child`

```
.vue-cell-box:not(:first-child):before {
.vux-cell-box:not(:first-of-type):before {
```

### Steps to reproduce

```





```

这样会出现一条奇怪的分割线

![image](https://user-images.githubusercontent.com/17807471/41805142-34d5f3b6-76d6-11e8-83ec-69c8fae69e9a.png)

### What is Expected?
单个 与其他元素混排的时候不应该出现分割线

### What is actually happening?
单个 与其他元素混排的时候出现了上分割线

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.