Compare commits

...

4 Commits

  1. 12
      CHANGELOG.md
  2. 4
      README.md
  3. 4
      package-lock.json
  4. 2
      package.json
  5. 78
      public/static/offline/JSON/getActivityList1.json
  6. 8
      src/views/Activity/Activity.vue

12
CHANGELOG.md

@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.0.0-B.2](https://git.1000my.com/project-jiaxinglcpy/jxlcpy_base_daoshi_vue_ts/compare/v1.0.0-B.1...v1.0.0-B.2) (2023-06-14)
### Features
* 🚀 修改活动滑动问题 ([7e11a67](https://git.1000my.com/project-jiaxinglcpy/jxlcpy_base_daoshi_vue_ts/commit/7e11a67e4d571cea8b9299f4468d88928669eb39))
### Bug Fixes
* ci ([76e39fd](https://git.1000my.com/project-jiaxinglcpy/jxlcpy_base_daoshi_vue_ts/commit/76e39fd4878bd1d01eb5be955cd2c8326919864c))
## 1.0.0-B.1 (2023-06-14) ## 1.0.0-B.1 (2023-06-14)

4
README.md

@ -14,7 +14,7 @@
- svndir="2022研发/Prd007_智能导视/02项目定制" - svndir="2022研发/Prd007_智能导视/02项目定制"
# 以上海浦项写字楼项目为例,如下所示: # 以上海浦项写字楼项目为例,如下所示:
- svndir="2022研发/Prd007_智能导视/02项目定制/SH013上海浦项写字楼/导视应用"
- svndir="2022研发/Prd007_智能导视/02项目定制/SH013上海浦项写字楼/导视应用"
``` ```
```tpl ```tpl
@ -129,8 +129,6 @@
} }
``` ```
# 无需引入全局mixin.scss文件 (已提前引入) # 无需引入全局mixin.scss文件 (已提前引入)
```javascript ```javascript

4
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.1",
"version": "1.0.0-B.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.1",
"version": "1.0.0-B.2",
"dependencies": { "dependencies": {
"@better-scroll/core": "^2.5.0", "@better-scroll/core": "^2.5.0",
"@better-scroll/observe-image": "^2.5.0", "@better-scroll/observe-image": "^2.5.0",

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.1",
"version": "1.0.0-B.2",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",

78
public/static/offline/JSON/getActivityList1.json

@ -87,6 +87,84 @@
"/iotFile/project-odubitlp9mjy2wyuqkpfga/20230608/vRycElclvtkNVHAmPvFgy.jpg", "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230608/vRycElclvtkNVHAmPvFgy.jpg",
"/iotFile/project-odubitlp9mjy2wyuqkpfga/20230608/Z8l7mYY91oMk_qiLXbUVN.jpg" "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230608/Z8l7mYY91oMk_qiLXbUVN.jpg"
] ]
},
{
"activityId": 4390,
"activityName": "444活动打扫宫斗是的呢佛山到哪放大说法达萨罗客服经理肯定萨芬发的",
"activityNameEn": "dddd",
"activityContent": "拉萨动静分离凯撒京东方",
"activityContentEn": "kljl",
"activityAddress": "41111",
"activityAddressEn": "",
"activityType": 1,
"shopCode": "",
"shopName": "",
"shopNameEn": "",
"houseNumber": "",
"fileUrl": "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230609/AqUbanFt3SXwU2dT68uNy.jpg",
"qrFileUrl": "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230609/fCutkOWSsjkSaGJ1OwX38.jpg",
"startDate": "2023-06-07",
"endDate": "2023-07-17",
"building": "濮园未来社区",
"buildingCode": "gAi7ksmAnlR22G8CyLXbI",
"buildingOrder": 0,
"floor": "L1",
"floorCode": "EuMWamqDI1Vd3v-oIYjY5",
"floorOrder": 1,
"point": 3,
"fileUrls": []
},
{
"activityId": 4390,
"activityName": "55444活动打扫宫斗是的呢佛山到哪放大说法达萨罗客服经理肯定萨芬发的",
"activityNameEn": "dddd",
"activityContent": "拉萨动静分离凯撒京东方",
"activityContentEn": "kljl",
"activityAddress": "41111",
"activityAddressEn": "",
"activityType": 1,
"shopCode": "",
"shopName": "",
"shopNameEn": "",
"houseNumber": "",
"fileUrl": "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230609/AqUbanFt3SXwU2dT68uNy.jpg",
"qrFileUrl": "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230609/fCutkOWSsjkSaGJ1OwX38.jpg",
"startDate": "2023-06-07",
"endDate": "2023-07-17",
"building": "濮园未来社区",
"buildingCode": "gAi7ksmAnlR22G8CyLXbI",
"buildingOrder": 0,
"floor": "L1",
"floorCode": "EuMWamqDI1Vd3v-oIYjY5",
"floorOrder": 1,
"point": 3,
"fileUrls": []
},
{
"activityId": 4390,
"activityName": "66444活动打扫宫斗是的呢佛山到哪放大说法达萨罗客服经理肯定萨芬发的",
"activityNameEn": "dddd",
"activityContent": "拉萨动静分离凯撒京东方",
"activityContentEn": "kljl",
"activityAddress": "41111",
"activityAddressEn": "",
"activityType": 1,
"shopCode": "",
"shopName": "",
"shopNameEn": "",
"houseNumber": "",
"fileUrl": "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230609/AqUbanFt3SXwU2dT68uNy.jpg",
"qrFileUrl": "/iotFile/project-odubitlp9mjy2wyuqkpfga/20230609/fCutkOWSsjkSaGJ1OwX38.jpg",
"startDate": "2023-06-07",
"endDate": "2023-07-17",
"building": "濮园未来社区",
"buildingCode": "gAi7ksmAnlR22G8CyLXbI",
"buildingOrder": 0,
"floor": "L1",
"floorCode": "EuMWamqDI1Vd3v-oIYjY5",
"floorOrder": 1,
"point": 3,
"fileUrls": []
} }
] ]
} }

8
src/views/Activity/Activity.vue

@ -16,18 +16,18 @@
:looped-slides="1" :looped-slides="1"
:dynamic-bullets="true" :dynamic-bullets="true"
:observer="true" :observer="true"
:width="547"
:grab-cursor="true" :grab-cursor="true"
:width="547"
--> -->
<Swiper <Swiper
v-if="showList" v-if="showList"
:slides-per-view="1.92"
:slides-per-view="actList.length === 2 ? 1.7 : 1.92"
:centered-slides="true" :centered-slides="true"
:space-between="32" :space-between="32"
:loop="actList.length > 3" :loop="actList.length > 3"
:initial-slide="actList.length > 3 ? 1 : 0" :initial-slide="actList.length > 3 ? 1 : 0"
:slides-offset-before="-70"
:slides-offset-before="actList.length === 2 ? null : -70"
:modules="modules" :modules="modules"
:autoplay="actList.length > 3 ? { delay: 7000, disableOnInteraction: true } : false" :autoplay="actList.length > 3 ? { delay: 7000, disableOnInteraction: true } : false"
:pagination="{ el: '.list-paginationh' }" :pagination="{ el: '.list-paginationh' }"
@ -136,7 +136,7 @@ getData('mall')
margin-left: 0; margin-left: 0;
.swiper-wrapper { .swiper-wrapper {
.swiper-slide { .swiper-slide {
// width: 547px !important;
width: 547px !important;
height: 972px; height: 972px;
transition: all 0.3s linear; transition: all 0.3s linear;
transform-origin: center top; transform-origin: center top;

Loading…
Cancel
Save