|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
|
|
|
|
<view style="display: flex;flex-direction: column; height: 100%;box-sizing: border-box ;" id="page"> |
|
|
|
<view style="display: flex;flex-direction: column; height: 100%;box-sizing: border-box;" id="page"> |
|
|
|
|
|
|
|
<view class="top"> |
|
|
|
<NavBar ref="nav" navTitle="详情" :showIcon="true" :start-change-height="page.startHeight" |
|
|
@ -16,7 +16,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<view style="display: flex;flex-direction: column; |
|
|
|
margin:20px 20px 0px 20px;padding-bottom: 20px; border-bottom: 2px #EFEFEF solid;"> |
|
|
|
margin:20px 20px 0px 20px;padding-bottom: 5px; border-bottom: 2px #EFEFEF solid;"> |
|
|
|
|
|
|
|
<view |
|
|
|
style="display: flex;flex-direction: row;align-items: center; justify-content: space-between;"> |
|
|
@ -35,7 +35,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="margin-top: 10px;display: flex;flex-direction: row;align-items: center;"> |
|
|
|
<view style="margin-top: 10px;display: flex;flex-direction: row;align-items: center;margin-top: 15px;"> |
|
|
|
<view style="color: #888;font-size: 12px;">您已经定制了</view> |
|
|
|
<view style="color: #FF5006;font-size: 18px;">{{page.weight}}斤</view> |
|
|
|
<view style="color: #888;font-size: 12px;">,满200斤可定制云菜窖</view> |
|
|
@ -191,7 +191,7 @@ |
|
|
|
|
|
|
|
let num = 0; |
|
|
|
for (var i = 0; i < this.data.length; i++) { |
|
|
|
num += Number(this.data[i].price) * Number(this.data[i].goodsNumber); |
|
|
|
num += Number(this.data[i].jprice) * Number(this.data[i].goodsNumber)* Number(this.data[i].weight); |
|
|
|
} |
|
|
|
|
|
|
|
console.log("num", num) |
|
|
|