mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
修改部分样式问题,新增解析转义,修改buyer端没有第三方登录问题
This commit is contained in:
@@ -15,6 +15,23 @@ export function unitPrice(val, unit, location) {
|
||||
}
|
||||
return (unit || "") + price;
|
||||
}
|
||||
// 转义
|
||||
export function enCode(v1) {
|
||||
var entry = {
|
||||
"'": "'",
|
||||
"<": "<",
|
||||
">": ">",
|
||||
"(": "(",
|
||||
")": ")"
|
||||
};
|
||||
|
||||
v1 = v1.replace(/(')|(<)|(>)|(()|())|\s/gi, function($0) {
|
||||
return entry[$0] || $0;
|
||||
});
|
||||
|
||||
return v1;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 订单来源
|
||||
|
||||
@@ -250,4 +250,11 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
/deep/ .ivu-table-wrapper {
|
||||
overflow: auto;
|
||||
}
|
||||
.table {
|
||||
min-height: 100vh;
|
||||
height: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -73,3 +73,8 @@ export default {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu), .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){
|
||||
color: $theme_color;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -194,10 +194,10 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
value: {
|
||||
value: {
|
||||
handler: function (val) {
|
||||
// 赋值给富文本
|
||||
this.setData(val);
|
||||
this.setData(this.$options.filters.enCode(val));
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user