소스 검색

vetur-wepy

chenzhen2 1 년 전
부모
커밋
64a72891cc
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      src/components/common/page-top-bar.wpy
  2. 2 1
      src/pages/bindTenant/index.wpy

+ 4 - 1
src/components/common/page-top-bar.wpy

@@ -60,7 +60,10 @@ wepy.component({
   props: {
     title: String,
     iconType: String,
-    icon: String,
+    icon: {
+      type: String,
+      default: config.h5StaticPath + '/page-top-bar/return-icon.svg'
+    },
     // white
     iconBg: String,
     bgColor: {

+ 2 - 1
src/pages/bindTenant/index.wpy

@@ -92,7 +92,8 @@ page {
 <template>
  <div class="overflow-wrap">
   <page-top-bar title="公司身份选择" 
-  titleColor="#1B2129" bgColor="#EBF5FA" icon="{{h5StaticPath+'/page-top-bar/return-icon.svg'}}"></page-top-bar>
+  titleColor="#1B2129" 
+  bgColor="#EBF5FA"></page-top-bar>
    <div class="bind-item check-item">
       <div class="tenant-name">禹数科技有限公司</div>
       <div class="tenant-identity">