Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
91a7e049
Commit
91a7e049
authored
Jul 24, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config添加静态资源引入配置
parent
ea397006
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
2 deletions
+28
-2
index.less
src/views/Policy/Detail/index.less
+13
-0
index.vue
src/views/Policy/Detail/index.vue
+1
-1
index.vue
src/views/User/index.vue
+1
-1
vue.config.js
vue.config.js
+13
-0
No files found.
src/views/Policy/Detail/index.less
View file @
91a7e049
...
...
@@ -109,6 +109,9 @@
.Pdb-payment {
margin: 0 16px 10px;
padding: 20px;
background: #FFFFFF;
box-shadow: 0px 5px 25px 0px rgba(0,0,0,0.07);
border-radius: 14px;
&-title {
margin-bottom: 16px;
font-size: 18px;
...
...
@@ -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 {
margin: 0 16px 10px;
...
...
src/views/Policy/Detail/index.vue
View file @
91a7e049
...
...
@@ -22,7 +22,7 @@
<span
class=
"Pdbpc-item-text"
>
续保保费按照续保应交保费,自动扣款
</span>
</div>
</div>
<cr-button
class=
"Pdb-payment-
-
button"
>
立即缴费
</cr-button>
<cr-button
class=
"Pdb-payment-button"
>
立即缴费
</cr-button>
</div>
<div
class=
"Pdb-insurance"
>
<p
class=
"Pdb-insurance-name"
>
国民保·百万医疗险
</p>
...
...
src/views/User/index.vue
View file @
91a7e049
...
...
@@ -12,7 +12,7 @@
height=
""
round
fit=
"cover"
:src=
"avatar
"
src=
"@/assets/images/user/avatar@2x.png
"
/>
<!--
<svg-icon
icon-class=
"certification"
class-name=
"user-info-image-certification"
/>
-->
</div>
...
...
vue.config.js
View file @
91a7e049
...
...
@@ -35,6 +35,19 @@ module.exports = {
symbolId
:
"
icon-[name]
"
})
.
end
();
// 组件静态资源引入
config
.
module
.
rule
(
"
vue
"
)
.
use
(
"
vue-loader
"
)
.
loader
(
"
vue-loader
"
)
.
tap
(
options
=>
{
return
{
...
options
,
transformAssetUrls
:
{
"
cr-image
"
:
"
src
"
}
};
});
// 分包优化
config
.
optimization
.
splitChunks
({
chunks
:
"
all
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment