Commit 15815256 authored by Z's avatar Z

Z: Dot: Ready to dev http.

parent 4aedf8e1
...@@ -7,13 +7,16 @@ ...@@ -7,13 +7,16 @@
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"core-js": "^3.4.4", "core-js": "^3.4.4",
"js-md5": "^0.7.3",
"vant": "^2.3.3", "vant": "^2.3.3",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuex": "^3.1.2" "vuex": "^3.1.2"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0", "@vue/cli-plugin-babel": "^4.1.0",
"@vue/cli-plugin-eslint": "^4.1.0", "@vue/cli-plugin-eslint": "^4.1.0",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="menus"> <div class="menus">
<div class="menu" @click="buttonMainMarketingClick">精准营销</div> <div class="menu" @click="buttonMainMarketingClick">精准营销</div>
<div class="menu activeMenu">一对一营销侧边栏</div> <div class="menu activeMenu" @click="buttonSingleMarketingClick">一对一营销侧边栏</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -70,7 +70,9 @@ export default { ...@@ -70,7 +70,9 @@ export default {
listClick(inData) { listClick(inData) {
this.$router.push(inData); this.$router.push(inData);
}, },
buttonSingleMarketingClick() {
// this.$router.push("");
},
buttonMainMarketingClick() { buttonMainMarketingClick() {
this.$router.push("MainSale"); this.$router.push("MainSale");
} }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
<div class="menus"> <div class="menus">
<div class="menu" @click="buttonMainMarketingClick">精准营销</div> <div class="menu" @click="buttonMainMarketingClick">精准营销</div>
<div class="menu activeMenu">一对一营销侧边栏</div> <div class="menu activeMenu" @click="buttonSingleMarketingClick">一对一营销侧边栏</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -41,28 +41,28 @@ export default { ...@@ -41,28 +41,28 @@ export default {
list: { list: {
main: [ main: [
{ {
imgUrl: "/hi.jpg", imgUrl: "/mainSale/test-city.png",
usedPercent: "10", usedPercent: "10",
money: "100", money: "100",
shareMan: "Alice", shareMan: "Alice",
commision: "11" commision: "11"
}, },
{ {
imgUrl: "/hi.jpg", imgUrl: "/mainSale/test-city.png",
usedPercent: "20", usedPercent: "20",
money: "200", money: "200",
shareMan: "Bob", shareMan: "Bob",
commision: "22" commision: "22"
}, },
{ {
imgUrl: "/hi.jpg", imgUrl: "/mainSale/test-city.png",
usedPercent: "30", usedPercent: "30",
money: "300", money: "300",
shareMan: "Clid", shareMan: "Clid",
commision: "33" commision: "33"
}, },
{ {
imgUrl: "/hi.jpg", imgUrl: "/mainSale/test-city.png",
usedPercent: "40", usedPercent: "40",
money: "400", money: "400",
shareMan: "Doke", shareMan: "Doke",
...@@ -74,11 +74,15 @@ export default { ...@@ -74,11 +74,15 @@ export default {
dis: {} dis: {}
}; };
}, },
methods:{ methods: {
testButtonClick(){}, testButtonClick() {},
buttonMainMarketingClick(){
// this.$router.push("home") buttonSingleMarketingClick() {
// this.$router.push("");
}, },
buttonMainMarketingClick() {
this.$router.push("MainSale");
}
} }
}; };
</script> </script>
...@@ -179,16 +183,15 @@ export default { ...@@ -179,16 +183,15 @@ export default {
align-items: center; align-items: center;
} }
.button-send{ .button-send {
border: 0px solid blue; border: 0px solid blue;
height: 40px; height: 40px;
width: 60px; width: 60px;
border-radius: 4px; border-radius: 4px;
background-color: rgba(68, 93, 251, 1); background-color: rgba(68, 93, 251, 1);
color: white; color: white;
font-size: 16px;
font-size: 16px;
} }
.infos-tips { .infos-tips {
...@@ -204,7 +207,7 @@ export default { ...@@ -204,7 +207,7 @@ export default {
align-items: center; align-items: center;
} }
.tip-shareMan{ .tip-shareMan {
/* border: 1px solid orange; */ /* border: 1px solid orange; */
width: 70%; width: 70%;
height: 100%; height: 100%;
...@@ -213,7 +216,7 @@ export default { ...@@ -213,7 +216,7 @@ export default {
line-height: 16px; line-height: 16px;
color: rgb(150, 150, 150); color: rgb(150, 150, 150);
} }
.tip-commision{ .tip-commision {
/* border: 1px solid green; */ /* border: 1px solid green; */
width: 30%; width: 30%;
height: 100%; height: 100%;
...@@ -238,7 +241,7 @@ export default { ...@@ -238,7 +241,7 @@ export default {
justify-content: start; justify-content: start;
align-items: center; align-items: center;
} }
.menu{ .menu {
/* border: 1px solid red; */ /* border: 1px solid red; */
height: 50px; height: 50px;
/* width: 120px; */ /* width: 120px; */
...@@ -248,7 +251,7 @@ export default { ...@@ -248,7 +251,7 @@ export default {
font-size: 14px; font-size: 14px;
color: black; color: black;
} }
.activeMenu{ .activeMenu {
color:lightcoral; color: lightcoral;
} }
</style> </style>
...@@ -4657,6 +4657,11 @@ js-levenshtein@^1.1.3: ...@@ -4657,6 +4657,11 @@ js-levenshtein@^1.1.3:
resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== 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: js-message@1.0.5:
version "1.0.5" version "1.0.5"
resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.5.tgz#2300d24b1af08e89dd095bc1a4c9c9cfcb892d15" 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