diff --git a/src/components/Volume/Volume.vue b/src/components/Volume/Volume.vue
index af34de8..7e83548 100644
--- a/src/components/Volume/Volume.vue
+++ b/src/components/Volume/Volume.vue
@@ -64,7 +64,6 @@ export default {
jumpV(url) {
if (this.user.phone) {
console.log('this.userId: ', this.userId);
- debugger;
this.$u.route('pages/questionnaire-webview/questionnaire-webview', { u: this.userId, url: url });
} else {
// this.$u.route('/pages/get-phone-power/get-phone-power');
diff --git a/src/components/VolumeProject/VolumeProject.vue b/src/components/VolumeProject/VolumeProject.vue
index 95fe952..f0b5eff 100644
--- a/src/components/VolumeProject/VolumeProject.vue
+++ b/src/components/VolumeProject/VolumeProject.vue
@@ -1,5 +1,5 @@
-
+
{{ item.name }}
+ {{ item.name }}
+
@@ -105,13 +106,13 @@ export default {
width: 100%;
background: url('https://www.tall.wiki/gateway/carbasics/v4.0/uploads/project.png');
background-size: 100% 100%;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
+ /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
}
.volume-box {
width: 700rpx;
height: 120px;
- margin: 0 25rpx 25rpx 25rpx;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ margin: 25rpx;
+ /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
border-radius: 8rpx;
/* overflow: hidden; */
/* background: #f9fafb; */
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index e9b8ebc..02344d0 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -5,7 +5,7 @@
-
+
@@ -14,9 +14,12 @@
- 新闻中心
+
+
+ 新闻中心
+
-
+
{{ item.title }}
@@ -92,6 +95,33 @@ export default {
methods: {
...mapMutations('project', ['setProjects', 'setDotList']),
+ gitSwiper(e) {
+ const data = this.list[e];
+ if (data.jumpUrl) {
+ const jumpType = data.jumpType;
+ if (jumpType === 1) {
+ uni.navigateTo({ url: `/pages/detail-webview/detail-webview?jumpUrl=${data.jumpUrl}` });
+ } else if (jumpType === 2) {
+ uni.downloadFile({
+ url: data.jumpUrl,
+ success: function (res) {
+ var filePath = res.tempFilePath;
+ uni.openDocument({
+ filePath: filePath,
+ showMenu: true,
+ });
+ },
+ });
+ } else if (jumpType === 3) {
+ uni.previewImage({
+ urls: [data.jumpUrl],
+ longPressActions: {
+ itemList: ['发送给朋友', '保存图片', '收藏'],
+ },
+ });
+ }
+ }
+ },
// 查看文章详情
jumpDetail(item) {
if (item.articleUrl) {
@@ -231,6 +261,7 @@ page {
overflow: hidden;
}
.news-title {
+ margin-top: 25rpx;
font-weight: bold;
font-size: 32rpx;
border-left: 4rpx solid #3dadff;
diff --git a/src/pages/phone-bind/phone-bind.vue b/src/pages/phone-bind/phone-bind.vue
index c3b2f6c..dee25c4 100644
--- a/src/pages/phone-bind/phone-bind.vue
+++ b/src/pages/phone-bind/phone-bind.vue
@@ -27,6 +27,7 @@