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.

319 lines
5.3 KiB

  1. <template>
  2. <view class="app-container" style="background-color: #ededed;">
  3. <view class="pam-content">
  4. <view class="pam-shop">
  5. <view class="pam-mess">
  6. <view class="picon">
  7. <img src="../../static/page/people.png" style="width: 110rpx;height: 110rpx;" alt="" srcset="" />
  8. </view>
  9. <view class="pam-address">
  10. <view class="pname">
  11. 付款给李姐烧烤(普罗旺斯店)
  12. </view>
  13. <view class="paddre">
  14. 广西南宁市江南区波尔多庄园2-109号商铺
  15. </view>
  16. </view>
  17. </view>
  18. <view class="pam-local">
  19. <img src="../../static/page/location.png" style="width: 30rpx;height: 36rpx;" alt="" srcset="" />
  20. </view>
  21. </view>
  22. <view class="pam-main">
  23. <view class="pm-title">
  24. 付款金额()
  25. </view>
  26. <view class="pm-write">
  27. <view class="font">
  28. </view>
  29. <view class="num">
  30. <input type="text" class="pr-num" @focus="playFoucus" placeholder="请输入金额" placeholder-style="color: #cfcfcf;" />
  31. </view>
  32. </view>
  33. <view class="pfooter u-border-top">
  34. 向商家询问支付金额
  35. </view>
  36. </view>
  37. <view class="pac-cont">
  38. <view class="pac-left">
  39. <view class="pcfont">
  40. 支付金额给商户
  41. </view>
  42. <view class="pcline">
  43. </view>
  44. <view class="pc-aplay">
  45. 支付宝支付
  46. </view>
  47. </view>
  48. <view class="pac-link">
  49. 查看活动规则
  50. </view>
  51. </view>
  52. <u-keyboard mode="number" :closeOnClickOverlay="true" @close="close" :show="show" @confirm="confirm" @cancel="cancel"></u-keyboard>
  53. </view>
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. data() {
  59. return {
  60. show: false
  61. }
  62. },
  63. methods: {
  64. playFoucus() {
  65. this.show = true;
  66. },
  67. confirm() {
  68. this.show = false;
  69. },
  70. cancel() {
  71. this.show = false;
  72. },
  73. close() {
  74. this.show = false;
  75. }
  76. }
  77. }
  78. </script>
  79. <style lang="scss">
  80. .uni-page-body {
  81. background: #ededed;
  82. }
  83. .pam-content {
  84. padding-top: 100rpx;
  85. padding-left: 30rpx;
  86. padding-right: 30rpx;
  87. .pam-shop {
  88. display: flex;
  89. justify-content: space-between;
  90. .pam-mess {
  91. display: flex;
  92. height: 110rpx;
  93. .picon {
  94. width: 110rpx;
  95. height: 110rpx;
  96. }
  97. .pam-address {
  98. margin-left: 20rpx;
  99. .pname {
  100. margin-top: 15rpx;
  101. color: #454545;
  102. font-size: 32rpx;
  103. line-height: 1.5;
  104. font-weight: bold;
  105. }
  106. .paddre {
  107. margin-top: 5rpx;
  108. color: #666;
  109. font-size: 24rpx;
  110. line-height: 1.5;
  111. }
  112. }
  113. }
  114. .pam-local {
  115. width: 30rpx;
  116. height: 36rpx;
  117. margin-top: 60rpx;
  118. }
  119. }
  120. .pam-main {
  121. margin-top: 97rpx;
  122. padding-top: 30rpx;
  123. height: 380rpx;
  124. background: #fff;
  125. box-sizing: border-box;
  126. .pm-title {
  127. padding-left: 40rpx;
  128. color: #454545;
  129. font-size: 30rpx;
  130. line-height: 1.5;
  131. }
  132. .pfooter {
  133. margin-top: 60rpx;
  134. padding-left: 40rpx;
  135. padding-top: 40rpx;
  136. color: #666;
  137. font-size: 24rpx;
  138. line-height: 1.5;
  139. }
  140. .u-border-bottom,
  141. .u-border-top {
  142. border-color: #eee !important;
  143. }
  144. .pm-write {
  145. display: flex;
  146. height: 60rpx;
  147. padding-left: 40rpx;
  148. margin-top: 70rpx;
  149. .font {
  150. height: 60rpx;
  151. line-height: 60rpx;
  152. font-size: 30rpx;
  153. color: #454545;
  154. font-weight: bold;
  155. }
  156. .num {
  157. margin-left: 20rpx;
  158. line-height: 60rpx;
  159. height: 60rpx;
  160. .pr-num {
  161. font-size: 68rpx;
  162. line-height: 70rpx;
  163. min-height: 70rpx;
  164. height: 70rpx;
  165. color: #454545;
  166. }
  167. }
  168. }
  169. }
  170. .pac-cont {
  171. display: flex;
  172. justify-content: space-between;
  173. align-items: center;
  174. margin-top: 30rpx;
  175. .pac-left {
  176. display: flex;
  177. .pcfont {
  178. font-size: 24rpx;
  179. color: #666;
  180. height: 30rpx;
  181. line-height: 30rpx;
  182. }
  183. .pcline {
  184. height: 28rpx;
  185. width: 2rpx;
  186. margin-left: 20rpx;
  187. background: #ccc;
  188. }
  189. .pc-aplay {
  190. padding-left: 40rpx;
  191. margin-left: 20rpx;
  192. font-size: 24rpx;
  193. height: 30rpx;
  194. line-height: 30rpx;
  195. color: #999;
  196. background: url(../../static/page/aplay.png) no-repeat left center;
  197. background-size: 30rpx 30rpx;
  198. }
  199. }
  200. .pac-link {
  201. color: #1783FF;
  202. font-size: 24rpx;
  203. height: 30rpx;
  204. line-height: 30rpx;
  205. cursor: pointer;
  206. }
  207. }
  208. .pac-list {
  209. display: flex;
  210. display: none;
  211. justify-content: space-between;
  212. position: absolute;
  213. width: 100%;
  214. left: 0;
  215. right: 0;
  216. bottom: 0;
  217. padding: 14rpx;
  218. height: 415rpx;
  219. background: #f7f7f7;
  220. box-sizing: border-box;
  221. .pl-left {
  222. width: 537rpx;
  223. }
  224. .p-num {
  225. display: flex;
  226. justify-content: center;
  227. align-items: center;
  228. height: 88rpx;
  229. margin: 0;
  230. border: none;
  231. border-radius: 5rpx;
  232. background: #fff;
  233. font-size: 18px;
  234. color: #454545;
  235. font-weight: bold;
  236. &:after {
  237. border: none;
  238. }
  239. }
  240. .pleft-num {
  241. display: flex;
  242. justify-content: space-between;
  243. flex-wrap: wrap;
  244. .p-num {
  245. width: 170rpx;
  246. &.p-mar {
  247. margin-top: 14rpx;
  248. }
  249. }
  250. }
  251. .pleft-btom {
  252. display: flex;
  253. justify-content: space-between;
  254. margin-top: 14rpx;
  255. .p-num {
  256. width: 170rpx;
  257. }
  258. .pu-zero {
  259. width: 354rpx;
  260. margin-right: 14rpx;
  261. }
  262. }
  263. .pl-right {
  264. width: 170rpx;
  265. .pr-del {
  266. background: #fff url(../../static/page/del.png) no-repeat center center;
  267. background-size: 48rpx 34rpx;
  268. }
  269. .pr-sure {
  270. flex: 1;
  271. height: 290rpx;
  272. margin-top: 14rpx;
  273. color: #caf2d8;
  274. background: #ace4c1;
  275. }
  276. }
  277. }
  278. }
  279. </style>