| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- export default {
- methods: {
- bannerConfigs() {
- return {
- padding: '30rpx',
- gridRows: 1,
- gridColumns: 1,
- gridRowsGap: '40rpx',
- gridColumnsGap: '24rpx',
- itemDirection: 'row',
- itemGap: '30rpx',
- itemAlign: 'center',
- headShow: true,
- headWidth: '100%',
- headHeight: '300rpx',
- headBorderRadius: '20rpx',
- textShow: false,
- textRows: 3,
- textRowsGap: '20rpx',
- textWidth: '100%',
- textHeight: '30rpx',
- textBorderRadius: '6rpx',
- ...this.configs
- }
- },
-
- infoConfigs() {
- return {
- padding: '30rpx',
- gridRows: 1,
- gridColumns: 1,
- gridRowsGap: '50rpx',
- gridColumnsGap: '24rpx',
- itemDirection: 'row',
- itemGap: '30rpx',
- itemAlign: 'flex-start',
- headShow: true,
- headWidth: '100rpx',
- headHeight: '100rpx',
- headBorderRadius: '50%',
- textShow: true,
- textRows: 4,
- textRowsGap: '32rpx',
- textWidth: ['50%', '100%', '100%', '80%'],
- textHeight: ['40rpx', '24rpx', '24rpx', '24rpx'],
- textBorderRadius: '30rpx',
- ...this.configs
- }
- },
-
- textConfigs() {
- return {
- padding: '30rpx',
- gridRows: 1,
- gridColumns: 1,
- gridRowsGap: '50rpx',
- gridColumnsGap: '24rpx',
- itemDirection: 'row',
- itemGap: '30rpx',
- itemAlign: 'flex-start',
- headShow: false,
- headWidth: '100rpx',
- headHeight: '100rpx',
- headBorderRadius: '50%',
- textShow: true,
- textRows: 4,
- textRowsGap: '30rpx',
- textWidth: ['50%', '100%', '100%', '80%'],
- textHeight: '32rpx',
- textBorderRadius: '32rpx',
- ...this.configs
- }
- },
-
- menuConfigs() {
- return {
- padding: '30rpx',
- gridRows: 2,
- gridColumns: 5,
- gridRowsGap: '40rpx',
- gridColumnsGap: '40rpx',
- itemDirection: 'column',
- itemGap: '16rpx',
- itemAlign: 'center',
- headShow: true,
- headWidth: '100rpx',
- headHeight: '100rpx',
- headBorderRadius: '50%',
- textShow: true,
- textRows: 1,
- textRowsGap: '0rpx',
- textWidth: '100%',
- textHeight: '24rpx',
- textBorderRadius: '32rpx',
- ...this.configs
- }
- },
-
- listConfigs() {
- return {
- padding: '30rpx',
- gridRows: 2,
- gridColumns: 1,
- gridRowsGap: '50rpx',
- gridColumnsGap: '24rpx',
- itemDirection: 'row',
- itemGap: '30rpx',
- itemAlign: 'flex-start',
- headShow: true,
- headWidth: '200rpx',
- headHeight: '200rpx',
- headBorderRadius: '16rpx',
- textShow: true,
- textRows: 4,
- textRowsGap: '32rpx',
- textWidth: ['50%', '100%', '100%', '80%'],
- textHeight: ['38rpx', '24rpx', '24rpx', '24rpx'],
- textBorderRadius: '32rpx',
- ...this.configs
- }
- },
-
- waterfallConfigs() {
- return {
- padding: '30rpx',
- gridRows: 2,
- gridColumns: 2,
- gridRowsGap: '40rpx',
- gridColumnsGap: '24rpx',
- itemDirection: 'column',
- itemGap: '16rpx',
- itemAlign: 'center',
- headShow: true,
- headWidth: '100%',
- headHeight: '400rpx',
- headBorderRadius: '12rpx',
- textShow: true,
- textRows: 3,
- textRowsGap: '12rpx',
- textWidth: ['40%', '85%', '60%'],
- textHeight: ['30rpx', '20rpx', '20rpx'],
- textBorderRadius: '6rpx',
- ...this.configs
- }
- },
- }
- }
|