tanyanfei 3 年 前
コミット
dcc2eac14b

BIN
images/bs.png


BIN
images/yk.png


BIN
images/zx.png


+ 1 - 1
pages/homepage/homepage.wxml

@@ -32,7 +32,7 @@
   </view>
 </view>
 <view class="style" style="margin: 0;">
-    <view class="game">参赛 
+    <view class="game"><text style="color: #333;">参赛</text> 
       <picker  value="{{index}}"  range="{{match}}" range-key='name' bindchange="bindChange">
       <view class="picker">
         {{match[index].name}}

+ 1 - 1
pages/homepage/homepage.wxss

@@ -104,7 +104,7 @@ ec-canvas {
   padding-left: 4rpx;
 }
 .game picker{
-  float: right;
+  /* float: right; */
 }
 .infos{
   background: #FFF4F5;

+ 7 - 3
pages/login/user.wxml

@@ -41,8 +41,12 @@
 
 
 <view class="no_login" wx:if='{{status == 3}}'>
-  <navigator url="../apply/apply?type=2">选手报名</navigator>
-  <navigator url="../apply/apply?type=1">游客报名</navigator>
-  <navigator url="../message/message">顽主咨询</navigator>
+  <view class="title">欢迎来到湖南顽主杯实盘大赛</view>
+    <view class='avatar'>
+            <image src="../../images/logo.png"></image>
+    </view>
+  <navigator url="../apply/apply?type=2"><image style="width: 24px;" mode="widthFix" src="../../images/bs.png"></image>选手报名</navigator>
+  <navigator style="background: none;color:#D94B24;" url="../apply/apply?type=1"><image style="width: 24px;" mode="widthFix" src="../../images/yk.png"></image>游客报名</navigator>
+  <navigator style="background: none;color:#D94B24;" url="../message/message"><image style="width: 18px;" mode="widthFix" src="../../images/zx.png"></image>顽主咨询</navigator>
 </view>
 

+ 9 - 0
pages/login/user.wxss

@@ -90,6 +90,7 @@ page{
 }
 .no_login navigator{
   background: #D94B24;
+  border: 1px solid #D94B24;
   color: #fff;
   width: 100%;
   margin-top: 48rpx;
@@ -98,6 +99,14 @@ page{
   padding: 0;
   font-size: 32rpx;
   border-radius: 8rpx;
+  position: relative;
+}
+.no_login navigator image{
+  position: absolute;
+  top: 0;
+  bottom: 0;
+  margin: auto;
+  left: 30%;
 }
 .no_login{
   height: 100vh;

+ 1 - 1
pages/message/message.wxml

@@ -15,6 +15,6 @@
 
 
 <view class="post">
-    <input  value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" type="text" placeholder="我要咨询"/>
+    <input confirm-type='send' bindconfirm='post' value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" type="text" placeholder="我要咨询"/>
     <button bindtap="post">提交</button>
 </view>

+ 1 - 1
pages/rank/rank.wxml

@@ -12,7 +12,7 @@
     <view class="zd"></view>
     <image src="../../images/lb.png" mode="widthFix"></image>
       <view class="marquee_text">
-        <navigator hover-class="none" url="../apply/apply?type=2">第49届顽主杯实盘大赛正在报名中(报名时间:2022-05-24) </navigator>
+        <navigator hover-class="none" url="../apply/apply?type=2">第50届顽主杯实盘大赛正在报名中 <text>报名时间:6月27日到7月5日</text> </navigator>
       </view>
     </view>     
 

+ 12 - 5
pages/rank/rank.wxss

@@ -28,31 +28,38 @@ page{
   padding: 12.5px 12px;
   position: relative;
   overflow: hidden;
-  height: 90rpx;
+  height: 125rpx;
 }
 .marquee_container:hover{
   /* 不起作用 */
   animation-play-state: paused;
 }
 .marquee_text{
-  color:#333;
+  color:#5C5C5C;
   font-size: 28rpx;
   display: flex;
   white-space: nowrap;
-  animation-name: around;
+  /* animation-name: around;
   animation-duration: 15s;  /*过渡时间*/
   animation-iteration-count: infinite;
-  animation-timing-function:linear;
+  animation-timing-function:linear; 
+  margin-left: 64rpx;
 }
 .marquee_text navigator{
   margin-right: 20px;
 }
+.marquee_text text{
+  display: block;
+  color:#5C5C5C;
+  font-size: 26rpx;
+  margin-top: 5rpx;
+}
 .marquee_container image{
   width: 34rpx;
   height: 34rpx;
   position: absolute;
   left: 10px;
-  top: 30rpx;
+  top: 46rpx;
 }
 ._top{
   background: #D94B24;

+ 1 - 1
pages/signup/signup.wxml

@@ -10,7 +10,7 @@
     </picker>
   </view>
 </view>
-<view class="item"> 
+<view class="item" wx:if='{{type==2}}'> 
    <label>参赛名</label>
    <view class="tags"> 
       <input  bindinput="inputchange1" placeholder-style="color:#999;" placeholder="请填写"></input> 

+ 1 - 1
pages/stock/stock.wxml

@@ -70,7 +70,7 @@
   </scroll-view>
 
   <view class="post" wx:if="{{role==2}}">
-      <input value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange1" focus='{{focus}}' type="text" placeholder="{{text}}"/>
+      <input value="{{comment}}" confirm-type='send' bindconfirm='sendmsg' placeholder-style="color:#999" maxlength="500" bindinput="inputchange1" focus='{{focus}}' type="text" placeholder="{{text}}"/>
       <button bindtap="sendmsg">提交</button>
   </view>
 </view>

+ 7 - 6
pages/style/style.wxml

@@ -1,4 +1,10 @@
 <wxs src="../../utils/tool.wxs" module="tool"></wxs>
+<view class="item" wx:if="{{form.is_player==1}}"> 
+   <label>参赛名</label>
+   <view class="tags"> 
+      <input value="{{form.username}}" bindinput="bindinput" placeholder-style="color:#999;" placeholder="请填写"></input> 
+  </view>
+</view>
 <view class="item">
   <label>入市时间</label>
   <view class="tags">
@@ -11,12 +17,7 @@
       </picker>
   </view>
 </view>
-<view class="item" wx:if="{{form.is_player==1}}"> 
-   <label>选手名称</label>
-   <view class="tags"> 
-      <input value="{{form.username}}" bindinput="bindinput" placeholder-style="color:#999;" placeholder="请填写"></input> 
-  </view>
-</view>
+
 <view class="title">请选择你的操作风格</view>
 <view wx:if='{{arr1.length>0}}'>
 <view class="item">

+ 1 - 1
pages/today/today.wxml

@@ -98,7 +98,7 @@
 </view>
 <view class="post">
     <image class="{{zan?'zan':''}}" bindtap="zan"  mode="widthFix" src="../../images/zan.png"></image>
-    <input   value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" focus='{{focus}}' type="text" placeholder="{{text}}"/>
+    <input 	confirm-type='send' bindconfirm='sendmsg' value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" focus='{{focus}}' type="text" placeholder="{{text}}"/>
     <button bindtap="sendmsg">提交</button>
 </view>