Browse Source

app端样式调整

user5 2 năm trước cách đây
mục cha
commit
b00586e3cc
4 tập tin đã thay đổi với 24 bổ sung5 xóa
  1. 19 0
      colorui/main.css
  2. 2 2
      common/config.js
  3. 1 1
      manifest.json
  4. 2 2
      pages/test/luckyDraw/LuckyDrawEventsDetail.vue

+ 19 - 0
colorui/main.css

@@ -2250,6 +2250,14 @@ button.cuIcon.lg {
 	margin-bottom: 20upx;
 }
 
+.cu-card.dynamic>.cu-item>.text-content-luckyDraw {
+	padding: 0 30upx 0;
+	max-height: 6.4em;
+	overflow: hidden;
+	font-size: 30upx;
+	margin-bottom: 20upx;
+}
+
 .cu-card.dynamic>.cu-item .square-img {
 	width: 100%;
 	height: 200upx;
@@ -2311,6 +2319,13 @@ button.cuIcon.lg {
 	overflow: hidden;
 }
 
+.cu-card.article>.cu-item .content .text-content-luckyDraw {
+	font-size: 28upx;
+	color: #888;
+	overflow: hidden;
+}
+
+
 /* ==================
          表单
  ==================== */
@@ -3813,6 +3828,10 @@ scroll-view.cu-steps .cu-item {
 	line-height: 1.6;
 }
 
+.text-content-luckyDraw {
+	line-height: 1.6;
+}
+
 .text-left {
 	text-align: left;
 }

+ 2 - 2
common/config.js

@@ -5,8 +5,8 @@ if(process.env.NODE_ENV === 'development'){
     APP_SERVER_URL = 'api'
 }else{
     // 生产环境
-    //APP_SERVER_URL = 'http://demo1.jeeplus.org/jeeplus-vue'
-    APP_SERVER_URL = 'http://http://3081089em4.wicp.vip:36186/jeeplus-vue'
+    APP_SERVER_URL = 'http://cpa.xgccpm.com/jeeplus-vue'
+    //APP_SERVER_URL = 'http://3081089em4.wicp.vip:36186/jeeplus-vue'
 }
 
 APP_SERVER_URL = APP_SERVER_URL + "/app"

+ 1 - 1
manifest.json

@@ -60,7 +60,7 @@
         "title" : "h5",
         "domain" : "demo1.jeeplus.org",
         "devServer" : {
-            "port" : 3000,
+            "port" : 3001,
             "disableHostCheck" : true,
             "proxy" : {
                 "/api" : {

+ 2 - 2
pages/test/luckyDraw/LuckyDrawEventsDetail.vue

@@ -20,11 +20,11 @@
 				<!-- 活动详情 -->
 				<view class="content">
 					<view class="desc">
-						<view class="text-content"> {{dataDetail.detail}} </view>
+						<view class="text-content-luckyDraw"> {{dataDetail.detail}} </view>
 					</view>
 				</view>
 				<!-- 图片 -->
-				<view class="content">
+				<view class="content" style="margin-top: 15px;">
 					<image style="width: 100%;" src="/static/lucky_draw_events.jpg" mode="widthFix"></image>
 				</view>