gp-designer 1.0.53 → 1.0.54
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/gp-designer.es.js +272 -270
- package/dist/gp-designer.umd.js +1 -1
- package/dist/spa/topic/css/common.css +9 -11
- package/dist/spa/topic/css/swiper-bundle.min.css +17 -0
- package/dist/spa/topic/html/demo-xiaoyuan.html +56 -0
- package/dist/spa/topic/js/index.js +38 -7
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/spa/topic/js/jquery.1.10.2.js +0 -6
- package/dist/spa/topic/js/swiper.min.4.4.1.js +0 -3758
package/README.md
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
- 当模板较少时,可以使用统一的 css 等。
|
24
24
|
- 关于字体问题,如果统一名称为 `iconfont`,则需要确保引入多套 `iconfont` 时,确保命名没有冲突,否则就需要重新命名 `iconfont`
|
25
25
|
- 块最外层 `div` 对象不能设置:`margin、gap` 等外边距,因为块对象会进行百分比排版,每个块占比 n%,设置 `margin` 会导致百分比对应的数量错误。
|
26
|
-
-
|
26
|
+
- 移动端自动轮播:块最外层 `div` 必须再嵌套一层,轮播块的父级的父级,添加 class=swiper,用于 swiper 轮播使用,否则轮播将无法触发,即:`<div class=swiper> <div class=block> <div class=item1></div> <div class=item2></div> </div> </div>`,并且引入 `/spa/topic/css/swiper-bundle.min.css、jquery-3.6.0.min.js、swiper-bundle.min.js`
|
27
27
|
|
28
28
|
#### 主题色设计
|
29
29
|
|