V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  justyeh  ›  全部回复第 2 页 / 共 4 页
回复总数  72
1  2  3  4  
我搞过,过桥提前结清自己的装修贷,省了不少;
一定要取现,现在银行单日取现有额度要求,你就把招行的钱分批转到自己不同的银行卡(如果有其他人的银行卡应该更安全),抽个时间去取出来,一起存到一张卡上就没事了
洋房,一栋楼人越少遇到傻逼的几率越小
@15855pm 我目前就在用,ios 小程序可以正常抓到,注意证书安装正确并且关闭你手机里的代理工具
290 天前
回复了 ccadb 创建的主题 程序员 公司内部物品统计
之前在北京公司用的是“给到”,和你的需求挺契合
但是其实员工最想要的是现金、购物卡,之前“给到”可以卖京东 E 卡,后面不能买了,公司一堆人骂
292 天前
回复了 justyeh 创建的主题 分享发现 分享爱回收卖 mbp 的经历
@poporange630 我的本来报价 4000 ,后面也是在屏幕上找出来轻微痕迹,扣了 200
chrome 插件:自选基金助手
分子
305 天前
回复了 sunny1688 创建的主题 问与答 Stash 有没有拼车的?
抓包的话,我最近在用 proxyman ,免费
能 bba 就 bba
v2 也有发帖员了?老是在热门看见,点了一下个人主页,好家伙,你的帖子很有“话题性”,👍👍👍👍
318 天前
回复了 zhonj 创建的主题 前端开发 大家公司里面写前端样式都是咋写的?
@zhonj 不是无脑 copy ,会选择性的删除一些用不到的属性,经常用到的是 fontSzie 、color 、border 、background ,真的很方便
react 就 taro ,另外小程序支持 ci

// 自动将代码上传到小程序
const ci = require('miniprogram-ci')
const path = require('path')
const mainfest = require('../src/manifest.json')
const slog = require('single-line-log').stdout
const robot = Number(process.env.ROBOT) || 1
const buildVersion = process.env.npm_config_build_version || mainfest.versionName

function getUploadDesc() {
// dev
if (robot === 1) {
return 'build by robot --dev'
}

// test
if (robot === 2) {
return 'build by robot --test'
}

// release
if (robot === 3) {
return 'build by robot --release'
}

// uat
if (robot === 4) {
return 'build by robot --uat'
}

return mainfest.description
}

async function main() {
const project = new ci.Project({
appid: mainfest['mp-weixin'].appid, //appid
type: 'miniProgram',
projectPath: path.resolve(__dirname, '../dist/build/mp-weixin'), //项目路径
privateKeyPath: path.resolve(__dirname, `./private.${mainfest['mp-weixin'].appid}.key`), //小程序后台的上传密匙
ignores: ['node_modules/**/*']
})

let slogIndex = 0

try {
await ci.upload({
project,
version: buildVersion,
desc: getUploadDesc(),
setting: mainfest['mp-weixin'].setting,
robot,
onProgressUpdate: () => {
slog('上传中' + (slogIndex === 0 ? '.' : slogIndex === 1 ? '..' : '...') + '\n')
slogIndex++
if (slogIndex === 3) {
slogIndex = 0
}
}
})
console.log(`上传成功 版本${buildVersion}`)
} catch (error) {
console.error(`上传失败 版本${buildVersion}`, error)
}
}

main()
319 天前
回复了 zhonj 创建的主题 前端开发 大家公司里面写前端样式都是咋写的?
@zhonj 为什么会有去维护一个类名的需求,写 vue scoped ,写 react 就 css module ,我写样式除了 @include text-ellipsis;这样的仅有的几个代码,几乎不复用

定位要么一眼就观察到了,要么 cmd+f

还有一个很重要的点,类似于蓝湖这样的工具已经能生成很多样式代码,拷贝+简单的修改就可以活,效率和心智负担比 tailwindcss 之类的玩意强太多了
319 天前
回复了 zhonj 创建的主题 前端开发 大家公司里面写前端样式都是咋写的?
```js
// 头部导航栏样式
setInnerClass(idx) {
const isBefore = idx < this.active
const isCurrent = idx === this.active
const isAfter = idx > this.active
const beforeClassInner =
'min-w-[22px] max-w-[22px] w-[22px] h-[22px] bg-[#ffffff] text-[#3F7AFF] text-center text-[12px] font-semibold leading-[18px] rounded-full border-[2px] border-[#C8D7F9]'
const currentClassInner =
'min-w-[22px] max-w-[22px] w-[22px] h-[22px] bg-[#3F7AFF] text-[#fff] text-center text-[12px] font-semibold leading-[18px] rounded-full border-[2px] border-[#124FDA]'
const afterClassInner =
'min-w-[22px] max-w-[22px] w-[22px] h-[22px] bg-[#ECECEC] text-[#CBCBCB] text-center text-[12px] font-semibold leading-[18px] rounded-full border-[2px] border-[#ECECEC]'
return (isBefore && beforeClassInner) || (isCurrent && currentClassInner) || (isAfter && afterClassInner)
},
setOuterClass(idx) {
const isBefore = idx < this.active
const isCurrent = idx === this.active
const isAfter = idx > this.active
const beforeClassWarp = 'z-[2] max-w-[26px] relative rounded-full border-[2px] border-[#C8D7F9]'
const currentClassWarp = 'z-[2] max-w-[26px] relative rounded-full border-[2px] border-[#C8D7F9]'
const afterClassWarp = 'z-[2] max-w-[26px] relative rounded-full border-[2px] border-[#ECECEC] custom-linear-box-shadow'
return (isBefore && beforeClassWarp) || (isCurrent && currentClassWarp) || (isAfter && afterClassWarp)
},
```
319 天前
回复了 zhonj 创建的主题 前端开发 大家公司里面写前端样式都是咋写的?
我不理解用 taildcss 是赶时髦还是怎么的,这种代码真的好吗?

```
<div
v-for="(group, idx) in schema"
:key="idx"
class="min-h-[70px] relative"
>
<div
:class="setOuterClass(idx)"
@click="() => {
active = idx
}">
<div :class="setInnerClass(idx)">
<div>{{ idx + 1 }}</div>
</div>
</div>
<div class="absolute text-[12px] left-[50%] top-[32px] min-w-[70px] translate-x-[-35px] text-center" :style="{ color: active >= idx ? '#3F7AFF' : '#CBCBCB'}">{{ group.label }}</div>
</div>
```
319 天前
回复了 zhonj 创建的主题 前端开发 大家公司里面写前端样式都是咋写的?
之前一个同事用了 tailwindcss ,UI 设计的花哨点,样式代码比标签长
我去改样式,p-8 、f12 都是什么鬼,还要一个个的去看

没有成熟的设计规范,tailwindcss 请自己玩玩就好
1  2  3  4  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2093 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 02:12 · PVG 10:12 · LAX 19:12 · JFK 22:12
Developed with CodeLauncher
♥ Do have faith in what you're doing.