随笔分类 -  uniapp

摘要:template <uni-forms-item label="验证码" name="code" style="position: relative;"> <input maxlength="6" type="number" placeholder="请输入验证码" v-model="formDat 阅读全文
posted @ 2023-01-09 10:39 fnasklf 阅读(241) 评论(0) 推荐(0) 编辑
摘要:<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 阅读全文
posted @ 2022-11-04 16:21 fnasklf 阅读(947) 评论(0) 推荐(0) 编辑
摘要:input代码 <!-- :suffixIcon 右侧图标 @suffixIcon 点击右侧图标触发事件 :password 传入布尔值,控制input是否为密码框 --> <u-input placeholder="请输入密码" border="surround" v-model="formDat 阅读全文
posted @ 2022-11-02 14:54 fnasklf 阅读(690) 评论(0) 推荐(0) 编辑
摘要:效果: 实现代码: <template> <view class="content"> <view class="left"> <scroll-view class="left-scroll" scroll-y> <!-- 左侧列表点击事件可简写 --> <!-- @click="current=i 阅读全文
posted @ 2022-09-25 15:01 fnasklf 阅读(85) 评论(0) 推荐(0) 编辑
摘要:实现效果: 实现效果: <template> <view class="content"> 123 </view> </template> <script> export default { data() { return { } }, } </script> <style lang="scss"> 阅读全文
posted @ 2022-09-25 11:38 fnasklf 阅读(913) 评论(0) 推荐(0) 编辑
摘要:实现效果: 封装的组件: <template> <view class="page-container-titleNav"> <view class="content"> <view class="left"> <text>{{title}}</text> <text class="circle"> 阅读全文
posted @ 2022-09-25 10:17 fnasklf 阅读(56) 评论(0) 推荐(0) 编辑
摘要:使用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 阅读全文
posted @ 2022-09-24 21:12 fnasklf 阅读(488) 评论(0) 推荐(0) 编辑
摘要:效果: 代码: 效果: 代码: <template> <view class="content"> <u-navbar :is-back="false" title="" class="title"> <view :class="{ 'title-active': Number(index) Num 阅读全文
posted @ 2022-09-23 16:23 fnasklf 阅读(163) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2022-09-20 10:11 fnasklf 阅读(175) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示