feat: icon图标处理
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
<view class="actions">
|
||||
<view>
|
||||
<view class="actions-btn" @click.stop="openMap">
|
||||
<text class="actions-icon">📞</text>
|
||||
<uni-icons type="paperplane-filled" size="16" color="#171717" />
|
||||
</view>
|
||||
<text class="actions-text">导航</text>
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<view class="actions-btn" @click.stop="callPhone">
|
||||
<text class="actions-icon">📞</text>
|
||||
<uni-icons type="phone-filled" size="16" color="#171717" />
|
||||
</view>
|
||||
<text class="actions-text">电话</text>
|
||||
</view>
|
||||
|
||||
@@ -23,6 +23,8 @@ export const CompName = {
|
||||
enterLicensePlateCard: "enterLicensePlateCard",
|
||||
// 调查问卷卡片
|
||||
callSurveyQuestionnaire: "callSurveyQuestionnaire",
|
||||
// 打开地图卡片
|
||||
openMapCard: "openMapCard",
|
||||
};
|
||||
|
||||
/// 发送的指令类型
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
<CreateServiceOrder v-else-if="
|
||||
item.toolCall.componentName === CompName.callServiceCard
|
||||
" :toolCall="item.toolCall" />
|
||||
<OpenMapComponent v-else-if="
|
||||
item.toolCall.componentName === CompName.openMapCard
|
||||
" />
|
||||
<Feedback v-else-if="
|
||||
item.toolCall.componentName === CompName.feedbackCard
|
||||
" :toolCall="item.toolCall" />
|
||||
@@ -99,6 +102,7 @@ import ActivityListComponent from "../../module/ActivityListComponent/index.vue"
|
||||
import RecommendPostsComponent from "../../module/RecommendPostsComponent/index.vue";
|
||||
import AttachListComponent from "../../module/AttachListComponent/index.vue";
|
||||
import DetailCardCompontent from "../../module/DetailCardCompontent/index.vue";
|
||||
import OpenMapComponent from "../../module/OpenMapComponent/index.vue";
|
||||
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
|
||||
import Feedback from "@/components/Feedback/index.vue";
|
||||
import AddCarCrad from "@/components/AddCarCrad/index.vue";
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB |
@@ -5,7 +5,7 @@
|
||||
<view class="flex flex-items-center flex-justify-between p-12 border-box" @click="openMap">
|
||||
<view class="rounded-16 p-16 bg-theme-color-50">
|
||||
<view class="w-32 h-32 rounded-full bg-white flex flex-items-center flex-justify-center">
|
||||
<image src="./images/map_icon.png" class="w-16 h-16" />
|
||||
<uni-icons type="location" size="16" color="#171717" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="center ml-12">
|
||||
|
||||
@@ -7,7 +7,7 @@ import { getServiceUrl } from "../api/GetServiceUrlApi";
|
||||
const versionValue = "1.0.4";
|
||||
|
||||
/// 是否是测试版本, 测试版本为true, 发布版本为false
|
||||
const developVersion = false;
|
||||
const developVersion = true;
|
||||
|
||||
// 获取服务地址
|
||||
const getEvnUrl = async () => {
|
||||
|
||||
Reference in New Issue
Block a user