Showing
5 changed files
with
21 additions
and
9 deletions
| ... | @@ -88,13 +88,25 @@ const config = { | ... | @@ -88,13 +88,25 @@ const config = { |
| 88 | ['@tarojs/plugin-inject', { | 88 | ['@tarojs/plugin-inject', { |
| 89 | thirdPartyComponents: { | 89 | thirdPartyComponents: { |
| 90 | // 为 `van-empty` 组件的 image 属性设置默认值 'default' | 90 | // 为 `van-empty` 组件的 image 属性设置默认值 'default' |
| 91 | + 'van-col': { | ||
| 92 | + 'offset': "0" | ||
| 93 | + }, | ||
| 94 | + 'van-picker': { | ||
| 95 | + 'defaultIndex': "0" | ||
| 96 | + }, | ||
| 97 | + 'van-switch': { | ||
| 98 | + 'inactiveColor': "'#FFF'" | ||
| 99 | + }, | ||
| 91 | 'van-empty': { | 100 | 'van-empty': { |
| 92 | 'image': "'default'" | 101 | 'image': "'default'" |
| 93 | }, | 102 | }, |
| 94 | 'van-dialog': { | 103 | 'van-dialog': { |
| 95 | 'title': "'default'", | 104 | 'title': "'default'", |
| 96 | 'message': "'default'", | 105 | 'message': "'default'", |
| 97 | - 'confirmButtonColor': "'default'", | 106 | + 'confirmButtonColor': "", |
| 107 | + }, | ||
| 108 | + 'van-field': { | ||
| 109 | + 'value': "'default'", | ||
| 98 | } | 110 | } |
| 99 | } | 111 | } |
| 100 | }] | 112 | }] | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-26 16:10:35 | 2 | * @Date: 2022-09-26 16:10:35 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-11-01 17:46:29 | 4 | + * @LastEditTime: 2022-11-02 17:00:30 |
| 5 | * @FilePath: /swx/src/components/activity-bar.vue | 5 | * @FilePath: /swx/src/components/activity-bar.vue |
| 6 | * @Description: 活动详情页底部导航栏 | 6 | * @Description: 活动详情页底部导航栏 |
| 7 | --> | 7 | --> |
| ... | @@ -54,9 +54,9 @@ | ... | @@ -54,9 +54,9 @@ |
| 54 | </template> | 54 | </template> |
| 55 | 55 | ||
| 56 | <script setup> | 56 | <script setup> |
| 57 | +import Taro from '@tarojs/taro' | ||
| 57 | import { ref, defineProps } from 'vue' | 58 | import { ref, defineProps } from 'vue' |
| 58 | import icon_home1 from '@/images/icon/home01@2x.png' | 59 | import icon_home1 from '@/images/icon/home01@2x.png' |
| 59 | -import Taro from '@tarojs/taro' | ||
| 60 | import { getCurrentPageParam } from "@/utils/weapp"; | 60 | import { getCurrentPageParam } from "@/utils/weapp"; |
| 61 | import Toast from '@/components/vant-weapp/toast/toast'; | 61 | import Toast from '@/components/vant-weapp/toast/toast'; |
| 62 | 62 | ... | ... |
| ... | @@ -63,9 +63,9 @@ | ... | @@ -63,9 +63,9 @@ |
| 63 | </template> | 63 | </template> |
| 64 | 64 | ||
| 65 | <script setup> | 65 | <script setup> |
| 66 | +import Taro from '@tarojs/taro' | ||
| 66 | import { ref, defineProps, computed } from 'vue' | 67 | import { ref, defineProps, computed } from 'vue' |
| 67 | import icon_address from '@/images/icon/address@2x.png' | 68 | import icon_address from '@/images/icon/address@2x.png' |
| 68 | -import Taro from '@tarojs/taro' | ||
| 69 | import { formatDate } from '@/utils/tools.js' | 69 | import { formatDate } from '@/utils/tools.js' |
| 70 | 70 | ||
| 71 | const props = defineProps({ | 71 | const props = defineProps({ | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-21 11:59:20 | 2 | * @Date: 2022-09-21 11:59:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-10-28 16:51:47 | 4 | + * @LastEditTime: 2022-11-02 17:01:48 |
| 5 | * @FilePath: /swx/src/components/navbar.vue | 5 | * @FilePath: /swx/src/components/navbar.vue |
| 6 | * @Description: 底部导航栏 | 6 | * @Description: 底部导航栏 |
| 7 | --> | 7 | --> |
| ... | @@ -28,6 +28,7 @@ | ... | @@ -28,6 +28,7 @@ |
| 28 | </template> | 28 | </template> |
| 29 | 29 | ||
| 30 | <script setup> | 30 | <script setup> |
| 31 | +import Taro from '@tarojs/taro' | ||
| 31 | import { ref, defineProps, computed, onMounted } from 'vue' | 32 | import { ref, defineProps, computed, onMounted } from 'vue' |
| 32 | import icon_home1 from '@/images/icon/home01@2x.png' | 33 | import icon_home1 from '@/images/icon/home01@2x.png' |
| 33 | import icon_home2 from '@/images/icon/home02@2x.png' | 34 | import icon_home2 from '@/images/icon/home02@2x.png' |
| ... | @@ -35,7 +36,6 @@ import icon_my1 from '@/images/icon/my01@2x.png' | ... | @@ -35,7 +36,6 @@ import icon_my1 from '@/images/icon/my01@2x.png' |
| 35 | import icon_my2 from '@/images/icon/my02@2x.png' | 36 | import icon_my2 from '@/images/icon/my02@2x.png' |
| 36 | import icon_add from '@/images/icon/new@2x.png' | 37 | import icon_add from '@/images/icon/new@2x.png' |
| 37 | import { hostListAPI } from '@/api/Host/index' | 38 | import { hostListAPI } from '@/api/Host/index' |
| 38 | -import Taro from '@tarojs/taro' | ||
| 39 | 39 | ||
| 40 | const goTo = (page) => { | 40 | const goTo = (page) => { |
| 41 | if (props.activated === 'home') { // 首页调用 | 41 | if (props.activated === 'home') { // 首页调用 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-21 14:51:44 | 2 | * @Date: 2022-09-21 14:51:44 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-11-01 17:43:48 | 4 | + * @LastEditTime: 2022-11-02 17:05:11 |
| 5 | * @FilePath: /swx/src/pages/my/index.vue | 5 | * @FilePath: /swx/src/pages/my/index.vue |
| 6 | * @Description: 我的页面 | 6 | * @Description: 我的页面 |
| 7 | --> | 7 | --> |
| ... | @@ -69,17 +69,17 @@ | ... | @@ -69,17 +69,17 @@ |
| 69 | </template> | 69 | </template> |
| 70 | 70 | ||
| 71 | <script setup> | 71 | <script setup> |
| 72 | +import Taro from '@tarojs/taro' | ||
| 72 | import { ref, onMounted } from "vue"; | 73 | import { ref, onMounted } from "vue"; |
| 73 | // import icon_vip from '@/images/icon/vip@2x.png' | 74 | // import icon_vip from '@/images/icon/vip@2x.png' |
| 74 | -import Taro from '@tarojs/taro' | ||
| 75 | // import { AtAvatar } from 'taro-ui-vue3' | 75 | // import { AtAvatar } from 'taro-ui-vue3' |
| 76 | import "taro-ui-vue3/dist/style/components/avatar.scss" | 76 | import "taro-ui-vue3/dist/style/components/avatar.scss" |
| 77 | import icon_join from '@/images/icon/canjia@2x.png' | 77 | import icon_join from '@/images/icon/canjia@2x.png' |
| 78 | import icon_create from '@/images/icon/chuangjian@2x.png' | 78 | import icon_create from '@/images/icon/chuangjian@2x.png' |
| 79 | import icon_user from '@/images/icon/peiban@2x.png' | 79 | import icon_user from '@/images/icon/peiban@2x.png' |
| 80 | import icon_company from '@/images/icon/zhubanfang@2x.png' | 80 | import icon_company from '@/images/icon/zhubanfang@2x.png' |
| 81 | -import navbar from '@/components/navbar.vue' | ||
| 82 | import activityCard from '@/components/activity-card.vue' | 81 | import activityCard from '@/components/activity-card.vue' |
| 82 | +import navbar from '@/components/navbar.vue' | ||
| 83 | import { hostListAPI } from '@/api/Host/index' | 83 | import { hostListAPI } from '@/api/Host/index' |
| 84 | import Toast from '@/components/vant-weapp/toast/toast'; | 84 | import Toast from '@/components/vant-weapp/toast/toast'; |
| 85 | 85 | ... | ... |
-
Please register or login to post a comment