Explorar o código

feat:新增服务对象页面适配鸿蒙

zhanghui hai 7 meses
pai
achega
3de34dfb34

+ 2 - 2
common/js/env.js

@@ -4,11 +4,11 @@
 let releaseBaseUrl = `https://jje.xinyuekj.com.cn/prod-api`
 
 /** 测试环境 */
-let trialBaseUrl = `https://jje.admin.xinyuekj.com.cn/test-api`
+let trialBaseUrl = `https://jje.xinyuekj.com.cn/test-api`
 
 /** 开发环境*/
 // let developBaseUrl = `http://65i1sxopd9qp.ngrok.xiaomiqiu123.top`
-let developBaseUrl = `https://jje.admin.xinyuekj.com.cn/test-api`
+let developBaseUrl = `https://jje.xinyuekj.com.cn/test-api`
 // let developBaseUrl = `https://jje.admin.xinyuekj.com.cn/test-api`
 // let developBaseUrl = `http://u2mu3zixu5wm.ngrok.xiaomiqiu123.top`
 // let developBaseUrl = `http://47.108.114.127:10888`

+ 1 - 1
myPages/ServiceObjectManagement/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <view class="page" :style="{'height':windowHeight}">
+  <view class="page">
     <scroll-view :style="{'height':windowHeight}" scroll-y>
       <view class="service-object-wrap">
 

+ 12 - 4
myPages/serviceObjectAllInfo/index.vue

@@ -60,13 +60,21 @@
           </view>
           <view class="arrow-right">
 
-            <picker mode="date" :value="date" :start="date" @change="bindDateChange">
-              <view class="picker-change-store">
-                <text v-if="userInfo.birthday">{{ userInfo.birthday }}</text>
-                <text v-else>请选择生日</text>
+<!--            <picker mode="date" :value="date" :start="date" @change="bindDateChange">-->
+<!--              <view class="picker-change-store">-->
+<!--                <text v-if="userInfo.birthday">{{ userInfo.birthday }}</text>-->
+<!--                <text v-else>请选择生日</text>-->
+<!--                <u-icon name="arrow-right" color="#666" size="16"></u-icon>-->
+<!--              </view>-->
+<!--            </picker>-->
+
+            <picker @change="bindDateChange" mode='date'  range-key="label" >
+              <view class="flex-row justify-end picker-change-store">
+                <text>{{userInfo.birthday || '请选择出生日期' }}</text>
                 <u-icon name="arrow-right" color="#666" size="16"></u-icon>
               </view>
             </picker>
+
           </view>
         </view>
       </view>