Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xulili
ybf
Commits
15815256
Commit
15815256
authored
Jan 06, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Dot: Ready to dev http.
parent
4aedf8e1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
19 deletions
+32
-19
package.json
ybf_wx/package.json
+3
-0
home.vue
ybf_wx/src/views/home.vue
+4
-2
index.vue
ybf_wx/src/views/sideNav/discount/index.vue
+20
-17
yarn.lock
ybf_wx/yarn.lock
+5
-0
No files found.
ybf_wx/package.json
View file @
15815256
...
...
@@ -7,13 +7,16 @@
"build"
:
"vue-cli-service build"
,
"lint"
:
"vue-cli-service lint"
},
"dependencies"
:
{
"core-js"
:
"^3.4.4"
,
"js-md5"
:
"^0.7.3"
,
"vant"
:
"^2.3.3"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
},
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
"@vue/cli-plugin-eslint"
:
"^4.1.0"
,
...
...
ybf_wx/src/views/home.vue
View file @
15815256
...
...
@@ -21,7 +21,7 @@
<div
class=
"menus"
>
<div
class=
"menu"
@
click=
"buttonMainMarketingClick"
>
精准营销
</div>
<div
class=
"menu activeMenu"
>
一对一营销侧边栏
</div>
<div
class=
"menu activeMenu"
@
click=
"buttonSingleMarketingClick"
>
一对一营销侧边栏
</div>
</div>
</div>
</
template
>
...
...
@@ -70,7 +70,9 @@ export default {
listClick
(
inData
)
{
this
.
$router
.
push
(
inData
);
},
buttonSingleMarketingClick
()
{
// this.$router.push("");
},
buttonMainMarketingClick
()
{
this
.
$router
.
push
(
"MainSale"
);
}
...
...
ybf_wx/src/views/sideNav/discount/index.vue
View file @
15815256
...
...
@@ -27,7 +27,7 @@
</div>
<div
class=
"menus"
>
<div
class=
"menu"
@
click=
"buttonMainMarketingClick"
>
精准营销
</div>
<div
class=
"menu activeMenu"
>
一对一营销侧边栏
</div>
<div
class=
"menu activeMenu"
@
click=
"buttonSingleMarketingClick"
>
一对一营销侧边栏
</div>
</div>
</div>
</
template
>
...
...
@@ -41,28 +41,28 @@ export default {
list
:
{
main
:
[
{
imgUrl
:
"/
hi.jp
g"
,
imgUrl
:
"/
mainSale/test-city.pn
g"
,
usedPercent
:
"10"
,
money
:
"100"
,
shareMan
:
"Alice"
,
commision
:
"11"
},
{
imgUrl
:
"/
hi.jp
g"
,
imgUrl
:
"/
mainSale/test-city.pn
g"
,
usedPercent
:
"20"
,
money
:
"200"
,
shareMan
:
"Bob"
,
commision
:
"22"
},
{
imgUrl
:
"/
hi.jp
g"
,
imgUrl
:
"/
mainSale/test-city.pn
g"
,
usedPercent
:
"30"
,
money
:
"300"
,
shareMan
:
"Clid"
,
commision
:
"33"
},
{
imgUrl
:
"/
hi.jp
g"
,
imgUrl
:
"/
mainSale/test-city.pn
g"
,
usedPercent
:
"40"
,
money
:
"400"
,
shareMan
:
"Doke"
,
...
...
@@ -74,11 +74,15 @@ export default {
dis
:
{}
};
},
methods
:{
testButtonClick
(){},
buttonMainMarketingClick
(){
// this.$router.push("home")
methods
:
{
testButtonClick
()
{},
buttonSingleMarketingClick
()
{
// this.$router.push("");
},
buttonMainMarketingClick
()
{
this
.
$router
.
push
(
"MainSale"
);
}
}
};
</
script
>
...
...
@@ -179,16 +183,15 @@ export default {
align-items
:
center
;
}
.button-send
{
.button-send
{
border
:
0px
solid
blue
;
height
:
40px
;
width
:
60px
;
border-radius
:
4px
;
background-color
:
rgba
(
68
,
93
,
251
,
1
);
color
:
white
;
font-size
:
16px
;
font-size
:
16px
;
}
.infos-tips
{
...
...
@@ -204,7 +207,7 @@ export default {
align-items
:
center
;
}
.tip-shareMan
{
.tip-shareMan
{
/* border: 1px solid orange; */
width
:
70%
;
height
:
100%
;
...
...
@@ -213,7 +216,7 @@ export default {
line-height
:
16px
;
color
:
rgb
(
150
,
150
,
150
);
}
.tip-commision
{
.tip-commision
{
/* border: 1px solid green; */
width
:
30%
;
height
:
100%
;
...
...
@@ -238,7 +241,7 @@ export default {
justify-content
:
start
;
align-items
:
center
;
}
.menu
{
.menu
{
/* border: 1px solid red; */
height
:
50px
;
/* width: 120px; */
...
...
@@ -248,7 +251,7 @@ export default {
font-size
:
14px
;
color
:
black
;
}
.activeMenu
{
color
:
lightcoral
;
.activeMenu
{
color
:
lightcoral
;
}
</
style
>
ybf_wx/yarn.lock
View file @
15815256
...
...
@@ -4657,6 +4657,11 @@ js-levenshtein@^1.1.3:
resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==
js-md5@^0.7.3:
version "0.7.3"
resolved "https://registry.yarnpkg.com/js-md5/-/js-md5-0.7.3.tgz#b4f2fbb0b327455f598d6727e38ec272cd09c3f2"
integrity sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ==
js-message@1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.5.tgz#2300d24b1af08e89dd095bc1a4c9c9cfcb892d15"
...
...
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