askbot-dragon 0.7.54 → 0.7.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<div class="asset-details">
|
|
4
4
|
<section class="details-title">
|
|
5
5
|
<p>您正在咨询</p>
|
|
6
|
-
<span @click="rotateClick" :class="rotateFlag ? 'rotate' : ''">
|
|
6
|
+
<span v-if="!isThirdParty" @click="rotateClick" :class="rotateFlag ? 'rotate' : ''">
|
|
7
7
|
<i class="arsenal_icon arsenalangle-up-solid"></i>
|
|
8
8
|
</span>
|
|
9
9
|
</section>
|
|
10
|
-
<div class="details-content">
|
|
10
|
+
<div class="details-content" v-if="!isThirdParty">
|
|
11
11
|
<img
|
|
12
12
|
class="backgroundImg"
|
|
13
13
|
v-if="dataDetails.product.productImgPathes && dataDetails.product.productImgPathes.length != 0"
|
|
@@ -33,6 +33,46 @@
|
|
|
33
33
|
</section>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
|
+
<div class="details-content" v-if="isThirdParty">
|
|
37
|
+
<img
|
|
38
|
+
class="backgroundImg"
|
|
39
|
+
v-if="dataDetails.product.productImgPathes && dataDetails.product.productImgPathes.length != 0"
|
|
40
|
+
:src="dataDetails.product.productImgPathes"
|
|
41
|
+
alt=""
|
|
42
|
+
/>
|
|
43
|
+
<div class="background-null" v-else>
|
|
44
|
+
{{ dataDetails.productName | filterName }}
|
|
45
|
+
</div>
|
|
46
|
+
<div class="content-text">
|
|
47
|
+
<p class="text-title">{{ dataDetails.name }}</p>
|
|
48
|
+
<section class="text-label">
|
|
49
|
+
<p class="text-type">
|
|
50
|
+
<i class="iconfont guoran-bumen"></i>
|
|
51
|
+
<span
|
|
52
|
+
v-if="
|
|
53
|
+
dataDetails.depts &&
|
|
54
|
+
dataDetails.depts.length != 0 &&
|
|
55
|
+
dataDetails.depts[0].wechatBotDTO &&
|
|
56
|
+
dataDetails.depts[0].wechatBotDTO.wechatType == 0 &&
|
|
57
|
+
dataDetails.depts[0].wechatBotDTO.bindType == 0
|
|
58
|
+
"
|
|
59
|
+
>
|
|
60
|
+
<ww-open-data
|
|
61
|
+
type="departmentName"
|
|
62
|
+
:openid="dataDetails.depts[0].name"
|
|
63
|
+
></ww-open-data>
|
|
64
|
+
</span>
|
|
65
|
+
<span v-else>
|
|
66
|
+
{{ (dataDetails.depts && dataDetails.depts[0]) ? dataDetails.depts[0].name : "--" }}
|
|
67
|
+
</span>
|
|
68
|
+
</p>
|
|
69
|
+
<p class="text-SN">
|
|
70
|
+
<i class="iconfont guoran-tongyichicun-mingcheng"></i>
|
|
71
|
+
<span>{{ dataDetails.thirdAssetsCode ? dataDetails.thirdAssetsCode : "--" }}</span>
|
|
72
|
+
</p>
|
|
73
|
+
</section>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
36
76
|
<div class="details-content-hide" v-if="rotateFlag">
|
|
37
77
|
<p>
|
|
38
78
|
<i class="iconfont guoran-miaoshu"></i>
|
|
@@ -167,6 +207,9 @@ export default {
|
|
|
167
207
|
}
|
|
168
208
|
return dataDetails;
|
|
169
209
|
},
|
|
210
|
+
isThirdParty() {
|
|
211
|
+
return this.data.assets.thirdAssetsCode
|
|
212
|
+
}
|
|
170
213
|
},
|
|
171
214
|
methods: {
|
|
172
215
|
rotateClick() {
|