Commit 17ef1f66 authored by 肖健's avatar 肖健

图片上传到oss,更改省市区的接口

parent 2de581b1
......@@ -33,39 +33,39 @@
<view>
<u--form labelPosition="left" errorType="toast" :labelStyle="{'fontSize': '30rpx', color : '#fff'}" labelWidth="200rpx" :model="actInfo" :rules="rules" ref="form1">
<u-form-item label="收货人:" prop="userName">
<u--input v-model="actInfo.userName" fontSize="28rpx" color="#fff" maxlength="50" border="none" inputAlign="right"></u--input>
<u--input v-model="actInfo.userName" placeholder="请输入" placeholderStyle="color:rgba(255,225,255,.6)" fontSize="28rpx" color="#fff" maxlength="50" border="none" inputAlign="right"></u--input>
</u-form-item>
<u-line color="rgba(255,225,255,.1)"></u-line>
<u-form-item label="收货电话:" prop="telNumber">
<u--input v-model="actInfo.telNumber" fontSize="28rpx" color="#fff" maxlength="20" border="none" inputAlign="right"></u--input>
<u--input v-model="actInfo.telNumber" placeholder="请输入" placeholderStyle="color:rgba(255,225,255,.6)" fontSize="28rpx" color="#fff" maxlength="20" border="none" inputAlign="right"></u--input>
</u-form-item>
<u-line color="rgba(255,225,255,.1)"></u-line>
<u-form-item label="收货地址:" prop="address">
<u--input v-model="actInfo.address" fontSize="28rpx" color="#fff" @tap="chooseAddress" placeholder="省/市/区" disabled disabledColor="transparent"
<u--input v-model="actInfo.address" fontSize="28rpx" color="#fff" placeholderStyle="color:rgba(255,225,255,.6)" @tap="chooseAddress" placeholder="省/市/区" disabled disabledColor="transparent"
border="none" inputAlign="right"></u--input>
<u-icon slot="right" name="arrow-right" color="#fff" @tap="chooseAddress"></u-icon>
</u-form-item>
<u-line color="rgba(255,225,255,.1)"></u-line>
<u-form-item label="详细地址:" prop="detailInfo">
<u--input v-model="actInfo.detailInfo" fontSize="28rpx" color="#fff" maxlength="100" border="none" inputAlign="right"></u--input>
<u--input v-model="actInfo.detailInfo" placeholder="请输入" placeholderStyle="color:rgba(255,225,255,.6)" fontSize="28rpx" color="#fff" maxlength="100" border="none" inputAlign="right"></u--input>
</u-form-item>
<u-line color="rgba(255,225,255,.1)"></u-line>
<u-form-item label="验证码:" prop="smsCode">
<u--input v-model="actInfo.smsCode" type="number" fontSize="28rpx" color="#fff" maxlength="6" border="none" inputAlign="right"></u--input>
<u--input v-model="actInfo.smsCode" placeholder="请输入" placeholderStyle="color:rgba(255,225,255,.6)" type="number" fontSize="28rpx" color="#fff" maxlength="6" border="none" inputAlign="right"></u--input>
<view slot="right" style="margin-left: 20rpx;border-left: 2rpx solid rgba(255,225,255,.1);padding-left:20rpx;">
<text style="font-size:28rpx;color:#fff" @tap="getCode">{{tips}}</text>
</view>
</u-form-item>
</u--form>
<view style="margin-top: 38rpx;display: flex; justify-content: center;">
<view v-if="!disabledSubmit" style="background: url('../../../static/act/submit_btn.png') no-repeat; background-size: 100% 100%; width: 481rpx; height: 120rpx;"
<view v-if="!disabledSubmit" style="background: url('http://jdnc-oss.uzosp.com/2023/01/11/6ca8d901b4654bfaaeb6c43e64010b9e.png') no-repeat; background-size: 100% 100%; width: 481rpx; height: 120rpx;"
@click="submitAct">
<view style="display: flex;justify-content: center;align-items: center;height: 120rpx; width: 481rpx;position: relative; top:-6rpx;">
<text style="font-size: 38rpx;color:#8E3B09;font-weight: bold;line-height: 42rpx;">立即领取</text>
<image src="@/static/act/arrow-right.png" style="width:18rpx;height:28rpx; margin-left: 20rpx;"></image>
</view>
</view>
<view v-if="disabledSubmit" style="background: url('../../../static/act/submit_btn.dis.png') no-repeat; background-size: 100% 100%; width: 481rpx; height: 120rpx;"
<view v-if="disabledSubmit" style="background: url('http://jdnc-oss.uzosp.com/2023/01/11/d9d70d0127e5424a9f9d51918b50d750.png') no-repeat; background-size: 100% 100%; width: 481rpx; height: 120rpx;"
@click="submitAct">
<view style="display: flex;justify-content: center;align-items: center;height: 120rpx; width: 481rpx;position: relative; top:-6rpx;">
<text style="font-size: 38rpx;color:#8E3B09; opacity: 0.3; font-weight: bold;line-height: 42rpx;">立即领取</text>
......@@ -150,15 +150,15 @@
</u-popup>
<!-- 领取成功 -->
<u-popup :show="receiveSuccessShow" mode="center" bgColor="transparent" @close="receiveSuccessShow = false">
<view style="width: 522rpx; height: 396rpx;background: url('../../../static/act/receive-success.png') no-repeat; background-size: 100% 100%;">
<view style="margin: 18rpx auto 13rpx auto ;width: 72rpx; height: 72rpx;background: url('../../../static/act/ok.png') no-repeat; background-size: 100% 100%;"></view>
<view style="width: 522rpx; height: 396rpx;background: url('http://jdnc-oss.uzosp.com/2023/01/11/fc7e706ce66f46acb680e09de82a086b.png') no-repeat; background-size: 100% 100%;">
<view style="margin: 18rpx auto 13rpx auto ;width: 72rpx; height: 72rpx;background: url('http://jdnc-oss.uzosp.com/2023/01/11/c564e7113fe2445cb526f4d6a9947fe5.png') no-repeat; background-size: 100% 100%;"></view>
<view style="text-align: center;">
<text style="color:#E62929;font-size: 36rpx;line-height: 36rpx;font-weight: bold;">领取成功</text>
</view>
<view style="margin: 12rpx auto 0 auto;width:380rpx;text-align: center;">
<text style="font-weight: 400;color: #620F0F;font-size: 24rpx;">您已经免费领取京东汽车挪车牌,正在为您派送中,请耐心等待。</text>
</view>
<view @click="goToIndex" style="margin: 12rpx auto 0 auto;width: 398rpx; height: 108rpx;background: url('../../../static/act/back-index.png') no-repeat; background-size: 100% 100%;">
<view @click="goToIndex" style="margin: 12rpx auto 0 auto;width: 398rpx; height: 108rpx;background: url('http://jdnc-oss.uzosp.com/2023/01/11/95802c8a6b594f648b826a93bf83d2c2.png') no-repeat; background-size: 100% 100%;">
<view style="display: flex;justify-content: center;align-items: center;height: 108rpx;position: relative; top:-6rpx">
<text style="font-size: 32rpx;color:#8E3B09;text-shadow: 0px 4px 8px rgba(146,66,25,0.27); font-weight: bold;line-height: 36rpx;">返回首页</text>
</view>
......@@ -167,7 +167,7 @@
</u-popup>
<!-- 已经领取 -->
<u-popup :show="receivedFailShow" mode="center" bgColor="transparent" @close="receivedFailShow = false">
<view style="width: 522rpx; height: 396rpx;background: url('../../../static/act/receive-success.png') no-repeat; background-size: 100% 100%;position: relative;">
<view style="width: 522rpx; height: 396rpx;background: url('http://jdnc-oss.uzosp.com/2023/01/11/fc7e706ce66f46acb680e09de82a086b.png') no-repeat; background-size: 100% 100%;position: relative;">
<view style="text-align: center;margin-top: 30rpx;">
<text style="color:#620F0F;font-size: 36rpx;line-height: 36rpx;font-weight: 500;">温馨提示</text>
</view>
......@@ -175,7 +175,7 @@
<text style="font-weight: 400;color: #620F0F;font-size: 24rpx;">{{ alreadyMsg}}</text>
</view>
<view style="position: absolute; bottom: 52rpx; width: 100%;">
<view @click="closeReceivedFail" style="margin:0 auto;width: 398rpx; height: 108rpx;background: url('../../../static/act/back-index.png') no-repeat; background-size: 100% 100%;">
<view @click="closeReceivedFail" style="margin:0 auto;width: 398rpx; height: 108rpx;background: url('http://jdnc-oss.uzosp.com/2023/01/11/95802c8a6b594f648b826a93bf83d2c2.png') no-repeat; background-size: 100% 100%;">
<view style="display: flex;justify-content: center;align-items: center;height: 108rpx;position: relative; top:-6rpx">
<text style="font-size: 32rpx;color:#8E3B09;text-shadow: 0px 4px 8px rgba(146,66,25,0.27); font-weight: bold;line-height: 36rpx;">知道了</text>
</view>
......@@ -525,7 +525,7 @@ export default {
onReady() {
this.$refs.form1.setRules(this.rules)
},
onShow() {
onLoad(option) {
let that = this
let token = uni.getStorageSync('userToken')
if(token) {
......
......@@ -90,7 +90,7 @@
formatData() {
let areaArr = []
this.$http.request({
url:'http://jdnc-oss.uzosp.com/2023/01/11/6348409c2d314217be066020c9556c51.json',
url:'https://nuoche.s3.cn-north-1.jdcloud-oss.com/2023/01/11/6348409c2d314217be066020c9556c51.json',
method:'get',
data:{ },
load:false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment