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.

product-detail.vue 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <image style="
  3. margin-top: 20rpx;
  4. width: 100%;
  5. height: 240rpx;
  6. background-color: #eeeeee;
  7. " :src="`${$imgUrl}applyCard/car-service.png`"></image>
  8. <view class="title"> 微信车主服务 </view>
  9. <view class="value">
  10. <view class="content_1">
  11. 微信车主服务是微信支付为车主用户提供的安全便捷的智慧服务
  12. </view>
  13. <view class="content_2">
  14. 本次将为安徽高灯微行科技有限公司开启免密支付服务,后续相关的费用将通过微信车主服务从你的微信支付账户扣除
  15. </view>
  16. </view>
  17. <view class="action">
  18. <button type="default" class="button">
  19. 开通服务
  20. </button>
  21. </view>
  22. </template>
  23. <script setup lang="ts">
  24. import { onLoad, onShow } from "@dcloudio/uni-app";
  25. import { reactive } from "vue";
  26. import { fileURL } from "@/datas/fileURL.js";
  27. const imgURL = `${fileURL}image/`;
  28. const state = reactive({
  29. openid: "",
  30. orderId: "",
  31. });
  32. onLoad((option : any) => {
  33. state.orderId = option.orderId;
  34. });
  35. </script>
  36. <style lang="scss" scoped>
  37. .action {
  38. margin-top: 40rpx;
  39. padding-left: 20rpx;
  40. padding-right: 20rpx;
  41. padding-bottom: 30rpx;
  42. .button {
  43. height: 80rpx;
  44. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  45. border-radius: 40rpx;
  46. font-size: 32rpx;
  47. font-weight: 400;
  48. color: #ffffff;
  49. line-height: 80rpx;
  50. }
  51. }
  52. .title {
  53. text-align: center;
  54. margin-top: 15rpx;
  55. font-size: 36rpx;
  56. font-family: Microsoft YaHei;
  57. font-weight: 400;
  58. color: #333333;
  59. line-height: 36rpx;
  60. }
  61. .value {
  62. padding: 0rpx 60rpx;
  63. }
  64. .content_1 {
  65. margin-top: 60rpx;
  66. font-size: 30rpx;
  67. font-family: Microsoft YaHei;
  68. font-weight: 400;
  69. color: #666666;
  70. line-height: 58rpx;
  71. }
  72. .content_2 {
  73. margin-top: 50rpx;
  74. font-size: 30rpx;
  75. font-family: Microsoft YaHei;
  76. font-weight: 400;
  77. color: #666666;
  78. line-height: 58rpx;
  79. }
  80. </style>