修改本地请求地址

This commit is contained in:
2024-03-21 10:24:06 +08:00
parent c102434221
commit e07641732f
909 changed files with 2 additions and 22854 deletions

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1,23 +0,0 @@
import { VantComponent } from '../common/component';
import { useChildren } from '../common/relation';
VantComponent({
relation: useChildren('col', function (target) {
const { gutter } = this.data;
if (gutter) {
target.setData({ gutter });
}
}),
props: {
gutter: {
type: Number,
observer: 'setGutter',
},
},
methods: {
setGutter() {
this.children.forEach((col) => {
col.setData(this.data);
});
},
},
});

View File

@@ -1,3 +0,0 @@
{
"component": true
}

View File

@@ -1,5 +0,0 @@
<wxs src="./index.wxs" module="computed" />
<view class="van-row custom-class" style="{{ computed.rootStyle({ gutter }) }}">
<slot />
</view>

View File

@@ -1,18 +0,0 @@
/* eslint-disable */
var style = require('../wxs/style.wxs');
var addUnit = require('../wxs/add-unit.wxs');
function rootStyle(data) {
if (!data.gutter) {
return '';
}
return style({
'margin-right': addUnit(-data.gutter / 2),
'margin-left': addUnit(-data.gutter / 2),
});
}
module.exports = {
rootStyle: rootStyle,
};

View File

@@ -1 +0,0 @@
@import '../common/index.wxss';.van-row:after{clear:both;content:"";display:table}