-
制作icon的时候一般会做一个透明的矩形底款,来设计使用和研发使用时icon是一个矩形,之前都没问题现在直接在iconfont下载icon就丢掉了底块导致下载icon不是一个矩形而不规则图形。使用sketch插件kitchen时,是正常的就是不能再iconfont官网下载
劳烦各位 大佬解决一下这个问题啦,之前从来没有出现过这个问题🙏
-
> 该功能方便把设计器中元素的渲染层拿出来,放到其它页面中单独显示
### 功能背景
在设计器中设计好元素后,比如数据表格,进行了相关的行和列的设置,绑定了数据源,默认它可以在设计器附带的打印页面中展示。
如果想把这个数据表格单独拿出来,放在现有的页面中,则可以使用该功能。
### 使用方式
首先在设计器中对需要单独展示的元素做设计,完成后单独拿到该元素的`JSON`描述数据…
-
请教技术问题和合作问题:手机 15800466429 同微信 QQ 821865130
-
> 现在越来越多的应用`web`化,比如在线听歌。有时候听到不喜欢的歌曲,还要切到相应的`web`页面上切换掉,那么有没有什么办法可以不切换页面,通过键盘或其它方式换歌么?
`Chrome`现在支持`mediaSession`对象,可以查询API https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API
主…
-
-
> 部分可设计元素支持通过接口与数据源绑定,方便展示或打印,这里介绍下相关的数据格式和绑定思路
### 接口统一格式
项目中所有用到的接口均按以下统一格式返回
```js
{
"data":any, //根据接口的具体作用,返回相应的如数组、对象等结构的数据
"success": boolean,//接口状态,成功为true,失败为false,当失败时,最好在"…
-
## 可视化设计器
> 本项目提供可视化设计所需要的基础功能,比如标尺、拖动、旋转、多选、复制等。在此基础之上,设计器中可设计、编辑的元素则由插件化的形式提供,比如需要表格、图片则只添加这2个插件即可,开发人员也可以很方便的定制自己的插件
### 两种布局
#### 绝对定位
绝对定位布局要求页面宽和高是固定尺寸的,比如需要投放大屏场景,则根据大屏的尺寸设置好相应的编辑区的大小。再比如…
-
#### 微前端
> 微前端主要是借鉴后端微服务的概念。简单地说,就是将一个巨无霸(Monolith)的前端工程拆分成一个一个的小工程。别小看这些小工程,它们也是“麻雀虽小,五脏俱全”,完全具备独立的开发、运行能力。整个系统就将由这些小工程协同合作,实现所有页面的展示与交互。
#### 规则
一、充分使用浏览器原生方案
1. 如果有`dom`操作,请直接使用浏览器原生的`api`,不…
-
> personal support
测试页面:https://xinglie.github.io/mteditor/print.html
对编辑好的内容打印,支持自定义页头、页脚。
现阶段浏览器对打印规范支持度相当低,因此想要排版更丰富的打印支持,则需要自己做好相应的打印页面,然后再交与浏览器打印。
这里面的技术难点就是对用户编辑好的内容做切割,因为用户编辑时无须考虑纸张…
-
首先感谢作者开发的这个工具,
有些问题反馈一下:
当对一个接口编辑时,整个项目被锁定,其他人无法再编辑其他接口,这样做的目的是什么?当时是怎么考虑的呢?
用的时候感觉很不方便,如果改动的话,应该如何改动?