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.

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