Browse Source

Merge branch 'feature' of http://120.46.222.128:10021/elink-star/epmet-wx-pa into bug_fix

feature
mk 1 year ago
parent
commit
1859493047
  1. 9
      src/components/Android/index.vue
  2. 2
      src/components/Map/index.vue
  3. 2
      src/main.js
  4. 2
      src/views/Enjoyableservices/detail.vue
  5. 6
      src/views/activity/detail.vue
  6. 2
      src/views/appeal/index.less
  7. 4
      src/views/communityPublicity/detail.vue
  8. 2
      src/views/discussion/discusionDetail.vue
  9. 2
      src/views/errorPage/index.vue
  10. 1
      src/views/event/index.vue
  11. 10
      src/views/home/index.less
  12. 2
      src/views/home/index.vue
  13. 3
      src/views/messages/index.vue

9
src/components/Android/index.vue

@ -1,10 +1,11 @@
<template> <template>
<div class="footer" v-if="mobileModel!=='Phone'"> <div class="footer" v-if="mobileModel!=='Phone'">
<div class="flex flex-x flex-end " style="width: 150px;"> <div class="flex flex-x flex-end flex-center1" style="width: 150px;">
<van-icon name="arrow-left" @click="goToPreviousPage()"/>
<van-icon name="arrow-left" size="20px" @click="goToPreviousPage()"/>
<!-- <div class="" @click="goToPreviousPage()"><</div> --> <!-- <div class="" @click="goToPreviousPage()"><</div> -->
<!-- <div class="AAA" @click="goToNextPage()">></div> --> <!-- <div class="AAA" @click="goToNextPage()">></div> -->
<van-icon name="arrow" @click="goToNextPage()" /> <van-icon name="arrow" size="20px" @click="goToNextPage()" />
</div> </div>
</div> </div>
@ -67,7 +68,7 @@
.footer{ .footer{
background-color: white; background-color: white;
width: 375px; width: 375px;
height: 8vh; height: 6vh;
display: flex; display: flex;
position: fixed; position: fixed;
bottom: 0; bottom: 0;

2
src/components/Map/index.vue

@ -44,6 +44,6 @@ export default {
<style scoped> <style scoped>
.content { .content {
height: 80vh; height: 85vh;
} }
</style> </style>

2
src/main.js

@ -13,10 +13,8 @@ import '@/assets/css/index.less'
// 移动端适配 // 移动端适配
import 'amfe-flexible' import 'amfe-flexible'
// icon // icon
import './assets/icons' import './assets/icons'
import Android from '@/components/Android' import Android from '@/components/Android'
Vue.component('Android', Android); Vue.component('Android', Android);
Vue.config.productionTip = false Vue.config.productionTip = false

2
src/views/Enjoyableservices/detail.vue

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div class="container" :style="this.phone=='Phone'?'':'height: 80vh; overflow: auto;'"> <div class="container" :style="this.phone=='Phone'?'':'height: 85vh; overflow: auto;'">
<div class="card"> <div class="card">
<div class="font-size21 font-bold">{{ info.title }}</div> <div class="font-size21 font-bold">{{ info.title }}</div>
<div class="flex flex-x flex-center2 m-top10 m-bottom10"> <div class="flex flex-x flex-center2 m-top10 m-bottom10">

6
src/views/activity/detail.vue

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div class='container m-bot50' :style="this.phone=='Phone'?'':'height: 80vh; overflow: auto;'"> <div class='container m-bot50' :style="this.phone=='Phone'?'':'height: 85vh; overflow: auto;'">
<div class="card"> <div class="card">
<img :src="info.coverPic" alt="" style="width: 100%;"> <img :src="info.coverPic" alt="" style="width: 100%;">
<div class="m-top15 p0"> <div class="m-top15 p0">
@ -39,7 +39,7 @@
</van-cell-group> </van-cell-group>
</div> </div>
<div class="bot_btn flex flex-center2 " :style="this.phone=='Phone'?'height:50px;bottom:0':'height: 50px;bottom:8vh;'"> <div class="bot_btn flex flex-center2 " :style="this.phone=='Phone'?'height:50px;bottom:0':'height: 50px;bottom:5vh;'">
<div class="flex1 flex flex-center1 flex-center2">报名人数<span class="orange font-size18">{{ <div class="flex1 flex flex-center1 flex-center2">报名人数<span class="orange font-size18">{{
info.currentParticipants || 0 }}</span> / {{ info.participants }}</div> info.currentParticipants || 0 }}</span> / {{ info.participants }}</div>
<div class="flex1 flex flex-center1 flex-center2"> <div class="flex1 flex flex-center1 flex-center2">
@ -66,7 +66,6 @@ import registerDialog from '@/components/registerDialog';
import { setConfig } from '@/utils/jweixin' import { setConfig } from '@/utils/jweixin'
export default { export default {
data() { data() {
return { return {
@ -91,6 +90,7 @@ export default {
if(this.$route.query.flag === 'share'){ if(this.$route.query.flag === 'share'){
await this.getById(this.$route.query.id) await this.getById(this.$route.query.id)
} }
await this.share()
} }
}, },
methods: { methods: {

2
src/views/appeal/index.less

@ -43,7 +43,7 @@
.no-data { .no-data {
font-size: 14px; font-size: 14px;
width: 100%; width: 100%;
height: 80vh; height: 85vh;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

4
src/views/communityPublicity/detail.vue

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div class='container m-bot50' :style="this.phone=='Phone'?'':'height: 80vh; overflow: auto;'"> <div class='container m-bot50' :style="this.phone=='Phone'?'':'height: 85vh; overflow: auto;'">
<div class="card"> <div class="card">
<div class="m-top15 p0"> <div class="m-top15 p0">
<h2 style="margin: 0; font-size: 21px;">{{ info.title }}</h2> <h2 style="margin: 0; font-size: 21px;">{{ info.title }}</h2>
@ -13,7 +13,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="bot_btn flex flex-center2" :style="this.phone=='Phone'?'height:50px;bottom:0':'height: 50px;bottom:8vh;'"> <div class="bot_btn flex flex-center2" :style="this.phone=='Phone'?'height:50px;bottom:0':'height: 50px;bottom:5vh;'">
<div class="flex1 flex flex-center1 flex-center2"> <div class="flex1 flex flex-center1 flex-center2">
<van-button size="small" class="m-right7" round @click="communityPublicityGiveLike(info.id,'likes')"> <van-button size="small" class="m-right7" round @click="communityPublicityGiveLike(info.id,'likes')">
<template #icon> <template #icon>

2
src/views/discussion/discusionDetail.vue

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div class='container' style="height: 80vh; overflow: auto;"> <div class='container' style="height: 85vh; overflow: auto;">
<div class="card flex flex-y "> <div class="card flex flex-y ">
<div class="m-bottom5">{{ ProblemDescription.eventContent }}</div> <div class="m-bottom5">{{ ProblemDescription.eventContent }}</div>
<div class="font-size13 gray">{{ ProblemDescription.happenTime }}</div> <div class="font-size13 gray">{{ ProblemDescription.happenTime }}</div>

2
src/views/errorPage/index.vue

@ -17,7 +17,7 @@ p {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 80vh; height: 85vh;
text-align: center; text-align: center;
} }
</style> </style>

1
src/views/event/index.vue

@ -71,7 +71,6 @@ import {setConfig} from '@/utils/jweixin'
import Recording from '@/components/Recording' import Recording from '@/components/Recording'
import Perfect from '@/components/Perfect' import Perfect from '@/components/Perfect'
import Audio from '@/components/Audio' import Audio from '@/components/Audio'
import Map from '@/components/Map' import Map from '@/components/Map'
import appeal from '@/views/appeal' import appeal from '@/views/appeal'
import {uploadvariedfile} from '@/api/basic' import {uploadvariedfile} from '@/api/basic'

10
src/views/home/index.less

@ -5,13 +5,17 @@
height: 160px; height: 160px;
} }
.content{ .content{
position: fixed; position: absolute
;
width: 100%; width: 100%;
height: 100%; // height: 100%;
top: 0; top: 0;
padding: 0 15px; padding: 0 15px;
box-sizing: border-box; box-sizing: border-box;
overflow-y: scroll; // overflow-y: scroll;
}
.content1{
height: 100%;
} }
.notice_time{ .notice_time{
padding-right: 5px; padding-right: 5px;

2
src/views/home/index.vue

@ -1,5 +1,6 @@
<template> <template>
<div class="pages"> <div class="pages">
<div class="content1">
<div class="blueBg"></div> <div class="blueBg"></div>
<div class="content"> <div class="content">
<div class="flex flex-end"> <div class="flex flex-end">
@ -132,6 +133,7 @@
</div> </div>
<register-dialog v-if="showRegister" @close="showRegister = false" :registerFlag="registerFlag" :content="tipContent"></register-dialog> <register-dialog v-if="showRegister" @close="showRegister = false" :registerFlag="registerFlag" :content="tipContent"></register-dialog>
</div> </div>
</div>
</template> </template>
<script> <script>

3
src/views/messages/index.vue

@ -29,6 +29,7 @@
</van-list> </van-list>
<Android></Android> <Android></Android>
<Android></Android>
</div> </div>
</template> </template>
@ -37,7 +38,6 @@ import { querystaffmessage } from '@/api/message'
import { eventDetail } from '@/api/event' import { eventDetail } from '@/api/event'
export default { export default {
name: 'message', name: 'message',
data() { data() {
@ -61,6 +61,7 @@ export default {
pageSize: 10 pageSize: 10
} }
}, },
components: { },
mounted() { mounted() {
this.userId = this.$store.state.app.userInfo.id; this.userId = this.$store.state.app.userInfo.id;
this.querystaffmessage() this.querystaffmessage()

Loading…
Cancel
Save