"
+ ]
+ },
+ /* ios打包配置 */
+ "ios": {},
+ /* SDK配置 */
+ "sdkConfigs": {}
+ }
+ },
+ /* 快应用特有相关 */
+ "quickapp": {},
+ /* 小程序特有相关 */
+ "mp-weixin": {
+ /* 批批采 */
+ "appid": "wx5725e443614a694e",
+ /* 批批折 */
+ // "appid": "wx3fdf2ff306685408",
+
+ "setting": {
+ "urlCheck": false
+ },
+ "usingComponents": true
+ },
+ "mp-alipay": {
+ "usingComponents": true,
+ "component2": true
+ },
+ "mp-baidu": {
+ "usingComponents": true
+ },
+ "mp-toutiao": {
+ "usingComponents": true
+ },
+ "uniStatistics": {
+ "enable": false
+ },
+ "vueVersion": "3"
+}
diff --git a/src/mock/article.js b/src/mock/article.js
new file mode 100644
index 0000000..3ee80d3
--- /dev/null
+++ b/src/mock/article.js
@@ -0,0 +1,25 @@
+const articleMock = `
+ 大鹏一日乘风起,扶摇直上九万里。2014年11月17日,沪港股票交易互联互通机制正式开通,敲响了中国资本市场对外开放响彻天际的一声锣鼓。
+ 十年探索,互联互通制度创新“硕果累累”,沪港通、深港通、债券通、互换通渐次落地;十年奋进,互联互通激发资本澎湃活力,北向交易和南向交易今年前三季度日均成交额与开通首月相比,分别增长21倍和40倍;十年砥砺,互联互通推动全球资本汇聚中国,截至9月底,境外投资者持有的中国内地证券资产总额近7.6万亿元。
+ 敢为人先 开创跨境证券投资“新模式”
+ 回首互联互通十载岁月,内地携手香港,创造了跨境证券投资新模式,探索出风险可控的金融高水平对外开放路径,助推着中国资本市场深刻蜕变。
+ 改革开放以来,内地从开放贸易、企业跨境融资并购逐步走到了资本市场的双向开放。但由于资本项目尚未实现完全可兑换,加之境内外市场制度的巨大差异,国际投资者进入A股市场和境内投资者开展海外投资仍面临一些限制,跨境投资便利性与效率有待提高。
+ 在此背景下,沪港通应运而生并进行了一次开创性尝试。2014年11月17日,沪港股票市场交易互联互通机制试点正式启动,探索出了一条通过两地金融基础设施联通,既能扩大开放又能对资金进出有效监控的可行路径。
+ 沪港通平稳起步两年后,2016年12月5日,内地与香港股票市场互联互通拓展至深圳市场,为两地证券市场注入了新活力。在沪深港通稳健运行的基础上,2017年7月3日,债券通“北向通”正式启动,互联互通进一步延伸至固定收益证券这一新的资产类别。
+ 近年来,两地金融市场联动按下“加速键”,互联互通改革持续深化并迎来“新篇章”。2022年7月4日,两地交易所符合条件的ETF纳入互联互通投资标的并启动交易;2024年4月19日,中国证监会公布五项资本市场对港合作措施,包括放宽合资格ETF范围、将REITs纳入沪深港通以及将人民币股票柜台纳入港股通等。
+ 筑巢引凤 激发市场澎湃活力
+ 以沪深港通为代表的两地资本市场互联互通历经多年市场洗礼和实践考验,产品类型日渐丰富,交投规模稳步增长,投资者参与度不断提升,为中国与国际金融市场之间建立制度、产品、服务等多层面的连接打造了成功模式。
+ ——沪深港通投资标的稳步扩大,产品日益丰富。数据显示,截至2024年9月底,沪深港通下合资格股票超过3300只,已覆盖沪深港三地市场上市公司总市值的九成,成交规模的八成以上。
+ 自2022年7月互联互通下的ETF交易启动以来,合资格产品范围稳步扩大,覆盖的指数也更加丰富。北向合资格ETF已由启动之初的83只增长至225只,南向合资格ETF已从4只增加至16只。
+ ——沪深港通交易结算机制持续优化,成交活跃度攀升。自沪港通互联互通机制开通以来,外资通过沪股通累计成交总额达70万亿元,沪股通日均成交金额由2014年开通首月的47亿元大幅增长至目前的1283亿元;南向方面,内地投资者通过港股通累计成交总额达27万亿元,沪市港股通日均成交金额由2014年开通首月的8亿港元增长至目前的509亿港元。
+ 深港通交易规模连续快速增长。截至目前,超过130个国家或地区的国际投资者参与深股通交易,深港通累计成交金额93万亿元。2024年以来,深股通日均成交金额720亿元,年均增长76%,在深市股票交易金额中占比6%;港股通日均成交金额193亿港元,年均增长89%,在香港股票市场交易金额中占比9%。
+ ——境内外投资者参与日渐深入,资产规模稳健增长。伴随着沪深港通的稳步发展,越来越多的内地投资者通过港股通开展跨境投资配置。截至2024年9月底,内地投资者通过港股通持有的证券资产总市值超过3.3万亿港元,是2014年底的200多倍。
+ 沪深港通及债券通的落地和持续优化也大幅提升了中国资本市场的可投资性和国际化程度。截至2024年9月底,境外投资者持有的中国内地证券资产总额近7.6万亿元,与2018年6月MSCI首次纳入A股时相比,增长超4.7万亿元。
+ 笃行不怠 助推高水平对外开放
+ 十年来,以沪深港通为代表的互联互通在产品覆盖范围、交易结算机制、投资者参与等多个范围都取得了显著成效,在提升中国资本市场的可投资性和国际化程度、增强两地市场韧性、推进人民币国际化等方面发挥了重要作用。
+ 一方面,沪深港通持续吸引资金流入,助力平滑市场波动。数据显示,自2014年沪港通启动以来,北向交易累计为A股市场带来近1.8万亿元资金净流入。从历史数据看,在开通以来的2200多个交易日中,北向资金在约45%的沪深300指数下跌交易日逆势净买入A股,发挥了稳定预期及对冲风险的积极效果。港股通方面,截至2024年9月底,南向资金累计净流入近3.4万亿港元。
+ 另一方面,互联互通为境外投资者配置人民币资产提供了便利高效的投资渠道,助力推进人民币国际化进程。短短几年间,债券通“北向通”的日均成交量已由开通首月的15亿元增长至2024年前9个月的439亿元,成为国际资本投资中国债券的主渠道。与此同时,债券通“南向通”成为香港离岸人民币债券市场发展的重要推动力,2023年,在香港发行的人民币债券总量达5400亿元,相比2020年增长了3.5倍。
+ 十年耕耘,对于年轻的中国资本市场来说是成长的一个标志性阶段,但对于漫长的中国对外开放进程来说却是历史长河中的弹指一挥间。展望未来,记者了解到,交易所将进一步丰富产品类别、扩大标的范围,持续优化沪深港通交易机制和配套服务,探索更多有助于提升投资者参与度和便利性的措施,不断完善债券通和互换通安排,持续助推资本市场高水平对外开放。
+`;
+
+export default articleMock;
diff --git a/src/mock/articleList.js b/src/mock/articleList.js
new file mode 100644
index 0000000..7139178
--- /dev/null
+++ b/src/mock/articleList.js
@@ -0,0 +1,129 @@
+import swiperImg from "@/static/swiper_image.png";
+// thumbnail
+import thumbnail2 from "@/assets/images/thumbnail2.png";
+import thumbnail3 from "@/assets/images/thumbnail3.png";
+import thumbnail4 from "@/assets/images/thumbnail4.png";
+import thumbnail5 from "@/assets/images/thumbnail5.png";
+
+const articleListMock = [
+ {
+ id: 0,
+ type: "0", // 类型,0:海外 1:国内 2:中证
+ title: "特朗普表示,他将在第一天对加拿大、中国和墨西哥征收关税", // 标题
+ source: "美国在线公司 America Online", // 来源
+ tag: "美国在线公司", // 标签
+ time: "2024-11-26 09:37", // 时间
+ thumbnail: swiperImg, // 缩略图
+ abstract: "当选总统川普正在兑现他的关税承诺,他星期一表示,他计划对墨西哥、加拿大和中国征收关税,以阻止毒品流入美国和非法越境。", // 摘要
+ needpay: 0, // 是否订阅
+ // 内容详情
+ content: `
+
+ 当选总统川普正在兑现他的关税承诺,他星期一表示,他计划对墨西哥、加拿大和中国征收关税,以阻止毒品流入美国和非法越境。
+ 特朗普在他的Truth Social平台上发布消息称,他将于2025年1月20日上任后签署的首批行政命令之一是对墨西哥和加拿大的所有进入美国的产品征收25%的关税。
+ “这项关税将一直有效,直到毒品,特别是芬太尼和所有非法外国人停止对我们国家的入侵!”墨西哥和加拿大都有绝对的权利和力量轻松解决这个酝酿已久的问题。我们在此要求他们使用这种权力,在他们这样做之前,是时候让他们付出巨大的代价了。”特朗普发推文说。
+ 专家表示,特朗普提议的关税将提高这些产品的价格。
+ 在另一个帖子中,特朗普表示,除了对进入美国的产品征收额外关税外,他还将向中国征收额外10%的关税,认为中国在阻止非法毒品流动方面做得不够。
+ 特朗普说:“中国代表告诉我,他们将对任何被抓到这样做的毒贩实行最高刑罚,即死刑,但不幸的是,他们从未执行过,毒品正以前所未有的水平涌入我们的国家,主要是通过墨西哥。”
+ 在总统竞选期间,特朗普提议对中国商品征收60%至100%的关税,并对从所有美国贸易伙伴进口的每种产品征收10%至20%的关税。
+ 在选举前一天,特朗普在匹兹堡的一次集会上说:“我要对墨西哥征收关税。他们卖到美国的每一件该死的东西都必须征收25%的关税,直到他们阻止毒品进入美国。”
+ 经济学家普遍预测,如此大规模的关税将提高美国消费者支付的价格,因为进口商通常会将这些高税收的一部分成本转嫁给消费者。
+ 根据彼得森国际经济研究所的估计,特朗普的关税将使美国家庭平均每年损失约2600美元。
+
+ `,
+ },
+ {
+ id: 1,
+ type: "1",
+ title: "特朗普团队准备提前采取行动结束拜登的液化天然气暂停",
+ source: "彭博社 Bloomberg News",
+ tag: "彭博社",
+ time: "2024-11-26 01:12",
+ thumbnail: thumbnail2,
+ abstract: "据知情人士透露,当选总统特朗普(Donald Trump)的过渡团队正在起草一项行政命令,以解除拜登政府实施的暂停天然气出口许可的禁令。",
+ needpay: 0,
+ content: `
+
+ 据知情人士透露,当选总统特朗普(Donald Trump)的过渡团队正在起草一项行政命令,以解除拜登政府实施的暂停天然气出口许可的禁令。
+ 由于信息保密,不愿透露姓名的人士表示,此举是特朗普上任初期计划的美国能源一揽子行动的一部分。知情人士说,液化天然气行政命令可能会要求能源部批准悬而未决的出口许可,也可能指示该机构恢复对申请的审查,作为能源政策指令的一部分,不过最终方法尚未确定。
+ 据路透社周一报道,这些措施预计还将包括兑现特朗普竞选承诺的计划,即增加在联邦土地和水域的钻探,以及废除针对燃煤和天然气发电厂的新环境法规。
+ 特朗普过渡团队的一名代表没有回应置评请求。
+ 在竞选活动中,特朗普发誓要取消拜登签署的气候法中未使用的资金,让生产商开采更多的石油和天然气,降低能源成本,并宣布全国进入紧急状态,以实现国内能源供应的大幅增加。
+
+ `,
+ },
+ {
+ id: 2,
+ type: "0",
+ title: "欧盟在与中国达成避免电动汽车关税协议方面进展甚微",
+ tag: "彭博社",
+ source: "彭博社 Bloomberg News",
+ time: "2024-11-26 04:54",
+ thumbnail: thumbnail3,
+ abstract: "知情人士称,最近几周,欧盟(eu)与中国就一项取代电动汽车关税的全面协议进行的谈判只取得了有限进展。",
+ needpay: 0,
+ content: `
+
+ 知情人士称,最近几周,欧盟(eu)与中国就一项取代电动汽车关税的全面协议进行的谈判只取得了有限进展。
+ 本月早些时候,中国和欧盟在北京进行了讨论,双方都宣称取得了一些进展,目前双方正在继续进行技术性谈判。然而,自那次会谈以来,情况并没有太大变化,双方之间的接触也很少,这些人士说。由于讨论的是私下讨论,他们要求匿名。
+ 知情人士还说,中国尚未采取欧盟严格要求的行动,即确保任何安排都具有可执行性,并与欧盟上月实施的反补贴关税的效果相匹配。据一位了解情况的外交官说,成员国也没有收到任何重大进展的通知。
+ 双方一直在探讨就所谓的价格承诺达成协议,这是一种控制价格和出口量的复杂机制,用于避免关税。布鲁塞尔和北京在与个别汽车制造商(包括与中国公司建立合资企业的欧洲公司)达成协议的可能性方面仍存在分歧。
+ 欧盟辩称,此类协议将符合世界贸易组织(wto)的规定,而北京方面则坚持谈判一项由中国贸易机构牵头的总括协议。知情人士表示,与少数在华成立合资企业的欧洲汽车制造商的谈判仍在继续。
+ 欧盟委员会发言人拒绝置评。
+
+ `,
+ },
+ {
+ id: 3,
+ type: "2",
+ title: "中国要求地方基金停止通过港股通购买地方政府融资平台债券",
+ source: "彭博社 Bloomberg News",
+ time: "2024-11-19 13:42",
+ tag: "彭博社",
+ thumbnail: thumbnail4,
+ abstract: "据知情人士透露,中国实际上已禁止国内投资者通过内地与香港的交易联系购买地方政府融资平台发行的离岸人民币债券,这是遏制负债累累的中国行业风险的最新举措。",
+ needpay: 0,
+ content: `
+
+ 据知情人士透露,中国实际上已禁止国内投资者通过内地与香港的交易联系购买地方政府融资平台发行的离岸人民币债券,这是遏制负债累累的中国行业风险的最新举措。
+ 中国人民银行已要求国内券商和银行暂停通过“债券通”(Bond Connect)购买地方政府融资平台的所谓“点心债券”。“债券通”是一个连接内地和香港债券市场的计划,由于讨论私事,这些人士要求不具名。知情人士没有提供进一步的细节,也没有透露这类购买可能会在何时恢复。
+ 中国央行没有立即回应置评请求。
+ 尽管中国央行的具体动机尚不清楚,但在此之前,政府出台了一系列政策,以遏制地方政府融资平台带来的风险。地方政府融资平台在中国之前的基础设施热潮期间大量借贷,现在被视为对金融稳定的潜在威胁。本月早些时候,中国政府还向地方政府提供了10万亿元人民币(合1.4万亿美元)的救助资金,用于交换主要由地方政府融资平台所欠的隐性债务。
+ 随着一场前所未有的房地产危机摧毁了地方政府赖以获得收入的卖地,地方政府一直在努力偿还债务。官员们本月早些时候说,截至2023年底,地方隐性债务的未偿还价值为人民币14.3万亿元,远低于国际货币基金组织(imf)估计的约60万亿元。
+ 债券通也让全球投资者得以进入中国庞大的在岸债券市场,一直是内地投资者购买点心债券(包括地方政府融资平台发行的点心债券)的热门渠道。
+ 目前尚不清楚在岸投资者是否仍能通过合格境内机构投资者(qdii)计划等其他渠道购买地方政府融资平台的点心债券。
+ 公司点心债券(不包括存单)的销售额今年跃升至3920亿元,是彭博社自2007年开始编制此类数据以来的最高水平。地方政府融资平台占今年总发行量的40%左右。
+ 彭博汇编的数据显示,今年发行的地方政府融资平台点心债券的平均票面利率约为5.8%,比在岸债券高出300多个基点。
+ 彭博新闻社(Bloomberg News)今年早些时候报道称,中国证券监管机构要求一些投资者不要增持地方政府融资平台发行的期限不到一年的美元债券。
+
+ `,
+ },
+ {
+ id: 4,
+ type: "1",
+ title: "中国科技集团在硅谷组建人工智能团队",
+ source: "金融时报 Financial Times",
+ time: "2024-11-19 15:18",
+ tag: "金融时报",
+ thumbnail: thumbnail5,
+ abstract: "中国最大的科技集团正在硅谷组建人工智能团队,寻求聘用美国顶尖人才,尽管华盛顿方面试图遏制该国对尖端技术的发展。",
+ needpay: 0,
+ content: `
+
+ 中国最大的科技集团正在硅谷组建人工智能团队,寻求聘用美国顶尖人才,尽管华盛顿方面试图遏制该国对尖端技术的发展。
+ 阿里巴巴、字节跳动和美团近几个月来一直在扩大其在加州的办事处,试图从竞争对手美国集团挖走员工,以帮助他们在生成式人工智能的利润竞赛中取得优势。
+ 尽管美国试图阻挠他们的工作,但他们还是采取了这一举措。美国禁止出口最高端的英伟达人工智能芯片,这对开发人工智能模型至关重要,中国集团因此受到打击。
+ 目前,美国没有限制与中国科技公司相关或由中国科技公司拥有的美国实体通过位于美国的数据中心访问高端人工智能芯片。
+ 然而,美国商务部在 1 月份提议引入一项规则,要求云提供商必须验证训练人工智能模型的用户的身份并报告他们的活动。
+ 据三位知情人士透露,阿里巴巴正在加州旧金山湾区的桑尼维尔招募一支人工智能团队,并已与曾在 OpenAI 和美国最大的科技集团工作过的工程师、产品经理和人工智能研究人员进行了接触。
+ OpenAI 的一位前研究员表示,他们收到了来自中国科技公司的大量信息,包括来自外卖平台美团和阿里巴巴的信息,他们试图了解更多有关他们在该公司工作经历的信息,并提供工作机会。
+ 据两位知情人士透露,在过去几个月里,美团一直在加州组建团队,因为高管们担心公司在人工智能方面落后。
+ 据一位知情人士透露,首席执行官王兴已邀请联合创始人王慧文重返公司,领导一支名为 GN06 的新生成式人工智能团队,该团队正在探索与人工智能相关的机会,包括菜单翻译功能和人工智能伴侣。
+ TikTok 所有者字节跳动在加州拥有最成熟的人工智能足迹,有多个团队在从事不同的项目。一个研究团队专注于将人工智能功能集成到 TikTok 中。据多位知情人士透露,该公司还有一组研究人员与中国和新加坡的同事一起研究其豆包大语言模型。
+
+ `,
+ },
+];
+
+
+export default articleListMock;
diff --git a/src/mock/chinaSecurities.js b/src/mock/chinaSecurities.js
new file mode 100644
index 0000000..5078343
--- /dev/null
+++ b/src/mock/chinaSecurities.js
@@ -0,0 +1,89 @@
+// 中证模拟列表数据
+export const overseasMockList = [
+ {
+ id: 0,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "不仅一年努力泡汤 尹锡悦还可能亲手把韩国资产“打骨折”?",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:29",
+ thumbnail: "https://img.cls.cn/images/20241204/e4z3O2l1jw.png",
+ abstract: "在过去近乎一整年的时间里,以尹锡悦为首的韩国政府决策者,对于当地金融市场运转的一大诉求,就是希望能尽早解除“韩国折价”现象",
+ },
+ {
+ id: 1,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "戒严令引发尹锡悦下台预期 这三人最有可能成为韩国新总统!",
+ source: "财联社",
+ tag: "财联社",
+ time: "2024-12-04 15:27",
+ thumbnail: "https://img.cls.cn/images/20241204/KXWR3X0lOH.png",
+ abstract: "韩国周二深夜发布的总统戒严令引发全韩震动,总统尹锡悦也因此面临下台危机",
+ },
+ {
+ id: 2,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "美FTC加大对微软的反垄断调查!这次将矛头对准了其与OpenAI的交易",
+ source: "财联社",
+ time: "2024-12-04 14:20",
+ tag: "财联社",
+ thumbnail: "https://img.cls.cn/images/20241204/os8p31sPSq.jpg",
+ abstract: "美国联邦贸易委员会(FTC)正加大对微软的全面反垄断调查,重点针对其与OpenAI的合作关系",
+ },
+ {
+ id: 3,
+ type: "2",
+ needpay: false,
+ title: "华尔街最高目标价出炉!富国银行:标普500明年底有望达7007点",
+ source: "财联社",
+ time: "2024-12-04 11:49",
+ tag: "财联社",
+ thumbnail: "https://img.cls.cn/images/20241204/I6mqI9yC15.jpg",
+ abstract: "周二,富国银行股票策略师克里斯托弗•哈维及其团队发布了标普500指数2025年年底的目标点位:7007点",
+ },
+ {
+ id: 4,
+ // 类型
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ tag: "财联社", // 标签
+ title: "特朗普提名疫苗怀疑论者担任卫生部长?彭博社老板警告:这会害死美国人的", // 标题
+ source: "财联社", // 来源
+ time: "2024-12-04 11:49", // 时间
+ thumbnail: "https://img.cls.cn/images/20241204/ICe8KIR303.jpg", // 缩略图
+ abstract: "彭博集团创始人布隆伯格抨击特朗普提名小罗伯特·肯尼迪为卫生与公众服务部长", // 摘要
+ },
+];
+
+// 中证模拟板块数据
+export const overseasMockBlock = [
+ {
+ id: 0,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "“韩国戒严风暴”震惊全球,对投资者有何影响?一文读懂",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:47",
+ abstract: "全球投资者因韩国戒严风波受冲击,韩国总统尹锡悦突然宣布戒严,但随后被迫解除。",
+ },
+ {
+ id: 1,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "财联社12月4日电,美元兑日元日内涨超0.50%,现报150.36。",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:29",
+ abstract: "财联社12月4日电,美元兑日元日内涨超0.50%,现报150.36。",
+ },
+];
diff --git a/src/mock/domestic.js b/src/mock/domestic.js
new file mode 100644
index 0000000..aefb9b2
--- /dev/null
+++ b/src/mock/domestic.js
@@ -0,0 +1,89 @@
+// 国内模拟列表数据
+export const domesticMockList = [
+ {
+ id: 0,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "不仅一年努力泡汤 尹锡悦还可能亲手把韩国资产“打骨折”?",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:29",
+ thumbnail: "https://img.cls.cn/images/20241204/e4z3O2l1jw.png",
+ abstract: "在过去近乎一整年的时间里,以尹锡悦为首的韩国政府决策者,对于当地金融市场运转的一大诉求,就是希望能尽早解除“韩国折价”现象",
+ },
+ {
+ id: 1,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "戒严令引发尹锡悦下台预期 这三人最有可能成为韩国新总统!",
+ source: "财联社",
+ tag: "财联社",
+ time: "2024-12-04 15:27",
+ thumbnail: "https://img.cls.cn/images/20241204/KXWR3X0lOH.png",
+ abstract: "韩国周二深夜发布的总统戒严令引发全韩震动,总统尹锡悦也因此面临下台危机",
+ },
+ {
+ id: 2,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "美FTC加大对微软的反垄断调查!这次将矛头对准了其与OpenAI的交易",
+ source: "财联社",
+ time: "2024-12-04 14:20",
+ tag: "财联社",
+ thumbnail: "https://img.cls.cn/images/20241204/os8p31sPSq.jpg",
+ abstract: "美国联邦贸易委员会(FTC)正加大对微软的全面反垄断调查,重点针对其与OpenAI的合作关系",
+ },
+ {
+ id: 3,
+ type: "1",
+ needpay: false,
+ title: "华尔街最高目标价出炉!富国银行:标普500明年底有望达7007点",
+ source: "财联社",
+ time: "2024-12-04 11:49",
+ tag: "财联社",
+ thumbnail: "https://img.cls.cn/images/20241204/I6mqI9yC15.jpg",
+ abstract: "周二,富国银行股票策略师克里斯托弗•哈维及其团队发布了标普500指数2025年年底的目标点位:7007点",
+ },
+ {
+ id: 4,
+ // 类型
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ tag: "财联社", // 标签
+ title: "特朗普提名疫苗怀疑论者担任卫生部长?彭博社老板警告:这会害死美国人的", // 标题
+ source: "财联社", // 来源
+ time: "2024-12-04 11:49", // 时间
+ thumbnail: "https://img.cls.cn/images/20241204/ICe8KIR303.jpg", // 缩略图
+ abstract: "彭博集团创始人布隆伯格抨击特朗普提名小罗伯特·肯尼迪为卫生与公众服务部长", // 摘要
+ },
+];
+
+// 国内模拟板块数据
+export const domesticMockBlock = [
+ {
+ id: 0,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "“韩国戒严风暴”震惊全球,对投资者有何影响?一文读懂",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:47",
+ abstract: "全球投资者因韩国戒严风波受冲击,韩国总统尹锡悦突然宣布戒严,但随后被迫解除。",
+ },
+ {
+ id: 1,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "财联社12月4日电,美元兑日元日内涨超0.50%,现报150.36。",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:29",
+ abstract: "财联社12月4日电,美元兑日元日内涨超0.50%,现报150.36。",
+ },
+];
diff --git a/src/mock/list.js b/src/mock/list.js
new file mode 100644
index 0000000..5ee2bbe
--- /dev/null
+++ b/src/mock/list.js
@@ -0,0 +1,293 @@
+import swiperImg from "@/static/swiper_image.png";
+// thumbnail
+import thumbnail2 from "@/assets/images/thumbnail2.png";
+import thumbnail3 from "@/assets/images/thumbnail3.png";
+import thumbnail4 from "@/assets/images/thumbnail4.png";
+import thumbnail5 from "@/assets/images/thumbnail5.png";
+
+// 要闻列表数据
+export const newsList = [
+ {
+ id: "1",
+ type: "newsList",
+ title: "“柚”是一年好“丰”景——广西容县沙田柚产业发展见闻",
+ content: "立冬时节,广西玉林市容县沙田柚采摘已接近尾声。走进容县自良镇自良村村民成强家中,他正在炒制柚皮糖,随着上下翻炒、抖散,柚皮慢慢失去水分,包裹上一层薄薄的糖霜,柚皮的清香弥漫开来。",
+ time: "1分钟",
+ read: 300,
+ like: 210,
+ comment: 10034,
+ needpay: true,
+ articleUrl: "https://www.cs.com.cn/xwzx/hg/202411/t20241116_6454379.html",
+ },
+ {
+ id: "2",
+ type: "newsList",
+ title: "工信部部长金壮龙:建立未来产业投入增长机制",
+ content: "11月16日,工业和信息化部部长金壮龙在《求是》发表《进一步全面深化工业和信息化领域改革 为推进新型工业化注入强大动力》文章称,要健全构建以先进制造业为骨干的现代化产业体系体制机制。",
+ time: "2024-11-12 11:46",
+ read: 400,
+ like: 20,
+ comment: 18,
+ needpay: true,
+ articleUrl: "https://www.cs.com.cn/xwzx/hg/202411/t20241115_6454203.html",
+ },
+ {
+ id: "3",
+ type: "newsList",
+ title: "工信部部长金壮龙:优化国家集成电路产业投资基金等产业基金运作和监管机制",
+ content: "11月16日,据《求是》,工业和信息化部部长金壮龙发表《进一步全面深化工业和信息化领域改革 为推进新型工业化注入强大动力》文章称,将推动建立保持制造业合理比重投入机制。",
+ time: "2024-11-12 11:46",
+ read: 300,
+ like: 210,
+ comment: 865,
+ needpay: true,
+ articleUrl: "https://www.cs.com.cn/xwzx/hg/202411/t20241116_6454375.html",
+ },
+ {
+ id: "4",
+ type: "newsList",
+ title: "政策红利进一步提振中国民营企业信心",
+ content: "新华社天津11月16日电(记者杨文)比纸张更薄的超薄单晶铜箔产品,具有原子级平整度、高导电性、高导热性等特征,在高性能电池中具有重要应用。在天津科创高地天开高教科创园(简称天开园)的天津常兴新能源科技有限公司,单晶铜箔已实现千平方米级连续化制备。",
+ time: "2024-11-12 11:46",
+ read: 300,
+ like: 210,
+ comment: 865,
+ needpay: true,
+ articleUrl: "https://www.cs.com.cn/xwzx/hg/202411/t20241116_6454390.html",
+ },
+ {
+ id: "5",
+ type: "newsList",
+ title: "习近平会见日本首相石破茂",
+ content: "新华社利马11月15日电(记者陆佳飞 王钟毅)当地时间11月15日下午,国家主席习近平在利马出席亚太经合组织领导人非正式会议期间会见日本首相石破茂。",
+ time: "2024-11-12 11:46",
+ read: 300,
+ like: 210,
+ comment: 865,
+ needpay: true,
+ articleUrl: "https://www.cs.com.cn/xwzx/hg/202411/t20241116_6454390.html",
+ },
+];
+
+// 实时快讯
+export const realTimeList = [
+ {
+ id: "1",
+ // 类型
+ type: "0",
+ day: "2024/11/29",
+ // 是否解锁
+ needpay: false,
+ time: "刚刚",
+ content: `讯携手英特尔 发布全球首款裸眼3D游戏掌机。\n 在近日召开的2024英特尔新质生产力技术生态大会上,腾讯携手英特尔共同发布了全球首款裸眼3D PC游戏掌机Sunday Dragon 3D One。据悉,3D One 游戏掌机由腾讯游戏自研、英特尔提供技术支持,是一款旨在探索裸眼3D技术在游戏场景应用的实验性产品。该掌机配备了一块11英寸2.5K分辨率的120Hz 高刷屏幕,搭载实时人眼追踪传感器,采用TN液晶光栅技术,基于实时图像交织算法,无需任何辅助设备即可智能生成裸眼3D视效画面。`,
+ },
+ {
+ id: "2",
+ time: "10秒钟前",
+ day: "2024/11/29",
+ // 类型
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ content: `Addvalue向中国软件公司寻求至少210万美元的赔偿
+商业时报(新加坡) Business Time 2024-11-26 10:27
+增值科技公司Addvalue Technologies已在中国软件公司Xepic提起仲裁程序,要求赔偿至少210万美元的合同违约金及相关费用。虽然仲裁程序可能会对公司财务状况产生一定影响,但该公司表示正在与律师合作并采取必要措施维护自身权益。此外,Xepic在未经台湾当局许可的情况下,在台湾设立办事处并聘请了台湾工程师,这引起了台湾当局的关注。
+这家总部位于南京的软件初创公司也被称为X-Epic,成立于2020年3月,专门从事电子设计自动化技术。中国信息通信技术(China Information and Communications Technology)、日本的未来资产(Mirae Asset)和红杉资本中国(Sequoia Capital China)都是其投资者。`,
+ },
+ {
+ id: "3",
+ time: "1分钟前",
+ day: "2024/11/29",
+ // 类型
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ content: `中国铝业可能向苏里南铝土矿项目投资4.26亿美元
+
+路透社 Reuters 2024-11-26 05:57
+路透帕拉马里博11月25日电- - -苏里南总统矿业委员会主席周一表示,中国矿业公司中铝可能投资4.26亿美元在苏里南开采铝土矿,预计中国将获得该项目13%的股份。
+政府顾问Daniel Lachman说,如果议会批准,中铝公司可能在明年年中开始建设,每年将生产600万吨铝土矿——铝的关键矿石。`,
+ },
+ {
+ id: "4",
+ time: "1小时前",
+ day: "2024/11/29",
+ // 类型
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ content: `OpenAI与全世界最新锐的团队,想要用AI完成对浏览器的“复兴”
+
+据 The Information 报道,OpenAI 正在打造一款与 ChatGPT 深度整合的网络浏览器工具,并且已经就 ChatGPT 在网页交互上的功能整合,与旅游、食品、房地产以及零售等主要网站服务商进行了沟通。`,
+ },
+ {
+ id: "5",
+ time: "2小时前",
+ day: "2024/11/29",
+ // 类型
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ content: `最大AI Agent生态系统来了 微软推出全新自主AI智能体
+
+微软在芝加哥举行的 Ignite 大会上发布了大量云和人工智能服务更新。会上,微软公布了最大的企业 AI 智能体生态的发展状况。微软称,自推出以来,该生态联盟已有超过 10 万家组织通过其 Copilot Studio 创建或编辑过 AI 智能体——这一重大里程碑,也让微软在 AI 智能体这个最受关注且令人兴奋的企业技术领域当中身处市场领先地位。微软公司宣布将允许企业通过这些智能体随意挑选 Azure 目录所提供的 1800 种大语言模型(LLM)——这无疑也是微软摆脱对于 OpenAI 模型全面依赖的一项重要举措。`,
+ },
+ {
+ id: "6",
+ time: "4小时前",
+ day: "2024/11/29",
+ // 类型
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ content: `全球锑短缺是美国军方的一颗定时炸弹
+美联社 Associated Press2024-11-19 22:00
+摩根大通CEO警告称,中国和俄罗斯正试图破坏西方世界,获取关键金属已成为当今最紧迫的问题。美国陆军急需锑,但中国已控制全球近一半的锑产量并切断了对美国的出口。美国制造商每年使用超过5000万磅的锑用于各种产品,而美国对关键金属储备的需求已经过去。军事金属公司Mili.CN正在大举收购锑,以满足即将到来的关键需求。`,
+ },
+ {
+ id: "7",
+ time: "6小时前",
+ day: "2024/11/29",
+ // 类型
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ content: `全球首条GWh级新型固态电池产线落地安徽芜湖
+
+近日,位于芜湖经开区的安徽安瓦新能源科技有限公司,多辆满载设备的集装箱卡车缓缓驶入厂区,随后这些设备将进厂安装调试并投产,这标志着新型固态电池生产线正式落户芜湖,新型固态电池全面冲刺量产。安瓦新能源公司和芜湖经开区共同创建新型固态电池产业园,一期占地约150亩,规划了5GWh固态新一代电池研发中心和高集成自动化生产线。此次落地的首条生产线设计产能1.25GWh,是全球首条GWh级新型固态电池生产线。(安徽日报)`,
+ },
+ {
+ id: "8",
+ time: "9小时前",
+ day: "2024/11/29",
+ // 类型
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ content: `日媒:中国股市过去4周流出169亿美元 为历史最高水准
+据“日经中文网”报道,中国股市连续5周流出,过去4周的流出金额达到169亿美元,相当于历史最高水准。
+10月初,由于对中国政府的经济刺激措施的期待,资金流入规模创历史新高,但由于对经济放缓的担忧,资金再次转为流出。
+日本瑞穗研究与技术公司的主任经济学家月冈直树表示,11月8日闭幕的全国人民代表大会没有出台进一步的财政刺激,市场上越来越多观点认为“低于预期”。`,
+ },
+];
+
+// 天下事 --- 轮播图
+export const carouselList = [
+ {
+ id: 0,
+ // 类型
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ tag: "美国在线公司", // 标签
+ title: "特朗普表示,他将在第一天对加拿大、中国和墨西哥征收关税", // 标题
+ source: "美国在线公司 America Online", // 来源
+ time: "2024-11-26 09:37", // 时间
+ thumbnail: swiperImg, // 缩略图
+ abstract: "当选总统川普正在兑现他的关税承诺,他星期一表示,他计划对墨西哥、加拿大和中国征收关税,以阻止毒品流入美国和非法越境。", // 摘要
+ },
+ {
+ id: 1,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "特朗普团队准备提前采取行动结束拜登的液化天然气暂停",
+ source: "彭博社 Bloomberg News",
+ tag: "彭博社",
+ time: "2024-11-26 01:12",
+ thumbnail: thumbnail2,
+ abstract: "据知情人士透露,当选总统特朗普(Donald Trump)的过渡团队正在起草一项行政命令,以解除拜登政府实施的暂停天然气出口许可的禁令。",
+ },
+];
+
+// 天下事 --- 板块
+export const blockList = [
+ {
+ id: 2,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "欧盟在与中国达成避免电动汽车关税协议方面进展甚微",
+ tag: "彭博社",
+ source: "彭博社 Bloomberg News",
+ time: "2024-11-26 04:54",
+ thumbnail: thumbnail3,
+ abstract: "知情人士称,最近几周,欧盟(eu)与中国就一项取代电动汽车关税的全面协议进行的谈判只取得了有限进展。",
+ },
+ {
+ id: 3,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "中国要求地方基金停止通过港股通购买地方政府融资平台债券",
+ source: "彭博社 Bloomberg News",
+ time: "2024-11-19 13:42",
+ tag: "彭博社",
+ thumbnail: thumbnail4,
+ abstract: "据知情人士透露,中国实际上已禁止国内投资者通过内地与香港的交易联系购买地方政府融资平台发行的离岸人民币债券,这是遏制负债累累的中国行业风险的最新举措。",
+ },
+];
+
+// 天下事 --- 文章列表
+export const worldList = [
+ {
+ id: 2,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "欧盟在与中国达成避免电动汽车关税协议方面进展甚微",
+ tag: "彭博社",
+ source: "彭博社 Bloomberg News",
+ time: "2024-11-26 04:54",
+ thumbnail: thumbnail3,
+ abstract: "知情人士称,最近几周,欧盟(eu)与中国就一项取代电动汽车关税的全面协议进行的谈判只取得了有限进展。",
+ },
+ {
+ id: 1,
+ type: "1",
+ // 是否解锁
+ needpay: false,
+ title: "特朗普团队准备提前采取行动结束拜登的液化天然气暂停",
+ source: "彭博社 Bloomberg News",
+ tag: "彭博社",
+ time: "2024-11-26 01:12",
+ thumbnail: thumbnail2,
+ abstract: "据知情人士透露,当选总统特朗普(Donald Trump)的过渡团队正在起草一项行政命令,以解除拜登政府实施的暂停天然气出口许可的禁令。",
+ },
+ {
+ id: 3,
+ type: "2",
+ // 是否解锁
+ needpay: false,
+ title: "中国要求地方基金停止通过港股通购买地方政府融资平台债券",
+ source: "彭博社 Bloomberg News",
+ time: "2024-11-19 13:42",
+ tag: "彭博社",
+ thumbnail: thumbnail4,
+ abstract: "据知情人士透露,中国实际上已禁止国内投资者通过内地与香港的交易联系购买地方政府融资平台发行的离岸人民币债券,这是遏制负债累累的中国行业风险的最新举措。",
+ },
+ {
+ id: 4,
+ type: "1",
+ needpay: false,
+ title: "中国科技集团在硅谷组建人工智能团队",
+ source: "金融时报 Financial Times",
+ time: "2024-11-19 15:18",
+ tag: "金融时报",
+ thumbnail: thumbnail5,
+ abstract: "中国最大的科技集团正在硅谷组建人工智能团队,寻求聘用美国顶尖人才,尽管华盛顿方面试图遏制该国对尖端技术的发展。",
+ },
+ {
+ id: 0,
+ // 类型
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ tag: "美国在线公司", // 标签
+ title: "特朗普表示,他将在第一天对加拿大、中国和墨西哥征收关税", // 标题
+ source: "美国在线公司 America Online", // 来源
+ time: "2024-11-26 09:37", // 时间
+ thumbnail: swiperImg, // 缩略图
+ abstract: "当选总统川普正在兑现他的关税承诺,他星期一表示,他计划对墨西哥、加拿大和中国征收关税,以阻止毒品流入美国和非法越境。", // 摘要
+ },
+]
\ No newline at end of file
diff --git a/src/mock/overseasMock.js b/src/mock/overseasMock.js
new file mode 100644
index 0000000..5130e5d
--- /dev/null
+++ b/src/mock/overseasMock.js
@@ -0,0 +1,89 @@
+// 海外模拟列表数据
+export const overseasMockList = [
+ {
+ id: 0,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "不仅一年努力泡汤 尹锡悦还可能亲手把韩国资产“打骨折”?",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:29",
+ thumbnail: "https://img.cls.cn/images/20241204/e4z3O2l1jw.png",
+ abstract: "在过去近乎一整年的时间里,以尹锡悦为首的韩国政府决策者,对于当地金融市场运转的一大诉求,就是希望能尽早解除“韩国折价”现象",
+ },
+ {
+ id: 1,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "戒严令引发尹锡悦下台预期 这三人最有可能成为韩国新总统!",
+ source: "财联社",
+ tag: "财联社",
+ time: "2024-12-04 15:27",
+ thumbnail: "https://img.cls.cn/images/20241204/KXWR3X0lOH.png",
+ abstract: "韩国周二深夜发布的总统戒严令引发全韩震动,总统尹锡悦也因此面临下台危机",
+ },
+ {
+ id: 2,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "美FTC加大对微软的反垄断调查!这次将矛头对准了其与OpenAI的交易",
+ source: "财联社",
+ time: "2024-12-04 14:20",
+ tag: "财联社",
+ thumbnail: "https://img.cls.cn/images/20241204/os8p31sPSq.jpg",
+ abstract: "美国联邦贸易委员会(FTC)正加大对微软的全面反垄断调查,重点针对其与OpenAI的合作关系",
+ },
+ {
+ id: 3,
+ type: "0",
+ needpay: false,
+ title: "华尔街最高目标价出炉!富国银行:标普500明年底有望达7007点",
+ source: "财联社",
+ time: "2024-12-04 11:49",
+ tag: "财联社",
+ thumbnail: "https://img.cls.cn/images/20241204/I6mqI9yC15.jpg",
+ abstract: "周二,富国银行股票策略师克里斯托弗•哈维及其团队发布了标普500指数2025年年底的目标点位:7007点",
+ },
+ {
+ id: 4,
+ // 类型
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ tag: "财联社", // 标签
+ title: "特朗普提名疫苗怀疑论者担任卫生部长?彭博社老板警告:这会害死美国人的", // 标题
+ source: "财联社", // 来源
+ time: "2024-12-04 11:49", // 时间
+ thumbnail: "https://img.cls.cn/images/20241204/ICe8KIR303.jpg", // 缩略图
+ abstract: "彭博集团创始人布隆伯格抨击特朗普提名小罗伯特·肯尼迪为卫生与公众服务部长", // 摘要
+ },
+];
+
+// 海外模拟板块数据
+export const overseasMockBlock = [
+ {
+ id: 0,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "“韩国戒严风暴”震惊全球,对投资者有何影响?一文读懂",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:47",
+ abstract: "全球投资者因韩国戒严风波受冲击,韩国总统尹锡悦突然宣布戒严,但随后被迫解除。",
+ },
+ {
+ id: 1,
+ type: "0",
+ // 是否解锁
+ needpay: false,
+ title: "财联社12月4日电,美元兑日元日内涨超0.50%,现报150.36。",
+ tag: "财联社",
+ source: "财联社",
+ time: "2024-12-04 15:29",
+ abstract: "财联社12月4日电,美元兑日元日内涨超0.50%,现报150.36。",
+ },
+];
diff --git a/src/pages.json b/src/pages.json
new file mode 100644
index 0000000..1f03c41
--- /dev/null
+++ b/src/pages.json
@@ -0,0 +1,85 @@
+{
+ "custom": {
+ "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
+ "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
+ "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
+ },
+ "pages": [
+ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+ {
+ "path": "pages/login/index"
+ },
+ {
+ "path": "pages/home/index",
+ "style": {
+ "enablePullDownRefresh": true,
+ "bounce": "none"
+ }
+ },
+ {
+ "path": "pages/mine/index"
+ },
+ {
+ "path": "pages/sreachReq/index"
+ },
+ {
+ "path": "pages/detail/index"
+ },
+ {
+ "path": "pages/detail/indexNewsInfo"
+ },
+ {
+ "path": "pages/flash/index"
+ },
+ {
+ "path": "pages/news/index"
+ },
+ {
+ "path": "pages/knowEarlier/index"
+ },
+ {
+ "path": "pages/worldlyAffairs/index"
+ },
+ {
+ "path": "pages/subscribed/index"
+ },
+ {
+ "path": "pages/bookmark/index"
+ },
+ {
+ "path": "pages/realtimeInfo/index"
+ },
+ {
+ "path": "pages/realtimeInfo/rankDetail"
+ },
+ {
+ "path": "pages/realtimeInfo/home"
+ },
+ {
+ "path": "pages/realtimeInfo/pc/index"
+ },
+ {
+ "path": "pages/realtimeInfo/pc/top10"
+ },
+ {
+ "path": "pages/realtimeInfo/pc/rank"
+ },
+ {
+ "path": "pages/realtimeInfo/pc/indexPC"
+ }
+ ],
+ "globalStyle": {
+ "navigationStyle": "custom",
+ "transparentTitle": "always",
+ "titlePenetrate": "YES",
+ "defaultTitle": "", // 将导航栏默认的 title 置空
+ "navigationBarTitleText": "中证参考",
+ "titleBarColor": "#000000", // 虽然设置导航栏背景色不生效,但可以影响前景色为白色
+ "app-plus": {
+ "bounce": "none" // 将回弹属性关掉
+ },
+ "mp-alipay": {
+ "allowsBounceVertical": "YES"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/pages/bookmark/components/articleList.vue b/src/pages/bookmark/components/articleList.vue
new file mode 100644
index 0000000..4a2199c
--- /dev/null
+++ b/src/pages/bookmark/components/articleList.vue
@@ -0,0 +1,150 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/bookmark/index.vue b/src/pages/bookmark/index.vue
new file mode 100644
index 0000000..7197557
--- /dev/null
+++ b/src/pages/bookmark/index.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/detail/index.vue b/src/pages/detail/index.vue
new file mode 100644
index 0000000..7e1ecd6
--- /dev/null
+++ b/src/pages/detail/index.vue
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/detail/indexNewsInfo.vue b/src/pages/detail/indexNewsInfo.vue
new file mode 100644
index 0000000..3a32580
--- /dev/null
+++ b/src/pages/detail/indexNewsInfo.vue
@@ -0,0 +1,238 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/flash/components/flashItem.vue b/src/pages/flash/components/flashItem.vue
new file mode 100644
index 0000000..39d8428
--- /dev/null
+++ b/src/pages/flash/components/flashItem.vue
@@ -0,0 +1,57 @@
+
+
+
+
+ {{props.data.read}}阅读
+ {{props.data.like}}点赞
+ {{props.data.comment >= 1000 ? "999+" : props.data.comment}}评论
+
+
+
+
+
+
+
diff --git a/src/pages/flash/index.vue b/src/pages/flash/index.vue
new file mode 100644
index 0000000..77adc76
--- /dev/null
+++ b/src/pages/flash/index.vue
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+ 2024年11月12日
+ 选择日期
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue
new file mode 100644
index 0000000..2038d8e
--- /dev/null
+++ b/src/pages/home/index.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/knowEarlier/index.vue b/src/pages/knowEarlier/index.vue
new file mode 100644
index 0000000..f26c91f
--- /dev/null
+++ b/src/pages/knowEarlier/index.vue
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
new file mode 100644
index 0000000..f1a896a
--- /dev/null
+++ b/src/pages/login/index.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+ 立即进入
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
new file mode 100644
index 0000000..28395b8
--- /dev/null
+++ b/src/pages/mine/index.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/news/index.vue b/src/pages/news/index.vue
new file mode 100644
index 0000000..1833190
--- /dev/null
+++ b/src/pages/news/index.vue
@@ -0,0 +1,259 @@
+
+
+
+
+
+
+
+
+
+
+ 订阅「要闻」,解锁全部资讯
+ 立即解锁 ¥ 25/月
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/home.vue b/src/pages/realtimeInfo/home.vue
new file mode 100644
index 0000000..84c9e33
--- /dev/null
+++ b/src/pages/realtimeInfo/home.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+ 首页
+
+
+
+
+
+ 全部
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/index.vue b/src/pages/realtimeInfo/index.vue
new file mode 100644
index 0000000..264cd37
--- /dev/null
+++ b/src/pages/realtimeInfo/index.vue
@@ -0,0 +1,435 @@
+
+
+
+
+
+
+
+
+ 数据更新时间:{{
+ dayjs(new Date().getTime()).format("YYYY-MM-DD")
+ }}
+
+
+
+
+
+
+
+
+
+
+ 行业分类贴标
+
+
+
+
+
+ 已处理
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 概念标签贴标
+
+
+
+
+ 已处理
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看全部
+
+
+
+
+
+
+
+
+
+
+
+ 查看全部
+
+
+
+
+
+
+
+ 退出登录
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/pc/components/PageTop.vue b/src/pages/realtimeInfo/pc/components/PageTop.vue
new file mode 100644
index 0000000..2fb1592
--- /dev/null
+++ b/src/pages/realtimeInfo/pc/components/PageTop.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+ 退出登录
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/pc/index.css b/src/pages/realtimeInfo/pc/index.css
new file mode 100644
index 0000000..cbca6c3
--- /dev/null
+++ b/src/pages/realtimeInfo/pc/index.css
@@ -0,0 +1,16 @@
+.pc_all {
+ background: #f5f7fd;
+ width: 100vw;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+.content {
+ background-color: white;
+ width: 55vw;
+ min-width: 1200px;
+ min-height: 100vh;
+ padding: 40rpx 60rpx;
+}
\ No newline at end of file
diff --git a/src/pages/realtimeInfo/pc/index.vue b/src/pages/realtimeInfo/pc/index.vue
new file mode 100644
index 0000000..a5573df
--- /dev/null
+++ b/src/pages/realtimeInfo/pc/index.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/pc/indexPC.vue b/src/pages/realtimeInfo/pc/indexPC.vue
new file mode 100644
index 0000000..7e639fb
--- /dev/null
+++ b/src/pages/realtimeInfo/pc/indexPC.vue
@@ -0,0 +1,321 @@
+
+
+
+
+
+
+
+ 返回列表
+
+
+
+
+
+ {{ infoData?.title }}
+
+
+
+ {{ infoData?.tag }}
+ {{ infoData?.publishTime }}
+
+
+
+ {{ infoData?.summary }}
+
+
+
+
+
+ 行业分类:
+
+ {{ item }}
+
+
+
+
+ 概念标签:
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/pc/rank.vue b/src/pages/realtimeInfo/pc/rank.vue
new file mode 100644
index 0000000..4c2f943
--- /dev/null
+++ b/src/pages/realtimeInfo/pc/rank.vue
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+ 资讯头条榜
+
+
+
+
+
+
+
+
+ {{
+ index + 1
+ }}
+ {{ index + 1 }}
+ {{ index + 1 }}
+ {{ index + 1 }}
+
+
+
+ {{
+ item.title
+ }}
+ {{ item.summary }}
+
+
+
+ {{ item.source }}
+ {{
+ dayjs(item.publish_time).format("YYYY-MM-DD HH:MM:ss")
+ }}
+
+
+ {{ item.news_score }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/pc/top10.vue b/src/pages/realtimeInfo/pc/top10.vue
new file mode 100644
index 0000000..11f4791
--- /dev/null
+++ b/src/pages/realtimeInfo/pc/top10.vue
@@ -0,0 +1,416 @@
+
+
+
+
+
+
+ 热门行业
+ 风口概念
+
+
+
+
+
+
+
+
+
+ {{ index + 1 }}
+ {{ index + 1 }}
+ {{ index + 1 }}
+ {{
+ index + 1
+ }}
+
+
+
+ {{ item.content }}
+
+
+
+
+
+
+
+
+
+ {{
+ item.title
+ }}
+ {{ item.summary }}
+
+
+
+ {{ item.tag }}
+ {{
+ item.time
+ }}
+
+
+ {{ item.news_score }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/realtimeInfo/rankDetail.vue b/src/pages/realtimeInfo/rankDetail.vue
new file mode 100644
index 0000000..66cf184
--- /dev/null
+++ b/src/pages/realtimeInfo/rankDetail.vue
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+
+
+ {{ item.content }}
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+ {{ item.summary }}
+
+ {{ item.tag }}
+ {{ item.time }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/sreachReq/index.vue b/src/pages/sreachReq/index.vue
new file mode 100644
index 0000000..6cec609
--- /dev/null
+++ b/src/pages/sreachReq/index.vue
@@ -0,0 +1,285 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 加载更多
+
+
+
+
+
+ 暂无更多结果
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/subscribed/components/col.vue b/src/pages/subscribed/components/col.vue
new file mode 100644
index 0000000..a0a62cf
--- /dev/null
+++ b/src/pages/subscribed/components/col.vue
@@ -0,0 +1,234 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+ {{ item.desc }}
+ 有效期至{{ item.time }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/subscribed/index.vue b/src/pages/subscribed/index.vue
new file mode 100644
index 0000000..2ecd623
--- /dev/null
+++ b/src/pages/subscribed/index.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/video/index.vue b/src/pages/video/index.vue
new file mode 100644
index 0000000..13a8b55
--- /dev/null
+++ b/src/pages/video/index.vue
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
diff --git a/src/pages/worldlyAffairs/index.vue b/src/pages/worldlyAffairs/index.vue
new file mode 100644
index 0000000..8bc30b0
--- /dev/null
+++ b/src/pages/worldlyAffairs/index.vue
@@ -0,0 +1,269 @@
+
+
+
+
+ 精选推荐
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 加载更多
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/shime-uni.d.ts b/src/shime-uni.d.ts
new file mode 100644
index 0000000..5ecbb26
--- /dev/null
+++ b/src/shime-uni.d.ts
@@ -0,0 +1,6 @@
+export {}
+
+declare module "vue" {
+ type Hooks = App.AppInstance & Page.PageInstance;
+ interface ComponentCustomOptions extends Hooks {}
+}
\ No newline at end of file
diff --git a/src/static/activeCaixun.png b/src/static/activeCaixun.png
new file mode 100644
index 0000000..df0054f
Binary files /dev/null and b/src/static/activeCaixun.png differ
diff --git a/src/static/bk_banner.png b/src/static/bk_banner.png
new file mode 100644
index 0000000..8c3199b
Binary files /dev/null and b/src/static/bk_banner.png differ
diff --git a/src/static/bk_tab.png b/src/static/bk_tab.png
new file mode 100644
index 0000000..8a49f02
Binary files /dev/null and b/src/static/bk_tab.png differ
diff --git a/src/static/caixun.png b/src/static/caixun.png
new file mode 100644
index 0000000..3fad56b
Binary files /dev/null and b/src/static/caixun.png differ
diff --git a/src/static/home_banner_one.png b/src/static/home_banner_one.png
new file mode 100644
index 0000000..bdb4485
Binary files /dev/null and b/src/static/home_banner_one.png differ
diff --git a/src/static/home_banner_two.png b/src/static/home_banner_two.png
new file mode 100644
index 0000000..936836a
Binary files /dev/null and b/src/static/home_banner_two.png differ
diff --git a/src/static/icon_act_lt.png b/src/static/icon_act_lt.png
new file mode 100644
index 0000000..ae3e043
Binary files /dev/null and b/src/static/icon_act_lt.png differ
diff --git a/src/static/icon_ai.png b/src/static/icon_ai.png
new file mode 100644
index 0000000..142de00
Binary files /dev/null and b/src/static/icon_ai.png differ
diff --git a/src/static/icon_close.png b/src/static/icon_close.png
new file mode 100644
index 0000000..a651d6e
Binary files /dev/null and b/src/static/icon_close.png differ
diff --git a/src/static/icon_hot.png b/src/static/icon_hot.png
new file mode 100644
index 0000000..3d74f6c
Binary files /dev/null and b/src/static/icon_hot.png differ
diff --git a/src/static/icon_left.png b/src/static/icon_left.png
new file mode 100644
index 0000000..9fba2a5
Binary files /dev/null and b/src/static/icon_left.png differ
diff --git a/src/static/icon_light.png b/src/static/icon_light.png
new file mode 100644
index 0000000..b82415b
Binary files /dev/null and b/src/static/icon_light.png differ
diff --git a/src/static/icon_like.png b/src/static/icon_like.png
new file mode 100644
index 0000000..ffc8f29
Binary files /dev/null and b/src/static/icon_like.png differ
diff --git a/src/static/icon_like_active.png b/src/static/icon_like_active.png
new file mode 100644
index 0000000..621fa30
Binary files /dev/null and b/src/static/icon_like_active.png differ
diff --git a/src/static/icon_lock.png b/src/static/icon_lock.png
new file mode 100644
index 0000000..fe6e2e2
Binary files /dev/null and b/src/static/icon_lock.png differ
diff --git a/src/static/icon_message.png b/src/static/icon_message.png
new file mode 100644
index 0000000..0a710ec
Binary files /dev/null and b/src/static/icon_message.png differ
diff --git a/src/static/icon_message_title.png b/src/static/icon_message_title.png
new file mode 100644
index 0000000..559ba62
Binary files /dev/null and b/src/static/icon_message_title.png differ
diff --git a/src/static/icon_right.png b/src/static/icon_right.png
new file mode 100644
index 0000000..4ed0784
Binary files /dev/null and b/src/static/icon_right.png differ
diff --git a/src/static/icon_star.png b/src/static/icon_star.png
new file mode 100644
index 0000000..6936646
Binary files /dev/null and b/src/static/icon_star.png differ
diff --git a/src/static/icon_star_active.png b/src/static/icon_star_active.png
new file mode 100644
index 0000000..6b1ff27
Binary files /dev/null and b/src/static/icon_star_active.png differ
diff --git a/src/static/image.png b/src/static/image.png
new file mode 100644
index 0000000..9e58b31
Binary files /dev/null and b/src/static/image.png differ
diff --git a/src/static/log_caixun.png b/src/static/log_caixun.png
new file mode 100644
index 0000000..f5f83ca
Binary files /dev/null and b/src/static/log_caixun.png differ
diff --git a/src/static/log_vip.png b/src/static/log_vip.png
new file mode 100644
index 0000000..7fa5caa
Binary files /dev/null and b/src/static/log_vip.png differ
diff --git a/src/static/logo_mini.png b/src/static/logo_mini.png
new file mode 100644
index 0000000..75637ae
Binary files /dev/null and b/src/static/logo_mini.png differ
diff --git a/src/static/menu_index.png b/src/static/menu_index.png
new file mode 100644
index 0000000..884865b
Binary files /dev/null and b/src/static/menu_index.png differ
diff --git a/src/static/menu_index_c.png b/src/static/menu_index_c.png
new file mode 100644
index 0000000..888b500
Binary files /dev/null and b/src/static/menu_index_c.png differ
diff --git a/src/static/menu_luyan.png b/src/static/menu_luyan.png
new file mode 100644
index 0000000..a419015
Binary files /dev/null and b/src/static/menu_luyan.png differ
diff --git a/src/static/menu_video.png b/src/static/menu_video.png
new file mode 100644
index 0000000..bb370be
Binary files /dev/null and b/src/static/menu_video.png differ
diff --git a/src/static/menu_vip.png b/src/static/menu_vip.png
new file mode 100644
index 0000000..a75138f
Binary files /dev/null and b/src/static/menu_vip.png differ
diff --git a/src/static/menu_wode.png b/src/static/menu_wode.png
new file mode 100644
index 0000000..4bbfb73
Binary files /dev/null and b/src/static/menu_wode.png differ
diff --git a/src/static/menu_wode_c.png b/src/static/menu_wode_c.png
new file mode 100644
index 0000000..3f1fc04
Binary files /dev/null and b/src/static/menu_wode_c.png differ
diff --git a/src/static/new_banner_two.png b/src/static/new_banner_two.png
new file mode 100644
index 0000000..05402f5
Binary files /dev/null and b/src/static/new_banner_two.png differ
diff --git a/src/static/news_banner_one.png b/src/static/news_banner_one.png
new file mode 100644
index 0000000..82f7f61
Binary files /dev/null and b/src/static/news_banner_one.png differ
diff --git a/src/static/news_bg.png b/src/static/news_bg.png
new file mode 100644
index 0000000..59132ac
Binary files /dev/null and b/src/static/news_bg.png differ
diff --git a/src/static/share-default.jpg b/src/static/share-default.jpg
new file mode 100644
index 0000000..f68a11a
Binary files /dev/null and b/src/static/share-default.jpg differ
diff --git a/src/static/share-tips-img.jpg b/src/static/share-tips-img.jpg
new file mode 100644
index 0000000..3b1273c
Binary files /dev/null and b/src/static/share-tips-img.jpg differ
diff --git a/src/static/share-tips-img.png b/src/static/share-tips-img.png
new file mode 100644
index 0000000..f6c2f6b
Binary files /dev/null and b/src/static/share-tips-img.png differ
diff --git a/src/static/share-vip.jpg b/src/static/share-vip.jpg
new file mode 100644
index 0000000..7ac2ca9
Binary files /dev/null and b/src/static/share-vip.jpg differ
diff --git a/src/static/swiper_image.png b/src/static/swiper_image.png
new file mode 100644
index 0000000..45366e6
Binary files /dev/null and b/src/static/swiper_image.png differ
diff --git a/src/static/white_logo.png b/src/static/white_logo.png
new file mode 100644
index 0000000..ea07476
Binary files /dev/null and b/src/static/white_logo.png differ
diff --git a/src/stores/index.ts b/src/stores/index.ts
new file mode 100644
index 0000000..27c377e
--- /dev/null
+++ b/src/stores/index.ts
@@ -0,0 +1,8 @@
+// https://pinia.vuejs.org/
+import { createPinia } from 'pinia';
+
+// 创建
+const pinia = createPinia();
+
+// 导出
+export default pinia;
diff --git a/src/stores/shareStore.ts b/src/stores/shareStore.ts
new file mode 100644
index 0000000..dc3d4d5
--- /dev/null
+++ b/src/stores/shareStore.ts
@@ -0,0 +1,161 @@
+import { defineStore } from "pinia";
+import wx from "weixin-js-sdk";
+import { getWeChatSdkData } from "@/api/index";
+import axios from "axios";
+
+interface IWxConfig {
+ appId: string;
+ timestamp: number;
+ nonceStr: string;
+ signature: string;
+ [key: string]: any;
+}
+
+interface IWxShareData {
+ title: string;
+ desc: string;
+ link: string;
+ imgUrl: string;
+ success?: () => void;
+}
+
+interface IShareStore {
+ inited: boolean;
+ url: string;
+ redirectUrl: string;
+ shareData: IWxShareData;
+}
+
+export const useShareStore = defineStore("share", {
+ state: (): IShareStore => ({
+ inited: false,
+ url: import.meta.env.VITE_SHARE_DOMAIN,
+ redirectUrl: import.meta.env.VITE_SHARE_REDIRECT,
+ shareData: {
+ title: "中证参考",
+ desc: "天下事 秒知道",
+ link: import.meta.env.VITE_SHARE_DOMAIN,
+ imgUrl: import.meta.env.VITE_SHARE_DOMAIN + "/static/share-default.jpg",
+ },
+ }),
+ actions: {
+ // 初始化jssdk配置
+ initWxConfig(data?: IWxShareData) {
+ const url = window.location.href.split("#")[0];
+ data = data || this.shareData;
+ if (this.inited) {
+ this.wxReady(data);
+ return;
+ }
+
+ axios({
+ url: "https://cankao.cs.com.cn/apih5/wechat/share",
+ method: "get",
+ params: { url },
+ responseType: "json",
+ }).then((res: any) => {
+ const data: IWxConfig = res.data.data;
+ // console.log("🚀 ~ getWeChatSdkData ~ data:", data);
+ wx.config({
+ debug: false,
+ appId: data.appId,
+ timestamp: data.timestamp,
+ nonceStr: data.nonceStr,
+ signature: data.signature,
+ jsApiList: [
+ "updateAppMessageShareData",
+ "updateTimelineShareData",
+ "onMenuShareTimeline",
+ "onMenuShareAppMessage",
+ ],
+ });
+
+ this.wxReady(this.shareData);
+
+ wx.error((err) => {
+ console.log("🚀 ~ err:", err);
+ });
+ });
+ // getWeChatSdkData({ url }).then((res: any) => {
+ // const data: IWxConfig = res.data;
+ // console.log("🚀 ~ getWeChatSdkData ~ data:", data);
+ // wx.config({
+ // debug: false,
+ // appId: data.appId,
+ // timestamp: data.timestamp,
+ // nonceStr: data.nonceStr,
+ // signature: data.signature,
+ // jsApiList: [
+ // "updateAppMessageShareData",
+ // "updateTimelineShareData",
+ // "onMenuShareTimeline",
+ // "onMenuShareAppMessage",
+ // ],
+ // });
+
+ // this.wxReady(this.shareData);
+
+ // wx.error((err) => {
+ // console.log("🚀 ~ err:", err);
+ // });
+ // });
+ },
+ // wx.ready
+ wxReady(data: IWxShareData) {
+ // console.log("output >>>>> wxShare -- this.inited", this.inited);
+
+ if (this.inited) {
+ this.wxUpdateShare(data);
+ } else {
+ wx.ready(() => {
+ this.inited = true;
+ this.wxUpdateShare(data);
+ });
+ }
+ },
+ // 修改转发内容
+ wxUpdateShare(data: IWxShareData) {
+ /**
+ * 获取“分享给朋友”及“分享到QQ”按钮点击状态及自定义分享内容接口(新)
+ */
+ wx.updateAppMessageShareData({
+ title: data.title,
+ desc: data.desc,
+ link: data.link,
+ imgUrl: data.imgUrl,
+ success: function () {},
+ });
+ /**
+ * 获取“分享到朋友圈”及“分享到QQ空间”按钮点击状态及自定义分享内容接口
+ */
+ wx.updateTimelineShareData({
+ title: data.title,
+ link: data.link,
+ imgUrl: data.imgUrl,
+ success: function () {},
+ });
+
+ /**
+ * 获取“分享给朋友”按钮点击状态及自定义分享内容接口
+ */
+ wx.onMenuShareAppMessage({
+ title: data.title,
+ desc: data.desc,
+ link: data.link,
+ imgUrl: data.imgUrl,
+ success: function () {},
+ cancel: function () {},
+ });
+ /**
+ * 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口
+ */
+ wx.onMenuShareTimeline({
+ title: data.title,
+ link: data.link,
+ imgUrl: data.imgUrl,
+ success: function () {},
+ cancel: function () {},
+ });
+ },
+ },
+});
diff --git a/src/stores/timerStore.ts b/src/stores/timerStore.ts
new file mode 100644
index 0000000..1497b11
--- /dev/null
+++ b/src/stores/timerStore.ts
@@ -0,0 +1,32 @@
+import { defineStore } from "pinia";
+
+interface ITimerState {
+ timerId: any;
+ isTimerRunning: boolean;
+}
+
+export const useTimerStore = defineStore("timer", {
+ state: (): ITimerState => ({
+ timerId: null,
+ isTimerRunning: false,
+ }),
+ actions: {
+ startTimer(cb: Function, interval: number) {
+ if (!this.isTimerRunning) {
+ this.timerId = setInterval(cb, interval);
+ this.isTimerRunning = true;
+ }
+ },
+ stopTimer() {
+ if (this.isTimerRunning) {
+ clearInterval(this.timerId);
+ this.timerId = null;
+
+ this.isTimerRunning = false;
+ }
+ },
+ resetTimer() {
+ this.stopTimer();
+ },
+ },
+});
diff --git a/src/types/axios.d.ts b/src/types/axios.d.ts
new file mode 100644
index 0000000..cb078f7
--- /dev/null
+++ b/src/types/axios.d.ts
@@ -0,0 +1,12 @@
+/* eslint-disable */
+import * as axios from "axios";
+
+// 扩展 axios 数据返回类型,可自行扩展
+declare module "axios" {
+ export interface AxiosResponse {
+ code: number;
+ data: T;
+ message: string | null;
+ [key: string]: T;
+ }
+}
diff --git a/src/types/menu.d.ts b/src/types/menu.d.ts
new file mode 100644
index 0000000..8899a4a
--- /dev/null
+++ b/src/types/menu.d.ts
@@ -0,0 +1,12 @@
+declare interface IMenuStateConfigItem {
+ id: number; // tabbar id
+ active: boolean; // tabbar 是否选中
+ column: number; // 栏目id
+ subColumn: number; // 子栏目id
+}
+declare interface IMenuStateConfig {
+ home: IMenuStateConfigItem;
+ vip: IMenuStateConfigItem;
+ mine: IMenuStateConfigItem;
+ [key: string]: IMenuStateConfigItem | T;
+}
diff --git a/src/uni.scss b/src/uni.scss
new file mode 100644
index 0000000..50d3d30
--- /dev/null
+++ b/src/uni.scss
@@ -0,0 +1,76 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+
+/* 颜色变量 */
+@import "@/uni_modules/uview-plus/theme.scss";
+/* 行为相关颜色 */
+$uni-color-primary: #007aff;
+$uni-color-success: #4cd964;
+$uni-color-warning: #f0ad4e;
+$uni-color-error: #dd524d;
+
+/* 文字基本颜色 */
+$uni-text-color: #333; // 基本色
+$uni-text-color-inverse: #fff; // 反色
+$uni-text-color-grey: #999; // 辅助灰色,如加载更多的提示信息
+$uni-text-color-placeholder: #808080;
+$uni-text-color-disable: #c0c0c0;
+
+/* 背景颜色 */
+$uni-bg-color: #fff;
+$uni-bg-color-grey: #f8f8f8;
+$uni-bg-color-hover: #f1f1f1; // 点击状态颜色
+$uni-bg-color-mask: rgba(0, 0, 0, 0.4); // 遮罩颜色
+
+/* 边框颜色 */
+$uni-border-color: #c8c7cc;
+
+/* 尺寸变量 */
+
+/* 文字尺寸 */
+$uni-font-size-sm: 12px;
+$uni-font-size-base: 14px;
+$uni-font-size-lg: 16;
+
+/* 图片尺寸 */
+$uni-img-size-sm: 20px;
+$uni-img-size-base: 26px;
+$uni-img-size-lg: 40px;
+
+/* Border Radius */
+$uni-border-radius-sm: 2px;
+$uni-border-radius-base: 3px;
+$uni-border-radius-lg: 6px;
+$uni-border-radius-circle: 50%;
+
+/* 水平间距 */
+$uni-spacing-row-sm: 5px;
+$uni-spacing-row-base: 10px;
+$uni-spacing-row-lg: 15px;
+
+/* 垂直间距 */
+$uni-spacing-col-sm: 4px;
+$uni-spacing-col-base: 8px;
+$uni-spacing-col-lg: 12px;
+
+/* 透明度 */
+$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
+
+/* 文章场景相关 */
+$uni-color-title: #2c405a; // 文章标题颜色
+$uni-font-size-title: 20px;
+$uni-color-subtitle: #555; // 二级标题颜色
+$uni-font-size-subtitle: 18px;
+$uni-color-paragraph: #3f536e; // 文章段落颜色
+$uni-font-size-paragraph: 15px;
diff --git a/src/uni_modules/uview-plus/LICENSE b/src/uni_modules/uview-plus/LICENSE
new file mode 100644
index 0000000..8e39ead
--- /dev/null
+++ b/src/uni_modules/uview-plus/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 www.uviewui.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/src/uni_modules/uview-plus/README.md b/src/uni_modules/uview-plus/README.md
new file mode 100644
index 0000000..323b439
--- /dev/null
+++ b/src/uni_modules/uview-plus/README.md
@@ -0,0 +1,64 @@
+
+
+
+uview-plus 3.0
+多平台快速开发的UI框架
+
+[](https://github.com/ijry/uview-plus)
+[](https://github.com/ijry/uview-plus)
+[](https://github.com/ijry/uview-plus/issues)
+[](https://gitee.com/uiadmin/uview-plus/releases)
+[](https://en.wikipedia.org/wiki/MIT_License)
+
+## 说明
+
+uview-plus,是uni-app全面兼容vue3/nvue的uni-app生态框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水。uview-plus是基于uView2.x移植的支持vue3的版本,感谢uView。
+
+## [官方文档:https://uiadmin.net/uview-plus](https://uiadmin.net/uview-plus)
+
+
+## 预览
+
+您可以通过**微信**扫码,查看最佳的演示效果。
+
+
+
+
+## 链接
+
+- [官方文档](https://uiadmin.net/uview-plus)
+- [更新日志](https://uiadmin.net/uview-plus/components/changelog.html)
+- [升级指南](https://uiadmin.net/uview-plus/components/changeGuide.html)
+- [关于我们](https://uiadmin.net/uview-plus/cooperation/about.html)
+
+## 交流反馈
+
+欢迎加入我们的QQ群交流反馈:[点此跳转](https://uiadmin.net/uview-plus/components/addQQGroup.html)
+
+## 关于PR
+
+> 我们非常乐意接受各位的优质PR,但在此之前我希望您了解uview-plus是一个需要兼容多个平台的(小程序、h5、ios app、android app)包括nvue页面、vue页面。
+> 所以希望在您修复bug并提交之前尽可能的去这些平台测试一下兼容性。最好能携带测试截图以方便审核。非常感谢!
+
+## 安装
+
+#### **uni-app插件市场链接** —— [https://ext.dcloud.net.cn/plugin?name=uview-plus](https://ext.dcloud.net.cn/plugin?name=uview-plus)
+
+请通过[官网安装文档](https://uiadmin.net/uview-plus/components/install.html)了解更详细的内容
+
+## 快速上手
+
+请通过[快速上手](https://uiadmin.net/uview-plus/components/quickstart.html)了解更详细的内容
+
+## 使用方法
+配置easycom规则后,自动按需引入,无需`import`组件,直接引用即可。
+
+```html
+
+
+
+```
+
+## 版权信息
+uview-plus遵循[MIT](https://en.wikipedia.org/wiki/MIT_License)开源协议,意味着您无需支付任何费用,也无需授权,即可将uview-plus应用到您的产品中。
+
diff --git a/src/uni_modules/uview-plus/changelog.md b/src/uni_modules/uview-plus/changelog.md
new file mode 100644
index 0000000..1bb5c3d
--- /dev/null
+++ b/src/uni_modules/uview-plus/changelog.md
@@ -0,0 +1,28 @@
+## 3.1.36(2023-08-08)
+修复富文本事件名称大小写
+## 3.1.35(2023-08-02)
+修复编译到支付宝小程序u-form报错
+## 3.1.34(2023-07-27)
+修复App打包uni.$u.mpMixin方式sdk暂时不支持导致报错
+## 3.1.33(2023-07-13)
+修复弹窗进入动画、模板页面样式等
+## 3.1.31(2023-07-11)
+修复dayjs引用
+## 3.0.8(2022-07-12)
+修复u-tag默认宽度撑满容器
+## 3.0.7(2022-07-12)
+修复u-navbar自定义插槽演示示例
+## 3.0.6(2022-07-11)
+修复u-image缺少emits申明
+## 3.0.5(2022-07-11)
+修复u-upload缺少emits申明
+## 3.0.4(2022-07-10)
+修复u-textarea/u-input/u-datetime-picker/u-number-box/u-radio-group/u-switch/u-rate在vue3下数据绑定
+## 3.0.3(2022-07-09)
+启用自建演示二维码
+## 3.0.2(2022-07-09)
+修复dayjs/clipboard等导致打包报错
+## 3.0.1(2022-07-09)
+增加插件市场地址
+## 3.0.0(2022-07-09)
+# uview-plus(vue3)初步发布
diff --git a/src/uni_modules/uview-plus/components/u--form/u--form.vue b/src/uni_modules/uview-plus/components/u--form/u--form.vue
new file mode 100644
index 0000000..b2b29a1
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u--form/u--form.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
diff --git a/src/uni_modules/uview-plus/components/u--image/u--image.vue b/src/uni_modules/uview-plus/components/u--image/u--image.vue
new file mode 100644
index 0000000..3060e52
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u--image/u--image.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/uni_modules/uview-plus/components/u--input/u--input.vue b/src/uni_modules/uview-plus/components/u--input/u--input.vue
new file mode 100644
index 0000000..f402884
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u--input/u--input.vue
@@ -0,0 +1,74 @@
+
+
+ :value="value"
+ @input="e => $emit('input', e)"
+
+
+ :modelValue="modelValue"
+ @update:modelValue="e => $emit('update:modelValue', e)"
+
+ :type="type"
+ :fixed="fixed"
+ :disabled="disabled"
+ :disabledColor="disabledColor"
+ :clearable="clearable"
+ :password="password"
+ :maxlength="maxlength"
+ :placeholder="placeholder"
+ :placeholderClass="placeholderClass"
+ :placeholderStyle="placeholderStyle"
+ :showWordLimit="showWordLimit"
+ :confirmType="confirmType"
+ :confirmHold="confirmHold"
+ :holdKeyboard="holdKeyboard"
+ :focus="focus"
+ :autoBlur="autoBlur"
+ :disableDefaultPadding="disableDefaultPadding"
+ :cursor="cursor"
+ :cursorSpacing="cursorSpacing"
+ :selectionStart="selectionStart"
+ :selectionEnd="selectionEnd"
+ :adjustPosition="adjustPosition"
+ :inputAlign="inputAlign"
+ :fontSize="fontSize"
+ :color="color"
+ :prefixIcon="prefixIcon"
+ :suffixIcon="suffixIcon"
+ :suffixIconStyle="suffixIconStyle"
+ :prefixIconStyle="prefixIconStyle"
+ :border="border"
+ :readonly="readonly"
+ :shape="shape"
+ :customStyle="customStyle"
+ :formatter="formatter"
+ :ignoreCompositionEvent="ignoreCompositionEvent"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/uni_modules/uview-plus/components/u--text/u--text.vue b/src/uni_modules/uview-plus/components/u--text/u--text.vue
new file mode 100644
index 0000000..bf40e18
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u--text/u--text.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
diff --git a/src/uni_modules/uview-plus/components/u--textarea/u--textarea.vue b/src/uni_modules/uview-plus/components/u--textarea/u--textarea.vue
new file mode 100644
index 0000000..8b69f1f
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u--textarea/u--textarea.vue
@@ -0,0 +1,47 @@
+
+ $emit('input', e)"
+ @update:modelValue="e => $emit('update:modelValue', e)"
+ >
+
+
+
diff --git a/src/uni_modules/uview-plus/components/u-action-sheet/props.js b/src/uni_modules/uview-plus/components/u-action-sheet/props.js
new file mode 100644
index 0000000..127f77c
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u-action-sheet/props.js
@@ -0,0 +1,55 @@
+import defprops from '../../libs/config/props';
+export default {
+ props: {
+ // 操作菜单是否展示 (默认false)
+ show: {
+ type: Boolean,
+ default: defprops.actionSheet.show
+ },
+ // 标题
+ title: {
+ type: String,
+ default: defprops.actionSheet.title
+ },
+ // 选项上方的描述信息
+ description: {
+ type: String,
+ default: defprops.actionSheet.description
+ },
+ // 数据
+ actions: {
+ type: Array,
+ default: defprops.actionSheet.actions
+ },
+ // 取消按钮的文字,不为空时显示按钮
+ cancelText: {
+ type: String,
+ default: defprops.actionSheet.cancelText
+ },
+ // 点击某个菜单项时是否关闭弹窗
+ closeOnClickAction: {
+ type: Boolean,
+ default: defprops.actionSheet.closeOnClickAction
+ },
+ // 处理底部安全区(默认true)
+ safeAreaInsetBottom: {
+ type: Boolean,
+ default: defprops.actionSheet.safeAreaInsetBottom
+ },
+ // 小程序的打开方式
+ openType: {
+ type: String,
+ default: defprops.actionSheet.openType
+ },
+ // 点击遮罩是否允许关闭 (默认true)
+ closeOnClickOverlay: {
+ type: Boolean,
+ default: defprops.actionSheet.closeOnClickOverlay
+ },
+ // 圆角值
+ round: {
+ type: [Boolean, String, Number],
+ default: defprops.actionSheet.round
+ }
+ }
+}
diff --git a/src/uni_modules/uview-plus/components/u-action-sheet/u-action-sheet.vue b/src/uni_modules/uview-plus/components/u-action-sheet/u-action-sheet.vue
new file mode 100644
index 0000000..b8d2dbf
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u-action-sheet/u-action-sheet.vue
@@ -0,0 +1,279 @@
+
+
+
+
+
+ {{description}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{cancelText}}
+
+
+
+
+
+
+
+
diff --git a/src/uni_modules/uview-plus/components/u-album/props.js b/src/uni_modules/uview-plus/components/u-album/props.js
new file mode 100644
index 0000000..713fcef
--- /dev/null
+++ b/src/uni_modules/uview-plus/components/u-album/props.js
@@ -0,0 +1,60 @@
+import defprops from '../../libs/config/props';
+export default {
+ props: {
+ // 图片地址,Array|Array