财/税务知识
抄税
指将上月开具发票数据上传到税务局系统;
清卡
是将上月的开票数据清空为零,这月开始可以开具发票
在申报动作之前都需要进行抄税
和清卡
动作
git规范 http://172.23.50.101:8090/pages/viewpage.action?pageId=128352356 主要是命名规范和合代码冲突时候的处理
# 活动模版淘口令分享
http://activity.yoho.cn/feature/5508.html?share_id=6808&title=点赞测试
后端对应获取分享信息:
http://54.223.209.103/operations/api/v5/webshare/getShare?app_version=6.9.16&business_line=yohobuy&client_secret=74b5cf43553f877e3775b045e6c07250&client_type=android&fromPage=aFP_H5Activity&gender=1%2C3&os_version=android6.0.1%3AOPPO_R9s&physical_channel=1&screen_size=1080x1920&session_key=386ab6918b8e53f1200b7c497b6afb46&share_id=10091&udid=864096033205231b8f4f3d5ea7421e8&uid=9963947&v=7&vip_level=0&yh_channel=1 HTTP/1.1
http://m.yohobuy.com:6001/grass/article/1410314 // 测试3
http://m.yohobuy.com/grass/article/469439 //正式
替换地址栏第二个问号为&:
location.search.replace(/(\?.*\?)/g, (match) => { return match.slice(0, match.length - 1) + '&' });
m站#yohobuywap-node
pc站#yohobuy-node
闲鱼潮#xianyu-ufo-app-web
社区内嵌App#yoho-community-web
通用信息#yo-ho-md
在提交代码时相互review,提交message :xxxx reviewed by who
打包构建:spinnaker
namespace写法:
import { createNamespacedHelpers } from 'vuex';
const { mapState, mapActions, mapMutations } = createNamespacedHelpers('category');
import { getImgUrl } from '../../common/utils';
<image-format
alt=""
:src="goodsInfo.goodImg"
:width="180"
:height="180"
/>
<i class="cubeic-arrow"></i> 右箭头
computed: {
...mapState(['categoryParent', 'categorySubList']),
},
...mapActions(['fetchCategoryParentList']),
传统写法:
import { mapState, mapMutations, mapActions } from 'vuex'
...mapMutations( 'machineCompare', [
'toggleIsShow',
'doDelete
]),
...mapActions( 'machineCompare', [
'addCompare'
]),
asyncData({store, router}) {
return store.dispatch('order/priceChange/fetchProduct', {productId: router.params.orderId, refresh: true});
},
beforeRouteLeave(from, to, next) {
this.$refs.modalPrice.hide();
next();
},
activated() {
if (this.$refs.pageScroll) {
this.$refs.pageScroll.scrollTop = 0;
}
this.loadData(this.productId);
this.refresh();
if (this._resourceImgWatcher) {
this._resourceImgWatcher();
}
if (this.resource && this.resource.url) {
this.yasResourceAvailable();
} else {
this._resourceImgWatcher = this.$watch(() => {
return this.resource && this.resource.url;
}, (url) => {
if (url) {
this._resourceImgWatcher && this._resourceImgWatcher();
this.yasResourceAvailable();
}
});
}
// yas
this.$store.dispatch('reportYas', {
params: {
appop: 'XY_UFO_PRD_DT_INFO',
param:{
P_NAME: `XY_UFO${this.$route.name}`,
P_PARAM: this.productId,
PRD_ID: this.productId,
},
}
});
},
// 当组件在 <keep-alive> 内被切换,它的 activated 和 deactivated 这两个生命周期钩子函数将会被对应执行
// keep-alive 组件激活时调用
activated() { }
// keep-alive 组件停用时调用
deactivated() { },
beforeRouteUpdate(to, from, next) {
next();
},
beforeRouteLeave(to, from, next) {
next();
},
this.$router.push({
name,
params: {
owner: ownType.SELL,
status,
}
});
import { Scroll, Button } from 'cube-ui';
import { get } from 'lodash';
devtool: 'source-map',
// wap站
// ajax请求
this.get({
api: serviceAPI,
url: 'operations/api/v5/resource/get',
data: {
content_code: param.contentCode,
platform: 'iphone'
},
param: { code: 200 }
}).then((result) => {
result = result.data;
return result;
});
账号:yohodev 密码:9646abcdef
15251873212 1qaz@WSX 掘金账号,已购手册
支付宝沙箱账号: vojxwg0517@sandbox.com
密码: 111111
iconfont 帐号
http://iconfont.cn
用户:yue.liu@yoho.cn
密码:yohoicon
网页适配 iPhoneX,就是这么简单
https://blog.csdn.net/qq_42354773/article/details/81018615
1、<meta name="viewport" content="width=device-width, viewport-fit=cover"> viewport-fit=cover
.body {
padding-bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
padding-bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
}