index.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <view>
  3. <view class="search-box ddflex">
  4. <view class="search-input ddflex fflex">
  5. <image src="/static/images/ssico.png"></image>
  6. <input @confirm="searchFn" confirm-type="search" @input="searchFn" v-model="searchVal" class="fflex"
  7. placeholder="请输入关键词" />
  8. </view>
  9. </view>
  10. <view style="height: 120rpx;"></view>
  11. <view class="ddflex" style="padding: 30rpx;">
  12. <view class="poster-item" v-for="item in 36" @click="jumpUrl('/library/longPosterService/longPosterService')">
  13. <image class="poster-item-pic" src="http://img.zhiqiyun.com/test/2023/07/31/8b7ed072b68fe70f0d6f409a71a8b17b.png" mode="aspectFill"></image>
  14. <view class="poster-item-title tover">年度理赔账单</view>
  15. <!-- <view class="poster-item-use">2056 人正在使用</view> -->
  16. </view>
  17. </view>
  18. <view class="act-create" @click="showBtn">
  19. <image src="../static/images/add.png"></image>
  20. <view>发布</view>
  21. </view>
  22. <view class="ceng" v-if="isShowbtn" @click="hideBtn"></view>
  23. <view class="side ddflex" v-if="isShowbtn">
  24. <view class="li" @click="createJump('/office/createTeam/index')">
  25. <image src="/static/images/ll_dt.png"></image>
  26. <view>年度账单</view>
  27. </view>
  28. <view class="li" @click="createJump('/office/news/news?newsType=1')">
  29. <image src="/static/images/ll_cz.png"></image>
  30. <view>日/月/年报</view>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. const app = getApp();
  37. const req = require("../../utils/request.js");
  38. export default {
  39. components: {},
  40. props: {},
  41. data() {
  42. return {
  43. isShowbtn:false
  44. }
  45. },
  46. onLoad(options) {
  47. },
  48. onShow() {
  49. },
  50. methods: {
  51. jumpUrl(url){
  52. uni.navigateTo({
  53. url:url
  54. })
  55. },
  56. showBtn() {
  57. this.isShowbtn = true;
  58. },
  59. hideBtn() {
  60. this.isShowbtn = false;
  61. },
  62. },
  63. mounted() {
  64. },
  65. onPageScroll: function(e) {
  66. }
  67. }
  68. </script>
  69. <style>
  70. @import "./index.css";
  71. </style>