-
目前在使用mip是,页面中如果需要使用一些个性化组件需要引入各种js来支持,像下面一样:
```html
```
而且这些很长的 `js` 的 `url`,需要手动复制粘贴,既然是基于组件化的,那么是否可以借鉴下 [requirejs](https://github.com/requirejs/requirejs),直接在 `` 标签上直接配置引入组件,如下:
…
-
![image](https://user-images.githubusercontent.com/44828242/49923057-531e5080-feed-11e8-9728-9c36c5063075.png)
http://www.membersheep.cn/Goods/Index?goodsId=4887#gototop
-
**要解决什么问题**
将vue组件改为customElement组件,包括以下组件:
- [ ] mip-anim
- [ ] mip-appdl
- [ ] mip-city-selection
- [ ] mip-confirm
- [ ] mip-gototop
- [ ] mip-html-os
- [ ] mip-link
- [ ] mip-ma…
-
**Is your feature request related to a problem? Please describe.**
Current implementation changes `window.location.hash` which pushes state to browser's history. It prevents user of going back by bro…
-
On a lot of mobile apps, if you are on your News Feed tab and scroll down a bit, tapping on the News Feed tab again will scroll the ScrollView to the top. Similar to the effect of pressing on the stat…
-
## 背景
由于 MIP 核心已经全量升级到 MIP2,为了保持 MIP1 和 MIP2 官方组件的统一,让站长能使用最新的 MIP2 组件,急需将 MIP1 的官方组件迁移至 mip2-extensions respo 下,为后续的组件升级做好铺垫。
## 需要迁移的组件
- [x] mip-access @yenshih
- [x] mip-bridge-baidu #4…
-
-
# [问题简单描述]
需求:需要有一键返回顶部功能。
对小程序组件 scroll-view 绑定 `:scroll-top="scrollTop"` ,通过改变scrollTop的值来实现返回顶部的功能。
**问题复现步骤:**
1. ``
2. js部分,初始化 `scrollTop:0`,返回顶部方法,直接修改scrollTop的值。
`goToTop () {
…
-
### Website:
`http://tuto4you.fr/`
### What happens?
Annoyance / to top button
### filters:
```
##.stt-top
##.stt-gototop
```
-
**Home**: top of column
**Page Up**: top of current group. If there already, jump up to bottom of group above.
**Page Down**: bottom of current group. If there already, jump down to top of group bel…