diff --git a/src/apps/AppPageHome.vue/AppPageHome.vue b/src/apps/AppPageHome.vue/AppPageHome.vue index ec26a977..764f48fc 100644 --- a/src/apps/AppPageHome.vue/AppPageHome.vue +++ b/src/apps/AppPageHome.vue/AppPageHome.vue @@ -1,18 +1,17 @@ @@ -23,27 +22,24 @@ export default { appName: '企微应用配置', data() { return { - label: '', - appList: [], - headerBg: '', - cropId: '' + id: '', + appInfo: {}, } }, onLoad(options) { - this.cropId = options.id + this.id = options.id + // this.id = '7a4701d5641543cca4419488db368d3e' this.getAppInfo() }, methods: { getAppInfo() { - // this.$http.post(`/app/apppartyquestion/checkAnswer`, this.list).then((res) => { - // if (res.code == 0) { - // this.resultInfo = res.data - // this.showAnwser = true - // } - // }); + this.$http.post(`/app/appwxapplication/queryDetailById?id=${this.id}`).then((res) => { + if (res.code == 0) { + this.appInfo = res.data + } + }); }, linkTo(url) { - console.log(url) uni.navigateTo({url}) } } @@ -95,8 +91,6 @@ export default { width: 58px; height: 58px; margin: 40px 0 18px 0; - background-size: 100% 100%; - text-align: center; } p{ font-size: 28px; @@ -109,6 +103,9 @@ export default { .item:nth-of-type(3n) { border-right: 0; } + .item:nth-of-type(n+4) { + border-top: 1px solid #eee; + } } } } diff --git a/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue b/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue index b78b6ede..ae5536df 100644 --- a/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue +++ b/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue @@ -29,9 +29,9 @@ - -
-
+
+
新增群发{{tabIndex==0? '居民群': tabIndex==1? '居民':'朋友圈'}}
+
- +
确定选择
diff --git a/src/project/saas/AppCooperationPropaganda/sendScoped.vue b/src/project/saas/AppCooperationPropaganda/sendScoped.vue index 5f950057..459952e1 100644 --- a/src/project/saas/AppCooperationPropaganda/sendScoped.vue +++ b/src/project/saas/AppCooperationPropaganda/sendScoped.vue @@ -28,28 +28,32 @@ export default { return { value: '', checkList: [ - { name: '全部居民群', checked: true }, - { name: '按部门选择', checked: false }, - { name: '按网格选择', checked: false } + { name: '全部居民群', checked: true, value: '0'}, + { name: '按部门选择', checked: false, value: '1'}, + { name: '按网格选择', checked: false, value: '2' } ], showContent: false, type: '', deptSelect: [], girdSelect: [], + sendScope: '0', } }, methods: { checkBtn(e) { this.checkList.forEach(v=> v.checked = false) e.checked = true - if(e.name == '按部门选择' || e.name == '按网格选择') { - uni.navigateTo({url: `./scopedSelect?type=0`}) - } else { - uni.navigateTo({url: `./scopedSelect?type=1`}) + if(e.value == '1' || e.value == '2') { + uni.navigateTo({url: `./scopedSelect?type=${e.value}`}) } + this.sendScope = e.value }, submit() { - uni.navigateBack() + uni.navigateBack({ + success: () => { + uni.$emit("checkedScope",{ sendScope: this.sendScope }); + } + }) } }, onLoad(o) { diff --git a/src/project/saas/AppCooperationPropaganda/tagsList.vue b/src/project/saas/AppCooperationPropaganda/tagsList.vue index e69de29b..bf5b72eb 100644 --- a/src/project/saas/AppCooperationPropaganda/tagsList.vue +++ b/src/project/saas/AppCooperationPropaganda/tagsList.vue @@ -0,0 +1,112 @@ + + + + + \ No newline at end of file