@@ -8,7 +8,7 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
- "@jy/plugin-bind-phone": "^1.0.6",
+ "@jy/plugin-bind-phone": "^1.0.7",
"@js-preview/docx": "^1.6.0",
"@js-preview/excel": "^1.7.3",
"@vue-office/docx": "^1.6.0",
@@ -1,5 +1,5 @@
<template>
- <div class="doc-container van-hairline--bottom" @click="clickCard">
+ <div class="doc-container van-hairline--bottom" @click="clickCard" v-bound-phone="bindPhoneCard()">
<div class="docs-card oneline" v-if="cardType === 'oneline'" key="docs-card">
<div class="docs-header flex-r-c center">
<van-icon :name="docTypeIcon" />
@@ -114,6 +114,17 @@ export default class DocsCard extends Vue {
clickCard () {
this.$emit('onClick')
}
+
+ bindPhoneCard () {
+ return {
+ props: {
+ name: this.title
+ },
+ next: () => {
+ this.$emit('onClick')
+ }
</script>
@@ -343,7 +343,7 @@ export default class extends Vue {
bindPhoneGoContent (item: any) {
return {
props: {
- name: ''
+ name: '文库首页-' + item.name
next: () => {
this.goContent(item)