Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jd-vx-app
Commits
17ef1f66
Commit
17ef1f66
authored
Jan 11, 2023
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片上传到oss,更改省市区的接口
parent
2de581b1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
14 deletions
+14
-14
index.vue
pagesA/pages/mrAct/index.vue
+13
-13
back-index.png
static/act/back-index.png
+0
-0
ok.png
static/act/ok.png
+0
-0
receive-success.png
static/act/receive-success.png
+0
-0
submit_btn.dis.png
static/act/submit_btn.dis.png
+0
-0
submit_btn.png
static/act/submit_btn.png
+0
-0
address-picker.vue
...dress-picker/components/address-picker/address-picker.vue
+1
-1
No files found.
pagesA/pages/mrAct/index.vue
View file @
17ef1f66
...
...
@@ -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
)
},
on
Show
(
)
{
on
Load
(
option
)
{
let
that
=
this
let
token
=
uni
.
getStorageSync
(
'userToken'
)
if
(
token
)
{
...
...
static/act/back-index.png
deleted
100644 → 0
View file @
2de581b1
12 KB
static/act/ok.png
deleted
100644 → 0
View file @
2de581b1
2.29 KB
static/act/receive-success.png
deleted
100644 → 0
View file @
2de581b1
20.3 KB
static/act/submit_btn.dis.png
deleted
100644 → 0
View file @
2de581b1
10.7 KB
static/act/submit_btn.png
deleted
100644 → 0
View file @
2de581b1
13.7 KB
uni_modules/address-picker/components/address-picker/address-picker.vue
View file @
17ef1f66
...
...
@@ -90,7 +90,7 @@
formatData
()
{
let
areaArr
=
[]
this
.
$http
.
request
({
url
:
'http
://jdnc-oss.uzosp
.com/2023/01/11/6348409c2d314217be066020c9556c51.json'
,
url
:
'http
s://nuoche.s3.cn-north-1.jdcloud-oss
.com/2023/01/11/6348409c2d314217be066020c9556c51.json'
,
method
:
'get'
,
data
:{
},
load
:
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment