Showing
4 changed files
with
3 additions
and
9 deletions
| ... | @@ -7,10 +7,8 @@ export {} | ... | @@ -7,10 +7,8 @@ export {} |
| 7 | 7 | ||
| 8 | declare module '@vue/runtime-core' { | 8 | declare module '@vue/runtime-core' { |
| 9 | export interface GlobalComponents { | 9 | export interface GlobalComponents { |
| 10 | - NutCol: typeof import('@nutui/nutui-taro')['Col'] | ||
| 11 | NutConfigProvider: typeof import('@nutui/nutui-taro')['ConfigProvider'] | 10 | NutConfigProvider: typeof import('@nutui/nutui-taro')['ConfigProvider'] |
| 12 | NutDialog: typeof import('@nutui/nutui-taro')['Dialog'] | 11 | NutDialog: typeof import('@nutui/nutui-taro')['Dialog'] |
| 13 | - NutRow: typeof import('@nutui/nutui-taro')['Row'] | ||
| 14 | RouterLink: typeof import('vue-router')['RouterLink'] | 12 | RouterLink: typeof import('vue-router')['RouterLink'] |
| 15 | RouterView: typeof import('vue-router')['RouterView'] | 13 | RouterView: typeof import('vue-router')['RouterView'] |
| 16 | } | 14 | } | ... | ... |
| ... | @@ -10,6 +10,7 @@ const path = require('path') | ... | @@ -10,6 +10,7 @@ const path = require('path') |
| 10 | import ComponentsPlugin from 'unplugin-vue-components/webpack' | 10 | import ComponentsPlugin from 'unplugin-vue-components/webpack' |
| 11 | import NutUIResolver from '@nutui/nutui-taro/dist/resolver' | 11 | import NutUIResolver from '@nutui/nutui-taro/dist/resolver' |
| 12 | 12 | ||
| 13 | +// 配置LESS全局变量 | ||
| 13 | const pluginOptions = { | 14 | const pluginOptions = { |
| 14 | less: { | 15 | less: { |
| 15 | patterns: [path.resolve(__dirname, '..', 'src/assets/styles/base.less')], | 16 | patterns: [path.resolve(__dirname, '..', 'src/assets/styles/base.less')], | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <view class="index"> | 2 | <view class="index"> |
| 3 | - <nut-row> | ||
| 4 | - <nut-col :span="is_pc ? 22 : 24" :offset="is_pc ? 1 : 0"> | ||
| 5 | - <div style="background-color: red; color: white;">span:24</div> | ||
| 6 | - </nut-col> | ||
| 7 | - </nut-row> | ||
| 8 | <nut-config-provider :theme-vars="themeVars"> | 3 | <nut-config-provider :theme-vars="themeVars"> |
| 9 | <nut-dialog no-cancel-btn title="温馨提示" content="表单收集量已达到限额,无法再提交数据。" v-model:visible="show_reach_sjsj_max_count" @ok="onOk" /> | 4 | <nut-dialog no-cancel-btn title="温馨提示" content="表单收集量已达到限额,无法再提交数据。" v-model:visible="show_reach_sjsj_max_count" @ok="onOk" /> |
| 10 | </nut-config-provider> | 5 | </nut-config-provider> | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-03-23 17:56:29 | 4 | + * @LastEditTime: 2023-03-24 11:16:19 |
| 5 | * @FilePath: /custom_form/src/utils/request.js | 5 | * @FilePath: /custom_form/src/utils/request.js |
| 6 | * @Description: 简单axios封装,后续按实际处理 | 6 | * @Description: 简单axios封装,后续按实际处理 |
| 7 | */ | 7 | */ |
| ... | @@ -30,7 +30,7 @@ import { DEV_PROXY_TARGET, PROD_PROXY_TARGET, PROGRAM_PREFIX } from '../../confi | ... | @@ -30,7 +30,7 @@ import { DEV_PROXY_TARGET, PROD_PROXY_TARGET, PROGRAM_PREFIX } from '../../confi |
| 30 | // import { getToken } from '@/utils/auth' | 30 | // import { getToken } from '@/utils/auth' |
| 31 | // import BASE_URL from './config'; | 31 | // import BASE_URL from './config'; |
| 32 | let BASE_URL = '' | 32 | let BASE_URL = '' |
| 33 | -if (process.env.NODE_ENV !== 'development') { | 33 | +if (process.env.NODE_ENV === 'development') { |
| 34 | BASE_URL = DEV_PROXY_TARGET // 测试服务器 | 34 | BASE_URL = DEV_PROXY_TARGET // 测试服务器 |
| 35 | } else { | 35 | } else { |
| 36 | BASE_URL = PROD_PROXY_TARGET // 正式服务器 | 36 | BASE_URL = PROD_PROXY_TARGET // 正式服务器 | ... | ... |
-
Please register or login to post a comment