<!--pages/saleOutStore/outStoreDetail/outStoreDetail.wxml-->
|
|
<view class='imageView'>
|
|
<image class='currentImage' src="/imgs/outStoreDetail.png">
|
|
<view class='totalMoneyView'>
|
|
<text class='totalMoney'>总金额</text>
|
|
</view>
|
|
<view class='balanceView'>
|
|
<text class='balance'>¥{{balance}}</text>
|
|
</view>
|
|
</image>
|
|
</view>
|
|
|
|
<view class='listContainer'>
|
|
<scroll-view scroll-x="false" scroll-y="true" class='scrollView'>
|
|
|
|
<block wx:for="{{dataArr}}" wx:for-item="item">
|
|
<template is="outStoreDetailTemplate" data="{{item}}" />
|
|
</block>
|
|
</scroll-view>
|
|
</view>
|
|
|
|
<template name="outStoreDetailTemplate">
|
|
|
|
<view class='listItem'>
|
|
<view class='topView'>
|
|
<view class='goodsNameView'>
|
|
<text>{{item.goodsName}}</text>
|
|
</view>
|
|
<view class='priceView'>
|
|
<text>单价:{{item.goodsPrice}}</text>
|
|
</view>
|
|
</view>
|
|
<view class='bottomView'>
|
|
<view class='goodsNum'>
|
|
<text class='goodsNumText'>数量:{{item.goodsNum}}</text>
|
|
</view>
|
|
<view class='goodsMoney'>
|
|
<text class='goodsMoneyText'>金额:{{item.goodsMoney}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|