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