feat: 优化部分页面

dev_1.0.1
hu-qi 5 months ago
parent c51d0fbd4c
commit 7601e45078
Signed by: huqi
GPG Key ID: B66F8F763A3A3251

@ -166,17 +166,21 @@
position: fixed; position: fixed;
left: 30upx; left: 30upx;
right: 30upx; right: 30upx;
bottom: 16upx; bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
/* bottom: 16upx; */
width: 100vw;
height: 100vh;
z-index: 95; z-index: 95;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 690upx; width: 640upx;
height: 80upx; height: 80upx;
font-size: 32upx; font-size: 32upx;
color: #fff; color: #fff;
background-color: $base-color; background-color: #CC342D;
border-radius: 10upx; border-radius: 50upx;
box-shadow: 1px 2px 5px rgba(219, 63, 96, 0.4);
} }
</style> </style>

@ -21,11 +21,14 @@
</view> --> </view> -->
<view class="row b-b"> <view class="row b-b">
<text class="tit">收货地区</text> <text class="tit">收货地区</text>
<input class="input" type="text" v-model="addressData.prefixAddress" placeholder="省市区县 乡镇" placeholder-class="placeholder" /> <input class="input" type="text" v-model="addressData.prefixAddress" placeholder="省市区县乡镇" placeholder-class="placeholder" />
</view> </view>
<view class="row b-b"> <view class="row b-b">
<text class="tit">详细地址</text> <text class="tit">详细地址</text>
<input class="input" type="text" v-model="addressData.detailAddress" placeholder="街道 楼牌号" placeholder-class="placeholder" /> <input class="input" type="text" v-model="addressData.detailAddress" placeholder="街道、楼牌号" placeholder-class="placeholder" />
</view>
<view class="row b-b">
<input class="input" type="textarea" v-model="content" placeholder="粘贴收货人、手机号、收货地址信息" placeholder-class="placeholder" />
</view> </view>
<view class="row default-row"> <view class="row default-row">
@ -56,7 +59,8 @@
city: '', city: '',
region: '', region: '',
prefixAddress: '' prefixAddress: ''
} },
content: '',
} }
}, },
onLoad(option) { onLoad(option) {

@ -204,7 +204,7 @@
switch (code) { switch (code) {
case 'myOrders': case 'myOrders':
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/order' url: '/pages/order/order?state=0'
}) })
break; break;
case 'collections': case 'collections':

@ -421,8 +421,8 @@
.goods-img { .goods-img {
display: block; display: block;
width: 120upx; width: 192upx;
height: 120upx; height: 192upx;
} }
.right { .right {
@ -431,6 +431,7 @@
flex-direction: column; flex-direction: column;
padding: 0 30upx 0 24upx; padding: 0 30upx 0 24upx;
overflow: hidden; overflow: hidden;
position: relative;
.title { .title {
font-size: $font-base + 2upx; font-size: $font-base + 2upx;
@ -447,6 +448,9 @@
.price { .price {
font-size: $font-base + 2upx; font-size: $font-base + 2upx;
color: $font-color-dark; color: $font-color-dark;
position: absolute;
left: 24upx;
bottom: 0;
&:before { &:before {
content: '¥'; content: '¥';

@ -9,7 +9,7 @@
<view class="tips_text">{{tips.text}} {{data.area}} {{data.mobile}}</view> <view class="tips_text">{{tips.text}} {{data.area}} {{data.mobile}}</view>
</view> </view>
<view class="numBox"> <view class="numBox">
<uni-code-input v-model="data.mobileCheckCode" mode="line" :space="12" :focus="true" borderColor="rgba(0, 0, 0, 0.1)" <uni-code-input v-model="data.mobileCheckCode" mode="line" :size="88" :fontSize="48" :space="24" :focus="true" color="rgba(0, 0, 0, 0.2)" borderColor="rgba(0, 0, 0, 0.1)"
hairline :maxlength="6" @finish="finish"></uni-code-input> hairline :maxlength="6" @finish="finish"></uni-code-input>
</view> </view>
<view class="cutdownBox"> <view class="cutdownBox">
@ -23,13 +23,11 @@
</template> </template>
<script> <script>
// import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
import uniCodeInput from '@/components/uni-code-input/uni-code-input.vue'; import uniCodeInput from '@/components/uni-code-input/uni-code-input.vue';
export default { export default {
name: 'CheckCode', name: 'CheckCode',
components: { components: {
uniCodeInput uniCodeInput
// uniLoadMore
}, },
data() { data() {
return { return {

@ -72,7 +72,7 @@
// //
isRead: false, isRead: false,
// //
isShowCode: false, isShowCode: true,
// //
isLogining: false, isLogining: false,
// //

@ -77,6 +77,7 @@ http.interceptor.response((response) => {
} }
} }
}); });
uni.setStorageSync('token', '')
} }
return Promise.reject(response); return Promise.reject(response);
} else { } else {

Loading…
Cancel
Save