6.30 版本提交
This commit is contained in:
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/app.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/app.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"names":["_sfc_main","onLaunch","common_vendor","index","__f__","windowInfo","getWindowInfo","provide","statusBarHeight","windowWidth","safeArea","top","safeAreaBottom","safeAreaInsets","bottom","menuButtonInfo","getMenuButtonBoundingClientRect","height","onShow","onHide","createApp","app","createSSRApp"],"sources":["App.vue","main.js"],"sourcesContent":["<script>\n\timport { provide } from 'vue'\n\t\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\n\t\t\t\n\t\t\tlet windowInfo = uni.getWindowInfo()\n\t\t\tprovide('statusHeight',windowInfo.statusBarHeight)\n\t\t\tprovide('windowWidth',windowInfo.windowWidth)\n\t\t\tprovide('safeAreaTop',windowInfo.safeArea.top)\n\t\t\tvar safeAreaBottom = windowInfo.safeAreaInsets.bottom\n\t\t\tlet menuButtonInfo = uni.getMenuButtonBoundingClientRect();\n\t\t\tprovide('navHeight',menuButtonInfo.bottom + menuButtonInfo.top - windowInfo.statusBarHeight)\n\t\t\tprovide('menuTop',menuButtonInfo.top)\n\t\t\tprovide('menuHeight',menuButtonInfo.height)\n\t\t\tprovide('isiPhoneX',safeAreaBottom==34?true:false)\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/*每个页面公共css */\n\t.flex\n\t{\n\t display: flex;\n\t align-items: center;\n\t}\n\t.flexCenter \n\t{\n\t display: flex;\n\t align-items: center;\n\t justify-content: center;\n\t}\n\t.flexColumn \n\t{\n\t display: flex;\n\t flex-direction: column;\n\t}\n\t.flexColumnCenter\n\t{\n\t display: flex;\n\t flex-direction: column;\n\t align-items: center;\n\t}\n\t.flex1 \n\t{\n\t flex: 1;\n\t}\n\t.flexWrap \n\t{\n\t display: flex;\n\t flex-wrap: wrap;\n\t}\n\t.flexStretch \n\t{\n\t\tdisplay: flex;\n\t\talign-items: stretch;\n\t}\n\t.between \n\t{\n\t justify-content: space-between;\n\t}\n\t.flexEnd \n\t{\n\t display: flex;\n\t align-items: center;\n\t justify-content: flex-end;\n\t}\n\t.relative \n\t{\n\t position: relative;\n\t}\n\t.absolute \n\t{\n\t position: absolute;\n\t}\n\t.fixed \n\t{\n\t position: fixed;\n\t}\n\tview,input,textarea,scroll-view,swiper\n\t{\n\t box-sizing: border-box;\n\t}\n\tbutton\n\t{\n\t\tbackground-color: transparent;\n\t}\n\tbutton::after\n\t{\n\t\tborder: none;\n\t}\n\t::-webkit-scrollbar\n\t{\n\t color: transparent;\n\t width: 0;\n\t}\r\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"mappings":";;;;;;;;;;;;;;;;;AAGC,IAAKA,SAAA,GAAU;EACdC,QAAA,EAAU,SAAVA,SAAA,EAAqB;IACpBC,aAAA,CAAAC,KAAA,CAAYC,KAAA,oCAAY;IAExB,IAAIC,UAAA,GAAaH,aAAA,CAAGC,KAAA,CAACG,aAAA,EAAc;IACnCJ,aAAA,CAAAK,OAAA,CAAQ,gBAAeF,UAAA,CAAWG,eAAe;IACjDN,aAAA,CAAAK,OAAA,CAAQ,eAAcF,UAAA,CAAWI,WAAW;IAC5CP,aAAA,CAAAK,OAAA,CAAQ,eAAcF,UAAA,CAAWK,QAAA,CAASC,GAAG;IAC7C,IAAIC,cAAA,GAAiBP,UAAA,CAAWQ,cAAA,CAAeC,MAAA;IAC/C,IAAIC,cAAA,GAAiBb,aAAA,CAAAC,KAAA,CAAIa,+BAAA;IACzBd,aAAA,CAAOK,OAAA,CAAC,aAAYQ,cAAA,CAAeD,MAAA,GAASC,cAAA,CAAeJ,GAAA,GAAMN,UAAA,CAAWG,eAAe;IAC3FN,aAAA,CAAAK,OAAA,CAAQ,WAAUQ,cAAA,CAAeJ,GAAG;IACpCT,aAAA,CAAAK,OAAA,CAAQ,cAAaQ,cAAA,CAAeE,MAAM;IAC1Cf,aAAA,CAAAK,OAAA,CAAQ,aAAYK,cAAA,IAAgB,KAAG,OAAK,KAAK;EACjD;EACDM,MAAA,EAAQ,SAARA,OAAA,EAAmB;IAClBhB,aAAA,CAAAC,KAAA,CAAYC,KAAA,mCAAU;EACtB;EACDe,MAAA,EAAQ,SAARA,OAAA,EAAmB;IAClBjB,aAAA,CAAAC,KAAA,CAAYC,KAAA,mCAAU;EACvB;AACD;ACTM,SAASgB,UAAA,EAAY;EAC1B,IAAMC,GAAA,GAAMnB,aAAA,CAAYoB,YAAA,CAACtB,SAAG;EAC5B,OAAO;IACLqB,GAAA,EAAAA;EACD;AACH","ignoreList":[]}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/index.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/index.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/invest/invest.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/invest/invest.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/mine/commentReply/commentReply.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/mine/commentReply/commentReply.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\n\timport { provide } from 'vue'\n\t\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\n\t\t\t\n\t\t\tlet windowInfo = uni.getWindowInfo()\n\t\t\tprovide('statusHeight',windowInfo.statusBarHeight)\n\t\t\tprovide('windowWidth',windowInfo.windowWidth)\n\t\t\tprovide('safeAreaTop',windowInfo.safeArea.top)\n\t\t\tvar safeAreaBottom = windowInfo.safeAreaInsets.bottom\n\t\t\tlet menuButtonInfo = uni.getMenuButtonBoundingClientRect();\n\t\t\tprovide('navHeight',menuButtonInfo.bottom + menuButtonInfo.top - windowInfo.statusBarHeight)\n\t\t\tprovide('menuTop',menuButtonInfo.top)\n\t\t\tprovide('menuHeight',menuButtonInfo.height)\n\t\t\tprovide('isiPhoneX',safeAreaBottom==34?true:false)\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/*每个页面公共css */\n\t.flex\n\t{\n\t display: flex;\n\t align-items: center;\n\t}\n\t.flexCenter \n\t{\n\t display: flex;\n\t align-items: center;\n\t justify-content: center;\n\t}\n\t.flexColumn \n\t{\n\t display: flex;\n\t flex-direction: column;\n\t}\n\t.flexColumnCenter\n\t{\n\t display: flex;\n\t flex-direction: column;\n\t align-items: center;\n\t}\n\t.flex1 \n\t{\n\t flex: 1;\n\t}\n\t.flexWrap \n\t{\n\t display: flex;\n\t flex-wrap: wrap;\n\t}\n\t.flexStretch \n\t{\n\t\tdisplay: flex;\n\t\talign-items: stretch;\n\t}\n\t.between \n\t{\n\t justify-content: space-between;\n\t}\n\t.flexEnd \n\t{\n\t display: flex;\n\t align-items: center;\n\t justify-content: flex-end;\n\t}\n\t.relative \n\t{\n\t position: relative;\n\t}\n\t.absolute \n\t{\n\t position: absolute;\n\t}\n\t.fixed \n\t{\n\t position: fixed;\n\t}\n\tview,input,textarea,scroll-view,swiper\n\t{\n\t box-sizing: border-box;\n\t}\n\tbutton\n\t{\n\t\tbackground-color: transparent;\n\t}\n\tbutton::after\n\t{\n\t\tborder: none;\n\t}\n\t::-webkit-scrollbar\n\t{\n\t color: transparent;\n\t width: 0;\n\t}\r\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","provide","createSSRApp","App"],"mappings":";;;;;;;;;;;;;;;;;;AAGC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,YAAY;AAExB,QAAI,aAAaA,cAAG,MAAC,cAAc;AACnCC,0BAAQ,gBAAe,WAAW,eAAe;AACjDA,0BAAQ,eAAc,WAAW,WAAW;AAC5CA,kBAAAA,QAAQ,eAAc,WAAW,SAAS,GAAG;AAC7C,QAAI,iBAAiB,WAAW,eAAe;AAC/C,QAAI,iBAAiBD,oBAAI;AACzBC,kBAAO,QAAC,aAAY,eAAe,SAAS,eAAe,MAAM,WAAW,eAAe;AAC3FA,0BAAQ,WAAU,eAAe,GAAG;AACpCA,0BAAQ,cAAa,eAAe,MAAM;AAC1CA,kBAAAA,QAAQ,aAAY,kBAAgB,KAAG,OAAK,KAAK;AAAA,EACjD;AAAA,EACD,QAAQ,WAAW;AAClBD,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACTM,SAAS,YAAY;AAC1B,QAAM,MAAME,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"assets.js","sources":["static/image/mine/myTopBg.png","static/icon/home/search.png","static/icon/home/sort.png","static/icon/home/screen.png","static/icon/home/downArrow.png","static/icon/home/upArrow.png","static/icon/home/browser.png","static/icon/home/comment.png","static/icon/home/follow.png","static/icon/home/sortArrow.png","static/icon/backBlack.png","static/icon/home/monthLeftArrow.png","static/icon/home/monthRightArrow.png","static/icon/invest/calendar.png","static/icon/invest/downArrow.png","static/icon/invest/star.png","static/icon/invest/star_s.png","static/icon/mine/infoArrow.png","static/image/mine/vipBg.png","static/icon/mine/menuArrow.png","static/icon/mine/basicInfo/edit.png","static/icon/mine/basicInfo/downArrow.png","static/icon/home/close.png","static/icon/home/like.png","static/icon/home/commentArrow.png","static/image/mine/vip/noVipTopBg.png","static/icon/mine/vip/titleLeft.png","static/icon/mine/vip/titleRight.png","static/icon/mine/vip/step1.png","static/icon/mine/vip/step2.png","static/icon/mine/vip/step3.png","static/icon/mine/vip/step4.png","static/icon/mine/vip/investQuestion.png","static/icon/mine/vip/industrialResearch.png","static/icon/mine/vip/operatingDecision.png","static/icon/mine/vip/notContain.png","static/icon/mine/vip/contain.png","static/icon/back.png"],"sourcesContent":["export default \"__VITE_ASSET__5fa412ef__\"","export default \"__VITE_ASSET__a6769d8d__\"","export default \"__VITE_ASSET__6962204a__\"","export default \"__VITE_ASSET__71044d4b__\"","export default \"__VITE_ASSET__203699ab__\"","export default \"__VITE_ASSET__cc0389a6__\"","export default \"__VITE_ASSET__7cd87439__\"","export default \"__VITE_ASSET__daebfbd0__\"","export default \"__VITE_ASSET__1f2a5e37__\"","export default \"__VITE_ASSET__de10f7fa__\"","export default \"__VITE_ASSET__e2320cab__\"","export default \"__VITE_ASSET__974f8fc2__\"","export default \"__VITE_ASSET__57ca72fb__\"","export default \"__VITE_ASSET__eb8bf017__\"","export default \"__VITE_ASSET__630a6d4a__\"","export default \"__VITE_ASSET__fe71e3f1__\"","export default \"__VITE_ASSET__23c2df30__\"","export default \"__VITE_ASSET__2e594dd9__\"","export default \"__VITE_ASSET__2b2d691f__\"","export default \"__VITE_ASSET__86305802__\"","export default \"__VITE_ASSET__ad2f6284__\"","export default \"__VITE_ASSET__44fecaaf__\"","export default \"__VITE_ASSET__e8755299__\"","export default \"__VITE_ASSET__bef4ccc5__\"","export default \"__VITE_ASSET__5c9a86ab__\"","export default \"__VITE_ASSET__096e7c16__\"","export default \"__VITE_ASSET__2210831a__\"","export default \"__VITE_ASSET__f9458b75__\"","export default \"__VITE_ASSET__8f6f77dc__\"","export default \"__VITE_ASSET__e39ac093__\"","export default \"__VITE_ASSET__58011613__\"","export default \"__VITE_ASSET__3cba2a86__\"","export default \"__VITE_ASSET__5b5c420a__\"","export default \"__VITE_ASSET__e926c7c2__\"","export default \"__VITE_ASSET__69b7546d__\"","export default \"__VITE_ASSET__b09f3baf__\"","export default \"__VITE_ASSET__aa7209c5__\"","export default \"__VITE_ASSET__c9455274__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,cAAA;ACAf,MAAe,cAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,cAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/navBar/navBar.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/navBar/navBar.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/conceptDetails/conceptDetails.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/conceptDetails/conceptDetails.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"conceptDetails.js","sources":["pages/index/conceptDetails/conceptDetails.vue","pages/index/conceptDetails/conceptDetails.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar leftText=\"相关概念详情\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/mine/myTopBg.png\" mode=\"widthFix\"></image>\n\t\t<view class=\"conceptDetailsC fixed\" :style=\"'top:'+navH+'px;'\">\n\t\t\t<view class=\"title\">外骨骼机器人(250501)</view>\n\t\t\t<view class=\"time\">2025-05-08 08:43</view>\n\t\t\t<view class=\"content\">四部门联合启动的人力资源服务业与制造业融合发展试点,主要目的是推动人力资源服务向高端制造渗透,促进产业升级。而外骨骼机器人属于高端制造领域的重要创新产品之一,其发展需要人力资源服务业的支持,例如技术人才的输送、产业工人培训等。同时,外骨骼机器人在消费级市场的推广和应用也符合制造业与服务业融合发展的方向。因此,该政策试点对外骨骼机器人行业具有潜在利好影响。</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport { inject } from 'vue';\n\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight')\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.topBg\n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\n.conceptDetailsC \n{\n\tbackground-color: white;\n\tmargin-top: 10rpx;\n\tpadding: 20rpx 25rpx;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tborder-radius: 20rpx 20rpx 0 0;\n\t.title \n\t{\n\t\tfont-size: 30rpx;\n\t\tfont-weight: bold;\n\t\tcolor: #222;\n\t}\n\t.time \n\t{\n\t\tmargin-top: 10rpx;\n\t\tfont-size: 22rpx;\n\t\tfont-weight: 500;\n\t\tcolor: #AAA;\n\t}\n\t.content \n\t{\n\t\tmargin-top: 30rpx;\n\t\tfont-size: 26rpx;\n\t\tfont-weight: 500;\n\t\tcolor: #666;\n\t}\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/index/conceptDetails/conceptDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject"],"mappings":";;;AAeC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,IACxB;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;;;;;;;;;;;;;;;ACvBD,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/eventDetails/eventDetails.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/eventDetails/eventDetails.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/stockDetails/stockDetails.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/stockDetails/stockDetails.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"stockDetails.js","sources":["pages/index/stockDetails/stockDetails.vue","pages/index/stockDetails/stockDetails.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar leftText=\"科锐国际(300662.SZ)\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/mine/myTopBg.png\" mode=\"widthFix\"></image>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.topBg\n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/index/stockDetails/stockDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;AAQC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO,CAEP;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;;;;;;;;;;;;;;AChBD,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/invest/invest.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/invest/invest.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/invest/investDetails/investDetails.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/invest/investDetails/investDetails.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/basicInfo/basicInfo.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/basicInfo/basicInfo.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/commentReply/commentReply.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/commentReply/commentReply.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/feedback/feedback.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/feedback/feedback.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"feedback.js","sources":["pages/mine/feedback/feedback.vue","pages/mine/feedback/feedback.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar leftText=\"意见反馈\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/mine/myTopBg.png\" mode=\"widthFix\"></image>\n\t\t<view class=\"feedbackC fixed\" :style=\"'top:'+navH+'px;'\">\n\t\t\t<view class=\"textareaC\">\n\t\t\t\t<textarea placeholder=\"请输入您要反馈的问题(200 字以内)\" placeholder-style=\"color:#C5C5C5\" maxlength=\"200\"></textarea>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"submit fixed\">提交</view>\n\t</view>\n</template>\n\n<script>\n\timport { inject } from 'vue';\n\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight'),\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\t\t\t\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.topBg\n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\n.feedbackC\n{\n\tbackground-color: white;\n\tmargin-top: 10rpx;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tpadding: 43rpx 25rpx 0;\n\tborder-radius: 20rpx 20rpx 0 0;\n\t.textareaC\n\t{\n\t\tbackground-color: #F3F6F9;\n\t\tborder-radius: 20rpx;\n\t\tpadding: 20rpx 27rpx;\n\t\ttextarea \n\t\t{\n\t\t\twidth: 100%;\n\t\t\theight: 400rpx;\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-weight: 500;\n\t\t}\n\t}\n}\n.submit \n{\n\tbackground-color: #F97316;\n\tleft: 0;\n\tright: 0;\n\tbottom: 73rpx;\n\tmargin: 0 25rpx;\n\tline-height: 80rpx;\n\tborder-radius: 20rpx;\n\tfont-size: 26rpx;\n\tfont-weight: 500;\n\tcolor: white;\n\ttext-align: center;\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/mine/feedback/feedback.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject"],"mappings":";;;AAgBC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,IAExB;AAAA,EACA;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS,CAET;AACD;;;;;;;;;;;;;;;;;;;AC5BD,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/investPreference/investPreference.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/investPreference/investPreference.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/vip/vip.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/vip/vip.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/vipMeal/vipMeal.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/vipMeal/vipMeal.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/request/api.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/request/api.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/request/http.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/request/http.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"http.js","sources":["request/http.js"],"sourcesContent":["\nlet baseURL = ''\n\nif (process.env.NODE_ENV==='development') {\n\t// baseURL = 'https://admin.zleniao.com'\n\tbaseURL = 'https://app.valuefrontier.cn'\n} else{\n\t// baseURL = 'https://admin.zleniao.com'\n\tbaseURL = 'https://app.valuefrontier.cn'\n}\n\nexport function getBaseURL() {\n\treturn baseURL\n}\n\n/**\n * get方法,对应get请求\n * @param {String} url [请求的url地址]\n * @param {Object} params [请求时携带的参数]\n */\nexport function get(url, params){ \n return new Promise((resolve, reject) =>{ \n\t\tlet token = uni.getStorageSync('token')\n uni.request({\n \turl:baseURL+url,\n\t\t\tdata:params,\n\t\t\theader:{\n\t\t\t\t'Accept':'application/json',\n\t\t\t\t'Content-Type':'application/x-www-form-urlencoded',\n\t\t\t\t'token':token?token:''\n\t\t\t},\n\t\t\tmethod:\"GET\",\n\t\t\tsuccess:(response) =>{\n\t\t\t\tconsole.log(response)\n\t\t\t\tif (response.data.code==-200) {\n\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\turl:'/pages/login/login',\n\t\t\t\t\t})\n\t\t\t\t} else{\n\t\t\t\t\tresolve(response.data)\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail:(error) =>{\n\t\t\t\treject(error.response)\n\t\t\t}\n })\n\t});\n}\n\n/** \n * post方法,对应post请求 \n * @param {String} url [请求的url地址] \n * @param {Object} params [请求时携带的参数] \n */\nexport function post(url, params) {\n return new Promise((resolve, reject) => {\n\t\tlet token = uni.getStorageSync('token')\n\t\tlet isJson = 0\n\t\tif(params)\n\t\t{\n\t\t\tisJson = params.isJson\n\t\t}\n uni.request({\n \turl:baseURL+url,\n \tdata:params,\n \theader:{\n \t\t'Accept':'application/json',\n \t\t'Content-Type':isJson?'application/json':'application/x-www-form-urlencoded',\n\t\t\t\t'token':token?token:''\n \t},\n \tmethod:\"POST\",\n \tsuccess:(response) =>{\n\t\t\t\tconsole.log(JSON.parse(JSON.stringify(response)))\n\t\t\t\tif(response.header.token&&!params.isNotSaveToken)\n\t\t\t\t{\n\t\t\t\t\tuni.setStorageSync('token',response.header.token)\n\t\t\t\t}\n\t\t\t\tif (params&¶ms.isNotNeedLogin) {\n\t\t\t\t\t\n\t\t\t\t}else \n\t\t\t\t{\n\t\t\t\t\tif (response.data.code==-200) {\n\t\t\t\t\t\tuni.removeStorageSync('token')\n\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\turl:'/pages/login/login'\n\t\t\t\t\t\t})\n\t\t\t\t\t\treject(response.data)\n\t\t\t\t\t} else{\n\t\t\t\t\t\tresolve(response.data)\n\t\t\t\t\t}\n\t\t\t\t}\n \t},\n \tfail:(error) =>{\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle:'网络请求失败',\n\t\t\t\t\ticon:'none'\n\t\t\t\t})\n \t\treject(error.response)\n \t}\n })\n });\n}\n\n"],"names":["uni"],"mappings":";;AACA,IAAI,UAAU;AAE4B;AAE/B,YAAA;AACX;AAcgB,SAAA,IAAI,KAAK,QAAO;AAC5B,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAU;AACrC,QAAA,QAAQA,cAAAA,MAAI,eAAe,OAAO;AAChCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAI,UAAQ;AAAA,MAClB,MAAK;AAAA,MACL,QAAO;AAAA,QACN,UAAS;AAAA,QACT,gBAAe;AAAA,QACf,SAAQ,QAAM,QAAM;AAAA,MACrB;AAAA,MACA,QAAO;AAAA,MACP,SAAQ,CAAC,aAAY;AACpBA,sBAAAA,MAAA,MAAA,OAAA,yBAAY,QAAQ;AAChB,YAAA,SAAS,KAAK,QAAM,MAAM;AAC7BA,wBAAAA,MAAI,WAAW;AAAA,YACd,KAAI;AAAA,UAAA,CACJ;AAAA,QAAA,OACI;AACL,kBAAQ,SAAS,IAAI;AAAA,QACtB;AAAA,MACD;AAAA,MACA,MAAK,CAAC,UAAS;AACd,eAAO,MAAM,QAAQ;AAAA,MACtB;AAAA,IAAA,CACM;AAAA,EAAA,CACP;AACF;;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/utils/util.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/utils/util.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
48
unpackage/dist/dev/mp-weixin/app.js
vendored
Normal file
48
unpackage/dist/dev/mp-weixin/app.js
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
if (!Math) {
|
||||
"./pages/index/index.js";
|
||||
"./pages/invest/invest.js";
|
||||
"./pages/mine/mine.js";
|
||||
"./pages/mine/basicInfo/basicInfo.js";
|
||||
"./pages/mine/feedback/feedback.js";
|
||||
"./pages/mine/commentReply/commentReply.js";
|
||||
"./pages/mine/investPreference/investPreference.js";
|
||||
"./pages/index/eventDetails/eventDetails.js";
|
||||
"./pages/invest/investDetails/investDetails.js";
|
||||
"./pages/mine/vip/vip.js";
|
||||
"./pages/mine/vipMeal/vipMeal.js";
|
||||
"./pages/index/stockDetails/stockDetails.js";
|
||||
"./pages/index/conceptDetails/conceptDetails.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
onLaunch: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:6", "App Launch");
|
||||
let windowInfo = common_vendor.index.getWindowInfo();
|
||||
common_vendor.provide("statusHeight", windowInfo.statusBarHeight);
|
||||
common_vendor.provide("windowWidth", windowInfo.windowWidth);
|
||||
common_vendor.provide("safeAreaTop", windowInfo.safeArea.top);
|
||||
var safeAreaBottom = windowInfo.safeAreaInsets.bottom;
|
||||
let menuButtonInfo = common_vendor.index.getMenuButtonBoundingClientRect();
|
||||
common_vendor.provide("navHeight", menuButtonInfo.bottom + menuButtonInfo.top - windowInfo.statusBarHeight);
|
||||
common_vendor.provide("menuTop", menuButtonInfo.top);
|
||||
common_vendor.provide("menuHeight", menuButtonInfo.height);
|
||||
common_vendor.provide("isiPhoneX", safeAreaBottom == 34 ? true : false);
|
||||
},
|
||||
onShow: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:20", "App Show");
|
||||
},
|
||||
onHide: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:23", "App Hide");
|
||||
}
|
||||
};
|
||||
function createApp() {
|
||||
const app = common_vendor.createSSRApp(_sfc_main);
|
||||
return {
|
||||
app
|
||||
};
|
||||
}
|
||||
createApp().app.mount("#app");
|
||||
exports.createApp = createApp;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|
||||
45
unpackage/dist/dev/mp-weixin/app.json
vendored
Normal file
45
unpackage/dist/dev/mp-weixin/app.json
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/invest/invest",
|
||||
"pages/mine/mine",
|
||||
"pages/mine/basicInfo/basicInfo",
|
||||
"pages/mine/feedback/feedback",
|
||||
"pages/mine/commentReply/commentReply",
|
||||
"pages/mine/investPreference/investPreference",
|
||||
"pages/index/eventDetails/eventDetails",
|
||||
"pages/invest/investDetails/investDetails",
|
||||
"pages/mine/vip/vip",
|
||||
"pages/mine/vipMeal/vipMeal",
|
||||
"pages/index/stockDetails/stockDetails",
|
||||
"pages/index/conceptDetails/conceptDetails"
|
||||
],
|
||||
"window": {
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"custom": true,
|
||||
"list": [
|
||||
{
|
||||
"iconPath": "",
|
||||
"selectedIconPath": "",
|
||||
"text": "首页",
|
||||
"pagePath": "pages/index/index"
|
||||
},
|
||||
{
|
||||
"iconPath": "",
|
||||
"selectedIconPath": "",
|
||||
"text": "投资",
|
||||
"pagePath": "pages/invest/invest"
|
||||
},
|
||||
{
|
||||
"iconPath": "",
|
||||
"selectedIconPath": "",
|
||||
"text": "我的",
|
||||
"pagePath": "pages/mine/mine"
|
||||
}
|
||||
]
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
||||
78
unpackage/dist/dev/mp-weixin/app.wxss
vendored
Normal file
78
unpackage/dist/dev/mp-weixin/app.wxss
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
|
||||
/*每个页面公共css */
|
||||
.flex
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.flexCenter
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.flexColumn
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flexColumnCenter
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.flex1
|
||||
{
|
||||
flex: 1;
|
||||
}
|
||||
.flexWrap
|
||||
{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexStretch
|
||||
{
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
.between
|
||||
{
|
||||
justify-content: space-between;
|
||||
}
|
||||
.flexEnd
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.relative
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
.absolute
|
||||
{
|
||||
position: absolute;
|
||||
}
|
||||
.fixed
|
||||
{
|
||||
position: fixed;
|
||||
}
|
||||
view,input,textarea,scroll-view,swiper
|
||||
{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
button
|
||||
{
|
||||
background-color: transparent;
|
||||
}
|
||||
button::after
|
||||
{
|
||||
border: none;
|
||||
}
|
||||
::-webkit-scrollbar
|
||||
{
|
||||
color: transparent;
|
||||
width: 0;
|
||||
}
|
||||
page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}
|
||||
78
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
Normal file
78
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
"use strict";
|
||||
const _imports_0 = "/static/image/mine/myTopBg.png";
|
||||
const _imports_1$5 = "/static/icon/home/search.png";
|
||||
const _imports_2$6 = "/static/icon/home/sort.png";
|
||||
const _imports_3$4 = "/static/icon/home/screen.png";
|
||||
const _imports_4$4 = "/static/icon/home/downArrow.png";
|
||||
const _imports_5$4 = "/static/icon/home/upArrow.png";
|
||||
const _imports_1$4 = "/static/icon/home/browser.png";
|
||||
const _imports_2$5 = "/static/icon/home/comment.png";
|
||||
const _imports_3$3 = "/static/icon/home/follow.png";
|
||||
const _imports_9$1 = "/static/icon/home/sortArrow.png";
|
||||
const _imports_2$4 = "/static/icon/backBlack.png";
|
||||
const _imports_11 = "/static/icon/home/monthLeftArrow.png";
|
||||
const _imports_12 = "/static/icon/home/monthRightArrow.png";
|
||||
const _imports_2$3 = "/static/icon/invest/calendar.png";
|
||||
const _imports_3$2 = "/static/icon/invest/downArrow.png";
|
||||
const _imports_4$3 = "/static/icon/invest/star.png";
|
||||
const _imports_5$3 = "/static/icon/invest/star_s.png";
|
||||
const _imports_1$3 = "/static/icon/mine/infoArrow.png";
|
||||
const _imports_2$2 = "/static/image/mine/vipBg.png";
|
||||
const _imports_3$1 = "/static/icon/mine/menuArrow.png";
|
||||
const _imports_1$2 = "/static/icon/mine/basicInfo/edit.png";
|
||||
const _imports_2$1 = "/static/icon/mine/basicInfo/downArrow.png";
|
||||
const _imports_4$2 = "/static/icon/home/close.png";
|
||||
const _imports_5$2 = "/static/icon/home/like.png";
|
||||
const _imports_6$1 = "/static/icon/home/commentArrow.png";
|
||||
const _imports_1$1 = "/static/image/mine/vip/noVipTopBg.png";
|
||||
const _imports_2 = "/static/icon/mine/vip/titleLeft.png";
|
||||
const _imports_3 = "/static/icon/mine/vip/titleRight.png";
|
||||
const _imports_4$1 = "/static/icon/mine/vip/step1.png";
|
||||
const _imports_5$1 = "/static/icon/mine/vip/step2.png";
|
||||
const _imports_6 = "/static/icon/mine/vip/step3.png";
|
||||
const _imports_7 = "/static/icon/mine/vip/step4.png";
|
||||
const _imports_8 = "/static/icon/mine/vip/investQuestion.png";
|
||||
const _imports_9 = "/static/icon/mine/vip/industrialResearch.png";
|
||||
const _imports_10 = "/static/icon/mine/vip/operatingDecision.png";
|
||||
const _imports_4 = "/static/icon/mine/vip/notContain.png";
|
||||
const _imports_5 = "/static/icon/mine/vip/contain.png";
|
||||
const _imports_1 = "/static/icon/back.png";
|
||||
exports._imports_0 = _imports_0;
|
||||
exports._imports_1 = _imports_1$5;
|
||||
exports._imports_1$1 = _imports_1$4;
|
||||
exports._imports_1$2 = _imports_1$3;
|
||||
exports._imports_1$3 = _imports_1$2;
|
||||
exports._imports_1$4 = _imports_1$1;
|
||||
exports._imports_1$5 = _imports_1;
|
||||
exports._imports_10 = _imports_10;
|
||||
exports._imports_11 = _imports_11;
|
||||
exports._imports_12 = _imports_12;
|
||||
exports._imports_2 = _imports_2$6;
|
||||
exports._imports_2$1 = _imports_2$5;
|
||||
exports._imports_2$2 = _imports_2$4;
|
||||
exports._imports_2$3 = _imports_2$3;
|
||||
exports._imports_2$4 = _imports_2$2;
|
||||
exports._imports_2$5 = _imports_2$1;
|
||||
exports._imports_2$6 = _imports_2;
|
||||
exports._imports_3 = _imports_3$4;
|
||||
exports._imports_3$1 = _imports_3$3;
|
||||
exports._imports_3$2 = _imports_3$2;
|
||||
exports._imports_3$3 = _imports_3$1;
|
||||
exports._imports_3$4 = _imports_3;
|
||||
exports._imports_4 = _imports_4$4;
|
||||
exports._imports_4$1 = _imports_4$3;
|
||||
exports._imports_4$2 = _imports_4$2;
|
||||
exports._imports_4$3 = _imports_4$1;
|
||||
exports._imports_4$4 = _imports_4;
|
||||
exports._imports_5 = _imports_5$4;
|
||||
exports._imports_5$1 = _imports_5$3;
|
||||
exports._imports_5$2 = _imports_5$2;
|
||||
exports._imports_5$3 = _imports_5$1;
|
||||
exports._imports_5$4 = _imports_5;
|
||||
exports._imports_6 = _imports_6$1;
|
||||
exports._imports_6$1 = _imports_6;
|
||||
exports._imports_7 = _imports_7;
|
||||
exports._imports_8 = _imports_8;
|
||||
exports._imports_9 = _imports_9$1;
|
||||
exports._imports_9$1 = _imports_9;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
||||
8005
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
Normal file
8005
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
125
unpackage/dist/dev/mp-weixin/components/navBar/navBar.js
vendored
Normal file
125
unpackage/dist/dev/mp-weixin/components/navBar/navBar.js
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
getApp();
|
||||
const _sfc_main = {
|
||||
name: "navBar",
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
menuH: common_vendor.inject("menuHeight"),
|
||||
navBarStyle: "",
|
||||
backTitleStyle: "",
|
||||
navTitleStyle: "",
|
||||
titleColor: this.navTitleColor,
|
||||
bgColor: this.navBgColor,
|
||||
num: this.peopleNum
|
||||
};
|
||||
},
|
||||
props: {
|
||||
leftText: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
backBlack: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
navTitle: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
navBgColor: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
navTitleColor: {
|
||||
type: String,
|
||||
default: "white"
|
||||
},
|
||||
hideBack: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
hideNavBg: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
backLevel: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
peopleNum: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
let navHeight = this.navH;
|
||||
let menuHeight = common_vendor.inject("menuHeight");
|
||||
let menuTop = common_vendor.inject("menuTop");
|
||||
if (this.hideNavBg) {
|
||||
this.bgColor = "transparent";
|
||||
}
|
||||
let navBarStyle = `background-color:${this.bgColor};height:${navHeight}px;`;
|
||||
let backTitleStyle = `height:${menuHeight}px;margin-top:${menuTop}px;color:${this.titleColor}`;
|
||||
let navTitleStyle = `height:${menuHeight}px;line-height:${menuHeight}px;top:${menuTop}px;color:${this.titleColor}`;
|
||||
this.navBarStyle = navBarStyle;
|
||||
this.backTitleStyle = backTitleStyle;
|
||||
this.navTitleStyle = navTitleStyle;
|
||||
},
|
||||
watch: {
|
||||
navTitleColor: {
|
||||
handler(newVal, oldVal) {
|
||||
this.titleColor = newVal;
|
||||
}
|
||||
},
|
||||
navBgColor: {
|
||||
handler(newVal, oldVal) {
|
||||
this.bgColor = newVal;
|
||||
}
|
||||
},
|
||||
peopleNum: {
|
||||
handler(newVal, oldVal) {
|
||||
this.num = newVal;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
clickBack() {
|
||||
common_vendor.index.navigateBack({
|
||||
fail() {
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_assets._imports_0,
|
||||
b: !$props.hideBack && !$props.backBlack
|
||||
}, !$props.hideBack && !$props.backBlack ? {
|
||||
c: common_assets._imports_1$5
|
||||
} : {}, {
|
||||
d: !$props.hideBack && $props.backBlack
|
||||
}, !$props.hideBack && $props.backBlack ? {
|
||||
e: common_assets._imports_2$2
|
||||
} : {}, {
|
||||
f: common_vendor.t($props.leftText),
|
||||
g: common_vendor.s($data.backTitleStyle),
|
||||
h: common_vendor.o((...args) => $options.clickBack && $options.clickBack(...args)),
|
||||
i: common_vendor.t($props.navTitle),
|
||||
j: $data.num > 0
|
||||
}, $data.num > 0 ? {
|
||||
k: common_vendor.t($data.num)
|
||||
} : {}, {
|
||||
l: common_vendor.s($data.navTitleStyle),
|
||||
m: common_vendor.s($data.navBarStyle)
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/navBar/navBar.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/navBar/navBar.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/navBar/navBar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="nav flex fixed" style="{{m}}"><image class="bg absolute" src="{{a}}" mode="widthFix"></image><view class="backC relative flex" style="{{g}}" bindtap="{{h}}"><image wx:if="{{b}}" class="icon" src="{{c}}" mode="widthFix"></image><image wx:if="{{d}}" class="icon" src="{{e}}" mode="widthFix"></image><text class="title">{{f}}</text></view><view class="titleC relative" style="{{l}}">{{i}} <view wx:if="{{j}}" class="peopleNum absolute"><view class="num">{{k}}人</view></view></view></view>
|
||||
73
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxss
vendored
Normal file
73
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxss
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.nav {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
overflow: hidden;
|
||||
}
|
||||
.nav .bg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.nav .backC {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.nav .backC .icon {
|
||||
margin-right: 12rpx;
|
||||
width: 32rpx;
|
||||
height: auto;
|
||||
}
|
||||
.nav .title {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.nav .titleC {
|
||||
position: absolute;
|
||||
left: calc((100% - 400rpx) / 2);
|
||||
width: 400rpx;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.nav .titleC .peopleNum {
|
||||
background-color: #3B9174;
|
||||
top: -15rpx;
|
||||
left: 270rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 15px 15px 15px 0px;
|
||||
line-height: 30rpx;
|
||||
font-size: 24rpx;
|
||||
color: white;
|
||||
}
|
||||
.nav .titleC .peopleNum .num {
|
||||
margin: 0 16rpx;
|
||||
}
|
||||
75
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.js
vendored
Normal file
75
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.js
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
// components/custom-tab-bar/index.js
|
||||
const app = getApp();
|
||||
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
color: "#858C9A",
|
||||
selected:0,
|
||||
selectedColor: "#F97316",
|
||||
list: [
|
||||
{
|
||||
"pagePath": "/pages/index/index",
|
||||
"text": "新闻动量",
|
||||
"iconPath": "/static/icon/tabbar/home.png",
|
||||
"selectedIconPath": "/static/icon/tabbar/home_s.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/invest/invest",
|
||||
"text": "投资日历",
|
||||
"iconPath": "/static/icon/tabbar/invest.png",
|
||||
"selectedIconPath": "/static/icon/tabbar/invest_s.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/mine/mine",
|
||||
"text": "个人中心",
|
||||
"iconPath": "/static/icon/tabbar/mine.png",
|
||||
"selectedIconPath": "/static/icon/tabbar/mine_s.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
attached() {
|
||||
this.setData({
|
||||
selected:app.globalData.tabIndex
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
switchTab(e) {
|
||||
const data = e.currentTarget.dataset;
|
||||
const url = data.path;
|
||||
const index = data.index
|
||||
// if(index==2||index==4)
|
||||
// {
|
||||
// //如果是购物车和我的,需要登录
|
||||
// let token = wx.getStorageSync('token')
|
||||
// if (!token) {
|
||||
// wx.navigateTo({
|
||||
// url:'/pages/login/login'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
// }
|
||||
app.globalData.tabIndex = index
|
||||
wx.switchTab({url})
|
||||
},
|
||||
navigateTo(e) {
|
||||
const data = e.currentTarget.dataset;
|
||||
const url = data.path;
|
||||
wx.navigateTo({
|
||||
url: url
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
3
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.json
vendored
Normal file
3
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
}
|
||||
8
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.wxml
vendored
Normal file
8
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.wxml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<!--components/custom-tab-bar/index.wxml-->
|
||||
<view class="tab-bar">
|
||||
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item {{item.bulge?'bulge':''}}" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="{{item.jump=='nav'?'navigateTo':'switchTab'}}">
|
||||
<image class="image" src="{{selected == index ? item.selectedIconPath : item.iconPath}}" mode="aspectFit"></image>
|
||||
<view wx:if="{{item.text}}" class="tab-bar-view"
|
||||
style="color: {{selected==index?selectedColor:color}};">{{item.text}}</view>
|
||||
</view>
|
||||
</view>
|
||||
55
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.wxss
vendored
Normal file
55
unpackage/dist/dev/mp-weixin/custom-tab-bar/index.wxss
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
/* components/custom-tab-bar/index.wxss */
|
||||
.tab-bar {
|
||||
background-color: white;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 55px;
|
||||
display: flex;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
box-sizing: content-box;
|
||||
box-shadow: 0 -1px 5rpx 0 #eee;
|
||||
z-index: 99;
|
||||
}
|
||||
.tab-bar-item
|
||||
{
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.tab-bar-item .image {
|
||||
margin: 16rpx 0 8rpx 0;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.bulge
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
.bulge .image
|
||||
{
|
||||
position: absolute;
|
||||
top: -47rpx;
|
||||
width: 94rpx;
|
||||
height: 94rpx;
|
||||
}
|
||||
.bulge .tab-bar-view
|
||||
{
|
||||
margin-top: 60rpx;
|
||||
}
|
||||
.tab-bar-item .tab-bar-view {
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.tab-bar .bg
|
||||
{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
z-index: -1;
|
||||
}
|
||||
31
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.js
vendored
Normal file
31
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.js
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight")
|
||||
};
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "相关概念详情"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.s("top:" + $data.navH + "px;")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/conceptDetails/conceptDetails.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="5d0be61e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="conceptDetailsC fixed" style="{{c}}"><view class="title">外骨骼机器人(250501)</view><view class="time">2025-05-08 08:43</view><view class="content">四部门联合启动的人力资源服务业与制造业融合发展试点,主要目的是推动人力资源服务向高端制造渗透,促进产业升级。而外骨骼机器人属于高端制造领域的重要创新产品之一,其发展需要人力资源服务业的支持,例如技术人才的输送、产业工人培训等。同时,外骨骼机器人在消费级市场的推广和应用也符合制造业与服务业融合发展的方向。因此,该政策试点对外骨骼机器人行业具有潜在利好影响。</view></view></view>
|
||||
32
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss
vendored
Normal file
32
unpackage/dist/dev/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.conceptDetailsC {
|
||||
background-color: white;
|
||||
margin-top: 10rpx;
|
||||
padding: 20rpx 25rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.conceptDetailsC .title {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.conceptDetailsC .time {
|
||||
margin-top: 10rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #AAA;
|
||||
}
|
||||
.conceptDetailsC .content {
|
||||
margin-top: 30rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
126
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.js
vendored
Normal file
126
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.js
vendored
Normal file
@@ -0,0 +1,126 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const request_api = require("../../../request/api.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
eventId: "",
|
||||
//事件id
|
||||
categoryList: ["相关标的", "相关概念", "历史事件", "时间传导链分析", "关联数据"],
|
||||
selectCategory: 0,
|
||||
headingList: ["名称代码", "分时图", "开盘价", "最新价", "涨跌幅"]
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
if (e.id) {
|
||||
this.eventId = e.id;
|
||||
this.getEventDetailsData();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击切换分类
|
||||
*/
|
||||
clickCategoryItem(index) {
|
||||
if (this.selectCategory != index) {
|
||||
this.selectCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击查看股票详情
|
||||
*/
|
||||
clickStockItem() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/index/stockDetails/stockDetails"
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 点击查看相关概念
|
||||
*/
|
||||
clickConceptItem() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/index/conceptDetails/conceptDetails"
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 点击评论
|
||||
*/
|
||||
clickComment() {
|
||||
this.$refs["popup"].open();
|
||||
},
|
||||
closeCommentPopup() {
|
||||
this.$refs["popup"].close();
|
||||
},
|
||||
/**
|
||||
* 获取事件详情数据
|
||||
*/
|
||||
getEventDetailsData() {
|
||||
let eventId = this.eventId;
|
||||
request_api.eventDetails(eventId).then((res) => {
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_easycom_navBar2 + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
const _easycom_uni_popup = () => "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_navBar + _easycom_uni_popup)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "事件详情"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.f($data.categoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectCategory == index
|
||||
}, $data.selectCategory == index ? {} : {}, {
|
||||
c: common_vendor.n("item relative " + ($data.selectCategory == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
d: $data.selectCategory == 0
|
||||
}, $data.selectCategory == 0 ? {
|
||||
e: common_vendor.f($data.headingList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
f: $data.selectCategory == 0
|
||||
}, $data.selectCategory == 0 ? {} : {}, {
|
||||
g: $data.selectCategory == 1
|
||||
}, $data.selectCategory == 1 ? {
|
||||
h: common_vendor.o(($event) => $options.clickConceptItem())
|
||||
} : {}, {
|
||||
i: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
j: common_assets._imports_1$1,
|
||||
k: common_assets._imports_2$1,
|
||||
l: common_vendor.o(($event) => $options.clickComment()),
|
||||
m: common_assets._imports_3$1,
|
||||
n: common_assets._imports_4$2,
|
||||
o: common_vendor.o(($event) => $options.closeCommentPopup()),
|
||||
p: common_assets._imports_5$2,
|
||||
q: common_assets._imports_6,
|
||||
r: common_assets._imports_5$2,
|
||||
s: common_vendor.sr("popup", "6e1a61f1-1"),
|
||||
t: common_vendor.p({
|
||||
type: "bottom"
|
||||
})
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/eventDetails/eventDetails.js.map
|
||||
7
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.json
vendored
Normal file
7
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar",
|
||||
"uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="6e1a61f1-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="eventDetailsC fixed" style="{{i}}"><view class="categoryTitleC"><view class="category">政策</view><text class="title">四部门联合启动人力资源服务业与制造业融合发展试点</text></view><view class="time">2025-05-08 08:43</view><view class="eventContent">人社部、工信部等四部门印发通知,明确在30个城市开展3年期试点,培育人力资源服务与制造业协同机构,打造融合平台和创新模式。政策</view><scroll-view scroll-x class="categoryList"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></scroll-view><view wx:if="{{d}}" class="headingList flex"><view wx:for="{{e}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view wx:if="{{f}}" class="targetList"><view class="item"><view class="nameCodePriceC flex"><view class="flex1"><view class="name">科锐国际</view><view class="code">300662.SZ</view></view><view class="flex1"></view><view class="price flex1">30.04</view><view class="price flex1">30.15</view><view class="chg flex1">+0.37%</view></view><view class="content"> 科锐国际作为灵活用工龙头企业,其业务高度契合政策推动的制造业高端人才引育方向。公司技术研发类岗位占比达70%,直接匹配政策要求 </view></view></view><view wx:if="{{g}}" class="conceptList"><view class="item relative" bindtap="{{h}}"><image class="cover" src="{{''}}" mode="aspectFill"></image><view class="infoC absolute"><view class="title">布鲁可IP衍生品(250109)</view><view class="content"> 四部门联合启动的人力资源服务业与制造业融合发展试点,主要目的是推动 人力资源服务... <text class="lookDetails">查看详情</text></view></view></view></view></view><view class="bottomC fixed flex"><view class="inputC flex1"><input type="text" placeholder="我来说两句..." placeholder-style="color:#666"/></view><view class="commentLikeNumC flex"><view class="item"><image class="icon" src="{{j}}" mode="widthFix"></image><view>64</view></view><view class="item" bindtap="{{l}}"><image class="icon" src="{{k}}" mode="widthFix"></image><view>28</view></view><view class="item"><image class="icon" src="{{m}}" mode="widthFix"></image><view>128</view></view></view></view><uni-popup wx:if="{{t}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="6e1a61f1-1" bind:__l="__l" u-p="{{t}}"><view class="popup"><view class="titleCloseC flex"><view class="title flex1">全部回复</view><view class="closeC" bindtap="{{o}}"><image class="icon" src="{{n}}" mode="widthFix"></image></view></view><view class="list"><view class="item"><view class="originComment"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">逸尘破晓</view><view class="content">四部门联合启动的人力资源服务业与制造业融合发展点,主要目的是推动人力资源服务向高端制造渗透。</view><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">15:37</view><view class="reply">回复</view></view><view class="likeC flex"><image class="icon" src="{{p}}" mode="widthFix"></image><view class="num">85</view></view></view><view class="totalCommentNumC flex"><view class="line"></view> 全部34条评论 <image class="arrow" src="{{q}}" mode="widthFix"></image></view></view></view><view class="replyList"><view class="replyItem"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">逸尘破晓</view><view class="content">四部门联合启动的人力资源服务业与制造业融合发展点,主要目的是推动人力资源服务向高端制造渗透。</view><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">15:37</view><view class="reply">回复</view></view><view class="likeC flex"><image class="icon" src="{{r}}" mode="widthFix"></image><view class="num">85</view></view></view></view></view></view></view></view><view class="popBottomC"><view class="inputC"><input type="text" placeholder="我来说两句..." placeholder-style="color:#666"/></view></view></view></uni-popup></view>
|
||||
334
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.wxss
vendored
Normal file
334
unpackage/dist/dev/mp-weixin/pages/index/eventDetails/eventDetails.wxss
vendored
Normal file
@@ -0,0 +1,334 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.eventDetailsC {
|
||||
background-color: white;
|
||||
margin-top: 10rpx;
|
||||
padding: 20rpx 0 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(20rpx + 70rpx + 20rpx + env(safe-area-inset-bottom));
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
.eventDetailsC .categoryTitleC {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.eventDetailsC .categoryTitleC .category {
|
||||
background-color: #FD9A14;
|
||||
margin-right: 12rpx;
|
||||
display: inline-block;
|
||||
padding: 0 11rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 8rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.eventDetailsC .categoryTitleC .title {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.eventDetailsC .time {
|
||||
margin: 20rpx 25rpx 0;
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #aaa;
|
||||
}
|
||||
.eventDetailsC .eventContent {
|
||||
margin: 22rpx 24rpx 0;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
.eventDetailsC .categoryList {
|
||||
white-space: nowrap;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.eventDetailsC .categoryList .item {
|
||||
display: inline-block;
|
||||
line-height: 60rpx;
|
||||
padding: 0 18rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #42485B;
|
||||
}
|
||||
.eventDetailsC .categoryList .item.select {
|
||||
font-weight: bold;
|
||||
color: #F97316;
|
||||
}
|
||||
.eventDetailsC .categoryList .item.select .line {
|
||||
background-color: #F97316;
|
||||
left: calc((100% - 50rpx)/2);
|
||||
bottom: 0;
|
||||
width: 50rpx;
|
||||
height: 2rpx;
|
||||
}
|
||||
.eventDetailsC .headingList {
|
||||
background-color: #F3F6F9;
|
||||
margin: 28rpx 25rpx 0;
|
||||
}
|
||||
.eventDetailsC .headingList .item {
|
||||
line-height: 55rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
}
|
||||
.eventDetailsC .targetList {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.eventDetailsC .targetList .item {
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.eventDetailsC .targetList .item .nameCodePriceC {
|
||||
padding: 20rpx 0;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.eventDetailsC .targetList .item .nameCodePriceC .code {
|
||||
font-size: 20rpx;
|
||||
font-weight: 500;
|
||||
color: #888;
|
||||
}
|
||||
.eventDetailsC .targetList .item .nameCodePriceC .price {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
text-align: center;
|
||||
}
|
||||
.eventDetailsC .targetList .item .nameCodePriceC .chg {
|
||||
color: #FF2929;
|
||||
}
|
||||
.eventDetailsC .targetList .item .content {
|
||||
font-size: 20rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.eventDetailsC .conceptList {
|
||||
padding: 30rpx 25rpx;
|
||||
}
|
||||
.eventDetailsC .conceptList .item .cover {
|
||||
background-color: red;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 350rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.eventDetailsC .conceptList .item .infoC {
|
||||
background: linear-gradient(to bottom, #00000080, #000);
|
||||
padding: 20rpx 23rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
color: white;
|
||||
}
|
||||
.eventDetailsC .conceptList .item .infoC .title {
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.eventDetailsC .conceptList .item .infoC .content {
|
||||
margin-top: 10rpx;
|
||||
font-size: 20rpx;
|
||||
font-weight: 500;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
.eventDetailsC .conceptList .item .infoC .content .lookDetails {
|
||||
color: #F97316;
|
||||
}
|
||||
.bottomC {
|
||||
padding: 20rpx 25rpx calc(20rpx + env(safe-area-inset-bottom));
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
box-shadow: 0px -1rpx 0px 0px #EEEEEE;
|
||||
}
|
||||
.bottomC .inputC {
|
||||
background-color: #F0F0F0;
|
||||
margin-right: 20rpx;
|
||||
padding: 0 33rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 35rpx;
|
||||
}
|
||||
.bottomC .inputC input {
|
||||
height: 100%;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.bottomC .commentLikeNumC .item {
|
||||
padding: 0 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
}
|
||||
.bottomC .commentLikeNumC .item .icon {
|
||||
width: 35rpx;
|
||||
height: auto;
|
||||
}
|
||||
.popup {
|
||||
background-color: white;
|
||||
}
|
||||
.popup .titleCloseC {
|
||||
padding-left: 25rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.popup .titleCloseC .closeC {
|
||||
padding: 28rpx;
|
||||
}
|
||||
.popup .titleCloseC .closeC .icon {
|
||||
width: 28rpx;
|
||||
height: auto;
|
||||
}
|
||||
.popup .list {
|
||||
margin: 0 25rpx;
|
||||
border-top: solid 1rpx #E4E4E4;
|
||||
max-height: 1200rpx;
|
||||
}
|
||||
.popup .list .item {
|
||||
padding-top: 30rpx;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.popup .list .item .originComment {
|
||||
display: flex;
|
||||
}
|
||||
.popup .list .item .originComment .avatar {
|
||||
background-color: red;
|
||||
margin-right: 23rpx;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.popup .list .item .originComment .nickname {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #111;
|
||||
}
|
||||
.popup .list .item .originComment .content {
|
||||
margin-top: 10rpx;
|
||||
line-height: 1.2rem;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.popup .list .item .originComment .timeReplyLikeC .time {
|
||||
margin-right: 36rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #aaa;
|
||||
}
|
||||
.popup .list .item .originComment .timeReplyLikeC .reply {
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #F97316;
|
||||
}
|
||||
.popup .list .item .originComment .timeReplyLikeC .likeC {
|
||||
padding: 14rpx 0;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #999;
|
||||
}
|
||||
.popup .list .item .originComment .timeReplyLikeC .likeC .icon {
|
||||
margin-right: 12rpx;
|
||||
width: 27rpx;
|
||||
height: auto;
|
||||
}
|
||||
.popup .list .item .originComment .timeReplyLikeC .likeC.like {
|
||||
color: #F97316;
|
||||
}
|
||||
.popup .list .item .originComment .totalCommentNumC {
|
||||
padding: 14rpx 0 22rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #999;
|
||||
}
|
||||
.popup .list .item .originComment .totalCommentNumC .line {
|
||||
background-color: #aaa;
|
||||
margin-right: 18rpx;
|
||||
width: 30rpx;
|
||||
height: 2rpx;
|
||||
}
|
||||
.popup .list .item .originComment .totalCommentNumC .arrow {
|
||||
margin-left: 14rpx;
|
||||
width: 13rpx;
|
||||
height: auto;
|
||||
}
|
||||
.popup .list .item .replyList {
|
||||
margin-left: 60rpx;
|
||||
border-top: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem {
|
||||
display: flex;
|
||||
padding: 22rpx 0;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .avatar {
|
||||
background-color: red;
|
||||
margin-right: 23rpx;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .nickname {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #111;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .content {
|
||||
margin-top: 10rpx;
|
||||
line-height: 1.2rem;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .timeReplyLikeC .time {
|
||||
margin-right: 36rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #aaa;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .timeReplyLikeC .reply {
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #F97316;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC {
|
||||
padding: 14rpx 0;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #999;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC .icon {
|
||||
margin-right: 12rpx;
|
||||
width: 27rpx;
|
||||
height: auto;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC.like {
|
||||
color: #F97316;
|
||||
}
|
||||
.popup .list .item .replyList .replyItem:last-child {
|
||||
border: none;
|
||||
}
|
||||
.popup .popBottomC {
|
||||
padding: 22rpx 25rpx calc(22rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.popup .popBottomC .inputC {
|
||||
background-color: #F0F0F0;
|
||||
padding: 0 33rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 35rpx;
|
||||
}
|
||||
.popup .popBottomC .inputC input {
|
||||
height: 100%;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
631
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
Normal file
631
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
Normal file
@@ -0,0 +1,631 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_api = require("../../request/api.js");
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
menuTop: common_vendor.inject("menuTop"),
|
||||
menuH: common_vendor.inject("menuHeight"),
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
contentTop: "",
|
||||
listTop: "",
|
||||
sortListTop: "",
|
||||
keywords: "",
|
||||
//关键词
|
||||
sortList: [],
|
||||
timeCategoryList: [],
|
||||
selectTimeCategory: 0,
|
||||
topCategoryList: ["全部", "大周期", "大消费", "大金融地产", "TMT板块", "公共产业板块"],
|
||||
selectTopCategory: 0,
|
||||
secondCategoryList: ["全部", "石油石化", "煤炭", "有色金属", "钢铁", "基础化工", "建筑材料"],
|
||||
selectSecondCategory: 0,
|
||||
screenCategoryList: ["日期范围", "行业分类", "重要性"],
|
||||
selectYearMonth: "",
|
||||
//选择的年月日
|
||||
startDate: "",
|
||||
//选择开始日期
|
||||
startTimeStamp: "",
|
||||
//开始日期时间戳
|
||||
endDate: "",
|
||||
//选择结束日期
|
||||
endTimeStamp: "",
|
||||
//结束日期时间戳
|
||||
weekList: ["一", "二", "三", "四", "五", "六", "日"],
|
||||
monthDateList: [],
|
||||
selectMonthIndex: 0,
|
||||
//选中月份下标
|
||||
selectMonth: "",
|
||||
//选中年月
|
||||
industryTopCategoryList: ["巨潮行业分类", "新财富行业分类", "申银万国行业分类", "证监会行业分类"],
|
||||
selectScreenCategory: 0,
|
||||
importanceList: [],
|
||||
//重要性数组
|
||||
selectImportanceIndex: 0,
|
||||
//选择重要性下标
|
||||
option: {
|
||||
tooltip: {
|
||||
trigger: "axis",
|
||||
axisPointer: {
|
||||
type: "shadow"
|
||||
},
|
||||
confine: true
|
||||
},
|
||||
grid: {
|
||||
left: "0%",
|
||||
right: "0%",
|
||||
top: "0%",
|
||||
bottom: "20%"
|
||||
},
|
||||
xAxis: [
|
||||
{
|
||||
type: "category",
|
||||
data: ["跌停", "跌停~5%", "5~1%", "1~0%", "平盘", "0~1%", "1~5%", "5%~涨停", "涨停"],
|
||||
axisTick: {
|
||||
show: false
|
||||
},
|
||||
axisLine: {
|
||||
show: false
|
||||
},
|
||||
axisLabel: {
|
||||
fontSize: 10,
|
||||
interval: "0",
|
||||
textStyle: {
|
||||
color: function(value, index) {
|
||||
return index == 0 ? "#355422" : index == 8 ? "#C00000" : "#515151";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
yAxis: [
|
||||
{
|
||||
type: "value",
|
||||
show: false,
|
||||
axisTick: { show: false }
|
||||
}
|
||||
],
|
||||
series: [
|
||||
{
|
||||
name: "热度",
|
||||
type: "bar",
|
||||
label: {
|
||||
show: true,
|
||||
position: "top",
|
||||
fontSize: 12
|
||||
},
|
||||
data: [
|
||||
{
|
||||
value: 0,
|
||||
itemStyle: { color: "#355422" },
|
||||
label: {
|
||||
textStyle: { color: "#355422" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 44,
|
||||
itemStyle: { color: "#35542299" },
|
||||
label: {
|
||||
textStyle: { color: "#355422" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 315,
|
||||
itemStyle: { color: "#355422CC" },
|
||||
label: {
|
||||
textStyle: { color: "#355422" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 1264,
|
||||
itemStyle: { color: "#355422" },
|
||||
label: {
|
||||
textStyle: { color: "#355422" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 1064,
|
||||
itemStyle: { color: "#ACB0C0" },
|
||||
label: {
|
||||
textStyle: { color: "#666" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 1809,
|
||||
itemStyle: { color: "#C00000" },
|
||||
label: {
|
||||
textStyle: { color: "#C00000" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 602,
|
||||
itemStyle: { color: "#C00000CC" },
|
||||
label: {
|
||||
textStyle: { color: "#C00000" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 44,
|
||||
itemStyle: { color: "#C0000099" },
|
||||
label: {
|
||||
textStyle: { color: "#C00000" }
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 0,
|
||||
itemStyle: { color: "#C00000" },
|
||||
label: {
|
||||
textStyle: { color: "#C00000" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
eventList: [],
|
||||
page: 1,
|
||||
loadAll: false,
|
||||
getRateStr: utils_util.getRateStr,
|
||||
getRateUpOrDown: utils_util.getRateUpOrDown,
|
||||
getLocaleTime: utils_util.getLocaleTime
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.contentTop = this.navH + (75 + 20) / 750 * common_vendor.inject("windowWidth");
|
||||
this.listTop = this.contentTop + (22 + 80 + 72 + 44 + 44) / 750 * common_vendor.inject("windowWidth");
|
||||
this.sortListTop = this.navH + (22 + 80 + 80) / 750 * common_vendor.inject("windowWidth");
|
||||
this.getEventFilterListData();
|
||||
this.getEventListData();
|
||||
let currentDate = /* @__PURE__ */ new Date();
|
||||
let currentYear = currentDate.getFullYear();
|
||||
let currentMonth = currentDate.getMonth() + 1;
|
||||
let currentDay = currentDate.getDate();
|
||||
let monthDateList = [];
|
||||
this.selectMonthIndex = 20 * 12 + currentMonth - 1;
|
||||
this.selectMonth = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth);
|
||||
for (var i = currentYear - 20; i < currentYear + 20; i++) {
|
||||
for (var j = 0; j < 12; j++) {
|
||||
let date = new Date(i, j + 1, 0);
|
||||
let firstDayOfMonth = new Date(i, j + 1, 0);
|
||||
firstDayOfMonth.setDate(1);
|
||||
let currentMonthDay = date.getDate();
|
||||
let firstDayWeek = firstDayOfMonth.getDay() || 7;
|
||||
let daysOfMonth = [];
|
||||
for (var k = 1; k <= currentMonthDay; k++) {
|
||||
let newDate = new Date(i, j + 1, 0);
|
||||
newDate.setDate(k);
|
||||
let newMonth = newDate.getMonth() + 1;
|
||||
let newDay = newDate.getDate();
|
||||
let time = newDate.getTime();
|
||||
let date2 = i + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfMonth.push({ date: date2, year: i, month: newMonth, day: newDay, isToday: i == currentYear && newMonth == currentMonth && newDay == currentDay ? true : false, isCurrentMonth: true, timestamp: time });
|
||||
}
|
||||
for (var k = 0; k < firstDayWeek - 1; k++) {
|
||||
let year = i;
|
||||
let month = j;
|
||||
if (j < 1) {
|
||||
year = i - 1;
|
||||
month = 12;
|
||||
}
|
||||
let lastMonthDay = new Date(year, month, 0).getDate();
|
||||
let newDate = new Date(year, month - 1, lastMonthDay - k);
|
||||
let newMonth = newDate.getMonth() + 1;
|
||||
let newDay = newDate.getDate();
|
||||
let time = newDate.getTime();
|
||||
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfMonth.unshift({ date: date2, year, month: newMonth, day: newDay, isToday: false, isCurrentMonth: false, timestamp: time });
|
||||
}
|
||||
let nextMonthFirstDay = new Date(i, j + 1, 1);
|
||||
let lastDayOfMonth = new Date(nextMonthFirstDay - 24 * 60 * 60 * 1e3);
|
||||
let lastDayWeek = lastDayOfMonth.getDay() || 7;
|
||||
for (var k = 1; k < 8 - lastDayWeek; k++) {
|
||||
let year = i;
|
||||
let month = j;
|
||||
if (month > 11) {
|
||||
month = 0;
|
||||
year++;
|
||||
}
|
||||
let newDate = new Date(year, month + 1, k);
|
||||
let newMonth = newDate.getMonth() + 1;
|
||||
let newDay = newDate.getDate();
|
||||
let time = newDate.getTime();
|
||||
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfMonth.push({ date: date2, year, month: newMonth, day: newDay, isToday: false, isCurrentMonth: false, timestamp: time });
|
||||
}
|
||||
monthDateList.push(daysOfMonth);
|
||||
}
|
||||
}
|
||||
this.monthDateList = monthDateList;
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
this.page = 1;
|
||||
this.getEventListData();
|
||||
},
|
||||
methods: {
|
||||
loadMoreData() {
|
||||
if (!this.loadAll) {
|
||||
this.page++;
|
||||
this.getEventListData();
|
||||
}
|
||||
},
|
||||
async init() {
|
||||
const chart = await this.$refs.chartRef.init(echarts);
|
||||
chart.setOption(this.option);
|
||||
},
|
||||
/**
|
||||
* 点击搜索
|
||||
*/
|
||||
clickSearch() {
|
||||
this.page = 1;
|
||||
this.getEventListData();
|
||||
},
|
||||
/**
|
||||
* 点击事件筛选
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickTimeCategoryItem(index) {
|
||||
if (this.selectTimeCategory != index) {
|
||||
this.selectTimeCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击排序
|
||||
*/
|
||||
clickSortItem() {
|
||||
this.$refs["sortPopup"].open();
|
||||
},
|
||||
/**
|
||||
* 点击筛选
|
||||
*/
|
||||
clickScreenItem() {
|
||||
this.$refs["screenPopup"].open();
|
||||
},
|
||||
/**
|
||||
* 点击筛选弹窗取消
|
||||
*/
|
||||
clickCancel() {
|
||||
this.$refs["screenPopup"].close();
|
||||
},
|
||||
/**
|
||||
* 点击筛选弹窗确定
|
||||
*/
|
||||
clickCertain() {
|
||||
this.clickCancel();
|
||||
this.clickSearch();
|
||||
},
|
||||
/**
|
||||
* 点击筛选分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickScreenCategoryItem(index) {
|
||||
if (this.selectScreenCategory != index) {
|
||||
this.selectScreenCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择一级分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickTopCategoryItem(index) {
|
||||
if (this.selectTopCategory != index) {
|
||||
this.selectTopCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择二级分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickSecondCategoryItem(index) {
|
||||
if (this.selectSecondCategory != index) {
|
||||
this.selectSecondCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击上个月
|
||||
*/
|
||||
clickPreMonth() {
|
||||
if (this.selectMonthIndex > 0) {
|
||||
this.selectMonthIndex--;
|
||||
let monthList = this.monthDateList[this.selectMonthIndex];
|
||||
let month = "";
|
||||
for (let item of monthList) {
|
||||
if (item.isCurrentMonth) {
|
||||
month = item.month;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.selectMonth = this.monthDateList[this.selectMonthIndex][0].year + "-" + (month > 9 ? month : "0" + month);
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击下个月
|
||||
*/
|
||||
clickNextMonth() {
|
||||
if (this.selectMonthIndex < this.monthDateList.length - 1) {
|
||||
this.selectMonthIndex++;
|
||||
let monthList = this.monthDateList[this.selectMonthIndex];
|
||||
let month = "";
|
||||
for (let item of monthList) {
|
||||
if (item.isCurrentMonth) {
|
||||
month = item.month;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.selectMonth = this.monthDateList[this.selectMonthIndex][0].year + "-" + (month > 9 ? month : "0" + month);
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择开始日期和结束日期
|
||||
* @param {Object} item
|
||||
*/
|
||||
clickSelectDate(item) {
|
||||
if (this.startDate) {
|
||||
let date1 = new Date(this.startDate);
|
||||
let date2 = new Date(item.date);
|
||||
if (date1 > date2) {
|
||||
this.endDate = this.startDate;
|
||||
this.endTimeStamp = this.startTimeStamp;
|
||||
this.startDate = item.date;
|
||||
this.startTimeStamp = item.timestamp;
|
||||
} else {
|
||||
this.endDate = item.date;
|
||||
this.endTimeStamp = item.timestamp;
|
||||
}
|
||||
} else {
|
||||
this.startDate = item.date;
|
||||
this.startTimeStamp = item.timestamp;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择重要性
|
||||
*/
|
||||
clickImportanceItem(index) {
|
||||
if (this.selectImportanceIndex != index) {
|
||||
this.selectImportanceIndex = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 查看事件详情
|
||||
*/
|
||||
clickEventItem(id) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/index/eventDetails/eventDetails?id=" + id
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取事件筛选项
|
||||
*/
|
||||
getEventFilterListData() {
|
||||
request_api.eventFilterList().then((res) => {
|
||||
let timeList = [...res.data.available_sorts];
|
||||
this.timeCategoryList = timeList.splice(0, 2);
|
||||
let sortList = [...res.data.available_sorts];
|
||||
for (let item of sortList) {
|
||||
if (item.name == "最新") {
|
||||
item.icon = "/static/icon/home/new.png";
|
||||
}
|
||||
if (item.name == "热门") {
|
||||
item.icon = "/static/icon/home/hot.png";
|
||||
}
|
||||
if (item.name == "收益率") {
|
||||
item.icon = "/static/icon/home/yield.png";
|
||||
}
|
||||
}
|
||||
this.sortList = res.data.available_sorts.splice(0, 3);
|
||||
this.importanceList = res.data.available_importance_levels;
|
||||
this.importanceList.unshift({ desc: "全部", key: "all", name: "全部" });
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取事件列表数据
|
||||
*/
|
||||
getEventListData() {
|
||||
let param = { page: this.page, keywords: this.keywords };
|
||||
if (this.startDate) {
|
||||
param.start_date = this.startDate;
|
||||
}
|
||||
if (this.endDate) {
|
||||
param.end_date = this.endDate;
|
||||
}
|
||||
if (this.selectImportanceIndex > 0) {
|
||||
param.importance = this.importanceList[this.selectImportanceIndex].key;
|
||||
}
|
||||
request_api.eventList(param).then((res) => {
|
||||
if (res.success) {
|
||||
if (this.page == 1) {
|
||||
this.eventList = res.data.events;
|
||||
} else
|
||||
this.eventList = this.eventList.concat(res.data.events);
|
||||
}
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
_easycom_uni_popup2();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_uni_popup();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_assets._imports_0,
|
||||
b: common_vendor.s("top:" + $data.menuTop + "px;line-height:" + $data.menuH + "px;"),
|
||||
c: common_assets._imports_1,
|
||||
d: $data.keywords,
|
||||
e: common_vendor.o(($event) => $data.keywords = $event.detail.value),
|
||||
f: common_vendor.o(($event) => $options.clickSearch()),
|
||||
g: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
h: common_vendor.f($data.timeCategoryList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.name),
|
||||
b: common_vendor.n("item " + ($data.selectTimeCategory == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickTimeCategoryItem(index), index)
|
||||
};
|
||||
}),
|
||||
i: common_assets._imports_2,
|
||||
j: common_vendor.o(($event) => $options.clickSortItem()),
|
||||
k: common_assets._imports_3,
|
||||
l: common_vendor.o(($event) => $options.clickScreenItem()),
|
||||
m: common_vendor.f($data.topCategoryList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item relative " + ($data.selectTopCategory == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickTopCategoryItem(index), index)
|
||||
};
|
||||
}),
|
||||
n: common_vendor.f($data.secondCategoryList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectSecondCategory == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickSecondCategoryItem(index), index)
|
||||
};
|
||||
}),
|
||||
o: common_vendor.s("top:" + $data.contentTop + "px"),
|
||||
p: common_vendor.f($data.eventList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.importance),
|
||||
b: common_vendor.n("level " + item.importance),
|
||||
c: common_vendor.t(item.title),
|
||||
d: common_vendor.t(item.description),
|
||||
e: $data.getRateUpOrDown(item.related_avg_chg)
|
||||
}, $data.getRateUpOrDown(item.related_avg_chg) ? {
|
||||
f: common_assets._imports_4
|
||||
} : {
|
||||
g: common_assets._imports_5
|
||||
}, {
|
||||
h: common_vendor.t($data.getRateStr(item.related_avg_chg)),
|
||||
i: common_vendor.n("rateItem " + ($data.getRateUpOrDown(item.related_avg_chg) ? "down" : "up")),
|
||||
j: $data.getRateUpOrDown(item.related_max_chg)
|
||||
}, $data.getRateUpOrDown(item.related_max_chg) ? {
|
||||
k: common_assets._imports_4
|
||||
} : {
|
||||
l: common_assets._imports_5
|
||||
}, {
|
||||
m: common_vendor.t($data.getRateStr(item.related_max_chg)),
|
||||
n: common_vendor.n("rateItem " + ($data.getRateUpOrDown(item.related_max_chg) ? "down" : "up")),
|
||||
o: $data.getRateUpOrDown(item.related_week_chg)
|
||||
}, $data.getRateUpOrDown(item.related_week_chg) ? {
|
||||
p: common_assets._imports_4
|
||||
} : {
|
||||
q: common_assets._imports_5
|
||||
}, {
|
||||
r: common_vendor.t($data.getRateStr(item.related_week_chg)),
|
||||
s: common_vendor.n("rateItem " + ($data.getRateUpOrDown(item.related_week_chg) ? "down" : "up")),
|
||||
t: common_vendor.t($data.getLocaleTime(item.created_at)),
|
||||
v: common_vendor.t(item.view_count),
|
||||
w: common_vendor.t(item.post_count),
|
||||
x: common_vendor.t(item.follower_count),
|
||||
y: common_vendor.o(($event) => $options.clickEventItem(item.id), index),
|
||||
z: index
|
||||
});
|
||||
}),
|
||||
q: common_assets._imports_1$1,
|
||||
r: common_assets._imports_2$1,
|
||||
s: common_assets._imports_3$1,
|
||||
t: common_vendor.s("top:" + $data.listTop + "px"),
|
||||
v: common_vendor.o(($event) => $options.loadMoreData()),
|
||||
w: common_assets._imports_9,
|
||||
x: common_vendor.f($data.sortList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.name),
|
||||
c: index
|
||||
};
|
||||
}),
|
||||
y: common_vendor.s("margin-top:" + $data.sortListTop + "px;"),
|
||||
z: common_vendor.sr("sortPopup", "9dfd58d8-0"),
|
||||
A: common_vendor.p({
|
||||
type: "top",
|
||||
["mask-background-color"]: "transparent"
|
||||
}),
|
||||
B: common_assets._imports_2$2,
|
||||
C: common_vendor.s("height:" + $data.menuH + "px;"),
|
||||
D: common_vendor.f($data.screenCategoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectScreenCategory == index
|
||||
}, $data.selectScreenCategory == index ? {} : {}, {
|
||||
c: common_vendor.n("item relative " + ($data.selectScreenCategory == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickScreenCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
E: $data.selectScreenCategory == 0
|
||||
}, $data.selectScreenCategory == 0 ? {
|
||||
F: common_vendor.t($data.startDate),
|
||||
G: common_vendor.t($data.endDate),
|
||||
H: common_assets._imports_11,
|
||||
I: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
J: common_vendor.t($data.selectMonth),
|
||||
K: common_assets._imports_12,
|
||||
L: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
M: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
N: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.isToday || item.date == $data.startDate || item.date == $data.endDate
|
||||
}, item.isToday || item.date == $data.startDate || item.date == $data.endDate ? {
|
||||
b: common_vendor.t(item.day)
|
||||
} : common_vendor.e({
|
||||
c: item.timestamp > $data.startTimeStamp && item.timestamp < $data.endTimeStamp
|
||||
}, item.timestamp > $data.startTimeStamp && item.timestamp < $data.endTimeStamp ? {
|
||||
d: common_vendor.t(item.day)
|
||||
} : common_vendor.e({
|
||||
e: !item.isCurrentMonth
|
||||
}, !item.isCurrentMonth ? {
|
||||
f: common_vendor.t(item.day)
|
||||
} : {
|
||||
g: common_vendor.t(item.day)
|
||||
})), {
|
||||
h: index,
|
||||
i: common_vendor.o(($event) => $options.clickSelectDate(item), index)
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
O: $data.selectScreenCategory == 1
|
||||
}, $data.selectScreenCategory == 1 ? {
|
||||
P: common_vendor.f($data.industryTopCategoryList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
Q: common_assets._imports_1
|
||||
} : {}, {
|
||||
R: $data.selectScreenCategory == 2
|
||||
}, $data.selectScreenCategory == 2 ? {
|
||||
S: common_vendor.f($data.importanceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.name),
|
||||
b: common_vendor.n("item " + ($data.selectImportanceIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickImportanceItem(index), index)
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
T: common_vendor.o(($event) => $options.clickCancel()),
|
||||
U: common_vendor.o(($event) => $options.clickCertain()),
|
||||
V: common_vendor.s("padding-top:" + $data.menuTop + "px;"),
|
||||
W: common_vendor.sr("screenPopup", "9dfd58d8-1"),
|
||||
X: common_vendor.p({
|
||||
type: "top"
|
||||
})
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|
||||
7
unpackage/dist/dev/mp-weixin/pages/index/index.json
vendored
Normal file
7
unpackage/dist/dev/mp-weixin/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
468
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
468
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
@@ -0,0 +1,468 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.navTitle {
|
||||
left: 0;
|
||||
margin: 0 23rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.searchC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 20rpx 25rpx 0;
|
||||
padding: 0 20rpx;
|
||||
height: 75rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.searchC .icon {
|
||||
margin-right: 16rpx;
|
||||
width: 30rpx;
|
||||
height: auto;
|
||||
}
|
||||
.searchC input {
|
||||
height: 100%;
|
||||
}
|
||||
.searchC .line {
|
||||
background-color: #E1E1E1;
|
||||
width: 1rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.searchC .search {
|
||||
padding: 0 25rpx;
|
||||
color: #F97316;
|
||||
}
|
||||
.screenCategoryC {
|
||||
background-color: white;
|
||||
margin-top: 22rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.screenCategoryC .sortScreenC {
|
||||
font-weight: 500;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .timeCategoryC .item {
|
||||
display: inline-block;
|
||||
padding: 0 26rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 32rpx;
|
||||
color: #42485B;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .timeCategoryC .item.select {
|
||||
font-weight: bold;
|
||||
color: #F97316;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .sortC {
|
||||
padding: 0 14rpx;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .sortC .icon {
|
||||
margin-right: 4rpx;
|
||||
width: 22rpx;
|
||||
height: auto;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .line {
|
||||
background-color: #999;
|
||||
width: 1rpx;
|
||||
height: 25rpx;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .screenC {
|
||||
padding: 0 14rpx;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
.screenCategoryC .sortScreenC .screenC .icon {
|
||||
margin-right: 5rpx;
|
||||
width: 24rpx;
|
||||
height: auto;
|
||||
}
|
||||
.screenCategoryC .topCategoryC {
|
||||
white-space: nowrap;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.screenCategoryC .topCategoryC .item {
|
||||
display: inline-block;
|
||||
line-height: 72rpx;
|
||||
padding: 0 28rpx;
|
||||
font-size: 27rpx;
|
||||
font-weight: 500;
|
||||
color: #42485B;
|
||||
}
|
||||
.screenCategoryC .topCategoryC .item.select {
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
}
|
||||
.screenCategoryC .topCategoryC .item.select .line {
|
||||
background-color: #F97316;
|
||||
left: calc((100% - 50rpx)/2);
|
||||
width: 50rpx;
|
||||
height: 2rpx;
|
||||
bottom: 0;
|
||||
}
|
||||
.screenCategoryC .secondCategoryC {
|
||||
white-space: nowrap;
|
||||
padding: 21rpx 20rpx;
|
||||
}
|
||||
.screenCategoryC .secondCategoryC .item {
|
||||
display: inline-block;
|
||||
line-height: 44rpx;
|
||||
padding: 0 11rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #42485B;
|
||||
}
|
||||
.screenCategoryC .secondCategoryC .item.select {
|
||||
background-color: #FFF6F0;
|
||||
color: #F97316;
|
||||
border-radius: 5rpx;
|
||||
}
|
||||
.eventListC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(55px + env(safe-area-inset-bottom));
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.eventListC .list {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.eventListC .list .item {
|
||||
padding: 30rpx 0;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.eventListC .list .item .level {
|
||||
margin-right: 16rpx;
|
||||
width: 50rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.eventListC .list .item .level.S {
|
||||
background-color: #CC4C02;
|
||||
}
|
||||
.eventListC .list .item .level.A {
|
||||
background-color: #EC7014;
|
||||
}
|
||||
.eventListC .list .item .level.B {
|
||||
background-color: #FB9A29;
|
||||
}
|
||||
.eventListC .list .item .level.C {
|
||||
background-color: #FEC44F;
|
||||
}
|
||||
.eventListC .list .item .title {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.eventListC .list .item .content {
|
||||
margin-top: 20rpx;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.eventListC .list .item .increaseRateList {
|
||||
white-space: nowrap;
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
.eventListC .list .item .increaseRateList .rateItem {
|
||||
display: inline-block;
|
||||
margin-right: 15rpx;
|
||||
line-height: 44rpx;
|
||||
padding: 0 14rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.eventListC .list .item .increaseRateList .rateItem .arrow {
|
||||
width: 15rpx;
|
||||
height: auto;
|
||||
}
|
||||
.eventListC .list .item .increaseRateList .rateItem.up {
|
||||
background-color: #C00000;
|
||||
}
|
||||
.eventListC .list .item .increaseRateList .rateItem.down {
|
||||
background-color: #355422;
|
||||
}
|
||||
.eventListC .list .item .stockList {
|
||||
white-space: nowrap;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.eventListC .list .item .stockList .stockItem {
|
||||
background-color: #F8F8F8;
|
||||
display: inline-block;
|
||||
padding: 0 20rpx;
|
||||
line-height: 60rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.eventListC .list .item .timeToolBarC {
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.eventListC .list .item .timeToolBarC .time {
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #aaa;
|
||||
}
|
||||
.eventListC .list .item .timeToolBarC .toolBarC .toolItem {
|
||||
padding: 0 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
}
|
||||
.eventListC .list .item .timeToolBarC .toolBarC .toolItem .icon {
|
||||
margin-right: 13rpx;
|
||||
width: 29rpx;
|
||||
height: auto;
|
||||
}
|
||||
.eventListC .list .item .timeToolBarC .toolBarC .toolItem:first-child .icon {
|
||||
margin-right: 15rpx;
|
||||
width: 33rpx;
|
||||
height: auto;
|
||||
}
|
||||
.sortPopup {
|
||||
background-color: white;
|
||||
margin-left: calc(100% - (170rpx + 54rpx));
|
||||
width: 170rpx;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.sortPopup .arrow {
|
||||
top: -13rpx;
|
||||
left: 38rpx;
|
||||
width: 26rpx;
|
||||
height: auto;
|
||||
}
|
||||
.sortPopup .list .item {
|
||||
padding: 20rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #444;
|
||||
}
|
||||
.sortPopup .list .item .icon {
|
||||
margin-right: 11rpx;
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
}
|
||||
.screenPopup {
|
||||
background-color: white;
|
||||
border-radius: 0 0 20rpx 20rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.screenPopup .navC {
|
||||
padding: 0 25rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.screenPopup .navC .icon {
|
||||
margin-right: 12rpx;
|
||||
width: 32rpx;
|
||||
height: auto;
|
||||
}
|
||||
.screenPopup .screenCategoryList {
|
||||
background-color: #F8F7FD;
|
||||
width: 175rpx;
|
||||
}
|
||||
.screenPopup .screenCategoryList .item {
|
||||
padding: 0 23rpx;
|
||||
line-height: 90rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.screenPopup .screenCategoryList .item.select {
|
||||
background-color: white;
|
||||
font-weight: bold;
|
||||
color: #F97316;
|
||||
}
|
||||
.screenPopup .screenCategoryList .item.select .line {
|
||||
background-color: #F97316;
|
||||
top: calc((100% - 25rpx)/2);
|
||||
left: 0;
|
||||
width: 8rpx;
|
||||
height: 25rpx;
|
||||
border-radius: 0 5rpx 5rpx 0;
|
||||
}
|
||||
.screenPopup .screenContentC {
|
||||
padding: 30rpx 0 60rpx;
|
||||
max-height: 1100rpx;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.screenPopup .screenContentC .section {
|
||||
padding: 0 20rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: 500;
|
||||
color: #222;
|
||||
}
|
||||
.screenPopup .screenContentC .dateC {
|
||||
background-color: #F6F6F6;
|
||||
margin: 30rpx 20rpx 0;
|
||||
height: 70rpx;
|
||||
border-radius: 5rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #B0B0B0;
|
||||
}
|
||||
.screenPopup .screenContentC .dateC .start {
|
||||
text-align: right;
|
||||
}
|
||||
.screenPopup .screenContentC .dateC .and {
|
||||
margin: 0 20rpx;
|
||||
}
|
||||
.screenPopup .screenContentC .yearMonthC {
|
||||
margin-top: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.screenPopup .screenContentC .yearMonthC .yearMonth {
|
||||
text-align: center;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.screenPopup .screenContentC .yearMonthC .btn {
|
||||
background-color: #f8f8f8;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.screenPopup .screenContentC .yearMonthC .btn .icon {
|
||||
display: block;
|
||||
width: 24rpx;
|
||||
height: auto;
|
||||
}
|
||||
.screenPopup .screenContentC .weekList {
|
||||
margin-top: 20rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.screenPopup .screenContentC .weekList .item {
|
||||
line-height: 40rpx;
|
||||
font-size: 24rpx;
|
||||
color: #a1a1a1;
|
||||
text-align: center;
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList {
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList .item {
|
||||
margin-bottom: 10rpx;
|
||||
width: calc(100%/7);
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList .item .date {
|
||||
background-color: #f8f8f8;
|
||||
width: calc(100% - 10rpx);
|
||||
line-height: 64rpx;
|
||||
border-radius: 15rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList .item .date.today {
|
||||
background-color: #FF7E1A;
|
||||
color: white;
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList .item .date.inRange {
|
||||
background-color: #FFF2EB;
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList .item .date.notCurrentMonth {
|
||||
background-color: #fdfdfd;
|
||||
color: #c3c3c3;
|
||||
}
|
||||
.screenPopup .screenContentC .monthDateList .item .eventNum {
|
||||
margin-top: 12rpx;
|
||||
width: 80rpx;
|
||||
height: 30rpx;
|
||||
line-height: 30rpx;
|
||||
border-radius: 5rpx;
|
||||
font-size: 16rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.screenPopup .screenContentC .industryCategoryC {
|
||||
margin: 14rpx 20rpx 0;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.screenPopup .screenContentC .industryCategoryC .item {
|
||||
background-color: #F6F6F6;
|
||||
margin: 0 20rpx 20rpx 0;
|
||||
padding: 0 30rpx;
|
||||
line-height: 70rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.screenPopup .screenContentC .industryCategoryC .item.select {
|
||||
background-color: #F97316;
|
||||
color: white;
|
||||
}
|
||||
.screenPopup .screenContentC .industrySearchC {
|
||||
background-color: #F6F6F6;
|
||||
margin: 28rpx 22rpx 0;
|
||||
padding: 0 22rpx;
|
||||
height: 75rpx;
|
||||
border: solid 1rpx #DBDBDB;
|
||||
border-radius: 10rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.screenPopup .screenContentC .industrySearchC .icon {
|
||||
margin-right: 16rpx;
|
||||
width: 30rpx;
|
||||
height: auto;
|
||||
}
|
||||
.screenPopup .screenContentC .importanceList {
|
||||
margin-top: 16rpx;
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
.screenPopup .screenContentC .importanceList .item {
|
||||
background-color: #F6F6F6;
|
||||
margin: 0 20rpx 20rpx 0;
|
||||
width: 150rpx;
|
||||
line-height: 70rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
text-align: center;
|
||||
}
|
||||
.screenPopup .screenContentC .importanceList .item.select {
|
||||
background-color: #F97316;
|
||||
color: white;
|
||||
}
|
||||
.screenPopup .btnC {
|
||||
overflow: hidden;
|
||||
}
|
||||
.screenPopup .btnC .btn {
|
||||
line-height: 100rpx;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.screenPopup .btnC .btn.cancel {
|
||||
background-color: #F8F7FD;
|
||||
font-weight: 500;
|
||||
color: #999;
|
||||
}
|
||||
.screenPopup .btnC .btn.certain {
|
||||
background-color: #F97316;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
28
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.js
vendored
Normal file
28
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.js
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "科锐国际(300662.SZ)"
|
||||
}),
|
||||
b: common_assets._imports_0
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/stockDetails/stockDetails.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="42054871-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image></view>
|
||||
6
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.wxss
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/index/stockDetails/stockDetails.wxss
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
334
unpackage/dist/dev/mp-weixin/pages/invest/invest.js
vendored
Normal file
334
unpackage/dist/dev/mp-weixin/pages/invest/invest.js
vendored
Normal file
@@ -0,0 +1,334 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_api = require("../../request/api.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
menuTop: common_vendor.inject("menuTop"),
|
||||
menuH: common_vendor.inject("menuHeight"),
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
windowWidth: common_vendor.inject("windowWidth"),
|
||||
contentTop: "",
|
||||
todayDate: "",
|
||||
//今日日期
|
||||
weekList: ["一", "二", "三", "四", "五", "六", "日"],
|
||||
weekDateList: [],
|
||||
//当前周日期
|
||||
monthDateList: [],
|
||||
//当前月日期
|
||||
isExpand: false,
|
||||
//是否展开日期
|
||||
tabList: ["事件", "数据"],
|
||||
selectTab: 0,
|
||||
topCategoryList: ["全部", "大周期", "大消费", "大金融地产", "TMT板块", "公共产业板块"],
|
||||
selectTopCategory: 0,
|
||||
listTop: "",
|
||||
selectDate: "",
|
||||
//选择查看的日期
|
||||
progress: 75,
|
||||
eventList: []
|
||||
//事件列表
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
let date = /* @__PURE__ */ new Date();
|
||||
this.contentTop = this.navH + (75 + 20) / 750 * common_vendor.inject("windowWidth");
|
||||
let year = date.getFullYear();
|
||||
let month = date.getMonth() + 1;
|
||||
let day = date.getDate();
|
||||
this.selectDate = date.getFullYear() + "-" + (month > 9 ? month : "0" + month) + "-" + (day > 9 ? day : "0" + day);
|
||||
let week = date.getDay() || 7;
|
||||
let diff = week - 1;
|
||||
let daysOfWeek = [];
|
||||
for (var i = 0; i < 7; i++) {
|
||||
let newDate = /* @__PURE__ */ new Date();
|
||||
newDate.setDate(day - diff + i);
|
||||
let newDay = newDate.getDate();
|
||||
let date2 = year + "-" + (month > 9 ? month : "0" + month) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfWeek.push({ date: date2, day: newDay, isToday: newDay == day ? true : false });
|
||||
}
|
||||
this.weekDateList = daysOfWeek;
|
||||
let firstDayOfMonth = /* @__PURE__ */ new Date();
|
||||
firstDayOfMonth.setDate(1);
|
||||
let currentMonthDay = new Date(year, month, 0).getDate();
|
||||
let firstDayWeek = firstDayOfMonth.getDay() || 7;
|
||||
let daysOfMonth = [];
|
||||
for (var i = 1; i <= currentMonthDay; i++) {
|
||||
let newDate = /* @__PURE__ */ new Date();
|
||||
newDate.setDate(i);
|
||||
let newDay = newDate.getDate();
|
||||
let date2 = year + "-" + (month > 9 ? month : "0" + month) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfMonth.push({ date: date2, day: newDay, isToday: newDay == day ? true : false, isCurrentMonth: true });
|
||||
}
|
||||
for (var i = 0; i < firstDayWeek - 1; i++) {
|
||||
let lastMonthDay = new Date(year, month - 1, 0).getDate();
|
||||
let newDate = new Date(year, month - 2, lastMonthDay - i);
|
||||
let newMonth = newDate.getMonth() + 1;
|
||||
let newDay = newDate.getDate();
|
||||
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfMonth.unshift({ date: date2, day: newDay, isToday: false, isCurrentMonth: false });
|
||||
}
|
||||
let nextMonthFirstDay = new Date(year, month, 1);
|
||||
let lastDayOfMonth = new Date(nextMonthFirstDay - 24 * 60 * 60 * 1e3);
|
||||
let lastDayWeek = lastDayOfMonth.getDay() || 7;
|
||||
for (var i = 1; i < 8 - lastDayWeek; i++) {
|
||||
if (month > 11) {
|
||||
month = -1;
|
||||
year++;
|
||||
}
|
||||
let newDate = new Date(year, month + 1, i);
|
||||
let newMonth = newDate.getMonth() + 1;
|
||||
let newDay = newDate.getDate();
|
||||
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
|
||||
daysOfMonth.push({ date: date2, day: newDay, isToday: false, isCurrentMonth: false });
|
||||
}
|
||||
this.monthDateList = daysOfMonth;
|
||||
this.listTop = this.contentTop + (68 + 40 + 96 + 74 + 70 + 74 + 22) / 750 * common_vendor.inject("windowWidth");
|
||||
this.getEventListData();
|
||||
this.getCurrentMonthEventCountData();
|
||||
},
|
||||
computed: {
|
||||
circumference() {
|
||||
return Math.PI * 100;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击展开或收起
|
||||
*/
|
||||
clickExpandOrRetract() {
|
||||
this.isExpand = !this.isExpand;
|
||||
if (this.isExpand) {
|
||||
this.listTop = this.contentTop + (68 + 40 + 96 * 6 + 74 + 70 + 74 + 22) / 750 * this.windowWidth;
|
||||
} else
|
||||
this.listTop = this.contentTop + (68 + 40 + 96 + 74 + 70 + 74 + 22) / 750 * this.windowWidth;
|
||||
},
|
||||
/**
|
||||
* 选中日期
|
||||
* @param {Object} item
|
||||
*/
|
||||
clickSelectDate(item) {
|
||||
if (this.selectDate != item.date) {
|
||||
this.selectDate = item.date;
|
||||
this.getEventListData();
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击切换事件或者数据
|
||||
*/
|
||||
clickTabItem(index) {
|
||||
if (this.selectTab != index) {
|
||||
this.selectTab = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 选择一级分类
|
||||
*/
|
||||
clickTopCategoryItem(index) {
|
||||
if (this.selectTopCategory != index) {
|
||||
this.selectTopCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击查看事件详情
|
||||
*/
|
||||
clickEventItem() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/invest/investDetails/investDetails"
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取事件列表数据
|
||||
*/
|
||||
getEventListData() {
|
||||
let param = { date: this.selectDate };
|
||||
request_api.calendarEventList(param).then((res) => {
|
||||
for (let item of res) {
|
||||
let calendarTime = item.calendar_time;
|
||||
let time = calendarTime.split("T")[1];
|
||||
item.time = time.substr(0, 5);
|
||||
}
|
||||
this.eventList = res;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取当前月份每一天的事件数量
|
||||
*/
|
||||
getCurrentMonthEventCountData() {
|
||||
request_api.calendarEventCount().then((res) => {
|
||||
for (let item of res) {
|
||||
let date = item.start;
|
||||
for (let s of this.weekDateList) {
|
||||
if (s.date == date) {
|
||||
s.eventCount = item.title;
|
||||
s.className = item.className;
|
||||
}
|
||||
}
|
||||
for (let s of this.monthDateList) {
|
||||
if (s.date == date) {
|
||||
s.eventCount = item.title;
|
||||
s.className = item.className;
|
||||
}
|
||||
}
|
||||
}
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_zui_progress_circle2 = common_vendor.resolveComponent("zui-progress-circle");
|
||||
_easycom_zui_progress_circle2();
|
||||
}
|
||||
const _easycom_zui_progress_circle = () => "../../uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle.js";
|
||||
if (!Math) {
|
||||
_easycom_zui_progress_circle();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_assets._imports_0,
|
||||
b: common_vendor.s("top:" + $data.menuTop + "px;line-height:" + $data.menuH + "px;"),
|
||||
c: common_assets._imports_1,
|
||||
d: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
e: common_vendor.t($data.selectDate),
|
||||
f: common_assets._imports_2$3,
|
||||
g: common_vendor.o(($event) => $options.clickExpandOrRetract()),
|
||||
h: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
i: $data.isExpand
|
||||
}, $data.isExpand ? {
|
||||
j: common_vendor.f($data.monthDateList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.day),
|
||||
b: common_vendor.n("date " + (item.isToday ? "today" : item.isCurrentMonth ? "" : " notCurrentMonth")),
|
||||
c: item.className
|
||||
}, item.className ? common_vendor.e({
|
||||
d: item.className == "bg-gradient-danger"
|
||||
}, item.className == "bg-gradient-danger" ? {
|
||||
e: common_vendor.t(item.eventCount)
|
||||
} : {}, {
|
||||
f: item.className == "bg-gradient-warning"
|
||||
}, item.className == "bg-gradient-warning" ? {
|
||||
g: common_vendor.t(item.eventCount)
|
||||
} : {}, {
|
||||
h: item.className == "bg-gradient-info"
|
||||
}, item.className == "bg-gradient-info" ? {
|
||||
i: common_vendor.t(item.eventCount)
|
||||
} : {}, {
|
||||
j: item.className == "bg-gradient-success"
|
||||
}, item.className == "bg-gradient-success" ? {
|
||||
k: common_vendor.t(item.eventCount)
|
||||
} : {}) : {}, {
|
||||
l: index,
|
||||
m: common_vendor.o(($event) => $options.clickSelectDate(item), index)
|
||||
});
|
||||
})
|
||||
} : {
|
||||
k: common_vendor.f($data.weekDateList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.day),
|
||||
b: common_vendor.n("date " + (item.isToday ? "today" : "")),
|
||||
c: item.className
|
||||
}, item.className ? common_vendor.e({
|
||||
d: item.className == "bg-gradient-danger"
|
||||
}, item.className == "bg-gradient-danger" ? {
|
||||
e: common_vendor.t(item.eventCount)
|
||||
} : {}, {
|
||||
f: item.className == "bg-gradient-warning"
|
||||
}, item.className == "bg-gradient-warning" ? {
|
||||
g: common_vendor.t(item.eventCount)
|
||||
} : {}, {
|
||||
h: item.className == "bg-gradient-info"
|
||||
}, item.className == "bg-gradient-info" ? {
|
||||
i: common_vendor.t(item.eventCount)
|
||||
} : {}, {
|
||||
j: item.className == "bg-gradient-success"
|
||||
}, item.className == "bg-gradient-success" ? {
|
||||
k: common_vendor.t(item.eventCount)
|
||||
} : {}) : {}, {
|
||||
l: common_vendor.o(($event) => $options.clickSelectDate(item), index),
|
||||
m: index
|
||||
});
|
||||
})
|
||||
}, {
|
||||
l: common_vendor.t($data.isExpand ? "收起" : "展开"),
|
||||
m: common_assets._imports_3$2,
|
||||
n: common_vendor.o(($event) => $options.clickExpandOrRetract()),
|
||||
o: common_vendor.f($data.tabList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectTab == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickTabItem(index), index)
|
||||
};
|
||||
}),
|
||||
p: common_vendor.f($data.topCategoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectTopCategory == index
|
||||
}, $data.selectTopCategory == index ? {} : {}, {
|
||||
c: common_vendor.n("item relative " + ($data.selectTopCategory == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickTopCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
q: $data.selectTab == 0
|
||||
}, $data.selectTab == 0 ? {
|
||||
r: common_vendor.f($data.eventList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.time),
|
||||
b: common_vendor.f(5, (sitem, sindex, i1) => {
|
||||
return {
|
||||
a: sindex < item.star ? "/static/icon/invest/star_s.png" : "/static/icon/invest/star.png"
|
||||
};
|
||||
}),
|
||||
c: index,
|
||||
d: common_vendor.t(item.title),
|
||||
e: common_vendor.t(item.forecast),
|
||||
f: common_vendor.f(JSON.parse(item.concepts), (citem, cindex, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(citem[0]),
|
||||
b: common_vendor.t(citem[2] * 100),
|
||||
c: "2cf1ca64-0-" + i0 + "-" + i1,
|
||||
d: common_vendor.p({
|
||||
position: citem[2],
|
||||
range: [270, 630],
|
||||
size: 26,
|
||||
["ring-width"]: 2,
|
||||
texture: ["#F97316", "#E3E3E3"]
|
||||
}),
|
||||
e: cindex
|
||||
};
|
||||
}),
|
||||
g: index,
|
||||
h: common_vendor.o(($event) => $options.clickEventItem(), index)
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
s: $data.selectTab == 1
|
||||
}, $data.selectTab == 1 ? {
|
||||
t: common_vendor.f(5, (item, index, i0) => {
|
||||
return {
|
||||
a: index
|
||||
};
|
||||
}),
|
||||
v: common_assets._imports_4$1,
|
||||
w: common_vendor.f(5, (item, index, i0) => {
|
||||
return {
|
||||
a: index
|
||||
};
|
||||
}),
|
||||
x: common_assets._imports_5$1
|
||||
} : {}, {
|
||||
y: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/invest/invest.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/invest/invest.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/invest/invest.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"zui-progress-circle": "../../uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/invest/invest.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/invest/invest.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><image class="topBg absolute" src="{{a}}" mode="widthFix"></image><view class="navTitle fixed" style="{{b}}">投资</view><view class="searchC fixed flex" style="{{d}}"><image class="icon" src="{{c}}" mode="widthFix"></image><input class="flex1" type="text" placeholder="搜索话题/股票名称" placeholder-style="color:#94989A"/><view class="line"></view><view class="search">搜索</view></view><view class="contentC fixed" style="{{y}}"><view class=""><view class="todayC flex" bindtap="{{g}}"><view class="todayDateC flex"><view class="date">{{e}}</view><image class="icon" src="{{f}}" mode="widthFix"></image></view><view class="flex1"></view><view class="today">今</view></view><view class="weekList flex"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view wx:if="{{i}}" class="monthDateList flexWrap"><view wx:for="{{j}}" wx:for-item="item" wx:key="l" class="item flexColumnCenter" bindtap="{{item.m}}"><view class="{{item.b}}">{{item.a}}</view><block wx:if="{{item.c}}"><view wx:if="{{item.d}}" class="eventNum danger">{{item.e}}</view><view wx:if="{{item.f}}" class="eventNum warning">{{item.g}}</view><view wx:if="{{item.h}}" class="eventNum info">{{item.i}}</view><view wx:if="{{item.j}}" class="eventNum success">{{item.k}}</view></block><block wx:else><view class="eventNum"></view></block></view></view><view wx:else class="weekDateList flex"><view wx:for="{{k}}" wx:for-item="item" wx:key="m" class="item flex1 flexColumnCenter" bindtap="{{item.l}}"><view class="{{item.b}}">{{item.a}}</view><block wx:if="{{item.c}}"><view wx:if="{{item.d}}" class="eventNum danger">{{item.e}}</view><view wx:if="{{item.f}}" class="eventNum warning">{{item.g}}</view><view wx:if="{{item.h}}" class="eventNum info">{{item.i}}</view><view wx:if="{{item.j}}" class="eventNum success">{{item.k}}</view></block><block wx:else><view class="eventNum"></view></block></view></view><view class="expandBgC flexCenter"><view class="expandC flex" bindtap="{{n}}"><text>{{l}}</text><image class="arrow" src="{{m}}" mode="widthFix"></image></view></view></view><view class="tabC"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><scroll-view scroll-x class="topCategoryC"><view wx:for="{{p}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></scroll-view><view wx:if="{{q}}" class="eventList"><view wx:for="{{r}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="flex"><view class="time flex1">{{item.a}}</view><view class="starC relative"><view class="starList flex"><image wx:for="{{item.b}}" wx:for-item="sitem" wx:key="c" class="icon" src="{{sitem.a}}" mode="widthFix"></image></view></view></view><view class="categoryTitleC flex"><view class="category">宏观政策</view><view class="title flex1">{{item.d}}</view></view><view class="labelC"><view class="label"></view></view><view class="content"><text>{{item.e}}</text></view><scroll-view scroll-x class="percentList"><view wx:for="{{item.f}}" wx:for-item="citem" wx:key="e" class="percentItem">{{citem.a}} <zui-progress-circle wx:if="{{citem.d}}" u-s="{{['d']}}" u-i="{{citem.c}}" bind:__l="__l" u-p="{{citem.d}}"><view class="num">{{citem.b}}%</view></zui-progress-circle></view></scroll-view></view></view><view wx:if="{{s}}" class="dataList"><view class="item"><view class="flex"><view class="time flex1">21:00</view><view class="starC relative"><view class="starBgList flex"><image wx:for="{{t}}" wx:for-item="item" wx:key="a" class="icon" src="{{v}}" mode="widthFix"></image></view><view class="starList absolute flex"><image wx:for="{{w}}" wx:for-item="item" wx:key="a" class="icon" src="{{x}}" mode="widthFix"></image></view></view></view><view class="title">外交部长王毅将对俄罗斯进行正式访问。</view><view class="valueList flex between"><view class="pre">前值 -7.1</view><view class="prediction">预测 93</view><view class="actual">实际 ————</view></view></view></view></view></view>
|
||||
331
unpackage/dist/dev/mp-weixin/pages/invest/invest.wxss
vendored
Normal file
331
unpackage/dist/dev/mp-weixin/pages/invest/invest.wxss
vendored
Normal file
@@ -0,0 +1,331 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.navTitle {
|
||||
left: 0;
|
||||
margin: 0 23rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.searchC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 20rpx 25rpx 0;
|
||||
padding: 0 20rpx;
|
||||
height: 75rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.searchC .icon {
|
||||
margin-right: 16rpx;
|
||||
width: 30rpx;
|
||||
height: auto;
|
||||
}
|
||||
.searchC input {
|
||||
height: 100%;
|
||||
}
|
||||
.searchC .line {
|
||||
background-color: #E1E1E1;
|
||||
width: 1rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.searchC .search {
|
||||
padding: 0 25rpx;
|
||||
color: #F97316;
|
||||
}
|
||||
.contentC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(55px + env(safe-area-inset-bottom));
|
||||
margin-top: 22rpx;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.contentC .todayC {
|
||||
padding: 12rpx 26rpx;
|
||||
}
|
||||
.contentC .todayC .todayDateC {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.contentC .todayC .todayDateC .icon {
|
||||
margin-left: 16rpx;
|
||||
width: 30rpx;
|
||||
height: auto;
|
||||
}
|
||||
.contentC .todayC .today {
|
||||
background-color: #F973161A;
|
||||
width: 40rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 50%;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #F97316;
|
||||
text-align: center;
|
||||
}
|
||||
.contentC .weekList .item {
|
||||
line-height: 40rpx;
|
||||
font-size: 24rpx;
|
||||
color: #292621;
|
||||
text-align: center;
|
||||
}
|
||||
.contentC .weekDateList .item {
|
||||
padding-top: 14rpx;
|
||||
}
|
||||
.contentC .weekDateList .item .date {
|
||||
width: 40rpx;
|
||||
line-height: 40rpx;
|
||||
font-size: 24rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.contentC .weekDateList .item .date.today {
|
||||
background-color: #F9731626;
|
||||
border-radius: 5rpx;
|
||||
color: #F97316;
|
||||
}
|
||||
.contentC .weekDateList .item .eventNum {
|
||||
margin-top: 12rpx;
|
||||
width: 80rpx;
|
||||
height: 30rpx;
|
||||
line-height: 30rpx;
|
||||
border-radius: 5rpx;
|
||||
font-size: 16rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.contentC .weekDateList .item .eventNum.danger {
|
||||
background-color: #EB4A46;
|
||||
}
|
||||
.contentC .weekDateList .item .eventNum.warning {
|
||||
background-color: #FD9C16;
|
||||
}
|
||||
.contentC .weekDateList .item .eventNum.info {
|
||||
background-color: #16BBCF;
|
||||
}
|
||||
.contentC .weekDateList .item .eventNum.success {
|
||||
background-color: #55AE59;
|
||||
}
|
||||
.contentC .monthDateList .item {
|
||||
padding-top: 14rpx;
|
||||
width: calc(100%/7);
|
||||
}
|
||||
.contentC .monthDateList .item .date {
|
||||
width: 40rpx;
|
||||
line-height: 40rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
color: #292621;
|
||||
text-align: center;
|
||||
}
|
||||
.contentC .monthDateList .item .date.today {
|
||||
background-color: #F9731626;
|
||||
border-radius: 5rpx;
|
||||
color: #F97316;
|
||||
}
|
||||
.contentC .monthDateList .item .date.notCurrentMonth {
|
||||
color: #999;
|
||||
}
|
||||
.contentC .monthDateList .item .eventNum {
|
||||
margin-top: 12rpx;
|
||||
width: 80rpx;
|
||||
height: 30rpx;
|
||||
line-height: 30rpx;
|
||||
border-radius: 5rpx;
|
||||
font-size: 16rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.contentC .monthDateList .item .eventNum.danger {
|
||||
background-color: #EB4A46;
|
||||
}
|
||||
.contentC .monthDateList .item .eventNum.warning {
|
||||
background-color: #FD9C16;
|
||||
}
|
||||
.contentC .monthDateList .item .eventNum.info {
|
||||
background-color: #16BBCF;
|
||||
}
|
||||
.contentC .monthDateList .item .eventNum.success {
|
||||
background-color: #55AE59;
|
||||
}
|
||||
.contentC .expandBgC {
|
||||
margin: 0 25rpx;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.contentC .expandBgC .expandC {
|
||||
padding: 20rpx 0;
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #8A857C;
|
||||
}
|
||||
.contentC .expandBgC .expandC .arrow {
|
||||
margin-left: 7rpx;
|
||||
width: 15rpx;
|
||||
height: auto;
|
||||
}
|
||||
.contentC .tabC .item {
|
||||
display: inline-block;
|
||||
padding: 0 24rpx;
|
||||
line-height: 70rpx;
|
||||
font-size: 32rpx;
|
||||
color: #42485B;
|
||||
}
|
||||
.contentC .tabC .item.select {
|
||||
color: #F97316;
|
||||
}
|
||||
.contentC .topCategoryC {
|
||||
white-space: nowrap;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.contentC .topCategoryC .item {
|
||||
display: inline-block;
|
||||
line-height: 72rpx;
|
||||
padding: 0 28rpx;
|
||||
font-size: 27rpx;
|
||||
font-weight: 500;
|
||||
color: #42485B;
|
||||
}
|
||||
.contentC .topCategoryC .item.select {
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
}
|
||||
.contentC .topCategoryC .item.select .line {
|
||||
background-color: #F97316;
|
||||
left: calc((100% - 50rpx)/2);
|
||||
width: 50rpx;
|
||||
height: 2rpx;
|
||||
bottom: 0;
|
||||
}
|
||||
.eventList {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.eventList .item {
|
||||
padding: 30rpx 0;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.eventList .item .time {
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
color: #767676;
|
||||
}
|
||||
.eventList .item .starC .starList {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.eventList .item .starC .icon {
|
||||
margin-right: 9rpx;
|
||||
width: 27rpx;
|
||||
height: auto;
|
||||
}
|
||||
.eventList .item .categoryTitleC {
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
.eventList .item .categoryTitleC .category {
|
||||
background-color: #FD9A14;
|
||||
margin-right: 10rpx;
|
||||
padding: 0 12rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 8rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.eventList .item .categoryTitleC .title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.eventList .item .labelC {
|
||||
display: inline-block;
|
||||
}
|
||||
.eventList .item .labelC .label {
|
||||
border-radius: 5rpx;
|
||||
}
|
||||
.eventList .item .content {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.eventList .item .percentList {
|
||||
white-space: nowrap;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.eventList .item .percentList .percentItem {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
background-color: #F8F8F8;
|
||||
margin-right: 20rpx;
|
||||
padding: 0 20rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.eventList .item .percentList .percentItem zui-progress-circle {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.eventList .item .percentList .percentItem .num {
|
||||
width: 23px;
|
||||
line-height: 23px;
|
||||
font-size: 17rpx;
|
||||
font-weight: bold;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
}
|
||||
.eventList .item .percentList .percentItem:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.dataList {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.dataList .item {
|
||||
padding: 30rpx 0;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.dataList .item .time {
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
color: #767676;
|
||||
}
|
||||
.dataList .item .starC .starList {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.dataList .item .starC .icon {
|
||||
margin-right: 9rpx;
|
||||
width: 27rpx;
|
||||
height: auto;
|
||||
}
|
||||
.dataList .item .title {
|
||||
margin-top: 16rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.dataList .item .valueList {
|
||||
margin-top: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
107
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.js
vendored
Normal file
107
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.js
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const request_api = require("../../../request/api.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
eventId: "",
|
||||
//事件id
|
||||
contentTop: "",
|
||||
categoryList: ["背景", "推演", "实际", "相关股票", "相关概念"],
|
||||
selectCategory: 0,
|
||||
stockCategoryList: [
|
||||
{
|
||||
title: "全部股票",
|
||||
bgColor: "#C00000",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
title: "大周期",
|
||||
bgColor: "#305496",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
title: "TMT板块",
|
||||
bgColor: "#FFBF00",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
title: "大金融地产",
|
||||
bgColor: "#FFF4D3"
|
||||
},
|
||||
{
|
||||
title: "大消费",
|
||||
bgColor: "#CDEEEE"
|
||||
},
|
||||
{
|
||||
title: "公共产业板块",
|
||||
bgColor: "#DEEBF7"
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.contentTop = this.navH + (30 + 74) / 750 * common_vendor.inject("windowWidth");
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击切换栏目
|
||||
*/
|
||||
clickCategoryItem(index) {
|
||||
if (this.selectCategory != index) {
|
||||
this.selectCategory = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取事件详情数据
|
||||
*/
|
||||
getEventDetailsData() {
|
||||
request_api.investEventDetails(this.eventId).then((res) => {
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "详情"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.f($data.categoryList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectCategory == index
|
||||
}, $data.selectCategory == index ? {} : {}, {
|
||||
c: common_vendor.n("item relative " + ($data.selectCategory == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
d: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
e: $data.selectCategory == 3
|
||||
}, $data.selectCategory == 3 ? {
|
||||
f: common_vendor.f($data.stockCategoryList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.s("background-color:" + item.bgColor + ";color:" + item.color + ";"),
|
||||
c: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
g: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/invest/investDetails/investDetails.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="b7e6c0fc-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="categoryC fixed" style="{{d}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></view><view class="contentC fixed" style="{{g}}"><view wx:if="{{e}}" class="stockC"><view class="stockCategoryList flexWrap"><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="item flexColumnCenter" style="{{item.b}}"><view class="num">23</view><view class="title">{{item.a}}</view></view></view><view class="stockList"><view class="item"><view class="titleCorrelationC flex"><view class="title flex1">000065.SZ 北方国际</view><view class="correlation">相关度: 98%</view></view><view class="category">石油石化</view><view class="content"> 海外订单占比70%-80%,在俄语区矿产资源开发(蒙古矿山)、电力运营经验丰富,是乌克兰重建核心受益标的。公司在俄语区的深厚积累使其直接获益于区域经济复苏和能源合作深化。 </view></view></view></view></view></view>
|
||||
96
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.wxss
vendored
Normal file
96
unpackage/dist/dev/mp-weixin/pages/invest/investDetails/investDetails.wxss
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.categoryC {
|
||||
background-color: white;
|
||||
margin-top: 10rpx;
|
||||
padding-top: 20rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.categoryC .item {
|
||||
display: inline-block;
|
||||
padding: 0 30rpx;
|
||||
line-height: 75rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #42485B;
|
||||
}
|
||||
.categoryC .item.select {
|
||||
font-weight: bold;
|
||||
color: #F97316;
|
||||
}
|
||||
.categoryC .item.select .line {
|
||||
background-color: #F97316;
|
||||
left: calc((100% - 50rpx)/2);
|
||||
bottom: 0;
|
||||
width: 50rpx;
|
||||
height: 2rpx;
|
||||
}
|
||||
.contentC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.contentC .stockCategoryList {
|
||||
margin-top: 18rpx;
|
||||
padding: 0 24rpx;
|
||||
}
|
||||
.contentC .stockCategoryList .item {
|
||||
margin: 0 20rpx 20rpx 0;
|
||||
width: calc((100% - 40rpx)/3);
|
||||
height: 100rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.contentC .stockCategoryList .item .num {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.contentC .stockCategoryList .item .title {
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.contentC .stockCategoryList .item:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.contentC .stockList {
|
||||
padding: 22rpx 25rpx 30rpx;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
}
|
||||
.contentC .stockList .item .title {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.contentC .stockList .item .correlation {
|
||||
background-color: #F973161A;
|
||||
padding: 0 13rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 5rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #F97316;
|
||||
}
|
||||
.contentC .stockList .item .category {
|
||||
display: inline-block;
|
||||
padding: 0 10rpx;
|
||||
line-height: 28rpx;
|
||||
border: solid 1rpx #F6604A;
|
||||
font-size: 20rpx;
|
||||
font-weight: 500;
|
||||
color: #F6604A;
|
||||
border-radius: 5rpx;
|
||||
}
|
||||
.contentC .stockList .item .content {
|
||||
margin-top: 18rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
59
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.js
vendored
Normal file
59
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.js
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
avatarTop: "",
|
||||
contentTop: "",
|
||||
sexList: ["男", "女"],
|
||||
sex: ""
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.avatarTop = common_vendor.inject("navHeight") + 60 / 750 * common_vendor.inject("windowWidth");
|
||||
this.contentTop = this.avatarTop + 75 / 750 * common_vendor.inject("windowWidth");
|
||||
},
|
||||
methods: {
|
||||
sexChange(e) {
|
||||
common_vendor.index.__f__("log", "at pages/mine/basicInfo/basicInfo.vue:54", e);
|
||||
let value = e.detail.value;
|
||||
this.sex = this.sexList[value];
|
||||
},
|
||||
/**
|
||||
* 点击下一步
|
||||
*/
|
||||
clickNext() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine/investPreference/investPreference"
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "信息完善"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1$3,
|
||||
d: common_vendor.s("top:" + $data.avatarTop + "px;"),
|
||||
e: common_vendor.t($data.sex),
|
||||
f: common_assets._imports_2$5,
|
||||
g: $data.sexList,
|
||||
h: common_vendor.o((...args) => $options.sexChange && $options.sexChange(...args)),
|
||||
i: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
j: common_vendor.o(($event) => $options.clickNext())
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/basicInfo/basicInfo.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="8b6eb184-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="avatarC fixed" style="{{d}}"><image class="avatar" src="{{''}}" mode="aspectFill"></image><image class="icon absolute" src="{{c}}" mode="widthFix"></image></view><view class="basicInfoC fixed" style="{{i}}"><view class="title">基本信息</view><view class="section">昵称</view><view class="inputC"><input type="text"/></view><view class="section">手机号</view><view class="inputC"><input type="text"/></view><view class="section">性别</view><picker mode="selector" range="{{g}}" bindchange="{{h}}"><view class="selectC flex"><view class="flex1">{{e}}</view><image class="arrow" src="{{f}}" mode="widthFix"></image></view></picker><view class="section">个人简介</view><view class="textareaC"><textarea placeholder="简单介绍一下自己吧" placeholder-style="color:#AAA"></textarea></view></view><view class="next fixed" bindtap="{{j}}">下一步</view></view>
|
||||
99
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.wxss
vendored
Normal file
99
unpackage/dist/dev/mp-weixin/pages/mine/basicInfo/basicInfo.wxss
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.avatarC {
|
||||
left: 0;
|
||||
margin-left: calc((100% - 150rpx)/2);
|
||||
width: 150rpx;
|
||||
z-index: 10;
|
||||
}
|
||||
.avatarC .avatar {
|
||||
background-color: red;
|
||||
width: 100%;
|
||||
height: 150rpx;
|
||||
border-radius: 50%;
|
||||
border: solid 2rpx white;
|
||||
}
|
||||
.avatarC .icon {
|
||||
right: 20rpx;
|
||||
bottom: 0;
|
||||
width: 40rpx;
|
||||
height: auto;
|
||||
}
|
||||
.basicInfoC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(73rpx + 17rpx + 80rpx);
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.basicInfoC .title {
|
||||
margin: 150rpx 0 0 60rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.basicInfoC .section {
|
||||
margin: 0 60rpx;
|
||||
line-height: 66rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.basicInfoC .inputC {
|
||||
background-color: #FBFBFD;
|
||||
margin: 0 60rpx;
|
||||
padding: 0 28rpx;
|
||||
height: 78rpx;
|
||||
border: solid 2rpx #EFEFF2;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.basicInfoC .inputC input {
|
||||
height: 100%;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
}
|
||||
.basicInfoC .selectC {
|
||||
background-color: #FBFBFD;
|
||||
margin: 0 60rpx;
|
||||
padding: 0 25rpx 0 28rpx;
|
||||
height: 78rpx;
|
||||
border: solid 2rpx #EFEFF2;
|
||||
border-radius: 10rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
}
|
||||
.basicInfoC .selectC .arrow {
|
||||
width: 16rpx;
|
||||
height: auto;
|
||||
}
|
||||
.basicInfoC .textareaC {
|
||||
background-color: #FBFBFD;
|
||||
margin: 0 60rpx;
|
||||
padding: 20rpx 0 0 28rpx;
|
||||
border: solid 2rpx #EFEFF2;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
.basicInfoC .textareaC textarea {
|
||||
height: 200rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
}
|
||||
.next {
|
||||
background-color: #F97316;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 73rpx;
|
||||
margin: 0 25rpx;
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
58
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.js
vendored
Normal file
58
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.js
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
listTop: "",
|
||||
tabList: ["评论我的", "我评论的"],
|
||||
selectTab: 0
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.listTop = this.navH + (75 + 10) / 750 * common_vendor.inject("windowWidth");
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击选择对应分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickTabItem(index) {
|
||||
if (this.selectTab != index) {
|
||||
this.selectTab = index;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "评论回复"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.f($data.tabList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: $data.selectTab == index
|
||||
}, $data.selectTab == index ? {} : {}, {
|
||||
c: common_vendor.n("item flex1 relative " + ($data.selectTab == index ? "select" : "")),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickTabItem(index), index)
|
||||
});
|
||||
}),
|
||||
d: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
e: common_vendor.s("top:" + $data.listTop + "px;")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/commentReply/commentReply.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="dc49bf38-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="tabC fixed flex" style="{{d}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></view><view class="list fixed" style="{{e}}"><view class="item"><view class="replyContentC"><view class="flex"><view class="flex1 flex"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="replyNickname">逸尘破晓</view><view class="time">2-15 15:37</view></view></view><view class="reply">回复</view></view><view class="content"> 回复<text class="originNickname">永不落的梦想</text><text>:四部门联合启动的人力资源服务业与制造业融合发展点。</text></view></view><view class="originalTextC"><view class="originReply"><text class="originNickname">永不落的梦想</text><text>:四部门联合启动的人力资源服务业与制造业融合发展点。</text></view><view class="originEventC"><view class="levelTitleC flex"><view class="level">C</view><view class="title">四部门联合启动人力资源服务业与制造业...</view></view><view class="eventContent">人社部、工信部等四部门印发通知,明确在30个城市开展3年期试点,培育人力资源服务与制造业协同机构...</view></view></view></view></view></view>
|
||||
116
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.wxss
vendored
Normal file
116
unpackage/dist/dev/mp-weixin/pages/mine/commentReply/commentReply.wxss
vendored
Normal file
@@ -0,0 +1,116 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.tabC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-top: 10rpx;
|
||||
border-bottom: solid 1rpx #E4E4E4;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.tabC .item {
|
||||
line-height: 74rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #42485B;
|
||||
text-align: center;
|
||||
}
|
||||
.tabC .item.select {
|
||||
font-weight: bold;
|
||||
color: #F97316;
|
||||
}
|
||||
.tabC .item.select .line {
|
||||
background-color: #F97316;
|
||||
left: calc((100% - 50rpx)/2);
|
||||
width: 50rpx;
|
||||
height: 2rpx;
|
||||
bottom: 0;
|
||||
}
|
||||
.list {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.list .item .replyContentC {
|
||||
padding: 40rpx 25rpx 0;
|
||||
}
|
||||
.list .item .replyContentC .avatar {
|
||||
background-color: red;
|
||||
margin-right: 22rpx;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.list .item .replyContentC .replyNickname {
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.list .item .replyContentC .time {
|
||||
font-size: 26rpx;
|
||||
color: #aaa;
|
||||
}
|
||||
.list .item .replyContentC .reply {
|
||||
width: 90rpx;
|
||||
height: 52rpx;
|
||||
line-height: 50rpx;
|
||||
border-radius: 26rpx;
|
||||
border: solid 1rpx #DDD;
|
||||
font-size: 24rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.list .item .replyContentC .content {
|
||||
margin-top: 20rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #444;
|
||||
}
|
||||
.list .item .replyContentC .content .originNickname {
|
||||
color: #F97316;
|
||||
}
|
||||
.list .item .originalTextC {
|
||||
background-color: #F7F7F7;
|
||||
margin-top: 20rpx;
|
||||
padding: 20rpx 25rpx 25rpx;
|
||||
}
|
||||
.list .item .originalTextC .originReply {
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #444;
|
||||
}
|
||||
.list .item .originalTextC .originReply .originNickname {
|
||||
color: #F97316;
|
||||
}
|
||||
.list .item .originalTextC .originEventC {
|
||||
background-color: white;
|
||||
margin-top: 20rpx;
|
||||
padding: 34rpx 16rpx;
|
||||
}
|
||||
.list .item .originalTextC .originEventC .levelTitleC {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.list .item .originalTextC .originEventC .levelTitleC .level {
|
||||
background-color: #FEC44F;
|
||||
margin-right: 17rpx;
|
||||
width: 50rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
.list .item .originalTextC .originEventC .levelTitleC .title {
|
||||
color: #222;
|
||||
}
|
||||
.list .item .originalTextC .originEventC .eventContent {
|
||||
margin-top: 20rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
33
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.js
vendored
Normal file
33
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.js
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight")
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "意见反馈"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.s("top:" + $data.navH + "px;")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/feedback/feedback.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="315da0a4-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="feedbackC fixed" style="{{c}}"><view class="textareaC"><textarea placeholder="请输入您要反馈的问题(200 字以内)" placeholder-style="color:#C5C5C5" maxlength="200"></textarea></view></view><view class="submit fixed">提交</view></view>
|
||||
39
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.wxss
vendored
Normal file
39
unpackage/dist/dev/mp-weixin/pages/mine/feedback/feedback.wxss
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.feedbackC {
|
||||
background-color: white;
|
||||
margin-top: 10rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 43rpx 25rpx 0;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.feedbackC .textareaC {
|
||||
background-color: #F3F6F9;
|
||||
border-radius: 20rpx;
|
||||
padding: 20rpx 27rpx;
|
||||
}
|
||||
.feedbackC .textareaC textarea {
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.submit {
|
||||
background-color: #F97316;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 73rpx;
|
||||
margin: 0 25rpx;
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
131
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.js
vendored
Normal file
131
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.js
vendored
Normal file
@@ -0,0 +1,131 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
avatarTop: "",
|
||||
contentTop: "",
|
||||
investPreferenceList: ["长期投资", "中短期投资", "风险控制型"],
|
||||
selectInvestIndex: -1,
|
||||
stockYearList: ["新手入门", "1年以内", "1-3年", "3-5年", "5-10年", "10年以上"],
|
||||
selectYearIndex: -1,
|
||||
riskPreferenceList: ["保守型", "稳健型", "保守型"],
|
||||
selectRiskIndex: -1,
|
||||
investmentScaleList: ["50万以下", "50-100万", "100万以上"],
|
||||
selectScaleIndex: -1,
|
||||
preferredMarketList: [{ title: "A股" }, { title: "港股" }, { title: "美股" }, { title: "期货" }, { title: "虚拟货币" }, { title: "新兴市场" }]
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.avatarTop = common_vendor.inject("navHeight") + 60 / 750 * common_vendor.inject("windowWidth");
|
||||
this.contentTop = this.avatarTop + 75 / 750 * common_vendor.inject("windowWidth");
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击选择投资偏好
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickInvestItem(index) {
|
||||
if (this.selectInvestIndex != index) {
|
||||
this.selectInvestIndex = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择风险偏好
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickYearItem(index) {
|
||||
if (this.selectYearIndex != index) {
|
||||
this.selectYearIndex = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择风险偏好
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickRiskItem(index) {
|
||||
if (this.selectRiskIndex != index) {
|
||||
this.selectRiskIndex = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择投资规模
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickScaleItem(index) {
|
||||
if (this.selectScaleIndex != index) {
|
||||
this.selectScaleIndex = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择市场偏好
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickMarketItem(index) {
|
||||
this.preferredMarketList[index].select = !this.preferredMarketList[index].select;
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "信息完善"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1$3,
|
||||
d: common_vendor.s("top:" + $data.avatarTop + "px;"),
|
||||
e: common_vendor.f($data.investPreferenceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectInvestIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickInvestItem(index), index)
|
||||
};
|
||||
}),
|
||||
f: common_vendor.f($data.stockYearList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectYearIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickYearItem(index), index)
|
||||
};
|
||||
}),
|
||||
g: common_vendor.f($data.riskPreferenceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectRiskIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickRiskItem(index), index)
|
||||
};
|
||||
}),
|
||||
h: common_vendor.f($data.investmentScaleList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectScaleIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickScaleItem(index), index)
|
||||
};
|
||||
}),
|
||||
i: common_vendor.f($data.preferredMarketList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + (item.select ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickMarketItem(index), index)
|
||||
};
|
||||
}),
|
||||
j: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/investPreference/investPreference.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="ea3a6ff8-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="avatarC fixed" style="{{d}}"><image class="avatar" src="{{''}}" mode="aspectFill"></image><image class="icon absolute" src="{{c}}" mode="widthFix"></image></view><view class="preferenceC fixed" style="{{j}}"><view class="title">投资偏好设置</view><view class="section first">投资偏好</view><view class="list flexWrap"><view wx:for="{{e}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">炒股年限</view><view class="list flexWrap"><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">风险偏好</view><view class="list flexWrap"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">投资规模</view><view class="list flexWrap"><view wx:for="{{h}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">偏好市场(可多选)</view><view class="list flexWrap"><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view></view><view class="bottomC fixed flex"><view class="pre btn">上一步</view><view class="finish btn flex1">完成</view></view></view>
|
||||
91
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.wxss
vendored
Normal file
91
unpackage/dist/dev/mp-weixin/pages/mine/investPreference/investPreference.wxss
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.avatarC {
|
||||
left: 0;
|
||||
margin-left: calc((100% - 150rpx)/2);
|
||||
width: 150rpx;
|
||||
z-index: 10;
|
||||
}
|
||||
.avatarC .avatar {
|
||||
background-color: red;
|
||||
width: 100%;
|
||||
height: 150rpx;
|
||||
border-radius: 50%;
|
||||
border: solid 2rpx white;
|
||||
}
|
||||
.avatarC .icon {
|
||||
right: 20rpx;
|
||||
bottom: 0;
|
||||
width: 40rpx;
|
||||
height: auto;
|
||||
}
|
||||
.preferenceC {
|
||||
background-color: white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(73rpx + 17rpx + 80rpx);
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.preferenceC .title {
|
||||
margin: 150rpx 0 0 60rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.preferenceC .section {
|
||||
margin: 10rpx 60rpx 0;
|
||||
line-height: 66rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.preferenceC .section.first {
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.preferenceC .list {
|
||||
padding: 0 60rpx;
|
||||
}
|
||||
.preferenceC .list .item {
|
||||
background-color: #FBFBFD;
|
||||
margin: 0 14rpx 12rpx 0;
|
||||
width: calc((100% - 28rpx)/3);
|
||||
line-height: 76rpx;
|
||||
border: solid 2rpx #EFEFF2;
|
||||
border-radius: 10rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
}
|
||||
.preferenceC .list .item.select {
|
||||
background-color: #FFE9D9;
|
||||
border: solid 2rpx #F97316;
|
||||
}
|
||||
.preferenceC .list .item:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.bottomC {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 73rpx;
|
||||
margin: 0 25rpx;
|
||||
}
|
||||
.bottomC .btn {
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.bottomC .pre {
|
||||
background-color: #FFE9D9;
|
||||
width: 226rpx;
|
||||
color: #F97316;
|
||||
}
|
||||
.bottomC .finish {
|
||||
background-color: #F97316;
|
||||
margin-left: 20rpx;
|
||||
color: white;
|
||||
}
|
||||
106
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
Normal file
106
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
menuTop: common_vendor.inject("menuTop"),
|
||||
menuH: common_vendor.inject("menuHeight"),
|
||||
infoTop: "",
|
||||
menuList: [
|
||||
{
|
||||
icon: "/static/icon/mine/aboutUs.png",
|
||||
title: "关于我们"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/serviceTerm.png",
|
||||
title: "服务条款"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/privacyProtocol.png",
|
||||
title: "隐私协议"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/feedback.png",
|
||||
title: "意见反馈",
|
||||
url: "/pages/mine/feedback/feedback"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/accountSetting.png",
|
||||
title: "账户设置"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/customerService.png",
|
||||
title: "联系客服"
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.infoTop = common_vendor.inject("navHeight") + 32 / 750 * common_vendor.inject("windowWidth");
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击查看个人信息
|
||||
*/
|
||||
clickPersonalInfo() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine/basicInfo/basicInfo"
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 点击vip
|
||||
*/
|
||||
clickVip() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine/vip/vip"
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 查看评论收藏点赞
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickNumItem(index) {
|
||||
if (index == 0) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine/commentReply/commentReply"
|
||||
});
|
||||
}
|
||||
},
|
||||
clickMenuItem(url) {
|
||||
if (url) {
|
||||
common_vendor.index.navigateTo({
|
||||
url
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0,
|
||||
b: common_vendor.s("top:" + $data.menuTop + "px;line-height:" + $data.menuH + "px;"),
|
||||
c: common_assets._imports_1$2,
|
||||
d: common_vendor.s("margin-top:" + $data.infoTop + "px;"),
|
||||
e: common_vendor.o(($event) => $options.clickPersonalInfo()),
|
||||
f: common_vendor.o(($event) => $options.clickNumItem(0)),
|
||||
g: common_vendor.o(($event) => $options.clickNumItem(1)),
|
||||
h: common_vendor.o(($event) => $options.clickNumItem(2)),
|
||||
i: common_assets._imports_2$4,
|
||||
j: common_vendor.o(($event) => $options.clickVip()),
|
||||
k: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: index == $data.menuList.length - 1
|
||||
}, index == $data.menuList.length - 1 ? {} : {}, {
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickMenuItem(item.url), index)
|
||||
});
|
||||
}),
|
||||
l: common_assets._imports_3$3
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/mine/mine.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/pages/mine/mine.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/mine/mine.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><image class="topBg absolute" src="{{a}}" mode="widthFix"></image><view class="navTitle fixed" style="{{b}}">个人中心</view><view class="personalInfoC relative flex" style="{{d}}" bindtap="{{e}}"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">星河滚烫的理想</view><view class="mobile">手机号:13654800065</view></view><image class="arrow" src="{{c}}" mode="widthFix"></image></view><view class="numList relative flex"><view class="item flex1 flexColumnCenter" bindtap="{{f}}"><view class="num">1</view><view class="title">评论回复</view></view><view class="item flex1 flexColumnCenter" bindtap="{{g}}"><view class="num">1</view><view class="title">关注收藏</view></view><view class="item flex1 flexColumnCenter" bindtap="{{h}}"><view class="num">1</view><view class="title">我的点赞</view></view></view><view class="vipC relative" bindtap="{{j}}"><image class="icon" src="{{i}}" mode="widthFix"></image></view><view class="menuList relative"><view class="list"><view wx:for="{{k}}" wx:for-item="item" wx:key="d" class="item relative flex" bindtap="{{item.e}}"><image class="icon" src="{{item.a}}" mode="aspectFit"></image><view class="title flex1">{{item.b}}</view><image class="arrow" src="{{l}}" mode="widthFix"></image><button wx:if="{{item.c}}" class="absolute" open-type="contact"></button></view></view></view></view>
|
||||
86
unpackage/dist/dev/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
86
unpackage/dist/dev/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.navTitle {
|
||||
left: 0;
|
||||
margin: 0 23rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.personalInfoC {
|
||||
padding: 0 25rpx 0 30rpx;
|
||||
}
|
||||
.personalInfoC .avatar {
|
||||
margin-right: 11rpx;
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
border-radius: 50%;
|
||||
border: solid 3rpx white;
|
||||
}
|
||||
.personalInfoC .nickname {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
.personalInfoC .mobile {
|
||||
margin-top: 6rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #FFECD3;
|
||||
}
|
||||
.personalInfoC .arrow {
|
||||
width: 15rpx;
|
||||
height: auto;
|
||||
}
|
||||
.numList .item {
|
||||
padding: 25rpx 0;
|
||||
}
|
||||
.numList .item .num {
|
||||
font-size: 48rpx;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
}
|
||||
.numList .item .title {
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #FFECD3;
|
||||
}
|
||||
.vipC {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.vipC .icon {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.menuList {
|
||||
background-color: white;
|
||||
padding: 0 25rpx;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.menuList .item {
|
||||
height: 100rpx;
|
||||
padding: 0 18rpx 0 20rpx;
|
||||
border-bottom: solid 1rpx #F7F7F7;
|
||||
font-size: 28rpx;
|
||||
color: #222;
|
||||
}
|
||||
.menuList .item .icon {
|
||||
margin-right: 16rpx;
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
}
|
||||
.menuList .item .arrow {
|
||||
width: 11rpx;
|
||||
height: auto;
|
||||
}
|
||||
.menuList .item button {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
121
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.js
vendored
Normal file
121
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.js
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
questionList: ["信息纷杂难辨真伪?", "信息纷杂难辨真伪?", "无法把握宏观趋势与行业动向?"],
|
||||
privilegeList: [
|
||||
{
|
||||
icon: "/static/icon/mine/vip/depthReport.png",
|
||||
title: "深度研报",
|
||||
tips: "行业/公司独家分析"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/strategicInsight.png",
|
||||
title: "策略洞察",
|
||||
tips: "赛道趋势+拐点信号"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/dataTool.png",
|
||||
title: "数据工具",
|
||||
tips: "行业/公司独家分析"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/dataTool.png",
|
||||
title: "智能筛选",
|
||||
tips: "按需定制标的列表"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/decisionSupport.png",
|
||||
title: "决策辅助",
|
||||
tips: "关键因子评分系统"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/expertMeeting.png",
|
||||
title: "专家闭门会",
|
||||
tips: "深度交流机会"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/dailyReport.png",
|
||||
title: "日报周报",
|
||||
tips: "研判速递、节奏掌控"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/specialColumn.png",
|
||||
title: "专题专栏",
|
||||
tips: "核心团队观点集结"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/vip/continuouslyUnlock.png",
|
||||
title: "持续解锁",
|
||||
tips: "不定期上线新功能"
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击查看vip套餐
|
||||
*/
|
||||
clickVipMeal() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine/vipMeal/vipMeal"
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "会员中心"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1$4,
|
||||
d: common_assets._imports_2$6,
|
||||
e: common_assets._imports_3$4,
|
||||
f: common_assets._imports_4$3,
|
||||
g: common_assets._imports_5$3,
|
||||
h: common_assets._imports_6$1,
|
||||
i: common_assets._imports_7,
|
||||
j: common_assets._imports_8,
|
||||
k: common_vendor.f($data.questionList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
l: common_assets._imports_2$6,
|
||||
m: common_assets._imports_3$4,
|
||||
n: common_assets._imports_9$1,
|
||||
o: common_assets._imports_2$6,
|
||||
p: common_assets._imports_3$4,
|
||||
q: common_assets._imports_10,
|
||||
r: common_assets._imports_2$6,
|
||||
s: common_assets._imports_3$4,
|
||||
t: common_vendor.f($data.privilegeList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: common_vendor.t(item.tips),
|
||||
d: index
|
||||
};
|
||||
}),
|
||||
v: common_vendor.s("margin-top:" + $data.navH + "px;"),
|
||||
w: common_vendor.o(($event) => $options.clickVipMeal())
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/vip/vip.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="34b3fb40-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="vipC relative" style="{{v}}"><view class="vipInfoC relative"><image class="bg" src="{{c}}" mode="widthFix"></image><view class="infoC absolute"><view class="title">价值前沿</view><view class="tips">您还不是会员 加入尊享N项服务</view></view></view><view class="vipProfitIntroC relative"><view class="titleC flexCenter"><image class="icon" src="{{d}}" mode="widthFix"></image><view class="title">即刻开启</view><image class="icon" src="{{e}}" mode="widthFix"></image></view><view class="subtitle">HOW TO SUBSCRIBE</view><view class="stepC flex"><view class="num">01</view><view class="step">点击微信顶部搜索框,并指定搜索内容为 <text class="impormant">「公众号」</text></view></view><view class="picList flex"><view class="pic flex1"><image class="icon" src="{{f}}" mode="widthFix"></image></view><view class="pic flex1"><image class="icon" src="{{g}}" mode="widthFix"></image></view></view><view class="stepC flex"><view class="num">02</view><view class="step">搜索<text class="impormant">「价值前沿」</text>,并点击搜索结果中的<text class="impormant">「关注」</text></view></view><view class="picList flex"><view class="pic flex1"><image class="icon" src="{{h}}" mode="widthFix"></image></view><view class="pic flex1"><image class="icon" src="{{i}}" mode="widthFix"></image></view></view><view class="questionC"><view class="title">投资的你是否遇到过这些问题?</view><view class="iconListC flex"><image class="icon" src="{{j}}" mode="widthFix"></image><view class="list flex1"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="item">{{item.a}}</view></view></view></view><view class="titleC research flexCenter"><image class="icon" src="{{l}}" mode="widthFix"></image><view class="title">行业研究中心</view><image class="icon" src="{{m}}" mode="widthFix"></image></view><view class="subtitle">20余年专业投研,赋能每一位投资者</view><view class="introC"><text class="flex1">依托价值前沿研究所深耕20余年的专业积淀,我们为您构建一站式行业研究平台。内容覆盖宏观趋势、产业结构、核心公司动态,帮助投资者看懂行业,识别机会,建立自己的知识体系。</text><image class="icon" src="{{n}}" mode="widthFix"></image></view><view class="titleC decision flexCenter"><image class="icon" src="{{o}}" mode="widthFix"></image><view class="title">经营决策中心</view><image class="icon" src="{{p}}" mode="widthFix"></image></view><view class="subtitle">数据洞察,辅助每一个关键判断</view><view class="introC operatingDecision"><text class="flex1">我们整合来自一线调研、专题报告、行业闭门会的专业数据,提供宏观到微观的全链条分析。无论是捕捉赛道拐点,还是识别公司价值,经营决策中心都是您可靠的智囊伙伴。</text><image class="icon" src="{{q}}" mode="widthFix"></image></view><view class="titleC privilege flexCenter"><image class="icon" src="{{r}}" mode="widthFix"></image><view class="title">会员尊享特权</view><image class="icon" src="{{s}}" mode="widthFix"></image></view><view class="subtitle">数据洞察,辅助每一个关键判断</view><view class="privilegeList flexWrap"><view wx:for="{{t}}" wx:for-item="item" wx:key="d" class="item flexColumnCenter"><image class="icon" src="{{item.a}}" mode="widthFix"></image><view class="title">{{item.b}}</view><view class="tips">{{item.c}}</view></view></view><view class="bottomTitle">准备好提升您的投资策略了吗?</view><view class="bottomTips"> 解锁全部高级功能,让AI成为您的专属投资顾问。</view></view></view><view class="lookMealC fixed" bindtap="{{w}}">查看VIP套餐</view></view>
|
||||
195
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.wxss
vendored
Normal file
195
unpackage/dist/dev/mp-weixin/pages/mine/vip/vip.wxss
vendored
Normal file
@@ -0,0 +1,195 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC {
|
||||
padding-bottom: calc(180rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.vipC .vipInfoC {
|
||||
margin: 0 25rpx;
|
||||
}
|
||||
.vipC .vipInfoC .bg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipInfoC .infoC {
|
||||
top: 130rpx;
|
||||
left: 38rpx;
|
||||
}
|
||||
.vipC .vipInfoC .infoC .title {
|
||||
font-size: 40rpx;
|
||||
font-weight: bold;
|
||||
color: #556B87;
|
||||
}
|
||||
.vipC .vipInfoC .infoC .tips {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #65758A;
|
||||
}
|
||||
.vipC .vipProfitIntroC {
|
||||
background-color: white;
|
||||
margin-top: -70rpx;
|
||||
padding-top: 40rpx;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.vipC .vipProfitIntroC .titleC .icon {
|
||||
width: 54rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipProfitIntroC .titleC .title {
|
||||
margin: 0 20rpx;
|
||||
font-size: 50rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.vipC .vipProfitIntroC .titleC.research {
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .titleC.decision {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .titleC.privilege {
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .subtitle {
|
||||
font-size: 24rpx;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .vipProfitIntroC .stepC {
|
||||
margin: 16rpx 25rpx 0;
|
||||
}
|
||||
.vipC .vipProfitIntroC .stepC .num {
|
||||
background-color: #EDEEF1;
|
||||
margin-right: 25rpx;
|
||||
width: 50rpx;
|
||||
line-height: 50rpx;
|
||||
border-radius: 50%;
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
color: #5C6473;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .vipProfitIntroC .stepC .step {
|
||||
font-size: 24rpx;
|
||||
color: #5C6473;
|
||||
}
|
||||
.vipC .vipProfitIntroC .stepC .step .impormant {
|
||||
font-weight: bold;
|
||||
}
|
||||
.vipC .vipProfitIntroC .picList {
|
||||
padding: 0 25rpx;
|
||||
margin-top: 34rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .picList .pic {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .picList .pic .icon {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipProfitIntroC .picList .pic:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.vipC .vipProfitIntroC .questionC {
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .questionC .title {
|
||||
font-size: 45rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .vipProfitIntroC .questionC .iconListC {
|
||||
margin-top: 46rpx;
|
||||
padding: 0 23rpx 0 59rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .questionC .iconListC .icon {
|
||||
margin-right: 56rpx;
|
||||
width: 235rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipProfitIntroC .questionC .iconListC .list .item {
|
||||
background-color: #EDEDED;
|
||||
margin-bottom: 15rpx;
|
||||
line-height: 70rpx;
|
||||
border-radius: 35rpx;
|
||||
font-size: 24rpx;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .vipProfitIntroC .introC {
|
||||
display: flex;
|
||||
box-shadow: 0px 0px 9rpx 0px rgba(0, 0, 0, 0.1);
|
||||
margin: 24rpx 25rpx 0;
|
||||
padding: 40rpx 20rpx 20rpx 33rpx;
|
||||
line-height: 1.5rem;
|
||||
border-radius: 10rpx;
|
||||
font-size: 24rpx;
|
||||
color: #555;
|
||||
}
|
||||
.vipC .vipProfitIntroC .introC .icon {
|
||||
margin-top: 92rpx;
|
||||
width: 251rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipProfitIntroC .introC.operatingDecision {
|
||||
padding-bottom: 11rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .introC.operatingDecision .icon {
|
||||
margin-top: 116rpx;
|
||||
width: 249rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipProfitIntroC .privilegeList {
|
||||
margin: 24rpx 25rpx 0;
|
||||
padding: 20rpx 0;
|
||||
box-shadow: 0px 0px 9rpx 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.vipC .vipProfitIntroC .privilegeList .item {
|
||||
padding: 20rpx 0;
|
||||
width: calc(100%/3);
|
||||
}
|
||||
.vipC .vipProfitIntroC .privilegeList .item .icon {
|
||||
margin-bottom: 10rpx;
|
||||
width: 91rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipProfitIntroC .privilegeList .item .title {
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
color: #242323;
|
||||
}
|
||||
.vipC .vipProfitIntroC .privilegeList .item .tips {
|
||||
margin-top: 6rpx;
|
||||
font-size: 22rpx;
|
||||
color: #555;
|
||||
}
|
||||
.vipC .vipProfitIntroC .bottomTitle {
|
||||
margin-top: 80rpx;
|
||||
font-size: 45rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .vipProfitIntroC .bottomTips {
|
||||
font-size: 24rpx;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
}
|
||||
.lookMealC {
|
||||
background-color: #F97316;
|
||||
margin: 0 25rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
63
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.js
vendored
Normal file
63
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.js
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
privilegeList: ["高效选股工具", "股票基金明星榜单", "定期专属晨报、股票动态", "独家产业研报", "个股产业分析", "股票、基金基础指标", "7x24 财经直播"]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击加入vip
|
||||
*/
|
||||
clickJoinVip() {
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
leftText: "会员中心"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1$4,
|
||||
d: common_assets._imports_2$6,
|
||||
e: common_assets._imports_3$4,
|
||||
f: common_vendor.f($data.privilegeList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: index == 0 || index == 1 || index == 2
|
||||
}, index == 0 || index == 1 || index == 2 ? {
|
||||
c: common_assets._imports_4$4
|
||||
} : {}, {
|
||||
d: index == 3 || index == 4
|
||||
}, index == 3 || index == 4 ? common_vendor.e({
|
||||
e: index == 3
|
||||
}, index == 3 ? {} : {}, {
|
||||
f: index == 4
|
||||
}, index == 4 ? {} : {}) : {}, {
|
||||
g: index == 5 || index == 6
|
||||
}, index == 5 || index == 6 ? {
|
||||
h: common_assets._imports_5$4
|
||||
} : {}, {
|
||||
i: index
|
||||
});
|
||||
}),
|
||||
g: common_assets._imports_5$4,
|
||||
h: common_vendor.s("margin-top:" + $data.navH + "px;"),
|
||||
i: common_vendor.o(($event) => $options.clickJoinVip())
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/vipMeal/vipMeal.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="667ff406-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="vipC" style="{{h}}"><view class="vipInfoC relative"><image class="bg" src="{{c}}" mode="widthFix"></image><view class="infoC absolute"><view class="title">价值前沿</view><view class="tips">您还不是会员 加入尊享N项服务</view></view></view><view class="privilegeCompareC relative"><view class="titleC flexCenter"><image class="icon" src="{{d}}" mode="widthFix"></image><view class="title">特权对比</view><image class="icon" src="{{e}}" mode="widthFix"></image></view><view class="privilegeList"><view class="header flex"><view class="privilege item">专属特权</view><view class="item free">普通免费</view><view class="item vip">VIP会员</view></view><view class="list"><view wx:for="{{f}}" wx:for-item="item" wx:key="i" class="item flex"><view class="optionItem privilege flex">{{item.a}}</view><view class="optionItem free flexCenter"><block wx:if="{{item.b}}"><image class="notContain" src="{{item.c}}" mode="widthFix"></image></block><block wx:if="{{item.d}}"><block wx:if="{{item.e}}">限制查看数量</block><block wx:if="{{item.f}}">每日查看2只</block></block><block wx:if="{{item.g}}"><image class="contain" src="{{item.h}}" mode="widthFix"></image></block></view><view class="optionItem vip flexCenter"><image class="contain" src="{{g}}" mode="widthFix"></image></view></view></view></view></view></view><view class="joinVipC fixed" bindtap="{{i}}">立即加入年度VIP</view></view>
|
||||
115
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.wxss
vendored
Normal file
115
unpackage/dist/dev/mp-weixin/pages/mine/vipMeal/vipMeal.wxss
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC {
|
||||
padding-bottom: calc(180rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.vipC .vipInfoC {
|
||||
margin: 0 25rpx;
|
||||
}
|
||||
.vipC .vipInfoC .bg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipInfoC .infoC {
|
||||
top: 130rpx;
|
||||
left: 38rpx;
|
||||
}
|
||||
.vipC .vipInfoC .infoC .title {
|
||||
font-size: 40rpx;
|
||||
font-weight: bold;
|
||||
color: #556B87;
|
||||
}
|
||||
.vipC .vipInfoC .infoC .tips {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #65758A;
|
||||
}
|
||||
.vipC .privilegeCompareC {
|
||||
background-color: white;
|
||||
margin-top: -70rpx;
|
||||
padding-top: 40rpx;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.vipC .privilegeCompareC .titleC .icon {
|
||||
width: 54rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .privilegeCompareC .titleC .title {
|
||||
margin: 0 20rpx;
|
||||
font-size: 50rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList {
|
||||
margin: 0 25rpx;
|
||||
padding: 0 30rpx;
|
||||
box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header {
|
||||
margin-top: 50rpx;
|
||||
padding-top: 14rpx;
|
||||
border-bottom: solid 1rpx #F3F4F6;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item {
|
||||
line-height: 90rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #555;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item.privilege {
|
||||
padding-left: 24rpx;
|
||||
width: 300rpx;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item.free {
|
||||
width: 174rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item.vip {
|
||||
width: 160rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .item .optionItem {
|
||||
height: 90rpx;
|
||||
border-bottom: solid 1rpx #F3F4F6;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .item .optionItem .contain {
|
||||
width: 21rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .item .optionItem .notContain {
|
||||
width: 17rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .optionItem.privilege {
|
||||
width: 300rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #222;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .optionItem.free {
|
||||
width: 174rpx;
|
||||
font-size: 20rpx;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .optionItem.vip {
|
||||
width: 160rpx;
|
||||
}
|
||||
.joinVipC {
|
||||
background-color: #F97316;
|
||||
margin: 0 25rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
36
unpackage/dist/dev/mp-weixin/project.config.json
vendored
Normal file
36
unpackage/dist/dev/mp-weixin/project.config.json
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"description": "项目配置文件。",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"postcss": false,
|
||||
"minified": false,
|
||||
"newFeature": true,
|
||||
"bigPackageSizeSupport": true
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "",
|
||||
"appid": "touristappid",
|
||||
"projectname": "JiaZhiQianYan",
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
}
|
||||
20
unpackage/dist/dev/mp-weixin/project.private.config.json
vendored
Normal file
20
unpackage/dist/dev/mp-weixin/project.private.config.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "JiaZhiQianYan",
|
||||
"setting": {
|
||||
"compileHotReLoad": true
|
||||
},
|
||||
"condition": {
|
||||
"miniprogram": {
|
||||
"list": [
|
||||
{
|
||||
"name": "pages/index/eventDetails/eventDetails",
|
||||
"pathName": "pages/index/stockDetails/stockDetails",
|
||||
"query": "",
|
||||
"scene": null,
|
||||
"launchMode": "default"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user