hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2022-09-20 15:39:37 2 * @Date: 2022-09-20 15:39:37
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-09-21 11:08:31 4 + * @LastEditTime: 2022-09-21 15:25:19
5 * @FilePath: /swx/src/components/activity-card.vue 5 * @FilePath: /swx/src/components/activity-card.vue
6 * @Description: 活动卡片组件 6 * @Description: 活动卡片组件
7 --> 7 -->
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
29 <van-row v-if="data.address"> 29 <van-row v-if="data.address">
30 <van-col :span="24"> 30 <van-col :span="24">
31 <view> 31 <view>
32 - <van-icon :name="icon_address" size="0.95rem" />&nbsp;{{ data.address }} 32 + <van-icon :name="icon_address" size="0.95rem" color="" />&nbsp;{{ data.address }}
33 </view> 33 </view>
34 </van-col> 34 </van-col>
35 </van-row> 35 </van-row>
......
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-09-21 15:11:47 4 + * @LastEditTime: 2022-09-21 15:24:58
5 * @FilePath: /swx/src/components/navbar.vue 5 * @FilePath: /swx/src/components/navbar.vue
6 * @Description: 底部导航栏 6 * @Description: 底部导航栏
7 --> 7 -->
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
9 <view class="navbar-page"> 9 <view class="navbar-page">
10 <view @tap="goTo('home')" class="home"> 10 <view @tap="goTo('home')" class="home">
11 <view style="height: 2rem;"> 11 <view style="height: 2rem;">
12 - <van-icon :name="icon_home" size="2rem" /> 12 + <van-icon :name="icon_home" size="2rem" color="" />
13 </view> 13 </view>
14 <view><text :style="homeStyle">首页</text></view> 14 <view><text :style="homeStyle">首页</text></view>
15 </view> 15 </view>
16 <view class="add"> 16 <view class="add">
17 <view> 17 <view>
18 - <van-icon :name="icon_add" size="4.5rem" /> 18 + <van-icon :name="icon_add" size="4.5rem" color="" />
19 </view> 19 </view>
20 </view> 20 </view>
21 <view @tap="goTo('my')" class="my"> 21 <view @tap="goTo('my')" class="my">
22 <view style="height: 2rem;"> 22 <view style="height: 2rem;">
23 - <van-icon :name="icon_my" size="2rem" /> 23 + <van-icon :name="icon_my" size="2rem" color="" />
24 </view> 24 </view>
25 <view><text :style="myStyle">我的</text></view> 25 <view><text :style="myStyle">我的</text></view>
26 </view> 26 </view>
......
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: 2022-09-21 15:03:29 4 + * @LastEditTime: 2022-09-21 15:27:48
5 * @FilePath: /swx/src/pages/index/index.vue 5 * @FilePath: /swx/src/pages/index/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
8 <template> 8 <template>
9 <view> 9 <view>
10 - <swiper 10 + <swiper class='slide-box' indicatorColor='#94B294' indicatorActiveColor='#FFFFFF' current="current"
11 - class='slide-box' 11 + :duration="duration" :interval="interval" :circular="isCircular" :autoplay="isAutoplay"
12 - indicatorColor='#94B294'
13 - indicatorActiveColor='#FFFFFF'
14 - current="current"
15 - :duration="duration"
16 - :interval="interval"
17 - :circular="isCircular"
18 - :autoplay="isAutoplay"
19 :indicatorDots="hasIndicatorDots"> 12 :indicatorDots="hasIndicatorDots">
20 <swiper-item v-for="(item, idx) in imgUrls" :key="idx"> 13 <swiper-item v-for="(item, idx) in imgUrls" :key="idx">
21 <image :src="item" class="slide-image" /> 14 <image :src="item" class="slide-image" />
...@@ -43,6 +36,18 @@ const activity_list = ref([{ ...@@ -43,6 +36,18 @@ const activity_list = ref([{
43 }, { 36 }, {
44 title: '万人共乘浪漫热气球', 37 title: '万人共乘浪漫热气球',
45 address: '', 38 address: '',
39 +}, {
40 + title: '八段锦',
41 + address: '',
42 +}, {
43 + title: '智慧没有烦恼',
44 + address: '上海市杨浦区军工路100号A座05室',
45 +}, {
46 + title: '万人共乘浪漫热气球',
47 + address: '',
48 +}, {
49 + title: '八段锦',
50 + address: '',
46 }]); 51 }]);
47 52
48 </script> 53 </script>
...@@ -100,9 +105,9 @@ export default { ...@@ -100,9 +105,9 @@ export default {
100 isAutoplay: false, 105 isAutoplay: false,
101 hasIndicatorDots: true, 106 hasIndicatorDots: true,
102 imgUrls: [ 107 imgUrls: [
103 - 'https://img10.360buyimg.com/babel/s700x360_jfs/t25855/203/725883724/96703/5a598a0f/5b7a22e1Nfd6ba344.jpg!q90!cc_350x180', 108 + 'http://gyzs.onwall.cn/swx_banner%402x.png',
104 - 'https://img11.360buyimg.com/babel/s700x360_jfs/t1/4776/39/2280/143162/5b9642a5E83bcda10/d93064343eb12276.jpg!q90!cc_350x180', 109 + 'http://gyzs.onwall.cn/swx_banner%402x.png',
105 - 'https://img14.360buyimg.com/babel/s700x360_jfs/t1/4099/12/2578/101668/5b971b4bE65ae279d/89dd1764797acfd9.jpg!q90!cc_350x180', 110 + 'http://gyzs.onwall.cn/swx_banner%402x.png',
106 ], 111 ],
107 }; 112 };
108 }, 113 },
......