摘要: 直奔正题: 遮罩层(蒙层)弹出的时候,不应该让遮罩层底下的内容能滚动,小程序中的最佳解决方案亲测如下: <view class="container" catchtouchmove="ture"></view> .container { background-color: #000000; posi 阅读全文
posted @ 2020-08-31 11:20 小平头~ 阅读(699) 评论(0) 推荐(1) 编辑
摘要: computed: { _dataList: function() { if (this.type == 1) return this.dataList.breakfast if (this.type == 2) return this.dataList.lunch if (this.type == 阅读全文
posted @ 2020-08-28 14:37 小平头~ 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 轮播 <swiper class="swiper" :style="{height:750*194/375+'rpx !important'}" circular="true" :autoplay="autoplay" :interval="interval" :duration="duration 阅读全文
posted @ 2020-08-21 14:25 小平头~ 阅读(338) 评论(0) 推荐(0) 编辑
摘要: <view class="feature-info"> <view class="feature-list info-row"> <text v-if="isFollow == 1" class="attention" @click="unsubscribe()">已关注</text> <text 阅读全文
posted @ 2020-08-21 10:03 小平头~ 阅读(830) 评论(0) 推荐(0) 编辑
摘要: <!-- 进餐 --> <template> <view class="content"> <!-- 导航栏 --> <mynavGeneral mTitle="每日进餐" :immersionShow="immersionShow"></mynavGeneral> <view :style="{' 阅读全文
posted @ 2020-08-18 17:03 小平头~ 阅读(159) 评论(0) 推荐(0) 编辑
摘要: <view class="weeks"> <text @click="switchWeek(index)" v-for="(item,index) in ['周天',' 周一','周二','周三','周四','周五','周六']" class="item zk_pressed1" :class="{ 阅读全文
posted @ 2020-08-17 16:14 小平头~ 阅读(196) 评论(0) 推荐(0) 编辑
摘要: <view class="ctn"> <view class="itm" @click="clockIn(1, breakfast_time, a)">//形参 <text>今日早餐</text> <image src="../../static/icon/icon_punch2.png"></im 阅读全文
posted @ 2020-08-17 12:01 小平头~ 阅读(162) 评论(0) 推荐(0) 编辑
摘要: <!-- 就餐记录 --> <template> <view class="content"> <!-- 导航栏 --> <mynavGeneral mCustomTitle="true" :immersionShow="immersionShow"> <view class="inavTab"> 阅读全文
posted @ 2020-08-10 10:28 小平头~ 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="content"> <!-- 导航栏 --> <mynavGeneral mTitle="设置时间" :immersionShow="immersionShow"></mynavGeneral> <view :style="{'margin-top': 阅读全文
posted @ 2020-08-08 11:28 小平头~ 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 2019-01-17阅读 2.2K0 HTML代码: <div title="意向价格" v-if="showPrise"></div> <div title="意向租金" v-if="showRentPrise"></div> JS代码: new Vue({ el: '#app', data: { 阅读全文
posted @ 2020-08-05 19:50 小平头~ 阅读(7952) 评论(0) 推荐(0) 编辑