Browse Source

样式修改

featrue/v4.2
huziyuan 5 years ago
parent
commit
2b4ad0dff4
9 changed files with 65 additions and 18 deletions
  1. 2
      app.js
  2. 28
      pages/agent/factory/index.wxml
  3. 2
      pages/home/attentionPaperList/index.wxml
  4. 15
      pages/home/attentionPaperList/index.wxss
  5. 2
      pages/home/info/index.wxml
  6. 2
      pages/home/tab4/index.wxml
  7. 15
      pages/home/tab4/index.wxss
  8. 2
      pages/home/tab5/index.wxml
  9. 15
      pages/home/tab5/index.wxss

2
app.js

@ -1,7 +1,7 @@
//app.js //app.js
App({ App({
//----------------------------------------------globalData-------------------------------------- //----------------------------------------------globalData--------------------------------------
evn: 1,//0:开发环境,1:测试环境,2:生产环境
evn: 0,//0:开发环境,1:测试环境,2:生产环境
tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'], tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'],
agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'oLbv-IyJOia2tenh64_Lc8xeAzwgzu3gh1vFJ1Se-ME'], agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'oLbv-IyJOia2tenh64_Lc8xeAzwgzu3gh1vFJ1Se-ME'],
version: 152, version: 152,

28
pages/agent/factory/index.wxml

@ -5,22 +5,24 @@
</cu-custom> </cu-custom>
<scroll-view scroll-y style="height: {{height}}rpx;" bindscroll="onScroll" scroll-into-view="{{toView}}" bind:scrolltolower="fetchMomentList" wx:if="{{factoryDetail}}"> <scroll-view scroll-y style="height: {{height}}rpx;" bindscroll="onScroll" scroll-into-view="{{toView}}" bind:scrolltolower="fetchMomentList" wx:if="{{factoryDetail}}">
<view class="bg-white flex" style="padding:30rpx" >
<view class="bg-white flex" style="padding:30rpx">
<wux-image width="{{54}}" height="{{54}}" wux-class="image" shape="rounded" src="{{factoryDetail.logoImg}}" /> <wux-image width="{{54}}" height="{{54}}" wux-class="image" shape="rounded" src="{{factoryDetail.logoImg}}" />
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start"> <view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start">
<view class="text-sg text-bold" style="white-space: nowrap">{{factoryDetail.name}}
<text class="{{hasFollowed == false ? 'text-blue' : 'text-red'}}" data-cid="{{hasFollowed}}" bindtap="onAttentionChange">{{hasFollowed == false ? '关注' : '取消关注'}}</text>
<view class="text-sg text-bold" style="white-space: nowrap;width: 100%;">{{factoryDetail.name}}
<!-- <view class="{{hasFollowed == false ? 'text-blue' : 'text-red'}}" data-cid="{{hasFollowed}}" bindtap="onAttentionChange">{{hasFollowed == false ? '关注' : '取消关注'}}</view>
</view> -->
<view style="float:right;width: 120rpx;height: 50rpx;background-color: rgba(0,0,0,0.10);font-size: 24rpx;border-radius: 25rpx;text-align: center;padding-top: 8rpx;" data-cid="{{hasFollowed}}" bindtap="onAttentionChange"><text class="{{hasFollowed == false ? 'text-blue' : 'text-red'}}">{{hasFollowed == false ? '关注' : '取消关注'}}</text></view>
</view> </view>
<view class="text-xs text-gray" style="margin-top:4rpx"> <view class="text-xs text-gray" style="margin-top:4rpx">
<text>{{factoryDetail.locProvinceName + factoryDetail.locCityName + factoryDetail.locDistrictName}}</text> <text>{{factoryDetail.locProvinceName + factoryDetail.locCityName + factoryDetail.locDistrictName}}</text>
<text class="text-gray" style="margin: 0rpx 8rpx" wx:if="{{factoryDetail.cumulativeWeight > 0}}">|</text> <text class="text-gray" style="margin: 0rpx 8rpx" wx:if="{{factoryDetail.cumulativeWeight > 0}}">|</text>
<text wx:if="{{factoryDetail.cumulativeWeight > 0}}">已代卖:{{formate.formateWeight(factoryDetail.cumulativeWeight, kg)}}</text>
<text class="text-gray" style="margin: 0rpx 8rpx">|</text>
<text wx:if="{{factoryDetail.yesterdayTotalQuantity &&factoryDetail.yesterdayTotalQuantity >= 0}}">昨日排队:{{factoryDetail.yesterdayTotalQuantity}}辆</text>
<text wx:if="{{factoryDetail.cumulativeWeight > 0}}">已代卖:{{formate.formateWeight(factoryDetail.cumulativeWeight, kg)}}</text>
<text class="text-gray" style="margin: 0rpx 8rpx">|</text>
<text wx:if="{{factoryDetail.yesterdayTotalQuantity &&factoryDetail.yesterdayTotalQuantity >= 0}}">昨日排队:{{factoryDetail.yesterdayTotalQuantity}}辆</text>
<text wx:else>昨日排队:--</text> <text wx:else>昨日排队:--</text>
</view> </view>
<view class="flex text-df" style="margin-top:4rpx"> <view class="flex text-df" style="margin-top:4rpx">
<view class="flex" wx:if="{{factoryDetail.proxypaySurcharge}}">
<view class="flex" wx:if="{{factoryDetail.proxypaySurcharge}}">
<text class="text-black">代卖费:</text> <text class="text-black">代卖费:</text>
<text class="text-red">{{formate.formatePrice2(factoryDetail.proxypaySurcharge, kg)}}</text> <text class="text-red">{{formate.formatePrice2(factoryDetail.proxypaySurcharge, kg)}}</text>
</view> </view>
@ -28,7 +30,7 @@
<text class="text-black">纸厂账期:</text> <text class="text-black">纸厂账期:</text>
<text class="text-red">{{factoryDetail.foreignPaybackIntever}}天</text> <text class="text-red">{{factoryDetail.foreignPaybackIntever}}天</text>
</view> </view>
</view>
</view>
</view> </view>
</view> </view>
<!-- <view style="height:16rpx"></view> --> <!-- <view style="height:16rpx"></view> -->
@ -59,7 +61,7 @@
</view> </view>
<view class="flex flex-justify text-xs text-gray" style="margin-top:4rpx"> <view class="flex flex-justify text-xs text-gray" style="margin-top:4rpx">
<text>价格更新:{{factoryDetail.priceDate}}</text> <text>价格更新:{{factoryDetail.priceDate}}</text>
<view class="flex flex-center" style="padding:6rpx 0rpx" wx:if="{{item.floatingPrice > 0}}">
<view class="flex flex-center" style="padding:6rpx 0rpx" wx:if="{{item.floatingPrice > 0}}">
<text class="cuIcon-refresharrow text-red transform" style="font-size:24rpx;margin-top:2rpx;"></text> <text class="cuIcon-refresharrow text-red transform" style="font-size:24rpx;margin-top:2rpx;"></text>
<text class="text-red text-xs" style="padding-top:2rpx">{{formate.formatePrice(item.floatingPrice, kg)}}</text> <text class="text-red text-xs" style="padding-top:2rpx">{{formate.formatePrice(item.floatingPrice, kg)}}</text>
<text class="text-xs text-gray" style="margin-left:16rpx">较昨日</text> <text class="text-xs text-gray" style="margin-left:16rpx">较昨日</text>
@ -116,28 +118,28 @@
<view style="padding: 24rpx 30rpx;"> <view style="padding: 24rpx 30rpx;">
<view class="flex" style="align-items: center"> <view class="flex" style="align-items: center">
<text style="width:8rpx;height:30rpx;background-color:#008AFF"></text> <text style="width:8rpx;height:30rpx;background-color:#008AFF"></text>
<text class="text-lg text-bold" style="margin-left:12rpx">报车</text>
<text class="text-lg text-bold" style="margin-left:12rpx">报车</text>
</view> </view>
<view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsReportCar}}</view> <view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsReportCar}}</view>
</view> </view>
<view style="padding: 24rpx 30rpx;border-top:2rpx solid #eee"> <view style="padding: 24rpx 30rpx;border-top:2rpx solid #eee">
<view class="flex" style="align-items: center"> <view class="flex" style="align-items: center">
<text style="width:8rpx;height:30rpx;background-color:#008AFF"></text> <text style="width:8rpx;height:30rpx;background-color:#008AFF"></text>
<text class="text-lg text-bold" style="margin-left:12rpx">装车</text>
<text class="text-lg text-bold" style="margin-left:12rpx">装车</text>
</view> </view>
<view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsLoadingCar}}</view> <view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsLoadingCar}}</view>
</view> </view>
<view style="padding: 24rpx 30rpx;border-top:2rpx solid #eee"> <view style="padding: 24rpx 30rpx;border-top:2rpx solid #eee">
<view class="flex" style="align-items: center"> <view class="flex" style="align-items: center">
<text style="width:8rpx;height:30rpx;background-color:#008AFF"></text> <text style="width:8rpx;height:30rpx;background-color:#008AFF"></text>
<text class="text-lg text-bold" style="margin-left:12rpx">到货</text>
<text class="text-lg text-bold" style="margin-left:12rpx">到货</text>
</view> </view>
<view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsArrival}}</view> <view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsArrival}}</view>
</view> </view>
<view style="padding: 24rpx 30rpx;border-top:2rpx solid #eee"> <view style="padding: 24rpx 30rpx;border-top:2rpx solid #eee">
<view class="flex" style="align-items: center"> <view class="flex" style="align-items: center">
<text style="width:8rpx;height:30rpx;background-color:#008AFF"></text> <text style="width:8rpx;height:30rpx;background-color:#008AFF"></text>
<text class="text-lg text-bold" style="margin-left:12rpx">卸货规定</text>
<text class="text-lg text-bold" style="margin-left:12rpx">卸货规定</text>
</view> </view>
<view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsRegulations}}</view> <view class="text-df" style="padding: 30rpx 0rpx">{{factoryDetail.attentionsRegulations}}</view>
</view> </view>

2
pages/home/attentionPaperList/index.wxml

@ -27,7 +27,7 @@
<view class="bottom"> <view class="bottom">
<view> <view>
<checkbox-group bindchange="checkboxChange"> <checkbox-group bindchange="checkboxChange">
<checkbox wx:for="{{ categoryListone }}" wx:key="index" style="width:100%;margin-top:15rpx" value="{{item.paperMillId}}" checked="{{item.hasFollowed}}">{{item.name}}</checkbox>
<checkbox wx:for="{{ categoryListone }}" wx:key="index" class="interestthreecheckbox" style="width:100%;margin-top:30rpx" value="{{item.paperMillId}}" checked="{{item.hasFollowed}}">{{item.name}}</checkbox>
</checkbox-group> </checkbox-group>
</view> </view>
</view> </view>

15
pages/home/attentionPaperList/index.wxss

@ -59,4 +59,19 @@ page{
box-shadow: 0px 10px 13px -8px rgba(35, 126, 217, 0.53); box-shadow: 0px 10px 13px -8px rgba(35, 126, 217, 0.53);
color: white; color: white;
font-size: 32rpx; font-size: 32rpx;
}
.interestthreecheckbox .wx-checkbox-input {
border-radius: 50%;
width: 40rpx;
height: 40rpx;
}
.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked{
background: white;
border: 1px solid #007AFF;
}
.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked::before{
width: 40rpx;/* 选中后对勾大小 */
height: 40rpx;/* 选中后对勾大小 */
font-size:40rpx; /* 对勾大小30rpx */
color:#007AFF; /* 对勾颜色 白色 */
} }

2
pages/home/info/index.wxml

@ -97,7 +97,7 @@
</wux-cell> </wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='打包机数' bind:click="showDialog"> <wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='打包机数' bind:click="showDialog">
<view slot="header" class="text-gray">打包机数</view> <view slot="header" class="text-gray">打包机数</view>
<view slot="footer" class="{{userInfo.numberOfPackageMachine? 'text-black':'text-gray'}}">{{userInfo.numberOfPackageMachine || '点击修改工厂数'}}</view>
<view slot="footer" class="{{userInfo.numberOfPackageMachine? 'text-black':'text-gray'}}">{{userInfo.numberOfPackageMachine || '点击修改工厂打包机数'}}</view>
</wux-cell> </wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='营业执照' bind:click="toBusinessLicense"> <wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='营业执照' bind:click="toBusinessLicense">

2
pages/home/tab4/index.wxml

@ -23,7 +23,7 @@
<wux-accordion-group title=""> <wux-accordion-group title="">
<checkbox-group bindchange="checkboxChange"> <checkbox-group bindchange="checkboxChange">
<wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}"> <wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}">
<checkbox style="width:100%;margin-top:15rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
<checkbox class="interestthreecheckbox" style="width:100%;margin-top:30rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
</wux-accordion> </wux-accordion>
</checkbox-group> </checkbox-group>
</wux-accordion-group> </wux-accordion-group>

15
pages/home/tab4/index.wxss

@ -61,4 +61,19 @@ page{
color: white; color: white;
font-size: 32rpx; font-size: 32rpx;
margin-left: 32rpx; margin-left: 32rpx;
}
.interestthreecheckbox .wx-checkbox-input {
border-radius: 50%;
width: 40rpx;
height: 40rpx;
}
.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked{
background: white;
border: 1px solid #007AFF;
}
.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked::before{
width: 40rpx;/* 选中后对勾大小 */
height: 40rpx;/* 选中后对勾大小 */
font-size:40rpx; /* 对勾大小30rpx */
color:#007AFF; /* 对勾颜色 白色 */
} }

2
pages/home/tab5/index.wxml

@ -23,7 +23,7 @@
<wux-accordion-group title=""> <wux-accordion-group title="">
<checkbox-group bindchange="checkboxChange"> <checkbox-group bindchange="checkboxChange">
<wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}"> <wux-accordion wx:for="{{ categoryListone }}" wx:key="index" title="{{index+1+'、'+item.categoryName}}">
<checkbox style="width:100%;margin-top:15rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
<checkbox class="interestthreecheckbox" style="width:100%;margin-top:30rpx" wx:for="{{ item.childCategoryDtoList }}" wx:for-item="cell" wx:key="index" value="{{cell.categoryId}}" checked="{{cell.isSelected}}">{{cell.categoryName}}</checkbox>
</wux-accordion> </wux-accordion>
</checkbox-group> </checkbox-group>
</wux-accordion-group> </wux-accordion-group>

15
pages/home/tab5/index.wxss

@ -61,4 +61,19 @@ page{
color: white; color: white;
font-size: 32rpx; font-size: 32rpx;
margin-left: 32rpx; margin-left: 32rpx;
}
.interestthreecheckbox .wx-checkbox-input {
border-radius: 50%;
width: 40rpx;
height: 40rpx;
}
.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked{
background: white;
border: 1px solid #007AFF;
}
.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked::before{
width: 40rpx;/* 选中后对勾大小 */
height: 40rpx;/* 选中后对勾大小 */
font-size:40rpx; /* 对勾大小30rpx */
color:#007AFF; /* 对勾颜色 白色 */
} }
Loading…
Cancel
Save