about.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <view class="container">
  3. <view class="content-box">
  4. <image src="https://sos.liuniu946.com/static/img/img003.png"></image>
  5. <view class="text">
  6. 用户在紧急情况下需要医疗援助的时候,可查找并联系附近注册在平台上的医务人员和救护员,请求帮助。
  7. </view>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. import { mapState, mapMutations } from 'vuex';
  13. export default {
  14. data() {
  15. return {
  16. userInfo:'',//用户信息
  17. };
  18. },
  19. onLoad() {
  20. },
  21. onShow() {
  22. },
  23. //下拉刷新
  24. onPullDownRefresh() {
  25. let obj = this;
  26. //监听下拉刷新动作的执行方法,每次手动下拉刷新都会执行一次
  27. setTimeout(function() {
  28. obj.loadData();
  29. uni.stopPullDownRefresh(); //停止下拉刷新动画
  30. }, 1000);
  31. },
  32. methods: {
  33. }
  34. };
  35. </script>
  36. <style lang="scss">
  37. page {
  38. background: #ffffff;
  39. height: 100%;
  40. .container{
  41. width: 100%;
  42. }
  43. }
  44. .content-box{
  45. padding: 50rpx 50rpx;
  46. width: 100%;
  47. height: 163rpx;
  48. text-align: center;
  49. image{
  50. width: 163rpx;
  51. height: 163rpx;
  52. }
  53. }
  54. .text{
  55. color: #666666;
  56. font-size: 30rpx;
  57. text-align: left;
  58. padding-top: 35rpx;
  59. }
  60. </style>