From e15ed90ae11a04b2fd054272f30c474fb22122fe Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sun, 8 Nov 2020 19:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_mini/images/avg.svg | 1 + test_mini/images/class.svg | 1 + test_mini/images/count.svg | 1 + test_mini/images/rate.svg | 1 + test_mini/pages/article/detail.wxml | 17 ++-- test_mini/pages/article/detail.wxss | 6 +- test_mini/pages/article/index.js | 4 +- test_mini/pages/article/index.wxml | 6 +- test_mini/pages/main/main.wxml | 2 +- test_mini/pages/main/main.wxss | 5 ++ test_mini/pages/material/index.wxml | 2 +- test_mini/pages/my/index.wxml | 18 +++- test_mini/project.config.json | 126 ++++++++++++++-------------- 13 files changed, 106 insertions(+), 84 deletions(-) create mode 100644 test_mini/images/avg.svg create mode 100644 test_mini/images/class.svg create mode 100644 test_mini/images/count.svg create mode 100644 test_mini/images/rate.svg diff --git a/test_mini/images/avg.svg b/test_mini/images/avg.svg new file mode 100644 index 0000000..11b1e56 --- /dev/null +++ b/test_mini/images/avg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test_mini/images/class.svg b/test_mini/images/class.svg new file mode 100644 index 0000000..2c83ee2 --- /dev/null +++ b/test_mini/images/class.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test_mini/images/count.svg b/test_mini/images/count.svg new file mode 100644 index 0000000..d46b11e --- /dev/null +++ b/test_mini/images/count.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test_mini/images/rate.svg b/test_mini/images/rate.svg new file mode 100644 index 0000000..78dbd71 --- /dev/null +++ b/test_mini/images/rate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test_mini/pages/article/detail.wxml b/test_mini/pages/article/detail.wxml index c1c8a63..8bf1806 100644 --- a/test_mini/pages/article/detail.wxml +++ b/test_mini/pages/article/detail.wxml @@ -1,16 +1,15 @@ - - - {{title}} - - {{ifrom}} - 置顶 - 原创 - - + + {{title}} + + 置顶 + {{ifrom}} + + + diff --git a/test_mini/pages/article/detail.wxss b/test_mini/pages/article/detail.wxss index ac30404..08d786a 100644 --- a/test_mini/pages/article/detail.wxss +++ b/test_mini/pages/article/detail.wxss @@ -1,7 +1,7 @@ /* pages/article/detail.wxss */ -.weui-article { -padding: 0px 12px; -} .page__title { font-size: 18px; +} +.page { + background-color: var(--weui-BG-2); } \ No newline at end of file diff --git a/test_mini/pages/article/index.js b/test_mini/pages/article/index.js index 6dfcd92..9ebb31a 100644 --- a/test_mini/pages/article/index.js +++ b/test_mini/pages/article/index.js @@ -41,7 +41,9 @@ Page({ } else { that.data.results = that.data.results.concat(res.data.results) } - + for(var i = 0;i {{count}}条资讯 - + - 置顶 {{item.title}} - {{item.ifrom}} + 置顶 + {{item.ifrom}} {{item.update_time}} diff --git a/test_mini/pages/main/main.wxml b/test_mini/pages/main/main.wxml index cd69835..4d0a19e 100644 --- a/test_mini/pages/main/main.wxml +++ b/test_mini/pages/main/main.wxml @@ -18,7 +18,7 @@ - + diff --git a/test_mini/pages/main/main.wxss b/test_mini/pages/main/main.wxss index 6091d36..4468857 100644 --- a/test_mini/pages/main/main.wxss +++ b/test_mini/pages/main/main.wxss @@ -11,4 +11,9 @@ color:darkblue; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; +} +.weui-cells{ + margin-left:6px; + margin-right:6px; + border-radius: 6px; } \ No newline at end of file diff --git a/test_mini/pages/material/index.wxml b/test_mini/pages/material/index.wxml index e77bdd7..d205a65 100644 --- a/test_mini/pages/material/index.wxml +++ b/test_mini/pages/material/index.wxml @@ -1,7 +1,7 @@ {{count}}份资料 - + diff --git a/test_mini/pages/my/index.wxml b/test_mini/pages/my/index.wxml index 066dbb3..251ef68 100644 --- a/test_mini/pages/my/index.wxml +++ b/test_mini/pages/my/index.wxml @@ -1,7 +1,5 @@ - - 基本信息 @@ -9,7 +7,9 @@ - 账号: {{userinfo.username}} + + 账号: + {{userinfo.username}} 账号: 未登陆 @@ -27,6 +27,9 @@ 统计分析 + + + 工作类别 + + + 模考次数 {{total}} + + + 通过率 {{pass_rate}}% + + + 平均分 {{avg_score}} diff --git a/test_mini/project.config.json b/test_mini/project.config.json index e393d74..a02616f 100644 --- a/test_mini/project.config.json +++ b/test_mini/project.config.json @@ -1,65 +1,65 @@ { - "description": "项目配置文件", - "packOptions": { - "ignore": [] - }, - "setting": { - "urlCheck": false, - "es6": true, - "enhance": true, - "postcss": true, - "preloadBackgroundData": false, - "minified": true, - "newFeature": true, - "coverView": true, - "nodeModules": true, - "autoAudits": false, - "showShadowRootInWxmlPanel": true, - "scopeDataCheck": false, - "uglifyFileName": false, - "checkInvalidKey": true, - "checkSiteMap": true, - "uploadWithSourceMap": true, - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" - }, - "useCompilerModule": false, - "userConfirmedUseCompilerModuleSwitch": false, - "compileHotReLoad": false, - "useMultiFrameRuntime": true, - "useApiHook": false, - "useIsolateContext": true, - "packNpmManually": false, - "packNpmRelationList": [] - }, - "compileType": "miniprogram", - "libVersion": "2.10.3", - "appid": "wxf1e9471c93f05ad6", - "projectname": "test_mini", - "debugOptions": { - "hidedInDevtools": [] - }, - "isGameTourist": false, - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": { - "search": { - "current": -1, - "list": [] - }, - "conversation": { - "current": -1, - "list": [] - }, - "game": { - "currentL": -1, - "list": [] - }, - "miniprogram": { - "current": -1, - "list": [] - } - } + "description": "项目配置文件", + "packOptions": { + "ignore": [] + }, + "setting": { + "urlCheck": false, + "es6": true, + "enhance": true, + "postcss": true, + "preloadBackgroundData": false, + "minified": true, + "newFeature": true, + "coverView": true, + "nodeModules": true, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "scopeDataCheck": false, + "uglifyFileName": false, + "checkInvalidKey": true, + "checkSiteMap": true, + "uploadWithSourceMap": true, + "compileHotReLoad": false, + "useMultiFrameRuntime": false, + "useApiHook": true, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "useIsolateContext": true, + "useCompilerModule": true, + "userConfirmedUseCompilerModuleSwitch": false, + "packNpmManually": false, + "packNpmRelationList": [] + }, + "compileType": "miniprogram", + "libVersion": "2.10.3", + "appid": "wxf1e9471c93f05ad6", + "projectname": "test_mini", + "debugOptions": { + "hidedInDevtools": [] + }, + "isGameTourist": false, + "simulatorType": "wechat", + "simulatorPluginLibVersion": {}, + "condition": { + "search": { + "current": -1, + "list": [] + }, + "conversation": { + "current": -1, + "list": [] + }, + "game": { + "currentL": -1, + "list": [] + }, + "miniprogram": { + "current": -1, + "list": [] + } + } } \ No newline at end of file