Browse Source

修复按钮显示位置

master
qb 10 months ago
parent
commit
cb5d364732
  1. 34
      pagesHome/pages/InitiateAfterSalesService/InitiateAfterSalesService.vue
  2. 38
      pagesHome/pages/ParticularsOfCompletion/ParticularsOfCompletion.vue
  3. 34
      pagesHome/pages/ParticularsOfCompletionBySales/ParticularsOfCompletionBySales.vue
  4. 35
      pagesHome/pages/afterSalesDetails/afterSalesDetails.vue
  5. 39
      pagesHome/pages/checkAndAccept/checkAndAccept.vue
  6. 32
      pagesHome/pages/siginIn/siginIn.vue
  7. 2
      pagesUser/pages/changePassword/changePassword.vue

34
pagesHome/pages/InitiateAfterSalesService/InitiateAfterSalesService.vue

@ -110,7 +110,7 @@
</view> </view>
</scroll-view> </scroll-view>
<view class="footer flex-c-c" @click="handleSubmit"> <view class="footer" @click="handleSubmit">
<view class="button subColor"> <view class="button subColor">
</view> </view>
@ -268,7 +268,7 @@
// basicContainer.value.startPullDownRefresh() // basicContainer.value.startPullDownRefresh()
const _height = await utils.getViewDistanceFormTop('.scvmabx') const _height = await utils.getViewDistanceFormTop('.scvmabx')
details.scrollheight = Number(_height.replace('px', '')) - 50 + 'px' details.scrollheight = Number(_height.replace('px', '')) - 100 + 'px'
}) })
const scandata = () => { } const scandata = () => { }
@ -560,10 +560,14 @@
// //
.footer { .footer {
height: 50px; box-sizing: border-box;
height: 100px;
padding-top: 30upx;
display: flex;
justify-content: space-between;
.button { .button {
height: 70%; height: 80upx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -573,11 +577,31 @@
border-radius: 80upx; border-radius: 80upx;
margin: 0 10upx; margin: 0 10upx;
padding: 0 10upx; padding: 0 10upx;
font-size: 0.75rem; font-size: 0.9rem;
font-weight: bold;
&.subColor { &.subColor {
// border-color: var(--subjectColor);
// color: var(--subjectColor);
background-color: var(--subjectColor); background-color: var(--subjectColor);
color: #fff; color: #fff;
border: none;
}
&.primaryColor {
// border-color: var(--primaryColor);
// color: var(--primaryColor);
background-color: var(--primaryColor);
color: #fff;
border: none;
}
&.errColor {
// border-color: var(--errColor);
// color: var(--errColor);
background-color: var(--errColor);
color: #fff;
border: none;
} }
} }
} }

38
pagesHome/pages/ParticularsOfCompletion/ParticularsOfCompletion.vue

@ -102,7 +102,7 @@
</view> </view>
</scroll-view> </scroll-view>
<view class="footer flex-c-c"> <view class="footer">
<!-- <view class="button"> <!-- <view class="button">
保存 保存
</view> --> </view> -->
@ -274,7 +274,7 @@
// basicContainer.value.startPullDownRefresh() // basicContainer.value.startPullDownRefresh()
const _height = await utils.getViewDistanceFormTop('.scvmabx') const _height = await utils.getViewDistanceFormTop('.scvmabx')
details.scrollheight = Number(_height.replace('px', '')) - 50 + 'px' details.scrollheight = Number(_height.replace('px', '')) - 100 + 'px'
if (utils.getObjType(imgPullDownRefList.value) !== 'array') return if (utils.getObjType(imgPullDownRefList.value) !== 'array') return
for (let i = 0; i < imgPullDownRefList.value.length; i++) { for (let i = 0; i < imgPullDownRefList.value.length; i++) {
@ -577,10 +577,14 @@
// //
.footer { .footer {
height: 50px; box-sizing: border-box;
height: 100px;
padding-top: 30upx;
display: flex;
justify-content: space-between;
.button { .button {
height: 70%; height: 80upx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -590,11 +594,31 @@
border-radius: 80upx; border-radius: 80upx;
margin: 0 10upx; margin: 0 10upx;
padding: 0 10upx; padding: 0 10upx;
// font-size: 0.75rem; font-size: 0.9rem;
font-weight: bold;
&.subColor { &.subColor {
border-color: var(--subjectColor); // border-color: var(--subjectColor);
color: var(--subjectColor); // color: var(--subjectColor);
background-color: var(--subjectColor);
color: #fff;
border: none;
}
&.primaryColor {
// border-color: var(--primaryColor);
// color: var(--primaryColor);
background-color: var(--primaryColor);
color: #fff;
border: none;
}
&.errColor {
// border-color: var(--errColor);
// color: var(--errColor);
background-color: var(--errColor);
color: #fff;
border: none;
} }
} }
} }

34
pagesHome/pages/ParticularsOfCompletionBySales/ParticularsOfCompletionBySales.vue

@ -48,7 +48,7 @@
</view> </view>
</scroll-view> </scroll-view>
<view class="footer flex-c-c"> <view class="footer">
<view class="button subColor" @click="handleSubmit"> <view class="button subColor" @click="handleSubmit">
</view> </view>
@ -139,7 +139,7 @@
// basicContainer.value.startPullDownRefresh() // basicContainer.value.startPullDownRefresh()
const _height = await utils.getViewDistanceFormTop('.scvmabx') const _height = await utils.getViewDistanceFormTop('.scvmabx')
details.scrollheight = Number(_height.replace('px', '')) - 50 + 'px' details.scrollheight = Number(_height.replace('px', '')) - 100 + 'px'
}) })
onLoad((e) => { onLoad((e) => {
@ -355,10 +355,14 @@
// //
.footer { .footer {
height: 50px; box-sizing: border-box;
height: 100px;
padding-top: 30upx;
display: flex;
justify-content: space-between;
.button { .button {
height: 70%; height: 80upx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -368,11 +372,31 @@
border-radius: 80upx; border-radius: 80upx;
margin: 0 10upx; margin: 0 10upx;
padding: 0 10upx; padding: 0 10upx;
// font-size: 0.75rem; font-size: 0.9rem;
font-weight: bold;
&.subColor { &.subColor {
// border-color: var(--subjectColor);
// color: var(--subjectColor);
background-color: var(--subjectColor); background-color: var(--subjectColor);
color: #fff; color: #fff;
border: none;
}
&.primaryColor {
// border-color: var(--primaryColor);
// color: var(--primaryColor);
background-color: var(--primaryColor);
color: #fff;
border: none;
}
&.errColor {
// border-color: var(--errColor);
// color: var(--errColor);
background-color: var(--errColor);
color: #fff;
border: none;
} }
} }
} }

35
pagesHome/pages/afterSalesDetails/afterSalesDetails.vue

@ -73,7 +73,7 @@
<DutyList v-show="details.tabbarCode === 4" :pageInfo="details.pageInfo" :info="details.info" /> <DutyList v-show="details.tabbarCode === 4" :pageInfo="details.pageInfo" :info="details.info" />
</scroll-view> </scroll-view>
<view class="footer flex-c-c"> <view class="footer">
<view class="button" v-if="details.buttonPermissionObj.siginBtn" @click="handleSigin"> <view class="button" v-if="details.buttonPermissionObj.siginBtn" @click="handleSigin">
</view> </view>
@ -407,7 +407,7 @@
const _height = await utils.getViewDistanceFormTop('.scvmabx') const _height = await utils.getViewDistanceFormTop('.scvmabx')
details.scrollheight = Number(_height.replace('px', '')) - 50 + 'px' details.scrollheight = Number(_height.replace('px', '')) - 100 + 'px'
}) })
/** 扫描执行回调 */ /** 扫描执行回调 */
@ -623,10 +623,14 @@
// //
.footer { .footer {
height: 50px; box-sizing: border-box;
height: 100px;
padding-top: 30upx;
display: flex;
justify-content: space-between;
.button { .button {
height: 70%; height: 80upx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -636,22 +640,31 @@
border-radius: 80upx; border-radius: 80upx;
margin: 0 10upx; margin: 0 10upx;
padding: 0 10upx; padding: 0 10upx;
font-size: 0.8rem; font-size: 0.9rem;
font-weight: bold; font-weight: bold;
&.subColor { &.subColor {
border-color: var(--subjectColor); // border-color: var(--subjectColor);
color: var(--subjectColor); // color: var(--subjectColor);
background-color: var(--subjectColor);
color: #fff;
border: none;
} }
&.primaryColor { &.primaryColor {
border-color: var(--primaryColor); // border-color: var(--primaryColor);
color: var(--primaryColor); // color: var(--primaryColor);
background-color: var(--primaryColor);
color: #fff;
border: none;
} }
&.errColor { &.errColor {
border-color: var(--errColor); // border-color: var(--errColor);
color: var(--errColor); // color: var(--errColor);
background-color: var(--errColor);
color: #fff;
border: none;
} }
} }
} }

39
pagesHome/pages/checkAndAccept/checkAndAccept.vue

@ -85,7 +85,7 @@
</view> --> </view> -->
</scroll-view> </scroll-view>
<view class="footer flex-c-c"> <view class="footer">
<view class="button" @click="() => handleSubmit(0)"> </view> <view class="button" @click="() => handleSubmit(0)"> </view>
<view class="button subColor" @click="() => handleSubmit(1)"> </view> <view class="button subColor" @click="() => handleSubmit(1)"> </view>
@ -250,7 +250,7 @@
// basicContainer.value.startPullDownRefresh() // basicContainer.value.startPullDownRefresh()
const _height = await utils.getViewDistanceFormTop('.scvmabx') const _height = await utils.getViewDistanceFormTop('.scvmabx')
details.scrollheight = Number(_height.replace('px', '')) - 50 + 'px' details.scrollheight = Number(_height.replace('px', '')) - 100 + 'px'
}) })
const scandata = () => { } const scandata = () => { }
@ -490,10 +490,14 @@
// //
.footer { .footer {
height: 50px; box-sizing: border-box;
height: 100px;
padding-top: 30upx;
display: flex;
justify-content: space-between;
.button { .button {
height: 70%; height: 80upx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -503,14 +507,35 @@
border-radius: 80upx; border-radius: 80upx;
margin: 0 10upx; margin: 0 10upx;
padding: 0 10upx; padding: 0 10upx;
// font-size: 0.75rem; font-size: 0.9rem;
font-weight: bold;
&.subColor { &.subColor {
border-color: var(--subjectColor); // border-color: var(--subjectColor);
color: var(--subjectColor); // color: var(--subjectColor);
background-color: var(--subjectColor);
color: #fff;
border: none;
}
&.primaryColor {
// border-color: var(--primaryColor);
// color: var(--primaryColor);
background-color: var(--primaryColor);
color: #fff;
border: none;
} }
&.errColor {
// border-color: var(--errColor);
// color: var(--errColor);
background-color: var(--errColor);
color: #fff;
border: none;
} }
} }
}
.row { .row {
background-color: #fff; background-color: #fff;

32
pagesHome/pages/siginIn/siginIn.vue

@ -138,7 +138,7 @@
// basicContainer.value.startPullDownRefresh() // basicContainer.value.startPullDownRefresh()
const _height = await utils.getViewDistanceFormTop('.scvmabx') const _height = await utils.getViewDistanceFormTop('.scvmabx')
details.scrollheight = Number(_height.replace('px', '')) - 50 + 'px' details.scrollheight = Number(_height.replace('px', '')) - 100 + 'px'
}) })
onLoad((e) => { onLoad((e) => {
@ -351,10 +351,14 @@
// //
.footer { .footer {
height: 50px; box-sizing: border-box;
height: 100px;
padding-top: 30upx;
display: flex;
justify-content: space-between;
.button { .button {
height: 70%; height: 80upx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -364,11 +368,31 @@
border-radius: 80upx; border-radius: 80upx;
margin: 0 10upx; margin: 0 10upx;
padding: 0 10upx; padding: 0 10upx;
font-size: 0.75rem; font-size: 0.9rem;
font-weight: bold;
&.subColor { &.subColor {
// border-color: var(--subjectColor);
// color: var(--subjectColor);
background-color: var(--subjectColor); background-color: var(--subjectColor);
color: #fff; color: #fff;
border: none;
}
&.primaryColor {
// border-color: var(--primaryColor);
// color: var(--primaryColor);
background-color: var(--primaryColor);
color: #fff;
border: none;
}
&.errColor {
// border-color: var(--errColor);
// color: var(--errColor);
background-color: var(--errColor);
color: #fff;
border: none;
} }
} }
} }

2
pagesUser/pages/changePassword/changePassword.vue

@ -207,7 +207,7 @@
justify-content: space-between; justify-content: space-between;
flex-direction: column; flex-direction: column;
background: #fff; background: #fff;
padding: 100upx 40upx 20upx; padding: 100upx 40upx 60upx;
box-sizing: border-box; box-sizing: border-box;
// //

Loading…
Cancel
Save