Browse Source

我有事说样式优化

release
ZhaoTongYao 4 years ago
parent
commit
0cddd547ae
  1. 6
      pages/toRegister/toRegister.js
  2. 112
      project.private.config.json
  3. 7
      subpages/discussion/pages/addIssue/addIssue.wxml
  4. 55
      subpages/discussion/pages/addIssue/addIssue.wxss

6
pages/toRegister/toRegister.js

@ -21,7 +21,7 @@ Page({
// }
// })
let that = this
const versionNum = "1.7.7"
const versionNum = "1.7.8"
api.getScanSwitch(versionNum).then(function (res) {
console.log(res.data)
let state = res.data.scanFlag
@ -42,9 +42,9 @@ Page({
// })
},
experience () {
app.globalData.tempGridId = "1233592630168813569"
app.globalData.tempGridId = "1233274128467787777" //1233592630168813569
wx.reLaunch({
url: "/pages/indexNew/indexNew?scene=1233592630168813569"
url: "/pages/indexNew/indexNew?scene=1233274128467787777"
})
},
scan () {

112
project.private.config.json

@ -0,0 +1,112 @@
{
"setting": {},
"condition": {
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": [
{
"name": "pages/formid/formid",
"pathName": "pages/formid/formid",
"query": "gid=1233274128467787777",
"scene": 1011
},
{
"id": 2,
"name": "网格长注册",
"pathName": "pages/index/index",
"query": "scene=gridLeader",
"scene": 1011
},
{
"id": 3,
"name": "subpages/home/pages/newsDetail/newsDetail",
"pathName": "subpages/home/pages/newsDetail/newsDetail",
"query": "id=7c8bc749ff4b6380bf1d902c0bde0ba&defaultGridId=1233592630168813569",
"scene": null
},
{
"id": -1,
"name": "社群列表",
"pathName": "subpages/associationNew/pages/associationlist/associationlist",
"query": "",
"scene": null
},
{
"id": 5,
"name": "数据端跳转",
"pathName": "pages/indexNew/indexNew",
"query": "scene=1277169327606366209&from=analysis",
"scene": null
},
{
"id": 7,
"name": "我有事说",
"pathName": "subpages/discussion/pages/addIssue/addIssue",
"query": "",
"scene": null
},
{
"id": 8,
"name": "搜索页面",
"pathName": "subpages/oneKeyService/pages/search/search",
"query": "",
"scene": null
},
{
"id": -1,
"name": "注册页面",
"pathName": "pages/toRegister/toRegister",
"query": "",
"scene": null
},
{
"id": -1,
"name": "subpages/heart/pages/leaderboardNew/leaderboardNew",
"pathName": "subpages/heart/pages/leaderboardNew/leaderboardNew",
"query": "",
"scene": null
},
{
"id": 9,
"name": "subpages/oneKeyService/pages/index/index",
"pathName": "subpages/oneKeyService/pages/index/index",
"query": "",
"scene": null
},
{
"id": -1,
"name": "subpages/oneKeyService/pages/moduleList/moduleList",
"pathName": "subpages/oneKeyService/pages/moduleList/moduleList",
"query": "pid=4d667ea4ff8fb045b03a68a9d24207e9&bannerflag=1&categorycode=notice_jsqf&modulestyle=2&categoryname=锦水清风",
"scene": null
},
{
"name": "积分中心",
"pathName": "subpages/integralCentre/pages/index/index",
"query": "",
"scene": null
},
{
"name": "积分中心",
"pathName": "subpages/integralCentre/pages/exchangeIndex/exchangeIndex",
"query": "",
"scene": null
},
{
"name": "带参网格码生成",
"pathName": "pages/index/index",
"query": "scene=1233592630168813569",
"scene": null
}
]
}
}
}

7
subpages/discussion/pages/addIssue/addIssue.wxml

@ -22,7 +22,7 @@
</view>
<checkbox-group class="info-tips">
<label class="tips" wx:for="{{checkboxs}}" wx:for-index="index" wx:for-item="item" wx:key="index" data-index="{{index}}" data-title="{{item.name}}" bindtap="checkboxClick">
<label class="tips {{index == 0 ? 'first-check' : ''}}" wx:for="{{checkboxs}}" wx:for-index="index" wx:for-item="item" wx:key="index" data-index="{{index}}" data-title="{{item.name}}" bindtap="checkboxClick">
<!-- <view class="spot"></view> -->
<checkbox value="{{item.name}}" checked="{{item.checked}}"></checkbox>
<view class="content display-inline">{{item.name}}</view>
@ -80,7 +80,10 @@
</view>
<view class="leader-info">
<view class="name">{{item.realName}}</view>
<view class="position">{{item.position}}</view>
<view class="position-box">
<view class="position" wx:if="{{item.mobile}}">电话: {{item.mobile}}</view>
<view class="position" wx:if="{{item.position}}">职务: {{item.position}}</view>
</view>
</view>
</view>
<checkbox value="{{item.realName}}" checked="{{item.checked}}"></checkbox>

55
subpages/discussion/pages/addIssue/addIssue.wxss

@ -189,17 +189,41 @@ button::after {
.tips {
margin-top: 30rpx;
margin-right: 10rpx;
/* background-color: #d9d9d9; */
/* border-radius: 20rpx; */
display: flex;
align-items: center;
width: 300rpx;
width: 200rpx;
/* justify-content: center; */
/* margin: 20rpx 20rpx 0rpx 20rpx; */
/* display: inline-block; */
/* padding: 8rpx 10rpx; */
}
.first-check {
width: 650rpx;
position: relative;
border-top: 2px solid #cccccc;
border-bottom: 2px solid #cccccc;
padding: 30rpx 0rpx;
margin-top: 50rpx;
}
.first-check::before {
content: '请他们关注';
position: absolute;
left: 50%;
transform: translateX(-300rpx);
-webkit-transform: translate(-300rpx, -60rpx);
background-color: #fff;
font-size: 24rpx;
font-weight: bold;
padding: 0 20rpx;
}
.first-check .content {
font-size: 38rpx;
font-weight: bold;
color: #000;
}
.spot {
width: 14rpx;
height: 14rpx;
@ -257,9 +281,9 @@ button::after {
}
.leader-dialog {
position: relative;
margin: 240rpx auto 0;
margin: 200rpx auto 0;
width: 690rpx;
height: 820rpx;
height: 860rpx;
background-color: #fff;
border-radius: 20rpx;
}
@ -294,11 +318,11 @@ button::after {
height: 100%;
}
.leader-dialog .dialog-content .list {
height: 500rpx;
height: 540rpx;
}
.leader-dialog .dialog-content .list .item {
width: 100%;
height: 124rpx;
height: 140rpx;
display: flex;
align-items: center;
justify-content: space-between;
@ -308,14 +332,14 @@ button::after {
align-items: center;
}
.leader-dialog .dialog-content .list .item .leader-box .leader-head{
width: 100rpx;
height: 100rpx;
width: 120rpx;
height: 120rpx;
border-radius: 50%;
overflow: hidden;
}
.leader-dialog .dialog-content .list .item .leader-box .leader-info {
margin-left: 20rpx;
height: 88rpx;
height: 120rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
@ -324,9 +348,20 @@ button::after {
font-size: 34rpx;
color: #333333;
}
.leader-dialog .dialog-content .list .item .leader-box .leader-info .position-box {
height: 70rpx;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.leader-dialog .dialog-content .list .item .leader-box .leader-info .position{
font-size: 28rpx;
font-size: 26rpx;
color: #999999;
width: 400rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.leader-dialog .footer {
width: 100%;

Loading…
Cancel
Save