|
@@ -1,6 +1,146 @@
|
|
|
+<!-- 我的订单 -->
|
|
|
<template>
|
|
|
<view>
|
|
|
- <!-- 我的订单 -->
|
|
|
+ <view class="top">
|
|
|
+ <view class="head">
|
|
|
+ <view></view>
|
|
|
+ <view>订单号:{{number}}</view>
|
|
|
+ <view>
|
|
|
+ <view>{{state}}</view>
|
|
|
+ <view class="triangle"></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="content">
|
|
|
+ <view>
|
|
|
+ <text>订单类型</text>
|
|
|
+ <text>普通订单</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>物料描述</text>
|
|
|
+ <text>185/65R15 92H XL BH15 BGBL</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>轮胎条数</text>
|
|
|
+ <text>100<text>条</text></text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>创建时间</text>
|
|
|
+ <text>2020-11-06 14:25:30</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="top">
|
|
|
+ <view class="head">
|
|
|
+ <view style="background-color: #FC1E1E;"></view>
|
|
|
+ <view>订单号:{{number}}</view>
|
|
|
+ <view>
|
|
|
+ <view style="background-color: #FC1E1E;">{{state}}</view>
|
|
|
+ <view class="triangle1"></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="content">
|
|
|
+ <view>
|
|
|
+ <text>订单类型</text>
|
|
|
+ <text>普通订单</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>物料描述</text>
|
|
|
+ <text>185/65R15 92H XL BH15 BGBL</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>轮胎条数</text>
|
|
|
+ <text>100<text>条</text></text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>创建时间</text>
|
|
|
+ <text>2020-11-06 14:25:30</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="top">
|
|
|
+ <view class="head">
|
|
|
+ <view style="background-color: #0094FE;"></view>
|
|
|
+ <view>订单号:{{number}}</view>
|
|
|
+ <view>
|
|
|
+ <view style="background-color: #0094FE;">{{state}}</view>
|
|
|
+ <view class="triangle2"></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="content">
|
|
|
+ <view>
|
|
|
+ <text>订单类型</text>
|
|
|
+ <text>普通订单</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>物料描述</text>
|
|
|
+ <text>185/65R15 92H XL BH15 BGBL</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>轮胎条数</text>
|
|
|
+ <text>100<text>条</text></text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>创建时间</text>
|
|
|
+ <text>2020-11-06 14:25:30</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="top">
|
|
|
+ <view class="head">
|
|
|
+ <view style="background-color: #14EBBB;"></view>
|
|
|
+ <view>订单号:{{number}}</view>
|
|
|
+ <view>
|
|
|
+ <view style="background-color: #14EBBB;">{{state}}</view>
|
|
|
+ <view class="triangle3"></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="content">
|
|
|
+ <view>
|
|
|
+ <text>订单类型</text>
|
|
|
+ <text>普通订单</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>物料描述</text>
|
|
|
+ <text>185/65R15 92H XL BH15 BGBL</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>轮胎条数</text>
|
|
|
+ <text>100<text>条</text></text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>创建时间</text>
|
|
|
+ <text>2020-11-06 14:25:30</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="top">
|
|
|
+ <view class="head">
|
|
|
+ <view style="background-color: #14EBBB;"></view>
|
|
|
+ <view>订单号:{{number}}</view>
|
|
|
+ <view>
|
|
|
+ <view style="background-color: #14EBBB;">{{state}}</view>
|
|
|
+ <view class="triangle3"></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="content">
|
|
|
+ <view>
|
|
|
+ <text>订单类型</text>
|
|
|
+ <text>普通订单</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>物料描述</text>
|
|
|
+ <text>185/65R15 92H XL BH15 BGBL</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>轮胎条数</text>
|
|
|
+ <text>100<text>条</text></text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>创建时间</text>
|
|
|
+ <text>2020-11-06 14:25:30</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -8,15 +148,106 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
+ number: '137678199412137865',
|
|
|
+ state: '状态是'
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style>
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .top {
|
|
|
+ width: 702rpx;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ margin-top: 20rpx;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.1);
|
|
|
+ padding-bottom: 20rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .content {
|
|
|
+ width: 642rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ margin: 0 auto;
|
|
|
+ margin-top: 80rpx;
|
|
|
+ border-top: 1rpx solid #E7E8EA;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ }
|
|
|
+ .content>view{
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ }
|
|
|
+ .content>view>text{
|
|
|
+ color: #303134;
|
|
|
+ font-size: 28rpx;
|
|
|
+ }
|
|
|
+ .content>view>text:nth-child(2) {
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+
|
|
|
+ .head {
|
|
|
+ width: 702rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .head>view:nth-child(1) {
|
|
|
+ width: 16rpx;
|
|
|
+ height: 60rpx;
|
|
|
+ background: #F6CF19;
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+
|
|
|
+ .head>view:nth-child(2) {
|
|
|
+ width: 500rpx;
|
|
|
+ height: 60rpx;
|
|
|
+ font-size: 30rpx;
|
|
|
+ float: left;
|
|
|
+ line-height: 60rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-left: 10rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .head>view:nth-child(3) {
|
|
|
+ width: 190rpx;
|
|
|
+ float: right;
|
|
|
+ margin-right: -20rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .head>view:nth-child(3)>view:nth-child(1) {
|
|
|
+ width: 190rpx;
|
|
|
+ height: 60rpx;
|
|
|
+ background: #F6CF19;
|
|
|
+ border-radius: 500rpx 0px 0px 500rpx;
|
|
|
+ float: right;
|
|
|
+ text-align: center;
|
|
|
+ color: #FFFFFF;
|
|
|
+ line-height: 60rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
|
|
|
+ .triangle,.triangle1,.triangle2,.triangle3 {
|
|
|
+ width: 0px;
|
|
|
+ height: 0px;
|
|
|
+ margin-top: 60rpx;
|
|
|
+ margin-right: -190rpx;
|
|
|
+ border: 10rpx solid;
|
|
|
+ transform: rotate(270deg);
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ .triangle{
|
|
|
+ border-color: #B89804 #B89804 transparent transparent;
|
|
|
+ }
|
|
|
+ .triangle1 {
|
|
|
+ border-color: #960000 #960000 transparent transparent;
|
|
|
+ }
|
|
|
+ .triangle2 {
|
|
|
+ border-color: #0F519C #0F519C transparent transparent;
|
|
|
+ }
|
|
|
+ .triangle3 {
|
|
|
+ border-color: #01A07D #01A07D transparent transparent;
|
|
|
+ }
|
|
|
</style>
|