gongyujieshao.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <view class="content">
  3. <view class="xuzhi">
  4. <view class="xiang_title">公寓介绍</view>
  5. <view class="xiang_txt">
  6. 我们从分享时机、分享形式、分享动机、分享场景4个维度来聊聊「社交分享」的那些事儿。<br>
  7. <text style="display: block;text-indent: 56rpx;">所以监听用户的截图操作,提示用户进行分享,既缩短了以前分享截图的操作路径,避免了在之前长路径中的行为流失(比如截图完成后忘记分享或觉得麻烦放弃分享等等),也让用户觉得更加贴心。</text>
  8. <text style="display: block;text-indent: 56rpx;">用户分享内容到社交媒体或好友,不应该是一种粗暴的强制行为,我们应该在保证产品本身内容有吸引力的核心前提下,仔细揣摩用户心理,结合产品本身的特色,在不同情境下提供给用户最合适的分享平台及方式,让用户分享成为一种水到渠。</text>
  9. <text style="display: block;text-indent: 56rpx;">营业时间:24小时</text>
  10. <text style="display: block;text-indent: 56rpx;">联系电话:<text @click="telphone(phone)" style="color:rgba(41, 109, 227, 1);">{{phone}}</text></text>
  11. </view>
  12. </view>
  13. <!-- 第二部分,公寓设施 -->
  14. <view class="sheshi">
  15. <view class="sheshi_title">公寓设施</view>
  16. <view class="sheshi_txt_left">
  17. <view style="margin-top: 30rpx;" class="sheshi_txt" v-for="(item,index) in sheshiList" :key="index">
  18. <image class="sheshi_icon" src="../../static/gongyuxiangqing/sheshi_icon.png"></image>{{item.list}}
  19. </view>
  20. </view>
  21. <view class="sheshi_txt_right">
  22. <view style="margin-top: 30rpx;" v-for="(item,index) in sheshiList2" :key="index">
  23. <image class="sheshi_icon" src="../../static/gongyuxiangqing/sheshi_icon.png"></image>{{item.list}}
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. data() {
  32. return {
  33. sheshiList:[
  34. {id:1,list:'免费洗刷用品'},
  35. {id:2,list:'24小时热水'},
  36. {id:3,list:'客房wifi覆盖'},
  37. {id:4,list:'电视'},
  38. {id:5,list:'电吹风'},
  39. {id:6,list:'分体式空调'},
  40. ],
  41. sheshiList2:[
  42. {id:1,list:'吹风机'},
  43. {id:2,list:'宽带上网接口'},
  44. {id:3,list:'独立卫生间'},
  45. {id:4,list:'拖鞋'},
  46. {id:5,list:'电水壶'},
  47. {id:6,list:'免费瓶装水'},
  48. ],
  49. phone:'0791-82293574'
  50. }
  51. },
  52. onLoad() {
  53. },
  54. methods: {
  55. //拨打电话
  56. telphone(phone){
  57. uni.makePhoneCall({
  58. phoneNumber: phone ,
  59. }) // 传参带入号码即可
  60. },
  61. }
  62. }
  63. </script>
  64. <style>
  65. @import url("./css/gongyuxiangqing.css");
  66. </style>