Commit 93586833 authored by zhangjianguo's avatar zhangjianguo

1

parent 7d2044df
...@@ -24,23 +24,23 @@ ...@@ -24,23 +24,23 @@
<view class="tips">{{list.length}}</view> <view class="tips">{{list.length}}</view>
</view> </view>
<view class="goodbox update-goodbox" v-for="(cx, i) in list" :key="i"> <view class="goodbox update-goodbox" v-for="(cx, i) in list" :key="i">
<image :src="cx.goods_info.pic_url" style="width: 100px; height: 100px" /> <image :src="cx.CoverImagePath" style="width: 100px; height: 100px" />
<view style="width: calc(100% - 110px);height: 100px;display: flex;flex-direction: column;margin-left: 10px;justify-content: space-between;"> <view style="width: calc(100% - 110px);height: 100px;display: flex;flex-direction: column;margin-left: 10px;justify-content: space-between;">
<Text class='topic_cont_text' >{{cx.goods_info.name}}</Text> <Text class='topic_cont_text' >{{cx.GoodsName}}</Text>
<view style='width: calc(100% - 110px);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'> <view style='width: calc(100% - 110px);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>
<view v-for="(attr, index2) in cx.goods_info.attr_list" :key="index2" > <view v-for="(attr, index2) in cx.SpecificationList" :key="index2" >
<Text style='color: #A0A09D;font-size: 24rpx;margin-right: 5rpx;'>规格:{{attr.attr_name}}</Text> <Text style='color: #A0A09D;font-size: 24rpx;margin-right: 5rpx;'>规格:{{attr}}</Text>
</view> </view>
</view> </view>
<view style="width: 100%;display: flex;flex-direction: row;align-items:center;justify-content: space-between;"> <view style="width: 100%;display: flex;flex-direction: row;align-items:center;justify-content: space-between;">
<view class="left" :style="{ color: mc }"> <view class="left" :style="{ color: mc }">
<text class="small"></text> <text class="small"></text>
<text style='font-size: 40rpx;'>{{ cx.unit_price.split(".")[0] }}</text> <text style='font-size: 40rpx;'>{{ cx.Final_Price.toString().split(".")[0] }}</text>
<text class="small" <text class="small"
>.{{ cx.unit_price.split(".")[1] || "00" }}</text >.{{ cx.Final_Price.toString().split(".")[1] || "00" }}</text
> >
</view> </view>
<Text style='color: #A0A09D;font-size: 24rpx;'>X{{cx.num}}</Text> <Text style='color: #A0A09D;font-size: 24rpx;'>X{{cx.Number}}</Text>
</view> </view>
</view> </view>
......
...@@ -105,7 +105,18 @@ ...@@ -105,7 +105,18 @@
</view> </view>
</view> </view>
</template> </template>
<view style="width: 100%;text-align: right;">
<Text>应付金额:</Text>
<text style="font-size: 10px;"></text>
<text style="font-size: 17px;">{{
item.Income.toString().split(".")[0]
}}</text>
<text style="font-size: 11px;"
>.{{
item.Income.toString().split(".")[1] || "00"
}}</text
>
</view>
<!-- TODO 样式结构修改--> <!-- TODO 样式结构修改-->
<view class="handle"> <view class="handle">
<u-button <u-button
...@@ -512,7 +523,7 @@ export default { ...@@ -512,7 +523,7 @@ export default {
this.showGoodList = false; this.showGoodList = false;
}, },
showGoodListHandler(i) { showGoodListHandler(i) {
this.goodData = this.g[i].detail; this.goodData = this.g[i].DetailList;
console.log(this.goodData); console.log(this.goodData);
this.showGoodList = true; this.showGoodList = true;
}, },
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
color="#FFF" color="#FFF"
size="28" size="28"
></u-icon> ></u-icon>
<!-- TODO返回字段 不能写死 -->
<text style="margin-left: 5px;">交易成功14天,系统自动确认完成</text> <text style="margin-left: 5px;">交易成功14天,系统自动确认完成</text>
<!-- TODO 交易情况说明 --> <!-- TODO 交易情况说明 -->
</view> </view>
...@@ -177,6 +178,7 @@ ...@@ -177,6 +178,7 @@
>-¥{{ orders.integral_deduction_price }}</view >-¥{{ orders.integral_deduction_price }}</view
> >
</view> --> </view> -->
<view style="width: 100%;height: 1px;background: #f5f5f5;margin: 5px 0;"></view>
<view class="field"> <view class="field">
<view class="label">&nbsp;</view> <view class="label">&nbsp;</view>
<view class="content right"> <view class="content right">
...@@ -694,14 +696,14 @@ export default { ...@@ -694,14 +696,14 @@ export default {
height: 20px; height: 20px;
} }
.orderdetail .order-info-item { .orderdetail .order-info-item {
padding: 20px 0; padding: 10px 0;
border-bottom: 1px solid #f5f5f5; border-bottom: 1px solid #f5f5f5;
} }
.orderdetail .order-info-item:last-child { .orderdetail .order-info-item:last-child {
border-bottom: none; border-bottom: none;
} }
.orderdetail .order-info-item .field { .orderdetail .order-info-item .field {
margin-bottom: 15px; margin-bottom: 10px;
display: flex; display: flex;
} }
.orderdetail .order-info-item.peisong { .orderdetail .order-info-item.peisong {
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
sharestatus:{}, sharestatus:{},
userinfo:{}, userinfo:{},
sharedata:{}, sharedata:{},
bg_img:'',
showAuth:false showAuth:false
} }
}, },
...@@ -139,9 +139,7 @@ ...@@ -139,9 +139,7 @@
: []; : [];
this.bg_img = wx.getStorageSync("basedata")
? wx.getStorageSync("basedata").__wxapp_img.share.status
: '';
pages.forEach((x) => { pages.forEach((x) => {
if (x.value == u) { if (x.value == u) {
this.pageTitle = x.new_name ? x.new_name : x.name; this.pageTitle = x.new_name ? x.new_name : x.name;
......
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