1 Star 8 Fork 6

LauEl / 微信小程序封装H5域名快速变成小程序

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

微信小程序封装H5域名

介绍

使用微信小程序web-view组件进行封装H5网页,最快的速度完成展示型小程序。 注:web-view组件不支持个人小程序,只能认证过的企业小程序。(认证不认证都可以使用)

qq群交流:326306049

安装教程

  1. 首先域名为https站点。
  2. 导入代码修改appid
  3. 修改page/index.wxml
<!--index.wxml-->
<web-view src="https://www.yxxxm.com/"></web-view> //修改为自己的域名
  1. 修改page/index.js
   /**
   * 分享当前页面
   */
  onShareAppMessage() {
    return {
      title: '云信网络科技有限公司',//这里填写title
      path: "/pages/index/index"//这里填写路径
    };
  },

输入图片说明 输入图片说明 输入图片说明

赞赏

如果本仓库对你有帮助欢迎请我一杯咖啡(一根棒棒糖也可以qwq)

输入图片说明

MIT License Copyright (c) 2020 LauEl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

使用微信小程序web-view组件进行封装H5网页,最快的速度完成展示型小程序。 注:web-view组件不支持个人小程序,只能认证过的企业小程序(可以不花费300只要是企业认证的就行!)。 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
HTML
1
https://gitee.com/LauEl/h5_xcx.git
git@gitee.com:LauEl/h5_xcx.git
LauEl
h5_xcx
微信小程序封装H5域名快速变成小程序
master

搜索帮助