Commit 8f51f72e by linjinhong

fix:修改规格字段

parent 3936606f
...@@ -1628,7 +1628,7 @@ export default { ...@@ -1628,7 +1628,7 @@ export default {
<div>{{ detail.startStockingTime }}</div> <div>{{ detail.startStockingTime }}</div>
</div> </div>
<div <div
v-if="detail.mssWidth && detail.mssHeight" v-if="detail.specList && detail.specList.length"
class="div-item" class="div-item"
style="flex: 100%;" style="flex: 100%;"
> >
...@@ -1636,22 +1636,30 @@ export default { ...@@ -1636,22 +1636,30 @@ export default {
<div class="item-value"> <div class="item-value">
mm:&nbsp;(&nbsp; w: mm:&nbsp;(&nbsp; w:
{{ detail.mssWidth }} {{ detail.specList[selectImgIndex].mssWidth }}
&nbsp; h: &nbsp; h:
{{ detail.mssHeight }}&nbsp;) {{ detail.specList[selectImgIndex].mssHeight }}&nbsp;)
</div> </div>
</div> </div>
<div <div
v-if="detail.mssWidth && detail.mssHeight" v-if="detail.specList && detail.specList.length"
class="div-item" class="div-item"
style="flex: 100%;" style="flex: 100%;"
> >
<div style="opacity: 0;">模规格:</div> <div style="opacity: 0;">模规格:</div>
<div class="item-value"> <div class="item-value">
inch:&nbsp;(&nbsp;w: inch:&nbsp;(&nbsp;w:
{{ (Number(detail.mssWidth) / 25.4).toFixed(1) }} {{
(
Number(detail.specList[selectImgIndex].mssWidth) / 25.4
).toFixed(1)
}}
&nbsp;h: &nbsp;h:
{{ (Number(detail.mssHeight) / 25.4).toFixed(1) }}&nbsp;) {{
(
Number(detail.specList[selectImgIndex].mssHeight) / 25.4
).toFixed(1)
}}&nbsp;)
</div> </div>
</div> </div>
</div> </div>
......
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