Commit 81018e08 by LJM

css

parent 9b7ff8e1
Showing with 2 additions and 40 deletions
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<text class="iconfont icon-arrleft" v-back></text> <text class="iconfont icon-arrleft" v-back></text>
<view class="search-box row verCenter"> <view class="search-box row verCenter">
<text class="iconfont icon-search"></text> <text class="iconfont icon-search"></text>
<input type="text" placeholder="请输入订单号/型号" class="uni-input" @input="handleInput()" /> <input type="text" placeholder="请输入订单号/型号" class="uni-input" @input="handleInput()" v-model="searchParams.order_sn" />
</view> </view>
</view> </view>
<text class="filter" @click="open()">筛选</text> <text class="filter" @click="open()">筛选</text>
...@@ -59,45 +59,6 @@ ...@@ -59,45 +59,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="box" v-for="(item, index) in list" :key="index">
<view class="p1 row bothSide verCenter">
<view class="row verCenter">
<text class="t1">订单号:</text>
<text class="t2">{{ item.order_sn }}</text>
<text class="t3">{{ item.create_time }}</text>
</view>
<text class="color2">{{ item.status_val }}</text>
</view>
<view class="p2 row bothSide verCenter">
<view class="row verCenter">
<text class="t1">附加费:</text>
<text class="t2" style="margin-right: 24rpx;">{{ item.extend_fee_format }}</text>
<text class="t1">运费:</text>
<text class="t2">{{ item.shipping_price_format }}</text>
</view>
<view class="right-bar">
<text class="bar-t1"></text>
<text class="bar-t2">{{ item.list.length }}</text>
<text class="bar-t1">件商品</text>
<text class="iconfont icon-jt"></text>
</view>
</view>
<view class="p3 row bothSide verCenter">
<view class="row verCenter">
<text class="t1">总金额:</text>
<text class="price">{{ item.order_amount_format }}</text>
</view>
<view class="right-bar row">
<view class="btn btn0 row rowCenter verCenter" v-if="item.status == 2 || item.status == 3" @click.stop="nowPay(item.order_id)">立即支付</view>
<view class="btn btn1 row rowCenter verCenter" v-if="item.status == 10 || item.status == -1" @click.stop="rebuy(item.order_id)">再次购买</view>
<view class="btn btn2 row rowCenter verCenter" v-if="item.status == 4" @click.stop="sendTip(item.order_sn, item.user_id)">提醒发货</view>
<view class="btn btn3 row rowCenter verCenter" v-if="item.status != 1" @click.stop="downpd(item.order_id)">下载合同</view>
<view class="btn btn4 row rowCenter verCenter" v-if="item.status == 7 || item.status == 8 || item.status == 10" @click.stop="ship(item.order_id, item.order_sn, item.zy_delivery_type, item.status)">查看物流</view>
<view class="btn btn5 row rowCenter verCenter" v-if="item.status == 2 || item.status == 1" @click.stop="cancelOrder(item.order_id)">取消订单</view>
<view class="btn btn6 row rowCenter verCenter" v-if="item.status == 8" @click.stop="sureSend(item.order_id)">确认收货</view>
</view>
</view>
</view>
</view> </view>
<view class="no-data column rowCenter verCenter" v-else> <view class="no-data column rowCenter verCenter" v-else>
<image src="../../static/nodate.png"></image> <image src="../../static/nodate.png"></image>
...@@ -159,6 +120,7 @@ export default { ...@@ -159,6 +120,7 @@ export default {
curr: 0, curr: 0,
list: [], list: [],
searchParams: { searchParams: {
order_sn: '',
p: 1, p: 1,
limit: 500, limit: 500,
status: 0 status: 0
......
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 sign in to comment