Browse Source

yansghixiugai

Szx 3 years ago
parent
commit
3a9a319ec1

+ 2 - 1
.quickapp/launch.json

@@ -14,5 +14,6 @@
       "elementMode": false
     }
   ],
-  "currentWidgetUri": "views/Index"
+  "currentWidgetUri": "views/Index",
+  "currentAlias": "Default"
 }

+ 4 - 0
.quickapp/settings.json

@@ -0,0 +1,4 @@
+{
+    "workbench.devecoPanel.visible": false,
+    "workbench.devecoModule.visible": false
+}

BIN
fa-toolkit-12.0.1-Stable.300.tgz


+ 8 - 3
package.json

@@ -13,7 +13,10 @@
     "precommit-msg": "echo '🚧 start pre-commit checks ...' && exit 0",
     "prettier": "node ./scripts/selfCloseInputTag.js && prettier --write \"src/**/*.{js,ux,less,scss,css}\"",
     "prettier-watcher": "onchange '**/*.md' \"src/**/**/*.{js,ux,less,scss,css}\" -- prettier --write {{changed}}",
-    "preinstall": "npx pm-keeper npm 6.14.13"
+    "preinstall": "npx pm-keeper npm 6.14.13",
+    "fa-build": "node node_modules/webpack/bin/webpack.js --config ./node_modules/fa-toolkit/webpack.config.js",
+    "fa-watch": "node node_modules/webpack/bin/webpack.js --watch --config ./node_modules/fa-toolkit/webpack.config.js",
+    "fa-release": "node ./node_modules/cross-env/src/bin/cross-env.js uglifyjs=true sign=release node_modules/webpack/bin/webpack.js --config ./node_modules/fa-toolkit/webpack.config.js"
   },
   "devDependencies": {
     "@babel/runtime": "^7.12.5",
@@ -25,7 +28,9 @@
     "lint-staged": "^10.5.1",
     "onchange": "^5.2.0",
     "prettier": "^1.15.3",
-    "prettier-plugin-ux": "^0.3.0"
+    "prettier-plugin-ux": "^0.3.0",
+    "cross-env": "^7.0.2",
+    "fa-toolkit": "file:fa-toolkit-12.0.1-Stable.300.tgz"
   },
   "dependencies": {
     "flyio": "^0.6.14",
@@ -54,4 +59,4 @@
   "browserslist": [
     "chrome 65"
   ]
-}
+}

BIN
src/assets/imgs/shelfbottom.png


+ 6 - 6
src/assets/less/shelf.less

@@ -35,6 +35,7 @@
         justify-content: center;
         image {
           width: 500px;
+          height: 75%;
         }
       }
       .type-bar {
@@ -226,11 +227,10 @@
     }
   }
   .shelf_bottom {
-    height: 10px;
-    width: 100%;
-    margin-bottom: 30px;
-    background-color: #fff;
-    box-shadow: 0px 5px 4px 0px rgba(0, 0, 0, 0.11);
-    border-radius: 4px;
+      margin-bottom: 30px;
+    image{
+      height: 10px;
+      width:100%;
+    }
   }
 }

+ 1 - 1
src/views/My/index.ux

@@ -194,7 +194,7 @@ export default {
     if (page == 'Privacy') {
       webview.loadUrl({
         url:
-          'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/privacy/suishen_privacy.htm',
+          'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/privacy/hait_privacy.htm',
         showloadingdialog: true
       })
     } else {

+ 1 - 1
src/views/Phone/index.ux

@@ -116,7 +116,7 @@ export default {
     if (page == 'Privacy') {
       webview.loadUrl({
         url:
-          'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/privacy/haoh_privacy.htm',
+          'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/qapp/privacy/hait_privacy.htm',
         showloadingdialog: true
       })
     } else {

+ 1 - 0
src/views/Shelf/index.ux

@@ -85,6 +85,7 @@
                     </stack>
                   </div>
                   <div if="(($idx + 1)%3 === 0)" class="shelf_bottom">
+                    <image src="../../assets/imgs/shelfbottom.png"></image>
                   </div>
                 </block>
                 <div