From fcdc7ad20afd068b6565b8ceb7f558de74d305dd Mon Sep 17 00:00:00 2001
From: sx <2427911852@qq.com>
Date: Thu, 20 Feb 2025 15:38:59 +0800
Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E5=8F=91?=
=?UTF-8?q?=E5=B8=83=E5=AF=8C=E6=96=87=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jiuyi2/common/js/config.js | 3 +-
jiuyi2/components/public/apiMixins.js | 0
.../public/click-show-more/index.vue | 93 ------
jiuyi2/components/public/editor/editor.vue | 277 ++++++++++++++++++
.../public/jy-bottom-button/index.vue | 40 ---
.../public/jy-common-head/index.vue | 124 --------
jiuyi2/components/public/jy-fund/index.vue | 41 ---
.../public/jy-order-card/btnGroup.js | 108 -------
.../public/jy-order-card/delivery.vue | 68 -----
.../components/public/jy-order-card/index.vue | 245 ----------------
jiuyi2/components/public/jy-popup/index.vue | 120 --------
.../public/pickerColor/pickerColor.vue | 163 +++++++++++
jiuyi2/pages/release/commodity.vue | 7 +-
jiuyi2/readme.md | 8 +
jiuyi2/vite.config.js | 3 +-
15 files changed, 457 insertions(+), 843 deletions(-)
delete mode 100644 jiuyi2/components/public/apiMixins.js
delete mode 100644 jiuyi2/components/public/click-show-more/index.vue
create mode 100644 jiuyi2/components/public/editor/editor.vue
delete mode 100644 jiuyi2/components/public/jy-bottom-button/index.vue
delete mode 100644 jiuyi2/components/public/jy-common-head/index.vue
delete mode 100644 jiuyi2/components/public/jy-fund/index.vue
delete mode 100644 jiuyi2/components/public/jy-order-card/btnGroup.js
delete mode 100644 jiuyi2/components/public/jy-order-card/delivery.vue
delete mode 100644 jiuyi2/components/public/jy-order-card/index.vue
delete mode 100644 jiuyi2/components/public/jy-popup/index.vue
create mode 100644 jiuyi2/components/public/pickerColor/pickerColor.vue
diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js
index d9448b2f..3176ae4b 100644
--- a/jiuyi2/common/js/config.js
+++ b/jiuyi2/common/js/config.js
@@ -6,7 +6,8 @@ const config = {
// host: 'h5api',
// #endif
// #ifndef H5
- host: 'http://91f.xyz:8080',
+ // host: 'http://91f.xyz:8080',
+ host: 'http://y5fpgf.natappfree.cc',
// #endif
// 支付方式配置
payType: {
diff --git a/jiuyi2/components/public/apiMixins.js b/jiuyi2/components/public/apiMixins.js
deleted file mode 100644
index e69de29b..00000000
diff --git a/jiuyi2/components/public/click-show-more/index.vue b/jiuyi2/components/public/click-show-more/index.vue
deleted file mode 100644
index f29a204f..00000000
--- a/jiuyi2/components/public/click-show-more/index.vue
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
- {{ buttonText }}
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/editor/editor.vue b/jiuyi2/components/public/editor/editor.vue
new file mode 100644
index 00000000..5fe46120
--- /dev/null
+++ b/jiuyi2/components/public/editor/editor.vue
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+ 加粗
+
+ 倾斜
+
+ 下划线
+
+ 删除线
+
+ 左对齐
+
+ 居中
+
+ 右对齐
+
+ 两端对齐
+
+ 清除所有格式
+
+
+ 文本颜色
+
+
+
+
+ 文本背景
+
+
+
+ 数字列表
+
+ 点列表
+
+ 撤销
+
+ 重做
+
+ 增加缩进
+
+ 减少缩进
+
+ 分割线
+
+ 插入图片
+
+ 插入标题
+
+ 下标
+
+ 上标
+
+ 清空内容
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-bottom-button/index.vue b/jiuyi2/components/public/jy-bottom-button/index.vue
deleted file mode 100644
index 9ebc4010..00000000
--- a/jiuyi2/components/public/jy-bottom-button/index.vue
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-common-head/index.vue b/jiuyi2/components/public/jy-common-head/index.vue
deleted file mode 100644
index de65882b..00000000
--- a/jiuyi2/components/public/jy-common-head/index.vue
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-fund/index.vue b/jiuyi2/components/public/jy-fund/index.vue
deleted file mode 100644
index 4e6b2c33..00000000
--- a/jiuyi2/components/public/jy-fund/index.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-order-card/btnGroup.js b/jiuyi2/components/public/jy-order-card/btnGroup.js
deleted file mode 100644
index 930c3b2c..00000000
--- a/jiuyi2/components/public/jy-order-card/btnGroup.js
+++ /dev/null
@@ -1,108 +0,0 @@
-export const btnG = {
- // '1 待付款'
- // '2 待发货'
- // '3 待收货'
- // '4 待评价'
- // '5 售后/退款'
- // '6 已完成'
- // '7 已取消'
-
- //
- user_order: [{
- name: '取消订单',
- type: 'black',
- value: 'cancel_order',
- status: [2]
- },
- {
- name: '继续付款',
- type: 'orange',
- value: 'continue_paying',
- status: [2]
- },
- {
- name: '申请退款',
- type: 'black',
- value: 'refund',
- status: [3, 4, 5]
- },
- {
- name: '崔发货',
- type: 'orange',
- status: [3]
- },
- {
- name: '查看物流',
- type: 'black',
- status: [4]
- }, {
- name: '确认收货',
- type: 'orange',
- status: [4]
- }, {
- name: '评价',
- type: 'orange',
- status: [5]
- }, {
- name: '删除记录',
- type: 'black',
- status: [6]
- }, {
- name: '售后详情',
- type: 'black',
-
- status: [6]
- }, {
- name: '钱款去向',
- type: 'black',
- value: 'money_whereabouts',
- status: [6]
- }, {
- name: '平台介入',
- type: 'orange',
- status: [6]
- }
- ],
- business_order: [{
- name: '改价',
- type: 'orange',
- value: 'change_price',
- status: [2]
- }, {
- name: '发货',
- type: 'orange',
- value: 'delivery',
- status: [3]
- }, {
- name: '拒绝退款',
- type: 'black',
- value: 'refund_refund',
- status: [5]
- }, {
- name: '同意退款',
- type: 'black',
- value: 'agree_refund',
- status: [5]
- }, {
- name: '联系用户',
- type: 'orange',
- value: 'contact_users',
- status: [5]
- }],
- merchandise_control: [{
- name: '上架',
- type: 'black',
- value: 'grounding',
- status: [1]
- }, {
- name: '下架',
- type: 'black',
- value: 'discontinue',
- status: [1]
- }, {
- name: '编辑',
- type: 'orange',
- value: 'edit',
- status: [1]
- }]
-}
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-order-card/delivery.vue b/jiuyi2/components/public/jy-order-card/delivery.vue
deleted file mode 100644
index 239f75dd..00000000
--- a/jiuyi2/components/public/jy-order-card/delivery.vue
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-order-card/index.vue b/jiuyi2/components/public/jy-order-card/index.vue
deleted file mode 100644
index e8e20488..00000000
--- a/jiuyi2/components/public/jy-order-card/index.vue
+++ /dev/null
@@ -1,245 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 应付:
- ¥
- 5.00
-
-
-
-
-
-
-
- 支付剩余时间:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 实收:
- ¥
- 5.00
-
-
-
-
-
-
-
-
-
-
-
-
- 收货地址:
-
-
- 收货地址收货地址收货地址收货地址收货地址收货地址收货地址
-
- 张三 123456789
-
-
-
- 收货地址:
-
- 什么什么原因什么什么原因什么什么原因什么什么原因
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/jy-popup/index.vue b/jiuyi2/components/public/jy-popup/index.vue
deleted file mode 100644
index 9ec07fb6..00000000
--- a/jiuyi2/components/public/jy-popup/index.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jiuyi2/components/public/pickerColor/pickerColor.vue b/jiuyi2/components/public/pickerColor/pickerColor.vue
new file mode 100644
index 00000000..57d1a30a
--- /dev/null
+++ b/jiuyi2/components/public/pickerColor/pickerColor.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+ 颜色值:{{pickerColor}}
+
+ 确定
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jiuyi2/pages/release/commodity.vue b/jiuyi2/pages/release/commodity.vue
index e0dbaf07..82f3559a 100644
--- a/jiuyi2/pages/release/commodity.vue
+++ b/jiuyi2/pages/release/commodity.vue
@@ -12,6 +12,9 @@
import api from '@/api/index.js'
// 工具库
import util from '@/common/js/util.js'
+ // 编辑器
+ import editorArea from '@/components/public/editor/editor'
+
// 表单
const form = reactive({
id: '',
@@ -323,8 +326,8 @@
-
-
+
+
diff --git a/jiuyi2/readme.md b/jiuyi2/readme.md
index 1ae76389..ccd95322 100644
--- a/jiuyi2/readme.md
+++ b/jiuyi2/readme.md
@@ -352,6 +352,14 @@ call_type 通话类型 2为视频,1是音频
子账号不能登录app 并且区分身份标识
+文本
+加粗 倾斜 下划线 删除线 字号加大 字号变小
+左对齐 居中 右对齐 两端对齐
+清除格式 重做 取消重做 清空内容
+字体颜色 字体选背景
+添加日期
+无序列表 数字列表 点列表
+缩进 取消缩进 分割线 标题 反向输入
diff --git a/jiuyi2/vite.config.js b/jiuyi2/vite.config.js
index fc5535df..1ff416be 100644
--- a/jiuyi2/vite.config.js
+++ b/jiuyi2/vite.config.js
@@ -3,7 +3,8 @@ import {
} from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
-let target = 'http://91f.xyz:8080'
+// let target = 'http://91f.xyz:8080'
+let target = 'http://y5fpgf.natappfree.cc'
export default defineConfig({
plugins: [uni()],