提交 0f3527d2 编写于 作者: BaiXuePrincess's avatar BaiXuePrincess 🐕

Merge branch 'master' into 'lixueqin'

# Conflicts:
#   data/db.json
......@@ -11,6 +11,7 @@ pages:
- npm run build
artifacts:
paths:
- public
- public
expire_in: 1 day
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
> 您需要按照下列要求填写开源项目,我们将对您填写的内容进行审核,审核通过以后由 Gitcode 运营人员将填写好的项目补充到[开源导航页面](https://codechina_dev.gitcode.host/git2/#/sim)。同时您可以收到 CSDN Gitcode 团队为答谢您为开源社区所做贡献而提供的精美礼品一份
> 您需要按照下列要求填写开源项目,我们将对您填写的内容进行审核,通过以后会由 Gitcode 运营人员将填写好的项目补充到[开源百科页面](https://codechina_dev.gitcode.host/git2/#/sim)。同时可以获得 CSDN Gitcode 团队为您邮寄的精美礼品一份,以答谢您为开源社区所做出的贡献
### 项目所属三级分类
### 项目所属领域
- 分类(`必须`):请从这里选择一个
编程语言,大前端,人工智能,数据库,操作系统/芯片,云原生,大数据,物联网,区块链,企业应用,边缘计算,游戏/娱乐,量子计算
如:人工智能
......@@ -18,7 +18,7 @@
- 项目官网地址
- Gitcode 代码托管地址(可选)
- Gitcode 代码托管地址(可选,访问https://gitcode.net/查看
- 其他代码托管平台地址(可选)
......@@ -30,4 +30,7 @@
- 中文文档地址(可选)
- 其他文档地址(可选)
\ No newline at end of file
- 其他文档地址(可选)
- 贡献者(网名/实名 `不超过8字`
此差异已折叠。
......@@ -76,7 +76,7 @@ const c: IConfig = {
posterImageUrls: [
'https://codechina_dev.gitcode.host/git/assets/img/pattern2.svg'
],
description: '<h4><a href="https://bbs.csdn.net/topics/603471283" target="_blank">Git 上手</a><a href="https://gitcode.net/" target="_blank">GitCode</a><a href="https://bbs.csdn.net/forums/opensource?typeId=285&category=18" target="_blank">开源科普</a><a href="https://bbs.csdn.net/forums/opensource?typeId=285&category=18" target="_blank">我要贡献内容 🙋‍♂️</a></h4>'
description: '<h4><a href="https://bbs.csdn.net/topics/603471283" target="_blank">Git 上手</a><a href="https://gitcode.net/" target="_blank">GitCode</a><a href="https://bbs.csdn.net/forums/opensource?typeId=285&category=18" target="_blank">开源科普</a><a href="https://bbs.csdn.net/topics/603483762" target="_blank">我要贡献内容 🙋‍♂️</a></h4>'
}
}
......
......@@ -12,7 +12,7 @@
"homepage": "https://github.com/xjh22222228/nav",
"scripts": {
"ng": "ng",
"start": "ng serve --port=7000",
"start": "ng serve --port=7000 --disable-host-check",
"setup": "tsc nav.config.ts && ts-node ./scripts/build.mjs",
"build": "npm run setup && ng build --prod --base-href ./",
"lint": "eslint --cache --ext .js,.ts ./src"
......
......@@ -5,7 +5,7 @@
nzHoverable
nzType="inner"
>
<div class="rate">
<div class="rate" *ngIf="dataSource.rate && dataSource.rate!=0">
<nz-rate
[ngModel]="dataSource.rate"
[nzDisabled]="!isLogin"
......@@ -13,6 +13,9 @@
(ngModelChange)="onRateChange($event)"
>
</nz-rate>
<div *ngIf="dataSource.createdAt && dataSource.createdAt.length<8" style="float:right;margin-block-start: 0.5em;max-width: 140px;">
{{ dataSource.createdAt + "贡献"}}
</div>
</div>
<a [href]="dataSource.url" target="_blank" rel="noreferer noopener">
<nz-card-meta
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册