细节修改
This commit is contained in:
parent
da255070ff
commit
cd63935b92
1
sub-operation-service/components.d.ts
vendored
1
sub-operation-service/components.d.ts
vendored
@ -12,6 +12,7 @@ declare module 'vue' {
|
||||
BreadComp: typeof import('./src/components/breadComp.vue')['default']
|
||||
CenterMap: typeof import('./src/components/centerMap.vue')['default']
|
||||
CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default']
|
||||
copy: typeof import('./src/components/custom-scroll-title copy/index.vue')['default']
|
||||
CostomImg: typeof import('./src/components/costomImg.vue')['default']
|
||||
CustomBack: typeof import('./src/components/customBack.vue')['default']
|
||||
CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default']
|
||||
|
BIN
sub-operation-service/src/assets/images/njIcon/pj.png
Normal file
BIN
sub-operation-service/src/assets/images/njIcon/pj.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 869 B |
@ -82,7 +82,7 @@
|
||||
<p style="color: #25bf82; font-size: 16px">1800 元/天</p>
|
||||
</div>
|
||||
<div>
|
||||
<el-button type="primary" size="large" style="width: 120px">立即租用</el-button>
|
||||
<el-button type="primary" size="large" style="width: 120px">立即预约</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -220,7 +220,7 @@
|
||||
<!-- 核心配件 -->
|
||||
<div style="margin-bottom: 10px">
|
||||
<p style="display: flex; align-items: center; gap: 4px; font-size: 18px; font-weight: bold; margin-bottom: 5px">
|
||||
<img style="width: 33px; height: 33px" src="../../../assets/images/njIcon/js.png" alt="" />
|
||||
<img style="width: 33px; height: 33px" src="../../../assets/images/njIcon/pj.png" alt="" />
|
||||
<span>核心配件</span>
|
||||
</p>
|
||||
<div style="display: flex; flex-wrap: wrap; /* 允许换行 */ gap: 4px; /* 元素间距 */ justify-content: space-around; /* 左对齐 */">
|
||||
|
@ -74,7 +74,7 @@ onMounted(() => {
|
||||
queryList();
|
||||
});
|
||||
|
||||
const extractText = (htmlText, maxChars = 80) => {
|
||||
const extractText = (htmlText, maxChars = 86) => {
|
||||
// 去除 HTML 标签
|
||||
const cleanText = htmlText.replace(/<[^>]+>/g, '');
|
||||
// 去除多余空格和换行
|
||||
@ -90,8 +90,9 @@ const queryList = () => {
|
||||
for (let i in res.data.records) {
|
||||
tableData.value[i].content = extractText(res.data.records[i].content);
|
||||
if (tableData.value[i].content.length > 80) {
|
||||
tableData.value[i].content += '...';
|
||||
tableData.value[i].content += '......';
|
||||
}
|
||||
console.log(tableData.value[i].content, tableData.value[i].content.length);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -21,7 +21,7 @@
|
||||
</div> -->
|
||||
<p class="mt-2 text-gray-700">报价:{{ data.price }}元/吨</p>
|
||||
<p class="mt-2 text-gray-700">关键词:{{ data.type }}</p>
|
||||
<p class="mt-2 text-gray-700">所在地:{{ data.location }}</p>
|
||||
<p class="mt-2 text-gray-700">所在地:{{ data.address }}</p>
|
||||
<p class="mt-2 text-gray-700">联系人:{{ data.contact }}</p>
|
||||
<p class="mt-2 text-gray-700">联系电话:{{ data.phone }}</p>
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user