bottombat.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view class="cashier">
  3. <web-view :webview-styles="webviewStyles" :src="url"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. url:""
  11. }
  12. },
  13. onLoad(options) {
  14. let type = uni.getStorageSync('agreementType')
  15. this.url= 'https://api.hebeiyhc.com/api/agreement?type=' + type
  16. console.log('url = ',this.url)
  17. },
  18. methods: {
  19. }
  20. }
  21. </script>
  22. <style>
  23. page {
  24. background-color: #F7F8FC;
  25. }
  26. </style>
  27. <style lang="scss" scoped>
  28. .activite {
  29. color: #1F7CFF;
  30. }
  31. .content {
  32. width: 686rpx;
  33. background-color: #1F7CFF;
  34. color: red;
  35. }
  36. .scroll-view_H {
  37. white-space: nowrap;
  38. width: 100%;
  39. color: #333333;
  40. }
  41. .scroll-view-item_H {
  42. display: inline-block;
  43. width: 20%;
  44. height: 30rpx;
  45. line-height: 30rpx;
  46. text-align: center;
  47. padding: 28rpx 0 38rpx 0;
  48. font-size: 32rpx;
  49. }
  50. .cashier {
  51. width: 100%;
  52. height: 100%;
  53. display: flex;
  54. flex-direction: column;
  55. align-items: center;
  56. .cashier-bottom {
  57. width: 100%;
  58. height: 171rpx;
  59. position: fixed;
  60. bottom: 0;
  61. display: flex;
  62. justify-content: space-around;
  63. align-items: flex-start;
  64. background-color: #FFFFFF;
  65. .cashier-bottom-yi {
  66. height: 70rpx;
  67. display: flex;
  68. flex-direction: column;
  69. justify-content: space-between;
  70. align-items: center;
  71. .cashier-bottom-yi-top {
  72. width: 40rpx;
  73. height: 40rpx;
  74. image {
  75. width: 100%;
  76. height: 100%;
  77. }
  78. }
  79. .cashier-bottom-yi-bot {
  80. font-size: 20rpx;
  81. font-weight: 400;
  82. }
  83. }
  84. }
  85. }
  86. </style>