This commit is contained in:
pplokijuhyg 2019-12-23 16:51:10 +08:00
parent adcf905e5d
commit f67814f8b9
4 changed files with 6 additions and 5 deletions

View File

@ -206,7 +206,7 @@ export default {
shar() { shar() {
const input = document.createElement("input"); const input = document.createElement("input");
document.body.appendChild(input); document.body.appendChild(input);
var url = this.type==1?`http://www.lawpro.cn/phone/#/articledetail?id=${this.id}` : `http://www.lawpro.cn/phone/#/IndexArticleDetaill?id=${this.id}` var url = this.type==1?`http://mobile.lawpro.cn/articledetail?id=${this.id}` : `http://mobile.lawpro.cn/IndexArticleDetaill?id=${this.id}`
input.setAttribute("value", url); input.setAttribute("value", url);
input.select(); input.select();
if (document.execCommand("copy")) { if (document.execCommand("copy")) {

View File

@ -97,6 +97,7 @@
} }
/deep/ *{ /deep/ *{
line-height: 1.5; line-height: 1.5;
font-size:26rpx;
} }
// p { // p {
@ -186,7 +187,7 @@ export default {
shar() { shar() {
const input = document.createElement("input"); const input = document.createElement("input");
document.body.appendChild(input); document.body.appendChild(input);
var url = `http://www.lawpro.cn/phone//#/IndexArticleDetaill?id=${this.$route.query.id}` var url = `http://mobile.lawpro.cn/IndexArticleDetaill?id=${this.$route.query.id}`
input.setAttribute("value", url); input.setAttribute("value", url);
input.select(); input.select();
if (document.execCommand("copy")) { if (document.execCommand("copy")) {

View File

@ -144,7 +144,7 @@
} }
/deep/ *{ /deep/ *{
line-height: 1.5; line-height: 1.5;
font-size: 16px; font-size: 26px;
} }
> p { > p {
line-height: 40px; line-height: 40px;
@ -245,7 +245,7 @@ export default {
shar() { shar() {
const input = document.createElement("input"); const input = document.createElement("input");
document.body.appendChild(input); document.body.appendChild(input);
var url = `http://www.lawpro.cn/phone/#/articledetail?id=${this.$route.query.id}` var url = `http://mobile.lawpro.cn/articledetail?id=${this.$route.query.id}`
input.setAttribute("value", url); input.setAttribute("value", url);
input.select(); input.select();
if (document.execCommand("copy")) { if (document.execCommand("copy")) {

View File

@ -19,7 +19,7 @@ import ArticleDetail from "./articledetail.vue"
import detaillurl from "./detaillurl" import detaillurl from "./detaillurl"
Vue.use(Router) Vue.use(Router)
const router=new Router({ const router=new Router({
mode:'hash', mode:'history',
routes: [ routes: [
{ {
path: '/articledetail', path: '/articledetail',