Commit 15815256 authored by Z's avatar Z

Z: Dot: Ready to dev http.

parent 4aedf8e1
......@@ -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",
......
......@@ -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");
}
......
......@@ -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.jpg",
imgUrl: "/mainSale/test-city.png",
usedPercent: "10",
money: "100",
shareMan: "Alice",
commision: "11"
},
{
imgUrl: "/hi.jpg",
imgUrl: "/mainSale/test-city.png",
usedPercent: "20",
money: "200",
shareMan: "Bob",
commision: "22"
},
{
imgUrl: "/hi.jpg",
imgUrl: "/mainSale/test-city.png",
usedPercent: "30",
money: "300",
shareMan: "Clid",
commision: "33"
},
{
imgUrl: "/hi.jpg",
imgUrl: "/mainSale/test-city.png",
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>
......@@ -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"
......
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