Преглед изворни кода

fix:修改积分增加接口参数和增加公益单位logo

aamin пре 1 година
родитељ
комит
8775ef42a7

BIN
zhengquan/public/staticData/logo/鹏华基金管理有限公司 1.png


BIN
zhengquan/public/staticData/logo/鹏华基金管理有限公司.png


+ 3 - 2
zhengquan/src/views/Home/components/unitList.vue

@@ -218,7 +218,7 @@ const isFlatLandscape = computed(() => {
           <div class="list-item-con" v-if="startItem + item - 1 < store.dataAll.welfareList.length">
             <!-- 默认图片--无logo情况下显示 -->
             <div
-              v-if="store.dataAll.welfareList[startItem + item - 1].title == '鹏华基金管理有限公司' || store.dataAll.welfareList[startItem + item - 1].title == '北京中金公益基金会'"
+              v-if="store.dataAll.welfareList[startItem + item - 1].title == '北京中金公益基金会'"
               class="defaultLogo"
               :style="{ backgroundImage: `url(${baseResourceUrl}/logo/logo-default${hoverIndex == item ? 'Ac' : ''}.png)`, backgroundSize: 'cover' }">
               {{
@@ -246,7 +246,7 @@ const isFlatLandscape = computed(() => {
         <div class="content-item" v-for="(item, index) in store.dataAll.welfareList" :key="index"
           @click="curUnit = item, isShowInfoBox = true">
           <!-- 默认图片--无logo情况下显示 -->
-          <div v-if="item.title == '鹏华基金管理有限公司' || item.title == '北京中金公益基金会'" class="defaultLogo"
+          <div v-if="item.title == '北京中金公益基金会'" class="defaultLogo"
             :style="{ backgroundImage: `url(${baseResourceUrl}/logo/logo-default${hoverIndex == item ? 'Ac' : ''}.png)`, backgroundSize: 'cover' }">
             {{
               item.title }}</div>
@@ -533,6 +533,7 @@ const isFlatLandscape = computed(() => {
         .list-item-con {
           width: 100%;
           min-height: 85%;
+          height: 90%;
           max-height: 90%;
           background: white;
           display: flex;

+ 0 - 1
zhengquan/src/views/Scene/ScenePage.vue

@@ -539,7 +539,6 @@ onMounted(() => {
           description: "",
           score: encodeStr(Base64.encode(score)),
           type: v,
-          userId: store.userInfo.id
         }
       }).then(() => {
         // alert('观看完成')

+ 3 - 2
zhengquan/src/views/UnitWall/components/unitList.vue

@@ -189,7 +189,7 @@ watch(curProject, (newValue: string) => {
           <div class="list-item-con" v-if="startItem + item - 1 < store.dataAll.welfareList.length">
             <!-- 默认图片--无logo情况下显示 -->
             <div
-              v-if="store.dataAll.welfareList[startItem + item - 1].title == '鹏华基金管理有限公司' || store.dataAll.welfareList[startItem + item - 1].title == '北京中金公益基金会'"
+              v-if=" store.dataAll.welfareList[startItem + item - 1].title == '北京中金公益基金会'"
               class="defaultLogo"
               :style="{ backgroundImage: `url(${baseResourceUrl}/logo/logo-default${hoverIndex == item ? 'Ac' : ''}.png)`, backgroundSize: 'cover' }">
               {{
@@ -217,7 +217,7 @@ watch(curProject, (newValue: string) => {
         <div class="content-item" v-for="(item, index) in store.dataAll.welfareList" :key="index"
           @click="curUnit = item, isShowInfoBox = true">
           <!-- 默认图片--无logo情况下显示 -->
-          <div v-if="item.title == '鹏华基金管理有限公司' || item.title == '北京中金公益基金会'" class="defaultLogo"
+          <div v-if=" item.title == '北京中金公益基金会'" class="defaultLogo"
             :style="{ backgroundImage: `url(${baseResourceUrl}/logo/logo-default${hoverIndex == item ? 'Ac' : ''}.png)`, backgroundSize: 'cover' }">
             {{
               item.title }}</div>
@@ -536,6 +536,7 @@ watch(curProject, (newValue: string) => {
         .list-item-con {
           width: 100%;
           min-height: 85%;
+          height: 90%;
           max-height: 90%;
           background: white;
           display: flex;