摘要: html <van-dropdown-item :title="time_value" v-model="time" :options="time_option" @change="changeTime"> </van-dropdown-item> data数据 time: '', time_val 阅读全文
posted @ 2020-11-25 10:38 JaneLifeVlog 阅读(3219) 评论(1) 推荐(0)
摘要: **html ** <!-- 回到顶部 --> <div class="go_top" @click="goTop" :class="go_top_flag == true ? 'go_top_show' :''"> <van-icon name="back-top" class="go_top_i 阅读全文
posted @ 2020-11-25 10:36 JaneLifeVlog 阅读(139) 评论(0) 推荐(0)
摘要: html <p>{{count_time}}</p> data数据 count_time: '', //格式化之后的当前时间 函数 created() { this.getTimes() }, beforeDestroy() { if (this.count_time) { clearInterva 阅读全文
posted @ 2020-11-25 10:34 JaneLifeVlog 阅读(140) 评论(0) 推荐(0)
摘要: html <p>点击日期查看详情</p> <van-calendar safe-area-inset-bottom :poppable="false" :show-confirm="false" :title="date" :show-subtitle="false" :default-date=" 阅读全文
posted @ 2020-11-25 10:32 JaneLifeVlog 阅读(1110) 评论(0) 推荐(0)
摘要: html <van-tabs @click="onClick" v-model="active"> <van-tab v-for="(tabItem,index) in tabTitle" :title="tabItem.title"> <div v-if="tabItem.value 0 || t 阅读全文
posted @ 2020-11-25 10:29 JaneLifeVlog 阅读(868) 评论(0) 推荐(0)
摘要: 函数 sum() {//合计 this.thisPeoData.forEach((value, index) => { value.child.forEach((val, idx) => { val.fine.forEach((v, i) => { if (v.type '早餐') { this.b 阅读全文
posted @ 2020-11-25 10:22 JaneLifeVlog 阅读(173) 评论(0) 推荐(0)
摘要: html <el-button size="medium" @click="handleHide">批量隐藏</el-button> <el-button size="medium" @click="handleShow">批量显示</el-button> <el-button size="medi 阅读全文
posted @ 2020-11-25 10:19 JaneLifeVlog 阅读(1218) 评论(0) 推荐(0)
摘要: html {{price | priceFormat}} 函数 filters: { //格式化价格 priceFormat(val) { var str = (val / 100).toFixed(2) + ''; var intSum = str.substring(0, str.indexOf 阅读全文
posted @ 2020-11-25 10:14 JaneLifeVlog 阅读(68) 评论(0) 推荐(0)
摘要: html <span>添加</span> <el-input type='number' v-model="order_rowNum" placeholder="请输入行数"></el-input> <span>行明细</span> <el-button type="primary" min="1" 阅读全文
posted @ 2020-11-25 10:12 JaneLifeVlog 阅读(1701) 评论(1) 推荐(0)
摘要: HTML规范 1.给 a 标签加上title属性 2.a 标签的href属性必须写上链接地址,暂无的加上 javascript:; 3.非本专题的页面间跳转,采用打开新窗口模式:target="_blank" 属性值 1.元素属性值使用双引号语法 <input type="radio" name=" 阅读全文
posted @ 2020-11-25 09:51 JaneLifeVlog 阅读(232) 评论(0) 推荐(0)