Browse Source

stash

demo-nn-class
kola-web 7 days ago
parent
commit
749d674bd6
  1. BIN
      .DS_Store
  2. 1
      .gitignore
  3. 22
      project.config.json
  4. 4
      src/utils/page.ts

BIN
.DS_Store vendored

Binary file not shown.

1
.gitignore vendored

@ -1,3 +1,4 @@
node_modules node_modules
src/images/.svn src/images/.svn
/src/images/nmosd /src/images/nmosd
/src/images

22
project.config.json

@ -3,10 +3,7 @@
"miniprogramRoot": "src/", "miniprogramRoot": "src/",
"compileType": "src", "compileType": "src",
"setting": { "setting": {
"useCompilerPlugins": [ "useCompilerPlugins": ["typescript", "sass"],
"typescript",
"sass"
],
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
@ -51,23 +48,11 @@
"packOptions": { "packOptions": {
"ignore": [ "ignore": [
{ {
"value": "/images/*.jpg", "value": "/images/*",
"type": "glob"
},
{
"value": "/images/**/*.jpg",
"type": "glob"
},
{
"value": "/images/*.png",
"type": "glob"
},
{
"value": "/images/**/*.png",
"type": "glob" "type": "glob"
}, },
{ {
"value": "/images/**/*.gif", "value": "/images/**/*",
"type": "glob" "type": "glob"
} }
], ],
@ -75,3 +60,4 @@
}, },
"appid": "wx96104303877e3fd9" "appid": "wx96104303877e3fd9"
} }

4
src/utils/page.ts

@ -54,14 +54,14 @@ function page(config: WechatMiniprogram.Page.Instance<WechatMiniprogram.IAnyObje
if (url.includes('doctor/pages')) { if (url.includes('doctor/pages')) {
return { return {
title: "华秉科技数字化解决方案", title: "华秉科技数字化解决方案",
path: "/pages/1/index", path: "/pages/webview/index",
// imageUrl: `${getApp().globalData.imageUrl}1/1.png?t=${Timestamp}`, // imageUrl: `${getApp().globalData.imageUrl}1/1.png?t=${Timestamp}`,
}; };
} }
return { return {
title: "华秉科技数字化解决方案", title: "华秉科技数字化解决方案",
path: "/pages/1/index", path: "/pages/webview/index",
// imageUrl: `${getApp().globalData.imageUrl}1/1.png?t=${Timestamp}`, // imageUrl: `${getApp().globalData.imageUrl}1/1.png?t=${Timestamp}`,
}; };
} }

Loading…
Cancel
Save