verificationDetail.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <template>
  2. <view class="verificationDetail">
  3. <!-- 核销状态 -->
  4. <view class="nav">
  5. <text class="verificationDate" >核销时间:2020-10-20</text>
  6. <text class="notVerification" v-if="false">未核销</text>
  7. </view>
  8. <!-- 地址+产品信息 -->
  9. <view class="address">
  10. <view class="title">
  11. <text>地址</text>
  12. </view>
  13. <view class="addressCard">
  14. <image style="width: 694rpx;height: 134rpx;position: absolute;" src="http://t9.9026.com/imgs/addressMap.png"></image>
  15. <view class="addressName">
  16. <image src="/static/icon/position.png"></image>
  17. <text>天堂洲际大饭店</text>
  18. </view>
  19. <view class="addressDetail">四川省 成都市 高新区 XXX小区 XXX号</view>
  20. </view>
  21. <view class="title">
  22. <text>产品信息</text>
  23. </view>
  24. <view class="shopCard">
  25. <image src="/static/icon/Kudosbg.png"></image>
  26. <view style="margin-left: 24rpx;">
  27. <text class="name">端午佳节五香肉粽子,仅限前</text>
  28. <text class="tag">礼盒装 2000积分</text>
  29. </view>
  30. </view>
  31. <view class="shopNumber">
  32. <text>件数</text>
  33. <text>1件</text>
  34. </view>
  35. <view class="tatol">
  36. <text>合计</text>
  37. <text>2000积分</text>
  38. </view>
  39. </view>
  40. <!-- 收货信息 -->
  41. <view class="message">
  42. <view class="messageCard">
  43. <view class="title">
  44. <text>收货信息</text>
  45. </view>
  46. <view class="content" >
  47. <text>收货人</text>
  48. <text>张三</text>
  49. </view>
  50. <view class="content">
  51. <text>联系方式</text>
  52. <text>12325646</text>
  53. </view>
  54. </view>
  55. <view class="messageCard">
  56. <view class="title">
  57. <text>订单信息</text>
  58. </view>
  59. <view class="content" >
  60. <text>订单编号</text>
  61. <text>62aae0eb9c6fd622</text>
  62. </view>
  63. <view class="content">
  64. <text>时间</text>
  65. <text>2022-08-20 12:32:12</text>
  66. </view>
  67. </view>
  68. <view class="messageCard" >
  69. <view class="title">
  70. <text>核销信息</text>
  71. </view>
  72. <view class="content" >
  73. <text>核销员</text>
  74. <text>张武</text>
  75. </view>
  76. <view class="content">
  77. <text>核销时间</text>
  78. <text>2022-08-20 12:32:12</text>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 核销按钮 -->
  83. <view class="bottombtn" v-if="false">
  84. <view class="btnitem" @click="goOrderVF">
  85. <text>去核销</text>
  86. </view>
  87. </view>
  88. </view>
  89. </template>
  90. <script>
  91. export default{
  92. data(){
  93. return{
  94. }
  95. },
  96. methods:{
  97. // 跳转核销订单
  98. goOrderVF(){
  99. uni.navigateTo({
  100. url:'/pages/my/verification/orderVerification'
  101. })
  102. },
  103. }
  104. }
  105. </script>
  106. <style lang="scss" scoped>
  107. $pageColor:#F9F9F9;
  108. $bgColor:#FFFFFF;
  109. // flex布局居中对齐
  110. @mixin flexlayout {
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. }
  115. .verificationDetail{
  116. height: 100%;
  117. background:$pageColor ;
  118. }
  119. .nav{
  120. width: 750rpx;
  121. height: 108rpx;
  122. background: $bgColor;
  123. border-radius: 0px 0px 16rpx 16rpx;
  124. padding:32rpx 0 0 28rpx;
  125. box-sizing: border-box;
  126. .verificationDate{
  127. font-size: 40rpx;
  128. font-family: PingFang-SC-Medium, PingFang-SC;
  129. font-weight: 500;
  130. color: #333333;
  131. }
  132. .notVerification{
  133. // 继承.verificationDate类的属性
  134. @extend .verificationDate;
  135. color: #FF6200;
  136. }
  137. }
  138. .address{
  139. margin-top: 24rpx;
  140. width: 750rpx;
  141. height: 650rpx;
  142. background: $bgColor;
  143. border-radius: 16rpx;
  144. padding:40rpx 30rpx;
  145. box-sizing: border-box;
  146. .title{
  147. margin-bottom: 24rpx;
  148. text{
  149. font-size: 32rpx;
  150. font-family: PingFang-SC-Bold, PingFang-SC;
  151. font-weight: bold;
  152. color: #080F18;
  153. }
  154. }
  155. .addressCard{
  156. width: 694rpx;
  157. height: 134rpx;
  158. display: flex;
  159. margin-bottom: 40rpx;
  160. flex-direction: column;
  161. justify-content: center;
  162. position: relative;
  163. background: linear-gradient(270deg, rgba(255,255,255,0.06) 0%, #FFFFFF 100%);
  164. .addressName{
  165. z-index: 999;
  166. display: flex;
  167. align-items: center;
  168. margin-bottom: 18rpx;
  169. image{
  170. width: 22rpx;
  171. height: 28rpx;
  172. }
  173. text{
  174. margin-left: 8rpx;
  175. font-size: 28rpx;
  176. font-family: PingFang-SC-Medium, PingFang-SC;
  177. font-weight: 500;
  178. color: #333333;
  179. }
  180. }
  181. .addressDetail{
  182. z-index: 999;
  183. font-size: 28rpx;
  184. font-family: PingFangSC-Medium, PingFang SC;
  185. font-weight: 500;
  186. color: #080F18;
  187. }
  188. }
  189. .shopCard{
  190. margin-top: 28rpx;
  191. width: 694rpx;
  192. height: 164rpx;
  193. background: #F4F5F6;
  194. border-radius: 10rpx;
  195. display: flex;
  196. align-items: center;
  197. image{
  198. border-radius: 10rpx;
  199. width: 132rpx;
  200. height: 132rpx;
  201. margin-left: 16rpx;
  202. display: inline-block;
  203. }
  204. .name{
  205. font-size: 28rpx;
  206. font-family: PingFangSC-Medium, PingFang SC;
  207. font-weight: 500;
  208. color: #080F18;
  209. display: block;
  210. }
  211. .tag{
  212. font-size: 24rpx;
  213. font-family: PingFang-SC-Medium, PingFang-SC;
  214. font-weight: 500;
  215. color: #666666;
  216. }
  217. }
  218. .shopNumber{
  219. display: flex;
  220. justify-content: space-between;
  221. align-items: center;
  222. margin-top: 25rpx;
  223. text{
  224. font-size: 26rpx;
  225. font-family: PingFang-SC-Medium, PingFang-SC;
  226. font-weight: 500;
  227. color: #000000;
  228. }
  229. }
  230. .tatol{
  231. @extend .shopNumber;
  232. }
  233. }
  234. .message{
  235. margin-top: 24rpx;
  236. width: 750rpx;
  237. height: 690rpx;
  238. background: $bgColor;
  239. border-radius: 16rpx;
  240. padding:40rpx 30rpx;
  241. box-sizing: border-box;
  242. .messageCard{
  243. .title{
  244. margin-bottom: 40rpx;
  245. width: 120rpx;
  246. height: 30rpx;
  247. font-size: 30rpx;
  248. font-family: PingFang-SC-Bold, PingFang-SC;
  249. font-weight: bold;
  250. color: #080F18;
  251. line-height: 30rpx;
  252. }
  253. .content{
  254. margin-bottom: 32rpx;
  255. width: 600rpx;
  256. height: 28rpx;
  257. font-size: 28rpx;
  258. font-family: PingFang-SC-Medium, PingFang-SC;
  259. font-weight: 500;
  260. color: #666666;
  261. line-height: 28rpx;
  262. position: relative;
  263. text:last-child{
  264. position: absolute;
  265. left:176rpx;
  266. }
  267. }
  268. }
  269. }
  270. .bottombtn{
  271. width: 690rpx;
  272. height: 92rpx;
  273. background: linear-gradient(270deg, #FF6200 0%, #FF9342 100%);
  274. border-radius: 12rpx;
  275. margin-left: 30rpx;
  276. position: fixed;
  277. bottom: 72rpx;
  278. @include flexlayout()
  279. .btnitem{
  280. @include flexlayout()
  281. text{
  282. font-size: 30rpx;
  283. font-family: PingFang-SC-Bold, PingFang-SC;
  284. font-weight: bold;
  285. color: $bgColor;
  286. }
  287. }
  288. }
  289. </style>