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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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" @click="savaHandle()">
  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 savaHandle = () => {
  29. };
  30. const state = reactive({
  31. openid: "",
  32. orderId: "",
  33. });
  34. onLoad((option : any) => {
  35. state.orderId = option.orderId;
  36. });
  37. </script>
  38. <style lang="scss" scoped>
  39. .action {
  40. margin-top: 40rpx;
  41. padding-left: 20rpx;
  42. padding-right: 20rpx;
  43. padding-bottom: 30rpx;
  44. .button {
  45. height: 80rpx;
  46. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  47. border-radius: 40rpx;
  48. font-size: 32rpx;
  49. font-weight: 400;
  50. color: #ffffff;
  51. line-height: 80rpx;
  52. }
  53. }
  54. .title {
  55. text-align: center;
  56. margin-top: 15rpx;
  57. font-size: 36rpx;
  58. font-family: Microsoft YaHei;
  59. font-weight: 400;
  60. color: #333333;
  61. line-height: 36rpx;
  62. }
  63. .value {
  64. padding: 0rpx 60rpx;
  65. }
  66. .content_1 {
  67. margin-top: 60rpx;
  68. font-size: 30rpx;
  69. font-family: Microsoft YaHei;
  70. font-weight: 400;
  71. color: #666666;
  72. line-height: 58rpx;
  73. }
  74. .content_2 {
  75. margin-top: 50rpx;
  76. font-size: 30rpx;
  77. font-family: Microsoft YaHei;
  78. font-weight: 400;
  79. color: #666666;
  80. line-height: 58rpx;
  81. }
  82. </style>