Commit 3dca1b68 authored by 何毅恒's avatar 何毅恒

c

parent 65ebd0e7
<template> <template>
<div id="ArticleItem" @click="toDetails(props.row.id)"> <div id="ArticleItem" @click="toDetails(props.row.id)">
<div class="box"> <div class="box">
<p class="title">{{ props.row.title }}</p> <p class="title">
{{ props.row.title }}
</p>
<img src="../assets/icon/rightArrow.png" alt="" /> <img src="../assets/icon/rightArrow.png" alt="" />
</div> </div>
</div> </div>
...@@ -36,6 +38,9 @@ const toDetails = (id): void => { ...@@ -36,6 +38,9 @@ const toDetails = (id): void => {
margin-right: 6px; margin-right: 6px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
color: #333;
} }
img { img {
width: 17px; width: 17px;
......
...@@ -8,7 +8,7 @@ class wxJssdk{ ...@@ -8,7 +8,7 @@ class wxJssdk{
} }
// 初始化配置 // 初始化配置
async wxConfig(){ async wxConfig(){
let url:string = window.location.href.split("/#")[0]; let url:string = window.location.href.split("#")[0];
let res:any = await post('Information/getTicket',{url}) let res:any = await post('Information/getTicket',{url})
if (res.code == 0) { if (res.code == 0) {
wx.config({ wx.config({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment