Эх сурвалжийг харах

子账号设置页面修改

TANGSHIZHE 4 жил өмнө
parent
commit
42a6ce1956

+ 50 - 5
src/jfw/modules/app/src/web/templates/big-member/page_land_setting.html

@@ -31,25 +31,56 @@
             background: #ffffff;
         }
 
-        .prodetail .com_name, .prodetail .com_histury {
+        .prodetail .com_name, .prodetail .com_histury, .prodetail .com_histury_big{
             align-items: center;
             padding: 0;
             padding:0 0.32rem;
             height: 1.08rem;
         }
 
-        .prodetail .com_name .van-cell__title, .prodetail .com_histury .van-cell__title {
+        .van-field__control:disabled{
+            color: #171826;
+            font-size: 0.32rem;
+        }
+
+       .prodetail .com_histury_big .van-cell__title {
+            flex: none;
             font-size: 0.3rem;
             line-height: 0.44rem;
             color: #5f5E64;
+        }
+
+        .prodetail .com_histury_big .van-cell__value {
+            font-size: 0.28rem;
+            line-height: 0.4rem;
+            color: #9B9CA3;
+        }
+
+        .prodetail .com_name .van-cell__title, .prodetail .com_histury .van-cell__title {
             flex: none;
+            margin-right: 0.4rem;
+            width: 1.2rem;
+            font-size: 0.3rem;
+            line-height: 0.44rem;
+            color: #5f5E64;
         }
 
         .prodetail .com_name .van-cell__value, .prodetail .com_histury .van-cell__value {
             font-size: 0.28rem;
-            line-height: 0.4rem;
+            line-height: 0.48rem;
             color: #9B9CA3;
+            text-align: left;
+        }
+
+        .prodetail .com_histury {
+            padding: 0.3rem 0.32rem;
+            height: auto;
         }
+
+        .prodetail .com_histury .van-cell__value {
+            color: #171826;
+        }
+
         .child_header{
             height: 0.88rem;
             padding: 0.32rem 0.32rem 0.16rem;
@@ -100,12 +131,14 @@
                 class="com_name"
                 v-model="entname"
                 label="企业名称"
+                :disabled="ischildaccount"
                 placeholder="请输入企业名称"
               ></van-field>
-                <van-cell class="com_histury" title="行业" is-link :value="manyindustry" @click="optionindustry()"></van-cell>
+                <van-cell class="com_histury_big" v-if="!ischildaccount" title="行业" is-link :value="manyindustry" @click="optionindustry()"></van-cell>
+                <van-cell class="com_histury" v-if="ischildaccount" title="行业" value="内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容" />
             </van-cell-group>
         </div>
-        <div class="child_account">
+        <div class="child_account" v-if="!ischildaccount">
             <div class="child_header">
                 <div class="child_title">子账号</div>
             </div>
@@ -160,15 +193,22 @@
 
 <!--小于100行同css,减少请求数-->
 <script>
+    var ischildfooter = false
     var vNode = {
         delimiters: ['${', '}'],
         el: '#v-node',
         data: {
             entname: '',
             manyindustry:'选择行业',
+            ischildaccount:false,//是否是子账号
         },
         created () {
             this.getUserInfo()
+            if(this.ischildaccount){
+                ischildfooter = false
+            }else{
+                ischildfooter = true
+            }
         },
         methods: {
             optionindustry:function(){
@@ -222,6 +262,11 @@
         }
     }
     new Vue(vNode)
+    if(ischildfooter){
+        $('.j-footer').show()
+    }else{
+        $('.j-footer').hide()
+    }
 </script>
 {{include "/common/baiducc.html"}}
 </body>