| | |
| | | window.globalConfig = { |
| | | WebApiUrl: { |
| | | MainUrl: 'http://www.xpump.net/ecpspapi/', |
| | | FileUrl: 'http://www.xpump.net/file/DataECP/', |
| | | MainUrl: 'http://taifu.xpump.net/api/', |
| | | FileUrl: 'http://taifu.xpump.net/file/', |
| | | }, |
| | | UnitSetting: { |
| | | CN: { |
| | |
| | | const emit = defineEmits(['close']); |
| | | |
| | | import { ref, onMounted } from 'vue'; |
| | | import { ChildRegister, setParentFunction } from '@/utils/iframeCall'; |
| | | import { ChildRegister } from '@/utils/iframeCall'; |
| | | const getUrl = () => { |
| | | const isDev = import.meta.env.DEV; |
| | | if (isDev) { |
| | |
| | | window.addEventListener('message', (event) => { |
| | | if (event.data.type === 'close') { |
| | | emit('close'); |
| | | } else if (event.data.type === 'childIsReady') { |
| | | console.log('🚀 ~ child is ready',); |
| | | ChildRegister.registerNotifyFunction(); |
| | | } |
| | | }); |
| | | setTimeout(() => { |
| | | ChildRegister.registerNotifyFunction(); |
| | | }, 800); |
| | | }); |
| | | </script> |
| | | <style scoped lang="scss"></style> |
| | |
| | | let form_data = { |
| | | UserType: 0, |
| | | LoginName:'demo', |
| | | PassWord: '111111', |
| | | PassWord: '123456', |
| | | }; |
| | | loading.value = true; |
| | | login(form_data) |
| | |
| | | let ThumbnailImage = noneImg |
| | | if (catalog_info.ThumbnailImage == "" && seriesItem.ThumbnailImage != "") { |
| | | // console.log(catalog_info.ThumbnailImage, seriesItem.ThumbnailImage,362) |
| | | ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + seriesItem.ThumbnailImage; |
| | | ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + 'Data/'+ seriesItem.ThumbnailImage; |
| | | } |
| | | catalog_info.ThumbnailImage = ThumbnailImage |
| | | catalog_info.SeriesIDs.push(seriesItem.ID); |
| | |
| | | |
| | | let ThumbnailImage = noneImg |
| | | if (element.ThumbnailImage && element.ThumbnailImage != "") { |
| | | ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + element.ThumbnailImage |
| | | ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + 'Data/' + element.ThumbnailImage |
| | | } |
| | | series_info.ThumbnailImage = ThumbnailImage |
| | | allInfoList.push(series_info); |
| | |
| | | }; |
| | | let ThumbnailImage = noneImg; //默认图片路径 |
| | | if (item.ThumbnailImage && item.ThumbnailImage != '') { |
| | | ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + item.ThumbnailImage; |
| | | ThumbnailImage = window.globalConfig.WebApiUrl.FileUrl + 'Data/' + item.ThumbnailImage; |
| | | } |
| | | tableItem.ThumbnailImage = ThumbnailImage; |
| | | // 叶轮直径 |
| | |
| | | .eec-level-name { |
| | | position: absolute; |
| | | left: 31px; |
| | | top:1.5px; |
| | | top: 1.5px; |
| | | color: #fff; |
| | | font-size: 12px; |
| | | } |