随笔分类 - uniapp
摘要:template <uni-forms-item label="验证码" name="code" style="position: relative;"> <input maxlength="6" type="number" placeholder="请输入验证码" v-model="formDat
阅读全文
摘要:<svg class="svg" width="100%" height="80"> <defs> <path id="box1" :d="lineLeftData" fill="transparent"></path> <!-- <path id="box1" d="M 0, 57 L 630,5
阅读全文
摘要:input代码 <!-- :suffixIcon 右侧图标 @suffixIcon 点击右侧图标触发事件 :password 传入布尔值,控制input是否为密码框 --> <u-input placeholder="请输入密码" border="surround" v-model="formDat
阅读全文
摘要:效果: 实现代码: <template> <view class="content"> <view class="left"> <scroll-view class="left-scroll" scroll-y> <!-- 左侧列表点击事件可简写 --> <!-- @click="current=i
阅读全文
摘要:实现效果: 实现效果: <template> <view class="content"> 123 </view> </template> <script> export default { data() { return { } }, } </script> <style lang="scss">
阅读全文
摘要:实现效果: 封装的组件: <template> <view class="page-container-titleNav"> <view class="content"> <view class="left"> <text>{{title}}</text> <text class="circle">
阅读全文
摘要:使用uview框架 <view class=""> <u-row gutter="4" align="top"> <block v-for="item, index in 5" :key="index"> <u-col span="6"> <view style="width: 100%;heigh
阅读全文
摘要:效果: 代码: 效果: 代码: <template> <view class="content"> <u-navbar :is-back="false" title="" class="title"> <view :class="{ 'title-active': Number(index) Num
阅读全文
摘要:const url_all = { 'DEV': 'http://XXX.XXX.XX.XX', // 此次存放baseUrl } let BASE_URL = url_all['DEV'] // let BASE_URL = url_all['_DEV'] export const request
阅读全文