08 2020 档案
摘要:直奔正题: 遮罩层(蒙层)弹出的时候,不应该让遮罩层底下的内容能滚动,小程序中的最佳解决方案亲测如下: <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: {
阅读全文
摘要:之前写过关于多选框设置样式的办法,其实与单选框设置的方法一样,唯一不同的是,在css样式里,/* 选中后的 背景样式 (红色背景 无边框 可根据UI需求自己修改) */的下面定义的css需要加上!important才会生效,意思是本css拥有最高权重,但是多选框就不用,挺逗的。 关于多选框的设置方法
阅读全文

浙公网安备 33010602011771号