Showing
2 changed files
with
85 additions
and
2 deletions
| 1 | <!--pack-cookbook/pages/success.wxml--> | 1 | <!--pack-cookbook/pages/success.wxml--> |
| 2 | <nav id="nav" hasHome backgroundColor="#ffffff" color="#000000">已点菜品</nav> | 2 | <nav id="nav" hasHome backgroundColor="#ffffff" color="#000000">已点菜品</nav> |
| 3 | +<view> | ||
| 4 | + <view class="pages flex-vc success"> | ||
| 5 | + <view class="icon"> | ||
| 6 | + <icon type="success" size="47" color="#C8B16D"/> | ||
| 7 | + </view> | ||
| 8 | + <view class="title Medium">订单提交成功</view> | ||
| 9 | + <view class="optx flex-vc"> | ||
| 10 | + <view class="opt-view flex-ll"> | ||
| 11 | + <view class="but editor">修改菜品</view> | ||
| 12 | + <view class="but share">分享</view> | ||
| 13 | + </view> | ||
| 14 | + </view> | ||
| 15 | + </view> | ||
| 16 | + <view class="hr"></view> | ||
| 17 | +</view> | ||
| 3 | <view class="pages"> | 18 | <view class="pages"> |
| 4 | <view class="carts"> | 19 | <view class="carts"> |
| 5 | <view class="block"> | 20 | <view class="block"> |
| @@ -36,6 +51,9 @@ | @@ -36,6 +51,9 @@ | ||
| 36 | <view class="hr"></view> | 51 | <view class="hr"></view> |
| 37 | <view class="pages"> | 52 | <view class="pages"> |
| 38 | <view class="infos"> | 53 | <view class="infos"> |
| 54 | + <view class="item"> | ||
| 55 | + 订单信息 | ||
| 56 | + </view> | ||
| 39 | <view class="flex-ll item"> | 57 | <view class="flex-ll item"> |
| 40 | <view>订单编号:</view> | 58 | <view>订单编号:</view> |
| 41 | <view class="">22333445678</view> | 59 | <view class="">22333445678</view> |
| @@ -46,3 +64,10 @@ | @@ -46,3 +64,10 @@ | ||
| 46 | </view> | 64 | </view> |
| 47 | </view> | 65 | </view> |
| 48 | </view> | 66 | </view> |
| 67 | +<view style="height: 150rpx;width: 100%;"></view> | ||
| 68 | +<view class="optx flex-vc"> | ||
| 69 | + <view class="opt-view flex-ll"> | ||
| 70 | + <view class="but editor">修改菜品</view> | ||
| 71 | + <view class="but share">分享</view> | ||
| 72 | + </view> | ||
| 73 | +</view> |
| @@ -72,8 +72,8 @@ | @@ -72,8 +72,8 @@ | ||
| 72 | font-size: 28rpx; | 72 | font-size: 28rpx; |
| 73 | } | 73 | } |
| 74 | .infos .item{ | 74 | .infos .item{ |
| 75 | - height: 100rpx; | ||
| 76 | - line-height: 100rpx; | 75 | + height: 80rpx; |
| 76 | + line-height: 80rpx; | ||
| 77 | } | 77 | } |
| 78 | .infos input{ | 78 | .infos input{ |
| 79 | text-align: right; | 79 | text-align: right; |
| @@ -84,4 +84,62 @@ | @@ -84,4 +84,62 @@ | ||
| 84 | overflow: hidden; | 84 | overflow: hidden; |
| 85 | max-width: 95%; | 85 | max-width: 95%; |
| 86 | color: #999999; | 86 | color: #999999; |
| 87 | +} | ||
| 88 | +.infos .item:first-child{ | ||
| 89 | + border-bottom: 2rpx solid #F5F5F5; | ||
| 90 | + height: 100rpx; | ||
| 91 | + line-height: 100rpx; | ||
| 92 | +} | ||
| 93 | + | ||
| 94 | +.optx{ | ||
| 95 | + height: 96rpx; | ||
| 96 | + line-height: 96rpx; | ||
| 97 | + background-color: #262628; | ||
| 98 | + position: fixed; | ||
| 99 | + bottom: 0; | ||
| 100 | + left:0; | ||
| 101 | + right: 0; | ||
| 102 | + color:#fefefe; | ||
| 103 | + font-size: 34rpx; | ||
| 104 | +} | ||
| 105 | +.opt-view{ | ||
| 106 | + height: 50rpx; | ||
| 107 | + line-height: 50rpx; | ||
| 108 | + width: 100%; | ||
| 109 | +} | ||
| 110 | +.opt-view .but{ | ||
| 111 | + width: 50%; | ||
| 112 | + text-align: center; | ||
| 113 | + | ||
| 114 | +} | ||
| 115 | +.opt-view .but:first-child{ | ||
| 116 | + border-right: 2rpx solid #979797; | ||
| 117 | +} | ||
| 118 | +.pages .optx{ | ||
| 119 | + position: relative; | ||
| 120 | + background-color: #fefefe; | ||
| 121 | + color: #262628; | ||
| 122 | + border: 2rpx solid #262628; | ||
| 123 | + height: 80rpx; | ||
| 124 | + line-height: 80rpx; | ||
| 125 | + margin-bottom: 74rpx; | ||
| 126 | + width: 100%; | ||
| 127 | +} | ||
| 128 | +.success image{ | ||
| 129 | + width: 100%; | ||
| 130 | + height: 100%; | ||
| 131 | +} | ||
| 132 | +.success .icon{ | ||
| 133 | + width: 100rpx; | ||
| 134 | + height: 100rpx; | ||
| 135 | + margin-top: 46rpx; | ||
| 136 | +} | ||
| 137 | +.success .title{ | ||
| 138 | + font-size: 36rpx; | ||
| 139 | + margin-top: 36rpx; | ||
| 140 | + margin-bottom: 100rpx; | ||
| 141 | +} | ||
| 142 | +.success .info{ | ||
| 143 | + font-size: 26rpx; | ||
| 144 | + color:#999999 | ||
| 87 | } | 145 | } |
-
Please register or login to post a comment