customerService.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view class="pages">
  3. <view class="top">
  4. <view class="image">
  5. <image src="../static/logo2.png" ></image>
  6. </view>
  7. <view class="">
  8. 欢迎拨打日月峡森林康养旅行客服电话
  9. </view>
  10. <view class="" style="font-size: 28rpx;margin: 20rpx 0 0;box-sizing: border-box;">
  11. 服务时间 9:00~18:00
  12. </view>
  13. </view>
  14. <view class="footer">
  15. <view class="number" v-for="item,index in list" :key="index">
  16. <view class="num">
  17. <image src="../static/mobile@2x.png" ></image>
  18. <text class="" style="margin-left: 20rpx;">
  19. {{item}}
  20. </text>
  21. </view>
  22. <view class="btn">
  23. 联系
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default{
  31. data(){
  32. return{
  33. list:[]
  34. }
  35. },
  36. onLoad() {
  37. this.init()
  38. },
  39. methods:{
  40. init(){
  41. let list=uni.getStorageSync("data")
  42. // console.log(list[5])
  43. this.list=list[5].value
  44. }
  45. }
  46. }
  47. </script>
  48. <style lang="less">
  49. page{
  50. background-color: #F4F4F4 ;
  51. font-size: 32rpx;
  52. box-sizing: border-box;
  53. }
  54. .pages{
  55. width: 100%;
  56. height: 100%;
  57. box-sizing: border-box;
  58. }
  59. .top{
  60. height: 500rpx;
  61. box-sizing: border-box;
  62. padding: 108rpx 0 40rpx;
  63. text-align: center;
  64. .image{
  65. box-sizing: border-box;
  66. margin: 0 auto 60rpx;
  67. }
  68. image{
  69. width: 210rpx;
  70. height: 200rpx;
  71. }
  72. }
  73. .footer{
  74. box-sizing: border-box;
  75. height: calc(100vh - 500rpx);
  76. background: #FFFFFF;
  77. border-radius: 16rpx 56rpx 0px 0px;
  78. padding: 76rpx 30rpx 0;
  79. .number{
  80. box-sizing: border-box;
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. margin-bottom: 30rpx;
  85. image{
  86. width: 26rpx;
  87. height: 34rpx;
  88. margin-bottom: -8rpx;
  89. }
  90. // .num{
  91. // display: flex;
  92. // align-items: center;
  93. // }
  94. }
  95. .btn{
  96. box-sizing: border-box;
  97. color: #1E9F6A;
  98. width: 154rpx;
  99. height: 60rpx;
  100. line-height: 60rpx;
  101. background: #FFFFFF;
  102. border-radius: 8rpx 24rpx 8rpx 24rpx;
  103. border: 1px solid #1E9F6A;
  104. text-align: center;
  105. }
  106. }
  107. </style>