From 4880def0541d064dde1197011ec34921317dd6bd Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Thu, 29 Dec 2022 14:49:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- app.json | 14 +- app.wxss | 1 + assets/images/pic.png | Bin 0 -> 2444 bytes .../constitutionAnalyse.js | 73 ++++++++-- .../constitutionAnalyse.wxml | 83 +++++++++-- .../constitutionAnalyse.wxss | 104 +++++++++++--- page/constitutionGrade/constitutionGrade.js | 43 +++++- page/constitutionGrade/constitutionGrade.wxml | 2 +- page/identificationTwo/identificationTwo.js | 10 +- page/identificationTwo/identificationTwo.wxml | 19 +-- page/identificationTwo/identificationTwo.wxss | 2 +- page/img/1.png | Bin 0 -> 93248 bytes page/img/2.png | Bin 0 -> 98648 bytes page/img/3.png | Bin 0 -> 95728 bytes page/img/4.png | Bin 0 -> 92590 bytes page/img/5.png | Bin 0 -> 92250 bytes page/img/6.png | Bin 0 -> 101927 bytes page/img/7.png | Bin 0 -> 93308 bytes page/img/8.png | Bin 0 -> 92764 bytes page/img/9.png | Bin 0 -> 96939 bytes page/img/abg.png | Bin 0 -> 205199 bytes page/img/share.png | Bin 0 -> 1208 bytes page/my/my.js | 6 +- page/my/my.wxml | 11 +- page/my/my.wxss | 2 + page/record/record.js | 99 ++++++++++++++ page/record/record.json | 6 + page/record/record.wxml | 26 ++++ page/record/record.wxss | 66 +++++++++ page/shareList/shareList.js | 129 ++++++++++++++++++ page/shareList/shareList.json | 6 + page/shareList/shareList.wxml | 37 +++++ page/shareList/shareList.wxss | 66 +++++++++ page/shetai/shetai.js | 101 ++++++++++++++ page/shetai/shetai.json | 6 + page/shetai/shetai.wxml | 21 +++ page/shetai/shetai.wxss | 56 ++++++++ page/twoTest/twoTest.js | 7 +- project.config.json | 35 +---- project.private.config.json | 7 + 41 files changed, 937 insertions(+), 103 deletions(-) create mode 100644 assets/images/pic.png create mode 100644 page/img/1.png create mode 100644 page/img/2.png create mode 100644 page/img/3.png create mode 100644 page/img/4.png create mode 100644 page/img/5.png create mode 100644 page/img/6.png create mode 100644 page/img/7.png create mode 100644 page/img/8.png create mode 100644 page/img/9.png create mode 100644 page/img/abg.png create mode 100644 page/img/share.png create mode 100644 page/record/record.js create mode 100644 page/record/record.json create mode 100644 page/record/record.wxml create mode 100644 page/record/record.wxss create mode 100644 page/shareList/shareList.js create mode 100644 page/shareList/shareList.json create mode 100644 page/shareList/shareList.wxml create mode 100644 page/shareList/shareList.wxss create mode 100644 page/shetai/shetai.js create mode 100644 page/shetai/shetai.json create mode 100644 page/shetai/shetai.wxml create mode 100644 page/shetai/shetai.wxss create mode 100644 project.private.config.json diff --git a/app.js b/app.js index 649b3b0..a5be445 100644 --- a/app.js +++ b/app.js @@ -322,7 +322,7 @@ App({ }, 300); }, - towxml: new Towxml(), + // towxml: new Towxml(), //全局信息 globalData: { userInfo: null, diff --git a/app.json b/app.json index e8c2087..fac4ead 100644 --- a/app.json +++ b/app.json @@ -1,5 +1,6 @@ { "pages": [ + "page/begin/begin", "page/systemTest/systemTest", "page/twoTest/twoTest", @@ -10,7 +11,11 @@ "page/testHistory/testHistory", "page/gradeOrder/gradeOrder", "page/phone/phone", - "page/login/login" + "page/login/login", + + "page/record/record", + "page/shareList/shareList", + "page/shetai/shetai" ], "window": { "backgroundTextStyle": "dark", @@ -18,7 +23,7 @@ "navigationBarTitleText": "FastAdmin", "navigationBarTextStyle": "white" }, - "tabBar": { + "tabBar": { "color": "#000", "selectedColor": "#209F84", "position": "bottom", @@ -50,5 +55,8 @@ "downloadFile": 10000 }, "debug": true, - "sitemapLocation": "sitemap.json" + "sitemapLocation": "sitemap.json", + "useExtendedLib": { + "weui": true + } } \ No newline at end of file diff --git a/app.wxss b/app.wxss index a40723b..6dc816c 100644 --- a/app.wxss +++ b/app.wxss @@ -37,6 +37,7 @@ page{ height:82rpx !important; background:transparent; padding:0 !important; + z-index:9 } .zixun::after{ border: none; diff --git a/assets/images/pic.png b/assets/images/pic.png new file mode 100644 index 0000000000000000000000000000000000000000..45181349771e5d6a666213d2b004eb4ecf732330 GIT binary patch literal 2444 zcma)8`#;nBAOBEeb`}j`j9iZUUB!?~GscwKD3=(KQCO3E@^xv=a+#yAI0!WjOY9)z zl1{b|X&kp))?yDvay_S<4o7F5$M+BTz8{a*`}M=?@p`@9@7L?`d_7-x&Us-DK~y0C z037mgN8`mhTP)YXQsO)1S?>d}l8D1&P(b5b#0mh&xOt#Y`6Lt8Dx#thzDN3br3u#W zCrK_n03&P3v4toI1|kBVOD|J#Zvgl04(L) zkc+0Xt|@b=uq3_LIaI{?TYQz->4?DfjPY|3lCLhb0kBeY4EulQxgDJB!ZO*nO1f+z|qB@6`7 zmh-~>L7;3q-ew4B|Ez@8K`R9G)m?}M0@?>U5`t8brQU*r8=XgV`Xd~8yD^*mUodz@ z3#gC}Y{DyUX7$Ea9A3cKWlrmrLfj3V4gyZ&uj%t6I73%!C?=;2o@5Bc%;nS=XmAP{ z#J(U12iDFo%;_gTsw<5x=_PX;B6Aij5r$WZb4&|Ftno}%vQQ|zro(X5?mWGw0SkU| zp*}1vEv=UEh(ku>*spq8m)1ZTJxu&5v7u-mH>^ zl=q3VZD|{RDs;+mfq6cQ#j+_LS}dUrY_@!!ZX`rJ4+K9nBbBKC8)?Rjxd#He&9PV- z@@m=Ac{@uLS@nDJp+e-_UD%cg_nW_;-?JJvd!zP$mdiTKo05Q|s-CX)jlt$8Yn?sN z>_)sylYPQRAJLmPZ^i%%6$_>^kw~P9kJsv7mWWQQ?f~iX=$fOD;7>AbabIEvjY^atbg3 z-t!E9yAwt8trqtajWb{Dfno;L5X_TQotztnJK;$D`ws?-mI&OqXNNhba9avvSTIjx z5C+rW^dcK1HU)}N{ES~8B0uVWi5m<3YKrZ_mLfd!(M8 zp43U+tOxqzE$3@ezzO~B4Pf(hYXDy$5TrlR#nzB(V-ECh3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x!TNVJROSiqIN}}WYnx9DiyAM2;+usfWeT1Aer@W&zuFAqjd3SpT9CjK~ zAjy^O(`{>{ + let obj = { + title:'', + kindnum:null, + advice_content:"", + pic:'', + mini_shop_url:'' + } + obj.title=item.title; + obj.kindnum=item.kindnum; + obj.advice_content = item.advice_content; + obj.pic = `../img/${item.kindnum}.png` + obj.mini_shop_url = item.mini_shop_url + piclist.push(obj) + }) + that.setData({picList:piclist}) + // WxParse.wxParse('advice_content', 'html',item.advice_content, that, 5); + // WxParse.wxParse('causes_content', 'html', item.causes_content, that, 5); + // WxParse.wxParse('environment_content', 'html', item.environment_content, that, 5); + // WxParse.wxParse('expression_content', 'html', item.expression_content, that, 5); + // WxParse.wxParse('features_content', 'html', item.features_content, that, 5); + // WxParse.wxParse('psychology_content', 'html', item.psychology_content, that, 5); + // WxParse.wxParse('item.tend_content', 'html', item.tend_content, that, 5); } typeof cb == 'function' && cb(data); }, function (data, ret) { @@ -136,7 +164,22 @@ Page({ this.getinfo(); }, //打开另外的小程序 - goOther(){ + goOther(e){ + console.log(e.currentTarget.dataset.path) + wx.navigateToMiniProgram({ + appId: 'wxb1640083b8804601', + // path: this.data.detail.mini_shop_url, + path:e.currentTarget.dataset.path, + extraData: { + foo: 'bar' + }, + envVersion: 'release', + success(res) { + // 打开成功 + } + }) + }, + goOther1(){ wx.navigateToMiniProgram({ appId: 'wxb1640083b8804601', path: this.data.detail.mini_shop_url, diff --git a/page/constitutionAnalyse/constitutionAnalyse.wxml b/page/constitutionAnalyse/constitutionAnalyse.wxml index ddf25bd..89b9c6f 100644 --- a/page/constitutionAnalyse/constitutionAnalyse.wxml +++ b/page/constitutionAnalyse/constitutionAnalyse.wxml @@ -1,10 +1,11 @@ - - + + + - + + + {{item.title}}分析 迁延倾向 -