|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<section class="detaile">
|
|
|
<div class="head">
|
|
|
- <img src="~/static/img/back.png" alt>
|
|
|
+ <img src="~/static/img/back.png" alt @click="go">
|
|
|
<span>项目详情</span>
|
|
|
<img src="~/static/img/NotCollection.png" alt>
|
|
|
<img src="~/static/img/share.png" alt>
|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created: function() {
|
|
|
- this.$store.commit('equal',30)
|
|
|
+ this.$store.commit('equal', 30)
|
|
|
},
|
|
|
mounted() {
|
|
|
console.log(this.$store.state.counter)
|
|
@@ -224,6 +224,9 @@ export default {
|
|
|
methods: {
|
|
|
payments(e) {
|
|
|
this.payment = true
|
|
|
+ },
|
|
|
+ go(e) {
|
|
|
+ this.$router.go(-1)
|
|
|
}
|
|
|
}
|
|
|
}
|