Skip to content

ChrisGou/mayi_vue

Repository files navigation

mayi_vue

内网穿透方案

  • 所谓内网穿透,即通过工具生成公网域名,并映射访问到本地ip+端口号的静态资源或后台 http方案: 将dist目录的内容拷贝到mayi_node目录,node index启动本地后台服务 使用natapp.cn内网穿透,配置config.ini并双击natapp.exe,此时静态资源穿透成功

遇见的问题

  • vux组件的样式 如果是组件自动添加的Dom层,则无法在业务使用中通过scoped样式进行覆盖修改,只能通过插槽修改样式
  • 在写移动端页面的时候,弹出遮罩层后,我们仍然可以滚动页面。 vue中提供 @touchmove.prevent 方法可以完美解决这个问题

<div class="dialog" @touchmove.prevent ></div>

About

仿支付宝蚂蚁基金vue版

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published