华为落地页上报

pudongliang 04c76fd74a 华为关注小程序按钮改版; 4 anni fa
public 04c76fd74a 华为关注小程序按钮改版; 4 anni fa
src 04c76fd74a 华为关注小程序按钮改版; 4 anni fa
.editorconfig 59d0c81ac4 华为上报index.js 4 anni fa
.eslintignore 59d0c81ac4 华为上报index.js 4 anni fa
.eslintrc.json 59d0c81ac4 华为上报index.js 4 anni fa
.gitignore 59d0c81ac4 华为上报index.js 4 anni fa
README.md 04c76fd74a 华为关注小程序按钮改版; 4 anni fa
package.json 59d0c81ac4 华为上报index.js 4 anni fa
tsconfig.json 59d0c81ac4 华为上报index.js 4 anni fa
webpack.config.ts 59d0c81ac4 华为上报index.js 4 anni fa
yarn.lock 59d0c81ac4 华为上报index.js 4 anni fa

README.md

快投落地页

开发

  1. 运行 yarn serve (或 npm run serve 下同) 自动打开浏览器
  2. 修改 public/index.html public/test.json 用于测试落地页

发布

  1. 运行 yarn build
  2. dist/js/index.js 上传到OSS

oss://copy-writing/s/copyGh/assets/huawei/

oss browser

https://help.aliyun.com/document_detail/209974.html

COPYWRITING_OSS_ENDPOINT=https://oss-cn-shanghai.aliyuncs.com COPYWRITING_OSS_BUCKET=copy-writing

华东2上海

华为落地页移除url换小程序地址功能,涉及DOM操作,华为禁止DOM,导致关注小程序功能失效;

改版如下:关注小程序按钮请求接口响应静态跳转页面

huawei.html是生成的落地页

index.html 开发测试页面;访问》http://localhost.mokamrp.com:9201/huawei/jump/2748

http://localhost.mokamrp.com:9201/huawei/jump/2748 响应 index2.html 【未后端响应的静态页面】