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.

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