Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
9094b810
Commit
9094b810
authored
Aug 06, 2024
by
陈宗胤(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a198b0da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
133 additions
and
32 deletions
+133
-32
main.ts
src/main.ts
+1
-0
ConfirmOrder.vue
src/pages/assistingAgriculture/cart/ConfirmOrder.vue
+30
-6
reviewDetails.vue
...ages/assistingAgriculture/reviewDetails/reviewDetails.vue
+5
-2
detail.vue
src/pages/storeEntry/detail.vue
+97
-24
No files found.
src/main.ts
View file @
9094b810
import
'./.rexma/lib'
;
import
{
createSSRApp
}
from
'vue'
;
import
App
from
'./App.vue'
;
import
store
from
'./store'
;
...
...
src/pages/assistingAgriculture/cart/ConfirmOrder.vue
View file @
9094b810
...
...
@@ -6,9 +6,17 @@
<view
class=
"hypotenuse-view"
></view>
</view>
<view
class=
"location"
>
<img
class=
"location-pic"
src=
"/src/static/assistingAgriculture/assets/location.png"
alt=
""
/>
<img
class=
"location-pic"
src=
"/src/static/assistingAgriculture/assets/location.png"
alt=
""
/>
<view
class=
"location-text"
>
贵州省贵阳市南明区花果园中环广场3号楼 1718
</view>
<img
class=
"location-icon"
src=
"/src/static/assistingAgriculture/assets/right-arrow.png"
alt=
""
/>
<img
class=
"location-icon"
src=
"/src/static/assistingAgriculture/assets/right-arrow.png"
alt=
""
/>
<view
class=
"customer-information"
>
<view
class=
"customer-name"
>
张三
</view>
<view
class=
"customer-phone"
>
187****5632
</view>
...
...
@@ -18,14 +26,22 @@
<text
class=
"send-time"
>
立即送出
</text>
<view
class=
"estimated-time"
>
大约13:45送达
</view>
<view
class=
"estimated-icon"
></view>
<img
class=
"estimated-icon"
src=
"/src/static/assistingAgriculture/assets/right-arrow.png"
alt=
""
/>
<img
class=
"estimated-icon"
src=
"/src/static/assistingAgriculture/assets/right-arrow.png"
alt=
""
/>
</view>
</view>
<view
class=
"commordity-information-view"
>
<view
class=
"trade-name"
>
杨家黄焖鸡
</view>
<view
class=
"commordity-content"
>
<view
class=
"commordity-details"
>
<img
class=
"commodity-picture"
src=
"/src/static/assistingAgriculture/assets/img1.png"
alt=
""
/>
<img
class=
"commodity-picture"
src=
"/src/static/assistingAgriculture/assets/img1.png"
alt=
""
/>
<view
class=
"commodity-name"
>
招牌黄焖鸡+米饭(土豆+生菜)
</view>
<view
class=
"price-information"
>
<text
class=
"price-symbol"
>
¥
</text>
...
...
@@ -35,7 +51,11 @@
<view
class=
"label"
>
约1000克
</view>
</view>
<view
class=
"commordity-details"
>
<img
class=
"commodity-picture"
src=
"/src/static/assistingAgriculture/assets/img1.png"
alt=
""
/>
<img
class=
"commodity-picture"
src=
"/src/static/assistingAgriculture/assets/img1.png"
alt=
""
/>
<view
class=
"commodity-name"
>
招牌黄焖鸡+米饭(土豆+生菜)
</view>
<view
class=
"price-information"
>
<text
class=
"price-symbol"
>
¥
</text>
...
...
@@ -50,7 +70,11 @@
<view
class=
"discount-coupon"
>
卷
</view>
<view
class=
"discount-coupon-text"
>
商家优惠券
</view>
<view
class=
"discount-coupon-price"
>
¥0
</view>
<img
class=
"discount-coupon-icon"
src=
"/src/static/assistingAgriculture/assets/right-arrow.png"
alt=
""
/>
<img
class=
"discount-coupon-icon"
src=
"/src/static/assistingAgriculture/assets/right-arrow.png"
alt=
""
/>
</view>
</view>
<view
class=
"freight-view"
>
...
...
src/pages/assistingAgriculture/reviewDetails/reviewDetails.vue
View file @
9094b810
...
...
@@ -22,7 +22,10 @@
<view
class=
"revuew-content"
>
<view
class=
"user-info"
>
<view
class=
"info-content"
>
<image
src=
"@/static/reviewDetails/avatar.png"
mode=
"aspectFill"
></image>
<image
src=
"@/static/assistingAgriculture/reviewDetails/avatar.png"
mode=
"aspectFill"
></image>
<view
class=
"text-box"
>
<text
class=
"user-name"
>
不爱吃鱼的小猫咪
</text>
<text
class=
"fb-time"
>
2024-08-03
</text>
...
...
@@ -39,7 +42,7 @@
</text>
</view>
<view
class=
"scenic-spot"
>
<image
src=
"@/static/reviewDetails/fj.png"
mode=
"aspectFill"
></image>
<image
src=
"@/static/
assistingAgriculture/
reviewDetails/fj.png"
mode=
"aspectFill"
></image>
<view
class=
"scenic-area-details"
>
<text
class=
"scenic-name"
>
红枫湖+青岩古镇+云漫湖
</text>
<text
class=
"scenic-type"
>
自然风景
</text>
...
...
src/pages/storeEntry/detail.vue
View file @
9094b810
...
...
@@ -5,45 +5,117 @@
<view
class=
"formmain"
>
<wd-form
ref=
"form"
:model=
"formData"
:rules=
"rules"
>
<wd-cell-group
border
>
<wd-picker
label=
"店铺类型"
placeholder=
"请选择店铺类型"
label-width=
"100px"
prop=
"promotion"
v-model=
"formData.promotion"
:columns=
"promotionlist"
/>
<wd-input
label=
"店铺名称"
label-width=
"100px"
prop=
"xm"
clearable
v-model=
"formData.xm"
placeholder=
"请输入店铺名称"
/>
<wd-input
label=
"联系电话"
label-width=
"100px"
prop=
"sjh"
clearable
v-model=
"formData.sjh"
placeholder=
"请输入联系电话"
/>
<wd-input
label=
"所在地区"
label-width=
"100px"
v-model=
"formData.szdq"
prop=
"szdq"
readonly
placeholder=
"请选择所在地区"
@
click=
"getLocationFn"
/>
<wd-input
label=
"详细地址"
label-width=
"100px"
prop=
"xxdz"
clearable
v-model=
"formData.xm"
placeholder=
"请输入详细地址"
/>
<wd-input
label=
"小区/学校"
label-width=
"100px"
v-model=
"formData.szdq"
prop=
"szdq"
readonly
placeholder=
"请选择"
@
click=
"getLocationFn"
/>
<wd-picker
label=
"店铺类型"
placeholder=
"请选择店铺类型"
label-width=
"100px"
prop=
"promotion"
v-model=
"formData.promotion"
:columns=
"promotionlist"
/>
<wd-input
label=
"店铺名称"
label-width=
"100px"
prop=
"xm"
clearable
v-model=
"formData.xm"
placeholder=
"请输入店铺名称"
/>
<wd-input
label=
"联系电话"
label-width=
"100px"
prop=
"sjh"
clearable
v-model=
"formData.sjh"
placeholder=
"请输入联系电话"
/>
<wd-input
label=
"所在地区"
label-width=
"100px"
v-model=
"formData.szdq"
prop=
"szdq"
readonly
placeholder=
"请选择所在地区"
@
click=
"getLocationFn"
/>
<wd-input
label=
"详细地址"
label-width=
"100px"
prop=
"xxdz"
clearable
v-model=
"formData.xm"
placeholder=
"请输入详细地址"
/>
<wd-input
label=
"小区/学校"
label-width=
"100px"
v-model=
"formData.szdq"
prop=
"szdq"
readonly
placeholder=
"请选择"
@
click=
"getLocationFn"
/>
<view
class=
"flex"
>
<view
class=
"logo"
>
LOGO/门头照
</view>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
</view>
<view
class=
"flex"
>
<view
class=
"logo"
>
营业执照
</view>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
</view>
<view
class=
"flex"
>
<view
class=
"logo"
>
身份证照
</view>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
<wd-upload
:file-list=
"fileList1"
image-mode=
"aspectFill"
:action=
"action"
@
change=
"handleChange1"
:limit=
"1"
class=
"img1"
></wd-upload>
</view>
<view
class=
"flex"
>
<view
class=
"logo"
>
店铺分类
</view>
<view
class=
"text"
@
click=
"showclass"
>
请选择
</view>
</view>
<wd-textarea
placeholder=
"请填写评价"
label=
"店铺介绍"
label-width=
"100px"
v-model=
"formData.szdq"
prop=
"szdq"
/>
<wd-textarea
placeholder=
"请填写评价"
label=
"店铺介绍"
label-width=
"100px"
v-model=
"formData.szdq"
prop=
"szdq"
/>
<button
type=
"primary"
style=
"width: 80%"
>
提交
</button>
</wd-cell-group>
<wd-popup
v-model=
"show"
position=
"bottom"
custom-style=
"height:300px;overflow:auto;"
@
close=
"handleClose"
>
<wd-popup
v-model=
"show"
position=
"bottom"
custom-style=
"height:300px;overflow:auto;"
@
close=
"handleClose"
>
<view
class=
"hcontent"
>
<view
class=
"flex1"
>
<view
class=
"text"
>
取消
</view>
...
...
@@ -231,7 +303,8 @@ page {
.flex
{
display
:
flex
;
align-items
:
flex-start
;
padding
:
var
(
--
wot-input-cell-padding
,
10px
)
var
(
--
wot-input-padding
,
var
(
--
wot-size-side-padding
,
15px
));
padding
:
var
(
--
wot-input-cell-padding
,
10px
)
var
(
--
wot-input-padding
,
var
(
--
wot-size-side-padding
,
15px
));
background-color
:
var
(
--
wot-input-cell-bg
,
var
(
--
wot-color-white
,
rgb
(
255
,
255
,
255
)));
.text
{
...
...
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