摘要: 首先 让运维给开出账号密码,要想更换密码 直接 passwd 就可以更改密码 然后 在cmd或者编译器终端 ssh 用户名@服务器地址 再就是寻找项目文件路径 cd ../ (返回上一级) ls (查看当前文件列表) cd www (进入www文件夹) 查看某一文件vim 文件名 ( shift + 阅读全文
posted @ 2022-06-08 16:57 吸取天地精华 阅读(92) 评论(0) 推荐(0) 编辑
摘要: vue element  动态下拉菜单   ( 可支持5级) <div class="page-title"> <div class="select-box"> <div class="select-box-item" v-for="(item,index) in titleList"> <el-menu class="el-menu-demo" mode=" 阅读全文
posted @ 2022-03-16 15:08 吸取天地精华 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 这样页面会动态的一直变: let sellArr = this.tableData1 这样就会阻止改变页面的数据 : let sellArr = JSON.parse(JSON.stringify(this.tableData1)); 阅读全文
posted @ 2021-01-19 15:51 吸取天地精华 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <el-table :data="tableData" border class="tb-edit" style="width: 100%" highlight-current-row @row-click="handleCurrentChange" > <el-table-column align 阅读全文
posted @ 2021-01-19 15:46 吸取天地精华 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: Object.assign(this.$data, this.$options.data()) // 全部重置 Object.assign(this.$data.form, this.$options.data().form) // 部分重置 this.$data是当前状态的data数据 this. 阅读全文
posted @ 2020-12-30 18:04 吸取天地精华 阅读(306) 评论(0) 推荐(0) 编辑
摘要: //倒计时 countDown: function () { var that = this; var nowTime = new Date().getTime() / 1000; //现在时间(时间戳) var endTime = that.data.orderData.send_expired; 阅读全文
posted @ 2020-11-16 10:27 吸取天地精华 阅读(203) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u012691505/article/details/80524009?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_we 阅读全文
posted @ 2020-11-04 10:21 吸取天地精华 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-04 10:20 吸取天地精华 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: C:\Windows\System32\drivers\etc ip + 域名 阅读全文
posted @ 2020-10-20 15:53 吸取天地精华 阅读(198) 评论(0) 推荐(0) 编辑
摘要: <view class="list-big-box"> <view class="shipin" wx:for="{{videoList}}" wx:key="index"> <video src="{{item.video}}" poster="{{item.img}}" class="shipi 阅读全文
posted @ 2020-09-19 09:34 吸取天地精华 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 当获取回来的是一个数组,把数组push到新的数组时会造成多维数组,使用 ... 可以解决问题 kk.push( ...res.data.list) 阅读全文
posted @ 2020-08-14 16:44 吸取天地精华 阅读(101) 评论(0) 推荐(0) 编辑
摘要: formatNum(e) { //正则验证金额输入框格式 e.detail.value = e.detail.value.replace(/^(\-)*(\d+)\.(\d{6}).*$/, '$1$2.$3'); e.detail.value = e.detail.value.replace(/[ 阅读全文
posted @ 2020-08-14 16:41 吸取天地精华 阅读(486) 评论(0) 推荐(0) 编辑
摘要: function test222() { let isNotice = false; if (!("Notification" in window)) { alert("This browser does not support desktop notification"); } else if ( 阅读全文
posted @ 2020-07-21 16:57 吸取天地精华 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-07-15 16:17 吸取天地精华 阅读(2710) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-07-15 16:14 吸取天地精华 阅读(1972) 评论(0) 推荐(1) 编辑
摘要: 效果图: html: <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range 阅读全文
posted @ 2020-06-29 16:11 吸取天地精华 阅读(701) 评论(0) 推荐(0) 编辑
摘要: if (!/^1[3456789]\d{9}$/.test(this.data.mobile)) { wx.showToast({ title: '联系人电话格式错误', icon: 'none', }); return; } 阅读全文
posted @ 2020-06-29 15:41 吸取天地精华 阅读(2025) 评论(0) 推荐(0) 编辑
摘要: 在组件的js中写: options: { styleIsolation: 'apply-shared', }, css: :host { display: block; } 在页面html中: 给包裹组件的view写class:如class=“box” css中:(box1是组件中的类) .box 阅读全文
posted @ 2020-06-28 15:26 吸取天地精华 阅读(2655) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-28 15:19 吸取天地精华 阅读(332) 评论(0) 推荐(0) 编辑
摘要: margin-top: calc((100vw - (元素的宽或者高))); 链接:https://www.runoob.com/cssref/func-calc.html 阅读全文
posted @ 2020-06-18 11:43 吸取天地精华 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 链接:https://pan.baidu.com/s/1Zaz1xXnahAA8Nkbc0E9cZA 提取码:b1up 阅读全文
posted @ 2020-06-09 14:12 吸取天地精华 阅读(374) 评论(0) 推荐(0) 编辑
摘要: .div { position: relative; margin-top: 12rpx; } .div:first-child { margin-top: 0; } .div::before { display: inline-block; margin-right: var(--margin-w 阅读全文
posted @ 2020-06-09 09:22 吸取天地精华 阅读(769) 评论(0) 推荐(0) 编辑
摘要: 给view添加 background: url({{item.sku_pic}}) no-repeat center / cover cover 会使图片最大程度展示 background-size:cover 阅读全文
posted @ 2020-06-06 14:17 吸取天地精华 阅读(2417) 评论(0) 推荐(0) 编辑
摘要: 1.html: <movable-area class="movableArea"> <movable-view class="movableView" direction="all" inertia x="{{x}}" y="{{y}}" bindchange="touchChange" bind 阅读全文
posted @ 2020-06-04 15:04 吸取天地精华 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 1.html: <view wx:if="{{isShow && notice}}" class="notice" style="{{bgColor}};"> <view class="notice__text--wrap" style="color: {{color}};"> <view wx:i 阅读全文
posted @ 2020-06-04 14:20 吸取天地精华 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 1. <view class="series-list" style="margin-top:{{marginTop}}rpx"> <swiper style="width: 702rpx;height:{{swiperHeight}}px;position: relative" current=" 阅读全文
posted @ 2020-06-03 11:45 吸取天地精华 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: 1.html: <view class="swiper-wrap {{tab == 0 ? 'index': ''}}" wx:if="{{tab == 0}}"> <swiper current="{{selectCurrent}}" autoplay="{{true}}" interval="{ 阅读全文
posted @ 2020-06-03 11:13 吸取天地精华 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-29 10:03 吸取天地精华 阅读(796) 评论(0) 推荐(0) 编辑
摘要: 1.可以监听值的变化,把值清空或者重新赋值 2. 阅读全文
posted @ 2020-05-29 09:54 吸取天地精华 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 页面: 阅读全文
posted @ 2020-05-29 09:47 吸取天地精华 阅读(343) 评论(0) 推荐(0) 编辑