siteDetail.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <template>
  2. <view>
  3. <view >
  4. <!-- 基本信息start -->
  5. <view class="basic-info">
  6. <view class="info-tit margin-left-xs">
  7. <text class="cuIcon-titles margin-right-xs"></text>
  8. 详细信息
  9. </view>
  10. <view class="info-content">
  11. <view class="info-one-info ">
  12. <text>站点名称:</text>
  13. <text>火点侦测摄像机</text>
  14. </view>
  15. <view>
  16. <text>地址:</text>
  17. <text>上海市虹口区塘沽路伍继办公室</text>
  18. </view>
  19. <view>
  20. <text>定位:</text>
  21. <text>定位地址信息</text>
  22. </view>
  23. <view>
  24. <text>联系人:</text>
  25. <text>韩正义</text>
  26. </view>
  27. <view>
  28. <text>联系电话:</text>
  29. <text>13262908433</text>
  30. </view>
  31. </view>
  32. </view>
  33. <!-- 基本信息end -->
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default {
  39. data() {
  40. return {
  41. radio: 'A',
  42. radio: 'B',
  43. modalName: null,
  44. }
  45. },
  46. methods: {
  47. submit() {
  48. uni.makePhoneCall({
  49. phoneNumber: '15122423833' //仅为示例
  50. });
  51. },
  52. mapLocation(){
  53. uni.openLocation({
  54. latitude: 31.469465,
  55. longitude: 121.327514,
  56. success: function() {
  57. console.log('success');
  58. }
  59. });
  60. },
  61. RadioChange(e) {
  62. this.radio = e.detail.value
  63. },
  64. textareaAInput(e) {
  65. this.textareaAValue = e.detail.value
  66. },
  67. }
  68. }
  69. </script>
  70. <style lang="scss">
  71. .timeBox {
  72. height: 88rpx;
  73. background: #EFF4FF;
  74. line-height: 88rpx;
  75. .time {
  76. color: #333
  77. }
  78. }
  79. .info-tit {
  80. color: #4074E7;
  81. line-height: 90rpx;
  82. height: 90rpx;
  83. }
  84. // 基本信息
  85. .info-content>view {
  86. margin-left: 24rpx;
  87. border-bottom: 1px solid #EDEDED;
  88. line-height: 92rpx;
  89. color: #666;
  90. }
  91. .info-content view text:first-child {
  92. width: 160rpx;
  93. display: inline-block
  94. }
  95. </style>