Commit f326bff8 authored by zhanglw's avatar zhanglw

询价取消登录

parent 08d1d1eb
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
</el-dialog> </el-dialog>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item v-if="formData.productType&&formData.productType<5" label="产品概述:" class="form-cell" prop="productDescribe"> <el-form-item v-if="formData.productType&&(formData.productType<8)" label="产品概述:" class="form-cell" prop="productDescribe">
<div class="cell-box"> <div class="cell-box">
<div ref="editor" class="editor" /> <div ref="editor" class="editor" />
</div> </div>
...@@ -321,7 +321,7 @@ export default { ...@@ -321,7 +321,7 @@ export default {
}, },
methods: { methods: {
typeChang() { typeChang() {
if (this.formData.productType < 5) { if (this.formData.productType < 8) {
this.$nextTick(() => { this.$nextTick(() => {
if (!this.editor) { if (!this.editor) {
const _this = this const _this = this
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</div> </div>
<div style="display: none;clear: both">{{ formData.productPic }}</div> <div style="display: none;clear: both">{{ formData.productPic }}</div>
</el-form-item> </el-form-item>
<el-form-item v-if="formData.productType&&formData.productType<5" label="产品概述:" class="form-cell" prop="productDescribe"> <el-form-item v-if="formData.productType&&formData.productType<8" label="产品概述:" class="form-cell" prop="productDescribe">
<div class="cell-box"> <div class="cell-box">
<div ref="editor" class="editor" /> <div ref="editor" class="editor" />
</div> </div>
...@@ -340,7 +340,7 @@ export default { ...@@ -340,7 +340,7 @@ export default {
}, },
methods: { methods: {
typeChang() { typeChang() {
if (this.formData.productType < 5) { if (this.formData.productType < 8) {
this.$nextTick(() => { this.$nextTick(() => {
if (!this.editor) { if (!this.editor) {
const _this = this const _this = this
......
...@@ -116,11 +116,11 @@ export default { ...@@ -116,11 +116,11 @@ export default {
} }
this.productId = productId this.productId = productId
this.customerId = customerId this.customerId = customerId
HttpReq.webClientApi.personalCenterInfo().then((res) => { // HttpReq.webClientApi.personalCenterInfo().then((res) => {
if (res.code === 200) { // if (res.code === 200) {
this.showView() // this.showView()
} // }
}) // })
} }
} }
} }
......
...@@ -135,7 +135,8 @@ ...@@ -135,7 +135,8 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<div class="box-title touch" @click="goToDetails(item, '/product/details')">{{ item.title }}</div> <div class="box-title touch" @click="goToDetails(item, '/product/details')">{{ item.title }}</div>
<div class="content ellipsis">{{ item.productDescribe }}</div> <div class="content ellipsis" v-html="item.productDescribe"></div>
<!-- <div class="content ellipsis">{{ item.productDescribe }}</div>-->
<div class="line-btn" style="margin-top: 4px;justify-content: flex-end;"> <div class="line-btn" style="margin-top: 4px;justify-content: flex-end;">
<div class="btn-o" style="width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;" @click="inquiry(item, 'project')">咨 询</div> <div class="btn-o" style="width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;" @click="inquiry(item, 'project')">咨 询</div>
</div> </div>
......
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<div class="box-title touch" @click="goToDetails(item, '/product/details')">{{ item.title }}</div> <div class="box-title touch" @click="goToDetails(item, '/product/details')">{{ item.title }}</div>
<div class="content ellipsis" :title="item.content">{{ item.content }}</div> <div class="content ellipsis" v-html="item.content"></div>
<!-- <div class="content ellipsis" :title="item.content">{{ item.content }}</div> -->
<div class="line-btn" style="margin-top: 4px;justify-content: flex-end;"> <div class="line-btn" style="margin-top: 4px;justify-content: flex-end;">
<div class="btn-o" style="width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;" @click="inquiry(item, 'project')">咨 询</div> <div class="btn-o" style="width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;" @click="inquiry(item, 'project')">咨 询</div>
</div> </div>
...@@ -49,8 +50,7 @@ ...@@ -49,8 +50,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<div class="box-title touch" style="padding-left: 30px" @click="goToDetails(item, '/product/details')">{{ item.title }}</div> <div class="box-title touch" style="padding-left: 30px" @click="goToDetails(item, '/product/details')">{{ item.title }}</div>
<div class="content ellipsis" style="height: 200px;padding: 4px 10px 20px 30px;-webkit-line-clamp: 6;" :title="item.content"> <div class="content ellipsis" style="height: 200px;padding: 4px 10px 20px 30px;-webkit-line-clamp: 6;" :title="item.content" v-html="item.content">
&#12288;&#12288;{{ item.content }}
</div> </div>
<div class="line-btn" style="margin-top: 4px;justify-content: flex-end;"> <div class="line-btn" style="margin-top: 4px;justify-content: flex-end;">
<div class="btn-o" style="width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;" @click="inquiry(item, null)">咨 询</div> <div class="btn-o" style="width: 140px;border-radius: 10px;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);font-size:20px;" @click="inquiry(item, null)">咨 询</div>
......
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