tijiao
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
<view
|
||||
class="home_wrap home_wrap_analysis"
|
||||
v-if="options.type != 'detail'"
|
||||
:style="`height: calc(100% - ${48 + statusBarHeight}px);`"
|
||||
:style="`height:auto;overflow-y: visible`"
|
||||
>
|
||||
<view class="home_form" style="position: relative">
|
||||
<view
|
||||
@@ -133,8 +133,8 @@
|
||||
@afterRead="addPic"
|
||||
@delete="deletePic"
|
||||
multiple
|
||||
width="120"
|
||||
height="120"
|
||||
width="110"
|
||||
height="110"
|
||||
:previewFullImage="true"
|
||||
>
|
||||
</u-upload>
|
||||
@@ -264,7 +264,7 @@
|
||||
v-if="articleInfo.createTime"
|
||||
>{{ articleInfo.createTime }}
|
||||
<uni-icons
|
||||
v-if="articleInfo.come == 0"
|
||||
|
||||
type="trash-filled"
|
||||
size="24"
|
||||
@tap="showDel = true"
|
||||
@@ -632,6 +632,7 @@ export default {
|
||||
|
||||
delArticle() {
|
||||
var that = this;
|
||||
this.showDel=false
|
||||
uni.showLoading({
|
||||
title: "加载中",
|
||||
});
|
||||
@@ -649,6 +650,7 @@ export default {
|
||||
.then((res) => {
|
||||
uni.hideLoading();
|
||||
if (res.code == 0) {
|
||||
|
||||
uni.showToast({
|
||||
title: "删除成功",
|
||||
icon: "success",
|
||||
@@ -657,6 +659,7 @@ export default {
|
||||
|
||||
this.$commonJS.refreshPrevPageData();
|
||||
} else {
|
||||
this.showDel=false
|
||||
uni.showToast({
|
||||
title: "删除失败",
|
||||
icon: "success",
|
||||
@@ -685,7 +688,7 @@ export default {
|
||||
type: 0,
|
||||
href: this.$apkUrl,
|
||||
title: `我在【太湖云医】发布了文章 “ ${this.articleInfo.title} ”`,
|
||||
// summary: `${this.productInfo.content}`,
|
||||
summary: `${this.articleInfo.content.substring(0, 50).replace(/<[^>]*>/g, '').trim()}`,
|
||||
imageUrl: image,
|
||||
success: function (res) {
|
||||
console.log("success:" + JSON.stringify(res));
|
||||
@@ -702,7 +705,7 @@ export default {
|
||||
type: 0,
|
||||
href: this.$apkUrl,
|
||||
title: `我在【太湖云医】发布了文章 “ ${this.articleInfo.title} ”`,
|
||||
// summary: `${this.taskInfo.content}`,
|
||||
summary: `${this.articleInfo.content.substring(0, 50).replace(/<[^>]*>/g, '').trim()}`,
|
||||
imageUrl: image,
|
||||
success: function (res) {
|
||||
console.log("success:" + JSON.stringify(res));
|
||||
|
||||
Reference in New Issue
Block a user