@jx3box/jx3box-ui 2.3.28 → 2.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -154,23 +154,10 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
@media screen and (max-width: @phone) {
|
|
157
|
-
.v-miniprogram {
|
|
158
|
-
.c-breadcrumb {
|
|
159
|
-
top: 0;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
157
|
.env-app {
|
|
164
158
|
.c-breadcrumb {
|
|
165
159
|
.none;
|
|
166
160
|
}
|
|
167
161
|
}
|
|
168
162
|
|
|
169
|
-
.wechat-miniprogram{
|
|
170
|
-
.c-breadcrumb{
|
|
171
|
-
.u-op {
|
|
172
|
-
.none;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
163
|
}
|
|
@@ -65,29 +65,10 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@media screen and (max-width: @phone) {
|
|
68
|
-
.v-miniprogram {
|
|
69
|
-
.c-main {
|
|
70
|
-
margin-top: @bread-height;
|
|
71
|
-
|
|
72
|
-
&.without-bread {
|
|
73
|
-
margin-top: 0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
68
|
.env-app {
|
|
79
69
|
.c-main {
|
|
80
70
|
.mt(0);
|
|
81
71
|
}
|
|
82
72
|
}
|
|
83
73
|
|
|
84
|
-
.wechat-miniprogram {
|
|
85
|
-
.c-wiki-comments {
|
|
86
|
-
.none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.m-single-comment {
|
|
90
|
-
.none;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
74
|
}
|
package/package.json
CHANGED
package/src/CommonFooter.vue
CHANGED
package/src/CommonHeader.vue
CHANGED
|
@@ -574,9 +574,7 @@ export default {
|
|
|
574
574
|
}
|
|
575
575
|
|
|
576
576
|
@media screen and (max-width: @phone) {
|
|
577
|
-
.env-app
|
|
578
|
-
.v-miniprogram,
|
|
579
|
-
.wechat-miniprogram {
|
|
577
|
+
.env-app {
|
|
580
578
|
.c-header {
|
|
581
579
|
.none;
|
|
582
580
|
}
|
|
@@ -584,11 +582,5 @@ export default {
|
|
|
584
582
|
padding-top: 0;
|
|
585
583
|
}
|
|
586
584
|
}
|
|
587
|
-
|
|
588
|
-
.wechat-miniprogram {
|
|
589
|
-
.c-header {
|
|
590
|
-
.none;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
585
|
}
|
|
594
586
|
</style>
|
package/src/interact/Share.vue
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
47
47
|
import QrcodeVue from "qrcode.vue";
|
|
48
48
|
import i18nMixin from "../../i18n/mixin";
|
|
49
|
+
import { copyText } from "../../utils";
|
|
49
50
|
|
|
50
51
|
const { __imgPath } = JX3BOX;
|
|
51
52
|
export default {
|
|
@@ -73,7 +74,6 @@ export default {
|
|
|
73
74
|
return {
|
|
74
75
|
apis: {
|
|
75
76
|
qzone: 'https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?',
|
|
76
|
-
qq: 'http://connect.qq.com/widget/shareqq/index.html?',
|
|
77
77
|
wechat: '',
|
|
78
78
|
weibo: 'https://service.weibo.com/share/share.php?',
|
|
79
79
|
tieba: 'http://tieba.baidu.com/f/commit/share/openShareApi?'
|
|
@@ -125,7 +125,6 @@ export default {
|
|
|
125
125
|
qzone: this.shareToQzone,
|
|
126
126
|
weibo: this.shareToWeibo,
|
|
127
127
|
tieba: this.shareToTieba,
|
|
128
|
-
qq: this.shareToQQ,
|
|
129
128
|
}
|
|
130
129
|
},
|
|
131
130
|
iconPath() {
|
|
@@ -150,12 +149,6 @@ export default {
|
|
|
150
149
|
+ `&desc=${this.meta?.desc || ''}`
|
|
151
150
|
+ `&pics=${this.pic}`;
|
|
152
151
|
},
|
|
153
|
-
shareToQQ: function (){
|
|
154
|
-
return this.apis['qq']
|
|
155
|
-
+ `url=${this.url}`
|
|
156
|
-
+ `&title=${this.title}`
|
|
157
|
-
+ `&pics=${this.pic}`;
|
|
158
|
-
},
|
|
159
152
|
shareToTieba: function (){
|
|
160
153
|
return this.apis['tieba']
|
|
161
154
|
+ `url=${this.url}`
|
|
@@ -165,6 +158,10 @@ export default {
|
|
|
165
158
|
+ `&pic=${this.pic}`;
|
|
166
159
|
},
|
|
167
160
|
share: function (val){
|
|
161
|
+
if (val === "qq") {
|
|
162
|
+
copyText(`【${this.title}】 ${this.url.href}`);
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
168
165
|
window.open(this.urls[val](), "_blank")
|
|
169
166
|
}
|
|
170
167
|
},
|