| * @returns | * @returns | ||||
| */ | */ | ||||
| export const formatImg = path => { | export const formatImg = path => { | ||||
| // return path ? `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=${path}` : ""; | |||||
| return path ? `http://192.168.18.236:18888/common/getImg?path=${path}` : ""; | |||||
| return path ? `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=${path}` : ""; | |||||
| // return path ? `http://192.168.18.236:18888/common/getImg?path=${path}` : ""; | |||||
| }; | }; | ||||
| /** | /** | ||||
| .replace(/\n$/gim, '<br />') | .replace(/\n$/gim, '<br />') | ||||
| .replace(/[\r\n]/g, "<br />") | .replace(/[\r\n]/g, "<br />") | ||||
| return htmlText.trim() | return htmlText.trim() | ||||
| } | |||||
| } |
| <!-- 主导产业 --> | <!-- 主导产业 --> | ||||
| <template> | <template> | ||||
| <div class="product" id="anchor-product"> | |||||
| <div class="product" id="anchor-product" v-if="leadingIndustryArr.length > 0"> | |||||
| <div class="title">主导产业</div> | <div class="title">主导产业</div> | ||||
| <!-- :class="['pointer', activeTab === index ? 'is_active' : '']" --> | <!-- :class="['pointer', activeTab === index ? 'is_active' : '']" --> | ||||
| disableHostCheck: true, | disableHostCheck: true, | ||||
| proxy: { | proxy: { | ||||
| "/domain": { | "/domain": { | ||||
| // target: "http://localhost:80", | |||||
| target: "http://192.168.18.236:18888/", | |||||
| target: "http://localhost:80", | |||||
| // target: "http://、192.168.18.236:18888/", | |||||
| // target: "http://192.168.30.48:18888/", | |||||
| // target: "http://192.168.18.138:18888/", | // target: "http://192.168.18.138:18888/", | ||||
| changeOrigin: true, | changeOrigin: true, | ||||
| pathRewrite: { | pathRewrite: { |