common.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <view>
  3. <!-- #ifdef MP-WEIXIN -->
  4. <u-navbar :is-back="false" title=" " :background="{ background: '#ffffff' }" :border-bottom="false"></u-navbar>
  5. <!-- #endif -->
  6. <!-- #ifndef MP-WEIXIN -->
  7. <view class="status_bar"></view>
  8. <!-- #endif -->
  9. <u-cell-group>
  10. <!--<u-cell-item title="聊天背景" :title-style="{ marginLeft: '10rpx' }">
  11. </u-cell-item>-->
  12. <u-cell-item title="相册背景" @click="linkToBgImg" :title-style="{ marginLeft: '10rpx' }">
  13. </u-cell-item>
  14. <!--<u-cell-item title="我的表情" :title-style="{ marginLeft: '10rpx' }">
  15. </u-cell-item>-->
  16. </u-cell-group>
  17. <view style="height: 10rpx;"></view>
  18. <u-cell-group>
  19. <u-cell-item :arrow="false">
  20. <view style="text-align: center;">清空聊天记录</view>
  21. </u-cell-item>
  22. </u-cell-group>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
  30. src1: 'https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/qr_code.png',
  31. groupList: [
  32. { title: '新消息通知', color: '#409eff', icon: 'star' },
  33. { title: '隐私', color: '#409eff', icon: 'photo' },
  34. { title: '通用', color: '#409eff', icon: 'coupon' },
  35. { title: '帮助与反馈', color: '#ff9900', icon: 'heart' }
  36. ],
  37. }
  38. },
  39. methods: {
  40. linkToBgImg(){
  41. this.$u.route({
  42. url: 'pageD/chooseBgImg/chooseBgImg'
  43. });
  44. }
  45. }
  46. }
  47. </script>
  48. <style lang="scss" scoped>
  49. </style>