You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

330 lines
9.0 KiB

  1. <template>
  2. <view class="app-container">
  3. <view class="agent-content">
  4. <view class="avatar-information">
  5. <image style="width: 110rpx;height: 110rpx;" src="/static/index/head-sculpture.png" alt="" />
  6. <view class="information-content">
  7. <view class="information-name">李姐烧烤</view>
  8. <view class="address-text">地址广西南宁市江南区波尔多庄园2-109号商铺</view>
  9. </view>
  10. </view>
  11. <view class="revenue-information" @click="handlerOrder">
  12. <view class="projected-revenue-content">
  13. <view class="projected-revenue-item">
  14. <view class="character-style"></view>
  15. <view class="character-price">394.00</view>
  16. </view>
  17. <view class="revenue-item-text">
  18. <view class="character-text">预计到账收益</view>
  19. <image class="help-icon" src="https://common-1257637852.cos.ap-guangzhou.myqcloud.com/paidui-pay/help-icon.png" />
  20. </view>
  21. </view>
  22. <view class="segmentation"></view>
  23. <view class="projected-revenue-content">
  24. <view class="projected-revenue-item">
  25. <view class="character-style"></view>
  26. <view class="character-price">5000.00</view>
  27. </view>
  28. <view class="revenue-item-text">
  29. <view class="character-text">总到账收益</view>
  30. <image class="help-icon" src="https://common-1257637852.cos.ap-guangzhou.myqcloud.com/paidui-pay/help-icon.png" />
  31. </view>
  32. </view>
  33. </view>
  34. <view class="recent-orders-content">
  35. <view class="recent-orders-title">
  36. <image class="title-stlye" src="/static/index/merchant-title-style.png" alt="" />
  37. <view class="title-text">最近订单</view>
  38. </view>
  39. <view class="ordering-information">
  40. <view class="order-number">订单编号 22398983498</view>
  41. <view class="ordering-information-item">
  42. <view class="ordering-pic">
  43. <image class="order-chart" src="/static/index/order-chart.png" alt="" />
  44. </view>
  45. <view class="ordering-text">
  46. <view class="ordering-text-title">李姐烧烤(普罗旺斯店)</view>
  47. <view class="amount-of-money">金额<span class="price-style">450.00</span></view>
  48. <view class="order-time">订单时间2023-10-24 20:39:56</view>
  49. </view>
  50. </view>
  51. <view class="order-status">
  52. <button class="refund-button">退款</button>
  53. </view>
  54. <view class="divider-style"></view>
  55. </view>
  56. <view class="ordering-information">
  57. <view class="order-number">订单编号 22398983498</view>
  58. <view class="ordering-information-item">
  59. <view class="ordering-pic">
  60. <image class="order-chart" src="/static/index/order-chart.png" alt="" />
  61. </view>
  62. <view class="ordering-text">
  63. <view class="ordering-text-title">李姐烧烤(普罗旺斯店)</view>
  64. <view class="amount-of-money">金额<span class="price-style">450.00</span></view>
  65. <view class="order-time">订单时间2023-10-24 20:39:56</view>
  66. </view>
  67. </view>
  68. <view class="order-status">
  69. <button class="refunded-button-style">已退款</button>
  70. </view>
  71. <view class="divider-style"></view>
  72. </view>
  73. <view class="ordering-information">
  74. <view class="order-number">订单编号 22398983498</view>
  75. <view class="ordering-information-item">
  76. <view class="ordering-pic">
  77. <image class="order-chart" src="/static/index/order-chart.png" alt="" />
  78. </view>
  79. <view class="ordering-text">
  80. <view class="ordering-text-title">李姐烧烤(普罗旺斯店)</view>
  81. <view class="amount-of-money">金额<span class="price-style">450.00</span></view>
  82. <view class="order-time">订单时间2023-10-24 20:39:56</view>
  83. </view>
  84. </view>
  85. <view class="order-status">
  86. <button class="refund-button">退款</button>
  87. </view>
  88. <view class="divider-style"></view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. </template>
  96. <script>
  97. export default {
  98. data() {
  99. return {
  100. }
  101. },
  102. methods: {
  103. handlerOrder() {
  104. uni.navigateTo({
  105. url: '/pages/user-orders/user-orders'
  106. });
  107. }
  108. }
  109. }
  110. </script>
  111. <style lang="scss">
  112. .agent-content {
  113. position: relative;
  114. width: 100%;
  115. height: 1500rpx;
  116. padding-left: 30rpx;
  117. padding-right: 30rpx;
  118. background: url(../../static/index/merchant-index-bg.png) no-repeat top center;
  119. background-size: 100% 100%;
  120. box-sizing: border-box;
  121. .avatar-information{
  122. display: flex;
  123. justify-content: left;
  124. align-items: center;
  125. padding: 30rpx 0;
  126. .information-content{
  127. margin-left: 30rpx;
  128. .information-name{
  129. font-family: PingFangSC-Regular, sans-serif;
  130. font-size: 32rpx;
  131. color: #fff;
  132. font-weight: bold;
  133. }
  134. .address-text {
  135. font-family: PingFangSC-Regular, sans-serif;
  136. font-size: 24rpx;
  137. color: #fff;
  138. margin-top: 15rpx;
  139. }
  140. }
  141. }
  142. .revenue-information{
  143. display: flex;
  144. justify-content: space-between;
  145. align-items: center;
  146. height: 200rpx;
  147. background: url(../../static/index/income-bg.png) no-repeat center center;
  148. background-size: cover;
  149. padding: 0 60rpx;
  150. .projected-revenue-content {
  151. text-align: center;
  152. .projected-revenue-item {
  153. display: flex;
  154. justify-content: left;
  155. align-items: baseline;
  156. .character-style {
  157. font-family: PingFangSC-Regular, sans-serif;
  158. font-size: 30rpx;
  159. color: #454545;
  160. }
  161. .character-price {
  162. font-family: "Din";
  163. font-size: 50rpx;
  164. color: #454545;
  165. font-weight: bold;
  166. margin-left: 10rpx;
  167. }
  168. }
  169. .revenue-item-text {
  170. display: flex;
  171. justify-content: center;
  172. align-items: center;
  173. margin-top: 10rpx;
  174. }
  175. .character-text {
  176. font-family: PingFangSC-Regular, sans-serif;
  177. font-size: 28rpx;
  178. color: #454545;
  179. font-weight: bold;
  180. }
  181. image.help-icon {
  182. width: 30rpx;
  183. height: 30rpx;
  184. background-size: cover;
  185. margin-left: 10rpx;
  186. }
  187. }
  188. .segmentation {
  189. width: 1rpx;
  190. height: 90rpx;
  191. background: #E6E3E3;
  192. }
  193. }
  194. .recent-orders-content {
  195. background: #fff;
  196. margin-top: -2rpx;
  197. .recent-orders-title {
  198. display: flex;
  199. justify-content: left;
  200. align-items: center;
  201. padding: 30rpx;
  202. image.title-stlye {
  203. width: 15rpx;
  204. height: 19rpx;
  205. background-size: cover;
  206. margin-right: 20rpx;
  207. }
  208. .title-text {
  209. font-family: PingFangSC-Regular, sans-serif;
  210. font-size: 30rpx;
  211. color: #454545;
  212. font-weight: bold;
  213. }
  214. }
  215. .ordering-information {
  216. padding-bottom: 30rpx;
  217. .order-number {
  218. font-family: PingFangSC-Regular, sans-serif;
  219. font-size: 26rpx;
  220. color: #454545;
  221. padding: 0 30rpx;
  222. }
  223. .ordering-information-item {
  224. display: flex;
  225. justify-content: left;
  226. align-items: center;
  227. padding: 30rpx;
  228. .ordering-pic {
  229. width: 120rpx;
  230. height: 120rpx;
  231. background-size: cover;
  232. border-radius: 15rpx;
  233. image.order-chart {
  234. width: 120rpx;
  235. height: 120rpx;
  236. background-size: cover;
  237. border-radius: 15rpx;
  238. }
  239. }
  240. .ordering-text {
  241. margin-left: 30rpx;
  242. .ordering-text-title {
  243. font-family: PingFangSC-Regular, sans-serif;
  244. font-size: 30rpx;
  245. color: #454545;
  246. }
  247. .amount-of-money {
  248. font-family: PingFangSC-Regular, sans-serif;
  249. font-size: 24rpx;
  250. color: #999;
  251. padding: 10rpx 0;
  252. span.price-style {
  253. font-family: PingFangSC-Regular, sans-serif;
  254. font-size: 24rpx;
  255. color: #F52F3E;
  256. }
  257. }
  258. .order-time {
  259. font-family: PingFangSC-Regular, sans-serif;
  260. font-size: 24rpx;
  261. color: #999;
  262. }
  263. }
  264. }
  265. .order-status {
  266. display: flex;
  267. justify-content: space-around;
  268. align-items: center;
  269. padding: 30rpx 0;
  270. border-top: 1rpx solid #eeeeee;
  271. button.refund-button {
  272. width: 120rpx;
  273. height: 48rpx;
  274. line-height: 44rpx;
  275. font-family: PingFangSC-Regular, sans-serif;
  276. font-size: 24rpx;
  277. color: #454545;
  278. border-color: #E5E5E5;
  279. background: #fff;
  280. border-radius: 100rpx;
  281. margin: 0;
  282. margin-left: 500rpx;
  283. border: 1rpx solid #E5E5E5;
  284. }
  285. button.refunded-button-style {
  286. width: 130rpx;
  287. height: 48rpx;
  288. line-height: 44rpx;
  289. font-family: PingFangSC-Regular, sans-serif;
  290. font-size: 24rpx;
  291. color: #999 !important;
  292. background: #fff;
  293. border-radius: 100rpx;
  294. margin: 0;
  295. margin-left: 500rpx;
  296. border: 1rpx solid #E5E5E5;
  297. }
  298. }
  299. .divider-style {
  300. width: 690rpx;
  301. height: 10rpx;
  302. background: #f7f7f7;
  303. }
  304. }
  305. }
  306. }
  307. </style>