about.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template name="myabout">
  2. <view class="cu-list menu sm-border">
  3. <view class="cu-item arrow" @click="goPage('/pages/tool/sinpage?field=aboutus')">
  4. <view class="content">
  5. <text class="cuIcon-info text-grey"></text>
  6. <text>关于我们</text>
  7. </view>
  8. </view>
  9. <view class="cu-item arrow" @click="goPage('/pages/tool/sinpage?field=service')">
  10. <view class="content">
  11. <text class="cuIcon-text text-grey"></text>
  12. <text>用户协议</text>
  13. </view>
  14. </view>
  15. <view class="cu-item arrow" @click="goPage('/pages/tool/sinpage?field=privacy')">
  16. <view class="content">
  17. <text class="cuIcon-safe text-grey"></text>
  18. <text>隐私政策</text>
  19. </view>
  20. </view>
  21. <view class="cu-item arrow" @click="makeTelephone">
  22. <view class="content">
  23. <text class="cuIcon-phone text-grey"></text>
  24. <text>客服电话</text>
  25. </view>
  26. </view>
  27. <view class="cu-item arrow" @tap="loginOut">
  28. <view class="content">
  29. <text class="cuIcon-exit text-grey"></text>
  30. <text>退出登录</text>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. var _this;
  37. export default {
  38. data() {
  39. return {
  40. }
  41. },
  42. onLoad: function() {
  43. _this = this;
  44. //#ifdef APP-PLUS
  45. _this.appplatform = uni.getSystemInfoSync().platform;
  46. //#endif
  47. },
  48. methods: {
  49. // 咨询电话
  50. makeTelephone: function() {
  51. var telephone = '19959780161';
  52. uni.makePhoneCall({
  53. phoneNumber: telephone
  54. });
  55. },
  56. goPage: function(pageurl) {
  57. uni.navigateTo({
  58. url: pageurl,
  59. fail: function() {
  60. uni.switchTab({
  61. url: pageurl
  62. });
  63. }
  64. });
  65. },
  66. },
  67. }
  68. </script>
  69. <style>
  70. </style>