| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <template>
- <view>
- <view class="top-fixed">
- <view class="search-box ddflex">
- <view class="search-input ddflex fflex">
- <image src="/static/images/ssico.png"></image>
- <input @confirm="searchFn" confirm-type="search" @input="searchFn" v-model="searchVal" class="fflex"
- placeholder="请输入关键词" />
- </view>
- </view>
- </view>
- <view style="height: 150rpx;"></view>
- <view class="title">
- 我的活动<text>共3个</text>
- </view>
- <view class="padd30">
- <view class="act-bar ddflex" v-for="item in 3">
- <view class="act-pic">
- <image src="/static/images/lj_img.png"></image>
- <view class="act-pic-tag">审核中</view>
- </view>
- <view class="flex">
- <view class="act-title tovers">保险大家谈 2023·山东青岛</view>
- <view class="act-time">活动时间:2023.10.07</view>
- <view class="act-bottom ddflex">
- <view class="act-bottom-look ddflex">
- <image src="../../static/pages/images/fw_hui.png"></image>
- 0人
- </view>
- <view class="act-edit" @click="jumpUrl('/match/activityEdit/activityEdit')">修改</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- const app = getApp();
- const req = require("../../utils/request.js");
- export default {
- components: {},
- props: {},
- data() {
- return {
- systems: {},
- isTop:0,
- }
- },
- onLoad(options) {
- },
- onShow() {
-
- },
- methods: {
- jumpUrl(url){
- uni.navigateTo({
- url:url
- })
- }
- },
- mounted() {
- const systemInfo = uni.getSystemInfoSync();
- // px转换到rpx的比例
- let pxToRpxScale = 750 / systemInfo.windowWidth;
- let systems = {
- ktxStatusHeight: systemInfo.statusBarHeight * pxToRpxScale, // 状态栏的高度
- navigationHeight: 44 * pxToRpxScale // 导航栏的高度
- };
- systems.barHeight = systems.ktxStatusHeight + systems.navigationHeight;
- this.systems = systems;
- },
- onPageScroll: function(e) {
- if (e.scrollTop > this.systems.barHeight) {
- this.isTop = 1;
- } else {
- this.isTop = 0;
- }
- }
- }
- </script>
- <style>
- @import "./activityManage.css";
- </style>
|