Commit c8d8d227 by 刘泽奇

123

parent bd7ae9e6
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
height: 100%; height: 100%;
} }
.nowbuy-footer>div>button { .nowbuy-footer>div>.el-button {
margin-left: 30px; margin-left: 30px;
border-radius: 0; border-radius: 0;
background: rgb(81, 210, 183) !important; background: rgb(81, 210, 183) !important;
...@@ -108,7 +108,9 @@ ...@@ -108,7 +108,9 @@
width: 120px; width: 120px;
height: 40px; height: 40px;
} }
.nowbuy-footer>div> .is-disabled{
opacity: 0.5;
}
.nowbuy .nowbuy-tableheader { .nowbuy .nowbuy-tableheader {
background: #F3F7FD; background: #F3F7FD;
font-size: 14px; font-size: 14px;
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<div class="nowbuy-footer"> <div class="nowbuy-footer">
订单金额: <span>¥{{tableData[0] ? tableData[0].countPrice:\'-\' }}</span> 订单金额: <span>¥{{tableData[0] ? tableData[0].countPrice:\'-\' }}</span>
<div> <div>
<div class="nowbuy-footer-img" @click="checkImg = !checkImg"> <div class="nowbuy-footer-img" @click="agreeContract">
<img :src="checkImg?\'/imgs/nowbuy/xuanzhong2.png\':\'/imgs/nowbuy/xuanzhong.png\'" alt=""> <img :src="checkImg?\'/imgs/nowbuy/xuanzhong2.png\':\'/imgs/nowbuy/xuanzhong.png\'" alt="">
</div> </div>
<span style="font-size: 14px;color:#161529; "> <span style="font-size: 14px;color:#161529; ">
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
} }
}; };
return { return {
primary:'info',
tableData: [ tableData: [
], ],
...@@ -72,6 +73,14 @@ ...@@ -72,6 +73,14 @@
}, },
methods: { methods: {
agreeContract(){
this.checkImg = !this.checkImg;
if(this.checkImg){
this.primary = 'primary';
}else{
this.primary = 'info';
}
},
goOrder(){ goOrder(){
this.params.tm.totalSum = this.tableData[0].countPrice; this.params.tm.totalSum = this.tableData[0].countPrice;
this.params.tm.quantity = Number(this.$route.query.num); this.params.tm.quantity = Number(this.$route.query.num);
......
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", userInfo).then((d) => { this.$root.postReq("/web/trademark/tmqueryCtl/doPost", userInfo).then((d) => {
console.log("返回信息", d.msg); console.log("返回信息", d.msg);
if (d.status == 0) { if (d.status == 0) {
this.$root.channelUserId = d.data.channelUserId; this.$router.push(`/${this.$root.channelName}/login`);
console.log("返回信息", d) console.log("返回信息", d)
} else if (d.status == 2030) { } else if (d.status == 2030) {
console.log(d.msg); console.log(d.msg);
......
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