mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 23:53:48 +08:00
细节优化
This commit is contained in:
@@ -106,11 +106,13 @@
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<MyFooter></MyFooter>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Myheader from "~/components/header.vue";
|
||||
import MyFooter from '~/components/rc-footer.vue'
|
||||
import tabs from "@/components/tabs.vue";
|
||||
import { isexistCart, generateOrderWX, deleteCart } from "../../ajax/getData";
|
||||
export default {
|
||||
@@ -177,6 +179,7 @@ export default {
|
||||
components: {
|
||||
Myheader,
|
||||
tabs,
|
||||
MyFooter,
|
||||
},
|
||||
methods: {
|
||||
//请求猫
|
||||
@@ -213,7 +216,7 @@ export default {
|
||||
async deletsmessage(productCode) {
|
||||
let user = JSON.parse(localStorage.getItem("userInfo"));
|
||||
this.userid = user.data.id;
|
||||
let data = await deleteCart(this.userid, productCode);
|
||||
let data = await deleteCart( productCode);
|
||||
if (data) {
|
||||
this.$message({
|
||||
type: "warning",
|
||||
@@ -422,6 +425,7 @@ export default {
|
||||
.rc-footera {
|
||||
background: #f6f6f6;
|
||||
border: 1px solid #d7d7d7;
|
||||
margin-bottom:40px;
|
||||
.rc-foote {
|
||||
margin: 0 auto;
|
||||
box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1);
|
||||
@@ -547,10 +551,14 @@ export default {
|
||||
justify-content: space-between;
|
||||
border-bottom: 1px solid #d7d7d7;
|
||||
padding: 15px 0;
|
||||
.del{
|
||||
em{ font-style: normal;}
|
||||
}
|
||||
.product-price {
|
||||
color: #e1001a;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.del{
|
||||
|
||||
Reference in New Issue
Block a user