摘要: <form class="form-horizontal" role="form"> <div id="chooseRegion" class="form-group"> <label class="col-sm-2 control-label">地址</label> <div class="col 阅读全文
posted @ 2020-06-19 16:05 晨曦_yuan小海 阅读(510) 评论(0) 推荐(0)
摘要: 如果有react与小程序基础的可以发现,其他主流框架语法也是略见趋同,比如Vue.js,今天看了菜鸟教程一遍下来还是收获蛮多的,哈哈!!<template> <div class="TestVue"> <div style="color:red;">{{msg}}</div> <span>{{Mes 阅读全文
posted @ 2020-05-26 17:59 晨曦_yuan小海 阅读(183) 评论(0) 推荐(0)
摘要: let params:any; for (i; i <= 23; i++) { aa = [{ key: i, text: i > 9 ? (i + '小时') : ('0' + i + '小时') } ]; params = { startTime: moment(rangeTimeValue). 阅读全文
posted @ 2020-04-24 09:40 晨曦_yuan小海 阅读(1107) 评论(0) 推荐(0)
摘要: //单选 select: function(e) { var that = this; var index = e.currentTarget.dataset.index; //获取当前点击的下标 var navbarActiveIndex = that.data.navbarActiveIndex 阅读全文
posted @ 2020-02-25 17:17 晨曦_yuan小海 阅读(1737) 评论(0) 推荐(0)
摘要: 1 var t, c; 2 //定位当前家庭 3 for (var i = 0; i < homeList.length; i++) { 4 if (homeList[i].homeId == homeNumberr) { 5 t = homeList[i]; 6 } 7 } 8 var setio 阅读全文
posted @ 2020-02-13 16:25 晨曦_yuan小海 阅读(813) 评论(0) 推荐(0)
摘要: 1 <view wx:for="{{hommer}}" wx:for-item="item" wx:for-index="index" wx:key="{{item.id}}"> 2 <view bindtap="onTap" data-ide="{{item.id}}"> 3 <view styl 阅读全文
posted @ 2020-01-10 16:22 晨曦_yuan小海 阅读(1517) 评论(0) 推荐(0)
摘要: <view class="movie-container"> <!-- 导航栏 --> <view > <scroll-view scroll-x="true" class="navbar" scroll-left="{{navScrollLeft}}" scroll-with-animation= 阅读全文
posted @ 2019-11-24 22:10 晨曦_yuan小海 阅读(1950) 评论(0) 推荐(0)
摘要: <view class="title"> <view class="titleName">{{cname}}</view> <view class="rightBorder"> <view> <text class="titleAddress">地址:</text> <text class="tit 阅读全文
posted @ 2019-11-12 18:22 晨曦_yuan小海 阅读(227) 评论(0) 推荐(0)
摘要: 1 <view wx:for="{{array}}" wx:key="this" class="borderContainer"> 2 <view class="borderContainer1"> 3 <view class="firstBorder"> 4 <view class="firstB 阅读全文
posted @ 2019-11-12 11:57 晨曦_yuan小海 阅读(4436) 评论(0) 推荐(0)