修改详情页图片宽度的问题

This commit is contained in:
gaoxs
2020-07-22 17:17:14 +08:00
parent 38aa323e66
commit 951166db47
4 changed files with 13 additions and 3 deletions

View File

@ -369,6 +369,10 @@ export default {
var that = this;
getBargainDetail(that.bargainId)
.then(res => {
res.data.bargain = res.data.bargain.replace(
/\<img/gi,
'<img style="max-width:100%;height:auto;"'
);
that.bargain = res.data.bargain;
that.datatime = that.bargain.stopTime / 1000;
that.getBargainHelpCount();