Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yongxinda-h5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
yongxinda-h5
Commits
11aa2a17
提交
11aa2a17
authored
4月 24, 2023
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
处理永信达遗留项
上级
6a466f90
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
24 行增加
和
20 行删除
+24
-20
index.vue
src/pages/cart/index.vue
+5
-2
index.vue
src/pages/category/index.vue
+3
-2
index.vue
src/pages/goods/index.vue
+1
-1
index.scss
src/pages/index/index.scss
+1
-1
editQuotation.vue
src/pages/order/editQuotation.vue
+7
-6
orderList.vue
src/pages/order/orderList.vue
+3
-1
quotation.vue
src/pages/order/quotation.vue
+2
-5
index.vue
src/pages/productLine/index.vue
+1
-1
hkw.png
src/static/hkw.png
+0
-0
config.ts
src/utils/config.ts
+1
-1
没有找到文件。
src/pages/cart/index.vue
浏览文件 @
11aa2a17
...
...
@@ -26,7 +26,9 @@
}
: togoods(item)
"
>
<view>
{{ item.goodsName }}
</view>
<!-- <view>{{ item.goodsName }}</view> -->
<view
style=
"margin-bottom: 20rpx;"
>
{{ item.productName ? item.productName : item.goodsName
}}
</view>
<view
class=
"b-tag"
>
<block
v-for=
"(item1, index1) in item.specifications?.length"
:key=
"index1"
>
<u-tag
:text=
"item.specifications[index1]"
type=
"info"
size=
"mini"
...
...
@@ -73,7 +75,8 @@
}
: togoods(item)
"
>
<view>
{{ item.goodsName }}
</view>
<view>
{{ item.productName ? item.productName : item.goodsName
}}
</view>
<view
style=
"color: #ccc; margin-top: 20%;"
>
{{ item.message }}
</view>
...
...
src/pages/category/index.vue
浏览文件 @
11aa2a17
...
...
@@ -26,7 +26,7 @@
<view
class=
"content"
>
<view
class=
"title"
>
<text>
{{
item
.
name
}}
</text>
<text
style=
"color: #646566;"
>
{{
item
.
brief
}}
</text>
<text
style=
"color: #646566;
font-size: 12px; overflow: hidden;
"
>
{{
item
.
brief
}}
</text>
</view>
</view>
</view>
...
...
@@ -163,7 +163,7 @@ const initGoodsList = (data: any) => {
.item-container
{
box-sizing
:
border-box
;
width
:
100%
;
height
:
160rpx
;
//
height: 160rpx;
padding
:
12rpx
0
;
display
:
flex
;
justify-content
:
flex-start
;
...
...
@@ -171,6 +171,7 @@ const initGoodsList = (data: any) => {
border-bottom
:
1rpx
solid
#f5f5f5
;
.content
{
flex
:
1
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
...
...
src/pages/goods/index.vue
浏览文件 @
11aa2a17
...
...
@@ -387,7 +387,7 @@ const initParts = (goodsId: number, productId: number) => {
border-bottom-right-radius
:
30rpx
;
.goods-title
{
font-size
:
16
px
;
font-size
:
28r
px
;
font-weight
:
bold
;
display
:
-
webkit-box
;
word-break
:
break-all
;
...
...
src/pages/index/index.scss
浏览文件 @
11aa2a17
...
...
@@ -40,7 +40,7 @@
margin
:
6rpx
10rpx
;
.goods-title
{
font-size
:
1
6
px
;
font-size
:
1
4
px
;
font-family
:
arial
,
sans-serif
;
display
:
-
webkit-box
;
word-break
:
break-all
;
...
...
src/pages/order/editQuotation.vue
浏览文件 @
11aa2a17
...
...
@@ -57,7 +57,7 @@
</
template
>
<
script
setup
lang=
"ts"
>
import
{
onLoad
}
from
'@dcloudio/uni-app'
;
import
{
onLoad
,
onBackPress
}
from
'@dcloudio/uni-app'
;
import
{
ref
,
computed
,
nextTick
}
from
'vue'
;
import
{
quotationInitAgain
,
fillQuotation
}
from
'@/api/cart'
;
import
{
getTax
}
from
'@/api/index'
;
...
...
@@ -206,11 +206,12 @@ let init = () => {
});
};
// onBackPress((options: any) =>{
// if(options.from === 'navigateBack') {
// return false
// }
// })
onBackPress
((
options
:
any
)
=>
{
let
pages
=
getCurrentPages
();
// 当前页面路由
let
route
=
pages
[
pages
.
length
-
2
].
route
;
// 上一个页面路由
if
(
options
.
from
===
'backbutton'
&&
route
==
'pages/order/quotation'
)
return
uni
.
navigateBack
({
delta
:
4
})
})
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
src/pages/order/orderList.vue
浏览文件 @
11aa2a17
...
...
@@ -29,7 +29,9 @@
"
mode=
"aspectFill"
></image>
</view>
<view
class=
"content"
>
<view
class=
"title u-line-2"
>
{{
item
.
goodsName
}}
</view>
<view
class=
"title u-line-2"
>
{{
item
.
productName
?
item
.
productName
:
item
.
goodsName
}}
</view>
<view
class=
"type"
>
{{
item
.
type
}}
</view>
<view
class=
"content-item"
>
<view
v-for=
"(item1, index1) in item.specifications
...
...
src/pages/order/quotation.vue
浏览文件 @
11aa2a17
...
...
@@ -20,10 +20,9 @@
<view
style=
"display: flex; flex-direction: row; align-items: center; margin-bottom: 10rpx;"
>
<text>
设置含税单价:
</text>
<!--
<u-input
ref=
"inputRef"
type=
"number"
height=
"50"
style=
"width: 200rpx;"
/>
-->
<input
type=
"number"
placeholder=
"请输入含税单价"
v-model=
"item.taxUnitPrice"
@
focus=
"onPriceFocus"
@
blur=
"priceCheck($event, index)"
style=
"width: 200rpx;"
>
style=
"width: 200rpx;
padding: 4rpx 20rpx; border: #9697996e 1rpx solid; border-radius: 12rpx;
"
>
</view>
<view
style=
"display: flex; flex-direction: row; align-items: center; margin-bottom: 10rpx;"
>
...
...
@@ -324,8 +323,6 @@ let priceCheck = (data: any, index: number) => {
}
let
submit
=
()
=>
{
console
.
log
(
detailData
.
value
,
'detailData.value'
);
// 保证单价必填
new
Promise
((
resolve
,
reject
)
=>
{
let
flag
=
true
...
...
@@ -388,7 +385,7 @@ let modelConfirm = () => {
// 点击取消按钮
let
modelCancel
=
()
=>
{
uni
.
reLaunch
({
uni
.
navigateTo
({
url
:
'./editQuotation?orderId='
+
orderId
.
value
})
}
...
...
src/pages/productLine/index.vue
浏览文件 @
11aa2a17
...
...
@@ -814,7 +814,7 @@ let handleEditProductLineData = (editData: any, dataArr?: any[]) => {
editData
.
cartList
.
forEach
((
cart
:
any
)
=>
{
cart
.
map
((
item
:
any
)
=>
{
if
(
JSON
.
stringify
(
item
)
!==
'{}'
)
{
item
[
'name'
]
=
item
.
goodsName
;
item
[
'name'
]
=
item
.
productName
?
item
.
productName
:
item
.
goodsName
;
item
[
'show'
]
=
false
;
item
[
'url'
]
=
item
.
picUrl
;
item
[
'status'
]
=
1
;
...
...
src/static/hkw.png
deleted
100644 → 0
浏览文件 @
6a466f90
17.2 KB
src/utils/config.ts
浏览文件 @
11aa2a17
...
...
@@ -2,7 +2,7 @@ const CONFIG: any = {
// 开发环境配置
development
:
{
assetsPath
:
'http://192.168.60:81'
,
// 静态资源路径
// baseUrl: 'http://192.168.0.
10
:8089', // 后台接口请求地址
// baseUrl: 'http://192.168.0.
8
:8089', // 后台接口请求地址
baseUrl
:
'http://192.168.0.60:81'
,
// 后台接口请求地址
hostUrl
:
'http://192.168.0.60:81'
,
// H5地址(前端运行地址)
websocketUrl
:
''
,
// websocket服务端地址
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论