Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

popup-pay-undertake.vue 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!-- 支付承诺弹窗 -->
  2. <template>
  3. <view class="box">
  4. <view class="title">承诺书</view>
  5. <view class="content">
  6. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本单位因工作需求,请贵单位协助办理贵州省制式警车ETC通行卡,在此郑重承诺: </p>
  7. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一、仅在贵州省辖区内高速公路有效使用该卡片。</p>
  8. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;二、涉及出省行驶计划时,上高速前一定取下贵州省制式警车ETC通行卡,走人工车道领复合通行卡行驶高速。 </p>
  9. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;三、若因我单位对贵州省制式警车ETC通行卡使用不当,造成了该卡出省记录并对外省联网收费系统产生异常通行费记录的,由我单位全数补缴当次通行费用。</p>
  10. </view>
  11. <view class="btn" @click="tpPay">确认并支付</view>
  12. </view>
  13. </template>
  14. <script setup lang="ts">
  15. import { msg } from '@/utils/utils';
  16. const emit = defineEmits(['paySuccess'])
  17. const tpPay = () => {
  18. uni.showLoading({
  19. title:'支付中...'
  20. })
  21. setTimeout(()=>{
  22. msg('支付成功');
  23. uni.hideLoading();
  24. emit('paySuccess');
  25. },1000)
  26. }
  27. </script>
  28. <style lang="scss" scoped>
  29. .box{
  30. width: 530rpx;
  31. padding: 60rpx 45rpx 40rpx;
  32. border-radius: 20rpx;
  33. background-color: white;
  34. color: #333333;
  35. .title{
  36. font-size: 32rpx;
  37. font-weight: bold;
  38. text-align: center;
  39. }
  40. .content{
  41. font-size: 28rpx;
  42. margin-top: 45rpx;
  43. line-height: 40rpx;
  44. letter-spacing: 4rpx;
  45. }
  46. .btn{
  47. border-radius: 40rpx;
  48. background: linear-gradient(to right,#13E7C1,#43A1E0);
  49. color: white;
  50. font-size: 32rpx;
  51. // width: 406rpx;
  52. height: 80rpx;
  53. margin: 50rpx 17rpx 0px;
  54. text-align: center;
  55. line-height: 80rpx;
  56. letter-spacing: 2rpx;
  57. }
  58. }
  59. </style>