|
@@ -134,8 +134,16 @@
|
|
|
@confirm="shear_page"
|
|
|
style="padding: 5px"
|
|
|
>
|
|
|
- <div class="van-ellipsis" style="margin: 0.5em 0;" v-text="selectItem.name"></div>
|
|
|
- <div class="van-ellipsis unit" style="margin: 0.5em 0;" v-text="selectItem.university"></div>
|
|
|
+ <div
|
|
|
+ class="van-ellipsis"
|
|
|
+ style="margin: 0.5em 0"
|
|
|
+ v-text="selectItem.name"
|
|
|
+ ></div>
|
|
|
+ <div
|
|
|
+ class="van-ellipsis unit"
|
|
|
+ style="margin: 0.5em 0"
|
|
|
+ v-text="selectItem.university"
|
|
|
+ ></div>
|
|
|
<div style="position: relative" @click="toDetal(selectItem.file)">
|
|
|
<van-icon
|
|
|
size="50"
|
|
@@ -336,12 +344,13 @@ const cancel = async () => {
|
|
|
const w1 = w * 0.8;
|
|
|
const fs = w / 20;
|
|
|
const bs = w / 15;
|
|
|
+ const title_text = selectItem.value.name.replace(/《|》/g, '');
|
|
|
const title =
|
|
|
- selectItem.value.name.length >= 16
|
|
|
- ? selectItem.value.name.split('').splice(0, 13).join('') + '...'
|
|
|
- : selectItem.value.name;
|
|
|
+ title_text.length >= 16
|
|
|
+ ? title_text.split('').splice(0, 13).join('') + '...'
|
|
|
+ : title_text;
|
|
|
const qt = await QRCode.toDataURL(
|
|
|
- [location.host, '/finance.html?id=', selectItem.value.id].join('')
|
|
|
+ [location.protocol, '//', location.host, '/finance.html?id=', selectItem.value.id].join('')
|
|
|
);
|
|
|
const layers = {
|
|
|
list: [
|
|
@@ -534,7 +543,6 @@ const formmate = num => {
|
|
|
};
|
|
|
|
|
|
const clickShowVideo = item => {
|
|
|
- // location.href = item.file;
|
|
|
selectItem.value = item || {};
|
|
|
hxrDialog.value = true;
|
|
|
};
|