删除不必要的图片

This commit is contained in:
张成
2022-08-03 10:54:22 +08:00
parent d5969f9911
commit 19840d2f17
25 changed files with 51 additions and 171 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -38,149 +38,43 @@
<div class="row2"> <div class="row2">
<div class="contentContainer pageWidth"> <div class="contentContainer pageWidth">
<div class="bread">Copyright © 2018 Bimwe Technology co. LTD</div> <div class="bread">Copyright © 2018 Bimwe Technology co. LTD</div>
</div>
</div>
<!-- container for support and content forms --> <div class="beian-box">
<div id="forms"> <img :src="beianIcon" style="width:30px;" />
<!-- SUPPORT FORM --> <a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备19005870号-1</a>
<div id="formContactContainer" class="formContainer bottomShadow">
<span class="btnQuitForm">X</span>
<div class="formResultContainer">
<h1>Tack för att du kontaktade oss</h1>
<p>Vi svarar dig fort vi kan.</p>
</div> </div>
<table class="contactTable">
<tbody>
<tr>
<!-- LEFT (CONTACT FORM) -->
<td class="contactColumn">
<div class="formInputContainer">
<h1>Kontakta oss</h1>
<p class="contactSubtitle">Vad roligt att du är intresserad!</p>
<p class="leftAligned">Fyll i dina uppgifter, kontaktar vi dig fort som möjligt.</p>
<form id="formContact">
<label for="conName">Namn:</label>
<input type="text" name="name" id="conName"><br>
<label for="conEmail">Mejladress: <span class="required">*</span></label>
<input type="email" name="email" id="conEmail" required=""><br>
<label for="conPhone">Telefonnummer:</label>
<input type="text" name="phone" id="conPhone"><br>
<label for="conComments">Vad vill du veta mer om: <span class="required">*</span></label>
<textarea name="comments" form="formComments" id="conComments" required=""></textarea>
<div class="formBottom">
<span class="threeQuarterBread">* Obligatorisk</span>
<input type="submit" name="submit" value="Skicka">
</div>
</form>
</div>
</td>
<!-- END LEFT (CONTACT FORM) -->
<!-- RIGHT (CONTACT FORM) -->
<td class="contactColumn">
<div class="ourLocation">
<img id="locMap" src="../assets/img/map_location_greyscale.jpg" alt="Här finns vi">
<img id="locIcon" src="../assets/img/svg/ic_position_marker_shaded.svg" alt="">
</div>
<div class="rightAligned">
<img src="../assets/img/svg/ic_directions.svg" alt="Vägbeskrivning" class="icon">
<a href="https://www.google.com/maps/dir//Pythagoras+AB,+S%C3%B6der+M%C3%A4larstrand+27+B,+118+25+Stockholm" class="findUsSweden" target="_blank">
Vägbeskrivning
</a>
</div>
<p class="leftAligned">Du kan även mejla, ringa och besöka oss.</p>
<table class="contactSummaryTable">
<tbody>
<tr>
<td>
<img src="../assets/img/svg/ic_plane.svg" class="icon">
</td>
<td>
<h3 class="h3">Mejla oss:</h3>
<a href="mailto:info@pythagoras.se">info@pythagoras.se</a>
</td>
</tr>
<tr>
<td>
<img src="../assets/img/svg/ic_mobile.svg" class="icon">
</td>
<td>
<h3 class="h3">Ring oss:</h3>
<a href="tel:+4687618090">+46-8 761 80 90</a>
</td>
</tr>
<tr>
<td>
<img src="../assets/img/svg/ic_position.svg" class="iconSmall">
</td>
<td>
<h3 class="h3">Besök oss:</h3>
<a href="https://www.google.com/maps?saddr=My+Location&amp;daddr=Pythagoras+AB,+S%C3%B6der+M%C3%A4larstrand+27+B,+118+25+Stockholm" target="_blank">Söder Mälarstrand 27B, SE-118 25<br>Stockholm, Sweden</a>
</td>
</tr>
</tbody>
</table>
</td>
<!-- END RIGHT (CONTACT FORM) -->
</tr>
</tbody>
</table>
</div> </div>
<!-- SUPPORT FORM -->
</div> </div>
<!-- USED TO GET DETECT WIDTH USING JS AND CSS MEDIA QUERIES -->
<span id="mobile_indicator"></span>
<span id="phone_indicator"></span>
<!-- <div class="cookiesInfo h4">Vi använder cookies för att förbättra din upplevelse av Pythagoras hemsida. <a>Vill du veta mer?</a> <input type="button" value="Jag förstår"/></div> -->
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
menus: window.config.menus, beianIcon: require('../assets/img/beian_icon.png'),
contactData: [ menus: window.config.menus,
{ name: '地址', value: '上海市宝山区顾村' }, contactData: [
{ name: '手机', value: '13817819452' }, { name: '地址', value: '上海市宝山区' },
{ name: '邮箱', value: 'Zhp@bimwe.com' }, { name: '手机', value: '13817819452' },
], { name: '邮箱', value: 'Zhp@bimwe.com' }
}; ]
}, }
}; }
}
</script> </script>
<style lang="less" scoped>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.quickLinks li { .quickLinks li {
float: left; float: left;
margin: 5px 20px; margin: 5px 20px;
}
.beian-box {
a {
color: #fff;
}
} }
</style> </style>

View File

@@ -3,7 +3,7 @@
<leftMenu> </leftMenu> <leftMenu> </leftMenu>
<icontent> <icontent>
<video class="video" controls="controls" autoplay="autoplay"> <video class="video" controls="controls" autoplay="autoplay">
<source src="https://www.bimwe.com/3d.mp4" type="video/mp4" /> <source src="/3d.mp4" type="video/mp4" />
Your browser does not support the video tag. Your browser does not support the video tag.
</video> </video>
</icontent> </icontent>

View File

@@ -1,57 +1,43 @@
const path = require('path') const path = require("path");
const resolve = dir => { const resolve = (dir) => {
return path.join(__dirname, dir) return path.join(__dirname, dir);
} };
// 项目部署基础 // 项目部署基础
const BASE_URL = process.env.NODE_ENV === 'development' ? '/' : '/' const BASE_URL = process.env.NODE_ENV === "development" ? "/" : "/";
const sourceMap = process.env.NODE_ENV === 'development' const sourceMap = process.env.NODE_ENV === "development";
module.exports = { module.exports = {
publicPath: BASE_URL, baseUrl : BASE_URL,
// 如果你不需要使用eslint把lintOnSave设为false即可 // 如果你不需要使用eslint把lintOnSave设为false即可
lintOnSave: false, lintOnSave: false,
chainWebpack: config => { chainWebpack: (config) => {
config.resolve.alias.set('@', resolve('src')) config.resolve.alias.set("@", resolve("src"));
config.resolve.alias.set('_c', resolve('src/components')) config.resolve.alias.set("_c", resolve("src/components"));
config.module.rule('images')
.test(/\.(png|jpe?g|gif|svg)(\?.*)?$/)
const imagesRule = config.module.rule("images")
imagesRule
.use('image-webpack-loader') .use('image-webpack-loader')
.loader('image-webpack-loader') .loader('image-webpack-loader')
.options({ .options({
bypassOnDebug: true, bypassOnDebug: true
mozjpeg: { })
progressive: true,
},
optipng: {
enabled: false, config.module.rule('images').use('url-loader').loader('url-loader').options(
}, { limit:2,esModule:false}
pngquant: { )
quality: [0.7, 0.8],
speed: 5
},
gifsicle: {
interlaced: false,
},
webp: {
quality: 90
}
}).end()
}, },
configureWebpack: { configureWebpack: {
output: { output: {
filename: 'js/[hash].js' filename: "js/[hash].js",
} },
}, },
// 设为false打包时不生成.map文件 // 设为false打包时不生成.map文件
productionSourceMap: sourceMap productionSourceMap: sourceMap,
} };