about.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <view>
  3. <view class="top"><image src="../../static/my.png" mode="aspectFill"></image></view>
  4. <view class="content">
  5. <view class="title">
  6. 谢通门县隶属于日喀则市,位于西藏自治区日喀则市西北部、雅鲁藏布江北岸。东邻南木林县和日喀则市桑珠孜区,北接那曲市申扎县,西邻昂仁县,南与萨迦县和拉孜县接壤。位于东经87°4′至89°1′,北纬29°18′至30°26′,县人民政府驻卡嘎镇。县城距日喀则市人民政府83千米。截至2014年,谢通门县辖1个镇、18个乡。总面积13960平方千米。
  7. 谢通门县被命名为“四好农村路”全国示范县。
  8. </view>
  9. <view class="info">
  10. <view class="item">
  11. <view class="name" @click="phone()">
  12. 联系电话
  13. <text class="tag">{{ item.helpPhone }}</text>
  14. </view>
  15. </view>
  16. <view class="item">
  17. <view class="name">
  18. 所在地址
  19. <text class="tag">日喀则市</text>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. item: {}
  31. };
  32. },
  33. onLoad(e) {
  34. this.item = uni.getStorageSync('aboutUs');
  35. },
  36. methods: {
  37. phone() {
  38. uni.makePhoneCall({
  39. phoneNumber: this.item.helpPhone
  40. });
  41. }
  42. }
  43. };
  44. </script>
  45. <style lang="scss">
  46. .top {
  47. position: relative;
  48. height: 300px;
  49. color: white;
  50. image {
  51. width: 100%;
  52. height: 300px;
  53. position: absolute;
  54. }
  55. }
  56. .content {
  57. padding: 15px;
  58. .title {
  59. padding: 10px;
  60. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  61. border-radius: 5px;
  62. .mt {
  63. font-size: 25px;
  64. font-weight: bold;
  65. padding-left: 5px;
  66. padding-right: 5px;
  67. }
  68. }
  69. .info {
  70. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  71. margin-top: 10px;
  72. border-radius: 5px;
  73. .item {
  74. padding: 15px;
  75. border-bottom: 1px solid #f1f1f1;
  76. color: black;
  77. font-size: 15px;
  78. overflow: hidden;
  79. .tag {
  80. float: right;
  81. color: $dar2;
  82. }
  83. }
  84. }
  85. }
  86. </style>