From 6049a703a1090b36d0963d84efa3e4e67044f4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 8 Jun 2023 17:35:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=89=8B=E6=9C=BA=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/assets/icon_link_document.png | Bin 0 -> 415 bytes jero-web/src/assets/icon_star_document.png | Bin 0 -> 453 bytes jero-web/src/assets/icon_wiki.png | Bin 0 -> 410 bytes .../src/views/phoneView/documentDetails.vue | 34 +++++++++++++++--- 4 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 jero-web/src/assets/icon_link_document.png create mode 100644 jero-web/src/assets/icon_star_document.png create mode 100644 jero-web/src/assets/icon_wiki.png diff --git a/jero-web/src/assets/icon_link_document.png b/jero-web/src/assets/icon_link_document.png new file mode 100644 index 0000000000000000000000000000000000000000..c23dc978d0f9254efae034e9b3b105c0f221f97b GIT binary patch literal 415 zcmV;Q0bu@#P)iXC7DKm|YrI^*b!rz8~+Dv%OF1xrqj<6tNOJHQH{1iXsb=i5YvOfXR| z`Y!u6yWczAbOAfq< zftke9t{>qTE(vf8Y@TJ?CD5X7geqLlV57+Ci_k)x431rV4VV6c8#A)CMDoJH)p@R* zq$9)G#0u5HhY&x51bL}^=*n&@PF6D3Sf1<(zbdU;&}kcgRUg(9{cBD(%|-wK002ov JPDHLkV1joau6zIh literal 0 HcmV?d00001 diff --git a/jero-web/src/assets/icon_star_document.png b/jero-web/src/assets/icon_star_document.png new file mode 100644 index 0000000000000000000000000000000000000000..580dcb5ab3becbd2502c7c5e0348eab270d08d69 GIT binary patch literal 453 zcmV;$0XqJPP)WK;2HyiB21-_t;$3o;2oz;!oz6!D+ffC z4zshI?1Lf~v{syWz{&@VXUH5mu!nZD9)kw=Q}Gfyc8_utC)E(P5o*sQfbkPiv;b8u zp=1T}hyA{rWuK7A6FVKnDkmF(nXiec2adY1t?gOug{t+_Y@o~(1N4&DV_5r=@7;PtdkZ1ge+rnqRc&w$WmV)ZQJK^v@#pnQ+%+2QHRKS)(2`K?O2o)eYpoCBX+`-OoC8q~ z{v^w@t2aOPN^gOl9ndle2iYqTl5HXemG1RmZG9ta71EvC%L%Nv>rvR*^t{ooIxUJ% z!2IZs!3mg57?P1}S6mb9z1u5&EnT{)jkmAjjMX5$MjKI@sQBVdbP~78q(-AzuF;kG zOMy6jZvLvo9SQKy^bPt3eS-ruShEVI;7moS*%VdI9X)%{iB|I{-_%MC!pe$%>{^Tr zE%v)07y~x{PH~=u5&oc>O=;~5Dq9bgYPk;>SA=@>YaZjmTP941*|Tiopv1nY(`?*W zx;!rKnnzuQ(76sjKb|DRp1coH7W+@R6S-*I;o_M10zYw8q
- - {{$t('subscribe')}} + + + {{$t('subscribe')}}
- - {{$t('Collection')}} + + + {{$t('Collection')}}
@@ -130,6 +132,7 @@ mounted() { document.title = 'NIO GRP' let _this = this + this.getWdkCollectAndSubscribeInfoByUser() this.getTitle(function() { _this.getInfoById() }) @@ -137,6 +140,7 @@ watch: { '$route': function(res) { let _this = this + this.getWdkCollectAndSubscribeInfoByUser() this.getTitle(function() { _this.getInfoById() }) @@ -146,6 +150,22 @@ iconClick() { this.$router.go(-1) }, + getWdkCollectAndSubscribeInfoByUser() { + getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => { + if (res.success) { + if (res.result.subscribeList && res.result.subscribeList.length > 0) { + this.subscribeFlag = '1' + } else { + this.subscribeFlag = '0' + } + if (res.result.collectionList && res.result.collectionList.length > 0) { + this.collectFlag = '1' + } else { + this.collectFlag = '0' + } + } + }) + }, getTitle(callback) { this.show = true let _id = this.$route.query.id @@ -179,6 +199,7 @@ getAction(url, { id: this.$route.query.id }).then((res) => { if (res.success) { Toast(this.$t('OperationSuccessful')) + this.getWdkCollectAndSubscribeInfoByUser() } else { Toast(this.$t('operationFailed')) } @@ -194,6 +215,7 @@ getAction(url, { id: this.$route.query.id }).then((res) => { if (res.success) { Toast(this.$t('OperationSuccessful')) + this.getWdkCollectAndSubscribeInfoByUser() } else { Toast(this.$t('operationFailed')) } @@ -504,4 +526,8 @@ align-items: center; justify-content: center; } + + .header-right-text-color { + color: #01A0AC!important; + } \ No newline at end of file