Browse Source

v-html最大宽度修改,分享活动标题修改

dev
mk 1 year ago
parent
commit
e5dc9d3001
  1. 20
      src/views/activity/detail.vue
  2. 4
      src/views/communityPublicity/detail.vue
  3. 4
      src/views/mine/mySatisfaction/index.vue

20
src/views/activity/detail.vue

@ -97,20 +97,26 @@ export default {
if (wx.updateAppMessageShareData) {
wx.ready(function () {
wx.updateAppMessageShareData({
title: 'e智社区',
desc: than.info.activityName,
title: than.info.activityName,
desc: '',
link: `https://epmet-preview.elinkservice.cn/epmet-wx-pa/#/activityDetail?id=${than.$route.query.id}&appId=${than.$store.state.app.appId}`,
imgUrl: 'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/20240710/617f7fb327064d89892823b81b11cd70.png',
imgUrl: than.info.coverPic || 'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/20240710/617f7fb327064d89892823b81b11cd70.png',
success: function () {}
})
wx.updateTimelineShareData({
title: than.info.activityName,
desc: '',
link: `https://epmet-preview.elinkservice.cn/epmet-wx-pa/#/activityDetail?id=${than.$route.query.id}&appId=${than.$store.state.app.appId}`,
imgUrl: than.info.coverPic || 'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/20240710/617f7fb327064d89892823b81b11cd70.png',
success: function () {}
})
});
} else {
wx.onMenuShareAppMessage({
title: 'e智社区',
desc: than.info.activityName,
title: than.info.activityName,
desc: '',
link: `https://epmet-preview.elinkservice.cn/epmet-wx-pa/#/activityDetail?id=${than.$route.query.id}&appId=${than.$store.state.app.appId}`,
imgUrl: 'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/20240710/617f7fb327064d89892823b81b11cd70.png',
imgUrl: than.info.coverPic || 'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/20240710/617f7fb327064d89892823b81b11cd70.png',
success: function () {}
})
}

4
src/views/communityPublicity/detail.vue

@ -108,7 +108,9 @@ export default {
:deep(.p0>.van-cell) {
padding: 0;
}
:deep img{
max-width: 100%;
}
:deep(.van-cell) {
padding: 16px 8px;
}

4
src/views/mine/mySatisfaction/index.vue

@ -2,7 +2,7 @@
<div class='container'>
<van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="inspRecord" class="card"
:offset="50" style="padding: 0;">
<div class="activity_content flex flex-center2" v-for="(item, index) in list" :key="index">
<div class="activity_content flex flex-center2" v-for="(item, index) in list" :key="index" @click="handelClickJump(item.questionnaireUrl)">
<div class="flex1 flex flex-y">
<div class="title" style="color: #333333;">
{{item.recordTitle}}
@ -56,7 +56,7 @@ export default {
}
},
handelClickJump(path) {
window.open(path)
}
},
components: {},

Loading…
Cancel
Save