347617796@qq.com 2 years ago
parent
commit
f87a0e721a
8 changed files with 40 additions and 19 deletions
  1. 4 0
      .mini-ide/compileMode.json
  2. BIN
      image/close2.png
  3. BIN
      image/kf2.png
  4. BIN
      image/kf3.png
  5. BIN
      image/tc.png
  6. 20 5
      pages/home/home/home.acss
  7. 14 12
      pages/home/home/home.axml
  8. 2 2
      pages/home/home/home.js

+ 4 - 0
.mini-ide/compileMode.json

@@ -57,6 +57,10 @@
     {
       "title": "过期",
       "page": "pages/index/noJurisdiction/noJurisdiction"
+    },
+    {
+      "title": "首页",
+      "page": "pages/home/home/home"
     }
   ]
 }

BIN
image/close2.png


BIN
image/kf2.png


BIN
image/kf3.png


BIN
image/tc.png


+ 20 - 5
pages/home/home/home.acss

@@ -5,22 +5,37 @@
   line-height: 60rpx;
 }
 .btnBox{
-  padding: 20rpx;
+  padding-top: 20rpx;
+  text-align: center;
+}
+.textNr{
+  position: absolute;
+  z-index: 9999;
+  top: 60rpx;
+  left: 0.24rem;
+  right: 0.24rem;
+}
+.kfBj{
+  width: 100%;
 }
 .btnBox button{
   border-radius: 10rpx;
   background-color: #089fff;
   font-size: 0.32rem;
+  height: 70rpx;
+  line-height: 70rpx;
+  width: 300rpx;
+  border-radius: 50rpx;
+  margin: 0 auto;
 }
 .ah{
-  padding: 0.14rem 0.24rem;
-  border-top: 1px solid #f1f1f1;
+  padding-top: 0.24rem;
   font-size: 0.24rem;
 }
 .kfImg image{
   position: absolute;
-  width: 0.5rem;
-  height: 0.5rem;
+  width: 0.3rem;
+  height: 0.3rem;
   top: 0.2rem;
   right: 0.2rem;
   

+ 14 - 12
pages/home/home/home.axml

@@ -86,21 +86,23 @@
     </view>
   </view>
   <view class="windows" a:if="{{isshowTc}}" >
-    <view class="windows-box" style="position: relative;margin: 0 0.62rem;margin-top: 35%;">
+    <view class="windows-box" style="position: relative;margin: 0 0.9rem;margin-top: 35%;">
       <view class="kfImg" catchTap="closes3">
-        <image mode="widthFix" src="../../../image/close.png" /></view>
-      <view class="contentBox flex-box flex-center-center">
-        <view> 为了更好地体验软件,请联系客服顾问获取产品相关资料,一对一系统演示和讲解</view>
-      </view>
-      <view class="btnBox">
-        <button type="primary" catchTap="openKf">联系客服</button>
+        <!-- <icon type="clear"/> -->
+        <image mode="widthFix" src="../../../image/close2.png" />
       </view>
-      <view class="flex-box-ce flex-center-center  ah">
-        <label>
-          <checkbox onChange="ruleActiveAll" checked="{{isChecked}}" />
-          <text style="padding-left:10rpx">不再弹出</text>
-        </label>
+      <image class="kfBj"  mode="widthFix" src="../../../image/tc.png" />
+      <view class="textNr">
+        <view style="color:#fff;padding:0 0.5rem;line-height:50rpx;margin-bottom:3.26rem"> 为了更好地体验软件,请联系客服顾问获取产品相关资料,一对一系统演示和讲解</view>
+        <view class="btnBox"><button type="primary" catchTap="openKf">联系客服</button></view>
+        <view class="flex-box-ce flex-center-center  ah">
+            <label>
+              <checkbox onChange="ruleActiveAll" checked="{{isChecked}}" />
+              <text style="padding-left:10rpx">不再弹出</text>
+            </label>
+          </view>
       </view>
+
     </view>
   </view>
   <view class="windows" a:if="{{isshowTc2}}">

+ 2 - 2
pages/home/home/home.js

@@ -42,8 +42,8 @@ Page({
       isClose: getCache('isClose') ? false : true,
 
     })
-    if(app.globalData.userData.other_info.first){
-    // if(app.globalData.userData.is_creator&&!app.globalData.userData.other_info.first){
+    // if(app.globalData.userData.other_info.first){
+    if(app.globalData.userData.is_creator&&!app.globalData.userData.other_info.first){
       that.setData({
         isshowTc:true,
       })