Commit d0911541 by 刘泽奇

123

parent c3bea9b5
......@@ -54,15 +54,11 @@
<div id="app" v-loading.fullscreen.lock="loading" element-loading-background="rgba(0, 0, 0, 0.8)" class="app-main"
style="visibility:hidden">
<div>
<el-scrollbar class="page-component__scroll" style="marginTop:0; height: 100%;">
<div class="jc_hd" v-show="headerHidden"></div>
<transition name="slide-fade">
<router-view></router-view>
</transition>
<div class="jdc-footer" v-show="headerHidden"></div>
</el-scrollbar>
</div>
</div>
<script src="/js/cropper/index.js"></script>
......
......@@ -17,17 +17,3 @@
width: 100%;
min-height: 390px;
}
.page-component__scroll {
height: calc(100% - 40px);
margin-top: 40px;
}
.page-component__scroll .el-scrollbar__wrap {
overflow-x: hidden;
}
#app>div {
height: 100vh;
overflow: hidden;
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -202,7 +202,8 @@
case "fzsbzc":
case "dbsbzc":
let productId = code.channelItemCode.split('-')[code.channelItemCode.split('-').length - 1];
let productId = code.channelItemCode.split('-')[1];
console.log(code.channelItemCode.split('-'),"xxxxxxxxxxxxxx");
window.open(`https://market.jdcloud.com/service/details/${productId}`);
break;
default:
......
......@@ -306,6 +306,7 @@
nclSelectedList: null,
orderSubInfo: null,
totalPrices: null,
dataList:[],
}
},
computed: Vuex.mapState({
......@@ -405,6 +406,7 @@
}
},
mounted: function() {
this.getItemCode();
var that = this;
console.log(this.tm_form_type);
var obj = this.$root.copyParams("", "getOssConfig", "/action/tmTools/springBoard");
......@@ -432,7 +434,20 @@
}
},
methods: {
getItemCode(){
var obj = this.$root.copyParams({ channelUserId: "", itemCode: "sbfu" }, "getProductListByTypeOneCode", "/action/tmOrder/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
this.$root.loading = false;
console.log(d, "cccccccccccccccccc");
if (d.status == 0) {
this.dataList = d.data;
this.dataList.map((item, index) => {
console.log(item.productDesc);
item.productDesc = JSON.parse(item.productDesc);
});
}
});
},
pointsRuleColor(i) {
if (i < parseInt(this.step)) {
return 'color: #FFFFFF;'
......@@ -1221,6 +1236,7 @@
return false;
}
if (!this.showConfrim) {
console.log(that.toTop);
that.toTop();
that.step = Number(that.step) + 1;
}
......@@ -1241,7 +1257,7 @@
tm: that.form,
apply: that.apply,
nclones: that.nclOne,
itemCode: that.itemCode,
itemCode: that.dataList[0].channelItemCode,
channelUser: {
channelUserId: that.$route.query.channelUserId
},
......@@ -1498,6 +1514,7 @@
if (scrollTop != 0) {
let timer = setInterval(() => {
window.scrollTo(0, scrollTop -= 20);
console.log(scrollTop);
if (scrollTop <= 0) clearInterval(timer);
}, 0);
};
......
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