Commit 1ad9b80d authored by zhengke's avatar zhengke

no message

parent e36104c6
...@@ -3,102 +3,105 @@ ...@@ -3,102 +3,105 @@
<view style="padding: 10px 0; background: #fff;"> <view style="padding: 10px 0; background: #fff;">
<!-- <u-tabs :list="headList" :current="current" name="Name" @change="change" :active-color="mainColor" bg-color="#FFF" <!-- <u-tabs :list="headList" :current="current" name="Name" @change="change" :active-color="mainColor" bg-color="#FFF"
height="80"></u-tabs> --> height="80"></u-tabs> -->
<view class="myValation-header"> <view class="myValation-header">
<view class="myValation-title" v-for="(item,index) in headList" <view class="myValation-title" v-for="(item,index) in headList"
:class="{'active':headID==item.Id}" @click="choose(item)"> :class="{'active':headID==item.Id}" @click="choose(item)">
<text>{{item.name}}</text> <text>{{item.name}}</text>
<view></view> <view></view>
</view> </view>
</view> </view>
</view>
<view style="height: calc(100vh - 50px); background: #fff;" v-if="g.length != 0">
<u-empty text="快去上传估价商品吧" mode="order"></u-empty>
</view> </view>
<view style="height: calc(100vh - 50px);width: calc(100vw);overflow: hidden;padding-bottom: 20px;">
<scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower" :style="{ height: '100%' }"> <view style="height: calc(100vh - 50px); background: #fff;" v-if="g.length != 0">
<view class="orderList"> <u-empty text="快去上传估价商品吧" mode="order"></u-empty>
<view class="listBox"> </view>
<view class="listBox_t" @click="redirectToDetail()">
<Text>订单号:65655</Text> <view style="height: calc(100vh - 50px);width: calc(100vw);overflow: hidden;padding-bottom: 20px;">
<Text style="color: gray;">名称</Text> <scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower" :style="{ height: '100%' }">
</view> <view class="orderList">
<view class="listBox_c"> <view class="listBox">
<template> <view class="listBox_t" @click="redirectToDetail()">
<view class="box_bottom" @click="redirectToDetail()"> <Text>订单号:65655</Text>
<!-- <image :src="" style="width: 80px; height: 80px; border-radius: 2px;" mode="aspectFill" /> --> <Text style="color: gray;">名称</Text>
<view style="margin-left: 15px; flex: 1;"> </view>
<Text class="topic_cont_text">付广告费</Text> <view class="listBox_c">
</view> <template>
<view style="margin-left: 15px;"> <view class="box_bottom" @click="redirectToDetail()">
<text style="font-size: 10px;"></text> <!-- <image :src="" style="width: 80px; height: 80px; border-radius: 2px;" mode="aspectFill" /> -->
<text style="font-size: 17px;">555</text> <view style="margin-left: 15px; flex: 1;">
<text style="font-size: 11px;">44</text> <Text class="topic_cont_text">付广告费</Text>
</view> </view>
</view> <view style="margin-left: 15px;">
</template> <text style="font-size: 10px;"></text>
<template> <text style="font-size: 17px;">555</text>
<view class="goodboxmore" @click="redirectToDetail()"> <text style="font-size: 11px;">44</text>
<view class="good-list"> </view>
<view style="white-space: nowrap;"> </view>
<!-- <image :src="" mode="aspectFill" class="item" /> --> </template>
</view> <template>
</view> <view class="goodboxmore" @click="redirectToDetail()">
<view class="infos" @click.stop="showGoodListHandler(index)"> <view class="good-list">
<view> <view style="white-space: nowrap;">
<text style="font-size: 10px;"></text> <!-- <image :src="" mode="aspectFill" class="item" /> -->
<text style="font-size: 17px;">11</text> </view>
<text style="font-size: 11px;">22</text> </view>
</view> <view class="infos" @click.stop="showGoodListHandler(index)">
<view class="text">共55件</view> <view>
</view> <text style="font-size: 10px;"></text>
</view> <text style="font-size: 17px;">11</text>
</template> <text style="font-size: 11px;">22</text>
<view style="width: 100%;text-align: right;"> </view>
<Text>应付金额:</Text> <view class="text">共2件</view>
<text style="font-size: 10px;"></text> </view>
<text style="font-size: 17px;">11</text> </view>
<text style="font-size: 11px;">22</text> </template>
</view> <view style="width: 100%;text-align: right;">
<!-- TODO 样式结构修改--> <Text>应付金额:</Text>
<view class="handle"> <text style="font-size: 10px;"></text>
<u-button shape="circle" size="medium" :custom-style="customStyle" v-on:click.stop="cancel()">取消订单</u-button> <text style="font-size: 17px;">11</text>
<view class="" v-if="item.OrderEduType===0"> <text style="font-size: 11px;">.22</text>
<u-button shape="circle" size="medium" :custom-style="customStyle" v-on:click.stop="cancel()">取消订单</u-button> </view>
</view> <!-- TODO 样式结构修改-->
<u-button shape="circle" size="medium" :custom-style="themCustomStyle" v-on:click.stop="payment()">立即支付</u-button> <view class="handle">
<!-- <u-button shape="circle" size="medium" :custom-style=" payBtn ?customStyle : themCustomStyle" @click.stop="buy()">再次购买</u-button> <u-button shape="circle" size="medium" :custom-style="customStyle" v-on:click.stop="cancel()">取消订单</u-button>
<u-button shape="circle" size="medium" :custom-style="customStyle" @click="shouhuoHandler()">确认收货</u-button> --> <view class="" v-if="item.OrderEduType===0">
</view> <u-button shape="circle" size="medium" :custom-style="customStyle" v-on:click.stop="cancel()">取消订单</u-button>
</view> </view>
</view> <u-button shape="circle" size="medium" :custom-style="themCustomStyle" v-on:click.stop="payment()">立即支付</u-button>
</view> <!-- <u-button shape="circle" size="medium" :custom-style=" payBtn ?customStyle : themCustomStyle" @click.stop="buy()">再次购买</u-button>
<u-loadmore :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20" bg-color="#f3f4f6" /> <u-button shape="circle" size="medium" :custom-style="customStyle" @click="shouhuoHandler()">确认收货</u-button> -->
</scroll-view> </view>
</view> </view>
<u-popup v-model="showModal" mode="center" length="80%"> </view>
<view style='display: flex;flex-direction: column;align-items: center;background: #fff;'> </view>
<view style="display: flex;align-items: center;justify-content: center;height:70px ;"> <u-loadmore :status="status" :load-text="loadText" :font-size="24" :margin-top="20" :margin-bottom="20" bg-color="#f3f4f6" />
<Text>是否取消订单?</Text> </scroll-view>
</view> </view>
<view style="display: flex;flex-direction: column;height:80px ;margin-left: 15px;width: 100%;" v-if='item.OrderStatus==2'> <u-popup v-model="showModal" mode="center" length="80%">
<Text style='margin-left: 10px;margin-top: 5px;'>备注</Text> <view style='display: flex;flex-direction: column;align-items: center;background: #fff;'>
<input class="uni-input inputM" style='margin-left: 10px;margin-top: 5px;' v-model="Cancelmsg.Remark" placeholder="输入备注" /> <view style="display: flex;align-items: center;justify-content: center;height:70px ;">
</view> <Text>是否取消订单?</Text>
<view style="display: flex;flex-direction: row;align-items: center;height: 50px;border-top: 1px solid #F5F5F5;width: 100%;"> </view>
<view style="width: 50%;display: flex;align-items: center;justify-content: center" @click="showModal=false"> <view style="display: flex;flex-direction: column;height:80px ;margin-left: 15px;width: 100%;" v-if='item.OrderStatus==2'>
<Text>取消</Text> <Text style='margin-left: 10px;margin-top: 5px;'>备注</Text>
</view> <input class="uni-input inputM" style='margin-left: 10px;margin-top: 5px;' v-model="Cancelmsg.Remark" placeholder="输入备注" />
<view style="width: 50%;color: #a0cfff;display: flex;align-items: center;justify-content: center" @click="confirm"> </view>
<Text>确定</Text> <view style="display: flex;flex-direction: row;align-items: center;height: 50px;border-top: 1px solid #F5F5F5;width: 100%;">
</view> <view style="width: 50%;display: flex;align-items: center;justify-content: center" @click="showModal=false">
</view> <Text>取消</Text>
</view> </view>
</u-popup> <view style="width: 50%;color: #a0cfff;display: flex;align-items: center;justify-content: center" @click="confirm">
<u-modal v-model="showReviceModal" content="是否确认收货?" :show-cancel-button="true" :show-title="false" @confirm="submitReviceGoodHandler" <Text>确定</Text>
:border-radius="20"></u-modal> </view>
<good-list :list="goodData" v-if="showGoodList" @close="closeGoodListHandler"></good-list> </view>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth='goback'></auth> </view>
</u-popup>
<u-modal v-model="showReviceModal" content="是否确认收货?" :show-cancel-button="true" :show-title="false" @confirm="submitReviceGoodHandler"
:border-radius="20"></u-modal>
<good-list :list="goodData" v-if="showGoodList" @close="closeGoodListHandler"></good-list>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth='goback'></auth>
<payCom v-if="payBtn" :payInfo="payInfo" @closePay="closePay"></payCom> <payCom v-if="payBtn" :payInfo="payInfo" @closePay="closePay"></payCom>
<u-popup v-model="payExit" mode="center" :mask-close-able="false"> <u-popup v-model="payExit" mode="center" :mask-close-able="false">
<view style="background:#fff;width:500rpx"> <view style="background:#fff;width:500rpx">
...@@ -190,8 +193,8 @@ ...@@ -190,8 +193,8 @@
created() { created() {
this.contentHeight = this.$utils.calcContentHeight(-40) + "px"; this.contentHeight = this.$utils.calcContentHeight(-40) + "px";
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.themCustomStyle.color = this.mainColor; this.themCustomStyle.color = '#D0A86C';
this.themCustomStyle.borderColor = this.mainColor; this.themCustomStyle.borderColor = '#D0A86C';
}, },
mounted() { mounted() {
let currentPages = getCurrentPages(); let currentPages = getCurrentPages();
...@@ -224,6 +227,7 @@ ...@@ -224,6 +227,7 @@
methods: { methods: {
choose(item){ choose(item){
this.headID = item.Id this.headID = item.Id
this.getOrderStatus()
}, },
getOrderStatus() { getOrderStatus() {
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
...@@ -243,7 +247,7 @@ ...@@ -243,7 +247,7 @@
Id: 0, Id: 0,
} }
this.list.unshift(obj) this.list.unshift(obj)
this.msg.OrderStatus = this.list[this.current].Id; this.msg.OrderStatus = this.headID//this.list[this.current].Id;
this.init(); this.init();
} }
} }
......
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