Commit 91a7e049 authored by 郝聪敏's avatar 郝聪敏

config添加静态资源引入配置

parent ea397006
...@@ -109,6 +109,9 @@ ...@@ -109,6 +109,9 @@
.Pdb-payment { .Pdb-payment {
margin: 0 16px 10px; margin: 0 16px 10px;
padding: 20px; padding: 20px;
background: #FFFFFF;
box-shadow: 0px 5px 25px 0px rgba(0,0,0,0.07);
border-radius: 14px;
&-title { &-title {
margin-bottom: 16px; margin-bottom: 16px;
font-size: 18px; font-size: 18px;
...@@ -136,6 +139,16 @@ ...@@ -136,6 +139,16 @@
} }
} }
} }
&-button {
width: 303px;
height: 52px;
background: #FFC842;
border-radius: 14px;
font-size: 16px;
font-weight: 600;
color: #333333;
line-height: 22px;
}
} }
.Pdb-insurance { .Pdb-insurance {
margin: 0 16px 10px; margin: 0 16px 10px;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<span class="Pdbpc-item-text">续保保费按照续保应交保费,自动扣款</span> <span class="Pdbpc-item-text">续保保费按照续保应交保费,自动扣款</span>
</div> </div>
</div> </div>
<cr-button class="Pdb-payment--button">立即缴费</cr-button> <cr-button class="Pdb-payment-button">立即缴费</cr-button>
</div> </div>
<div class="Pdb-insurance"> <div class="Pdb-insurance">
<p class="Pdb-insurance-name">国民保·百万医疗险</p> <p class="Pdb-insurance-name">国民保·百万医疗险</p>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
height="" height=""
round round
fit="cover" fit="cover"
:src="avatar" src="@/assets/images/user/avatar@2x.png"
/> />
<!-- <svg-icon icon-class="certification" class-name="user-info-image-certification" /> --> <!-- <svg-icon icon-class="certification" class-name="user-info-image-certification" /> -->
</div> </div>
......
...@@ -35,6 +35,19 @@ module.exports = { ...@@ -35,6 +35,19 @@ module.exports = {
symbolId: "icon-[name]" symbolId: "icon-[name]"
}) })
.end(); .end();
// 组件静态资源引入
config.module
.rule("vue")
.use("vue-loader")
.loader("vue-loader")
.tap(options => {
return {
...options,
transformAssetUrls: {
"cr-image": "src"
}
};
});
// 分包优化 // 分包优化
config.optimization.splitChunks({ config.optimization.splitChunks({
chunks: "all", chunks: "all",
......
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