|
|
|
@ -56,13 +56,13 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="card goods"> |
|
|
|
<view> |
|
|
|
<view @click="$url('/pages/shop/shopdetail?id='+ order_details.brand.id)"> |
|
|
|
<text class="lf-iconfont icon-Group- lf-font-30"></text> |
|
|
|
<text class="shop-name">{{order_details.brand.name}}</text> |
|
|
|
<text class="lf-iconfont icon-xiangyou lf-font-24"></text> |
|
|
|
</view> |
|
|
|
<view class="lf-flex lf-m-t-20" v-for="(item,index) of order_details.items" :key="index"> |
|
|
|
<image class="goods-img" :src="item.item_meta.image"></image> |
|
|
|
<image class="goods-img" :src="item.item_meta.image" @click="$url('/pages/shop/goodsdetail?id='+ item.item_meta.detail_id)"></image> |
|
|
|
<view class="info"> |
|
|
|
<view class="lf-font-26 lf-color-333 lf-line-1">{{item.item_name}}</view> |
|
|
|
<view class="lf-font-24 lf-color-777">{{item.item_meta.specs_text}}</view> |
|
|
|
@ -87,11 +87,11 @@ |
|
|
|
</view> |
|
|
|
<view class="lf-row-between lf-m-t-30 lf-font-28"> |
|
|
|
<text class="lf-color-777">应付运费</text> |
|
|
|
<text class="lf-color-222">+¥{{order_details.payable_freight}}</text> |
|
|
|
<text class="lf-color-222">¥{{unitConversion(order_details.payable_freight)}}</text> |
|
|
|
</view> |
|
|
|
<view class="lf-row-between lf-m-t-30 lf-font-28"> |
|
|
|
<text class="lf-color-777">实付运费</text> |
|
|
|
<text class="lf-color-222">+¥{{order_details.real_freight}}</text> |
|
|
|
<text class="lf-color-222">¥{{unitConversion(order_details.real_freight)}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="card" v-if="type == 'default'"> |
|
|
|
@ -216,6 +216,7 @@ |
|
|
|
<script> |
|
|
|
import lfQrcode from '@/components/lf-code/lf-qrcode.vue'; |
|
|
|
import countdownTime from '@/components/uni-countdown/uni-countdown.vue'; |
|
|
|
import Bigc from '@/common/js/bigc.js'; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
@ -256,6 +257,13 @@ |
|
|
|
countdownTime, |
|
|
|
lfQrcode |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
unitConversion(){ |
|
|
|
return function(val){ |
|
|
|
return new Bigc(val).div(100); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
this.type = options.type || this.type; |
|
|
|
this.order_no = options.order_id; |
|
|
|
|