feat: 开关操作详情页

This commit is contained in:
niushuai233 2022-10-19 13:53:35 +08:00
parent de1b25d8a4
commit b253a862fb
13 changed files with 211 additions and 41 deletions

View File

@ -1,6 +1,5 @@
package cc.niushuai.project.devcontrol; package cc.niushuai.project.devcontrol;
import android.content.Context;
import android.os.Bundle; import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;

View File

@ -4,6 +4,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import cc.niushuai.project.devcontrol.base.enums.DeviceTypeEnum; import cc.niushuai.project.devcontrol.base.enums.DeviceTypeEnum;
import cc.niushuai.project.devcontrol.base.enums.OnOffEnum;
import cc.niushuai.project.devcontrol.base.util.GlobalVariables;
import cn.hutool.core.util.IdUtil; import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
@ -30,6 +32,11 @@ public class DeviceInfo {
*/ */
private DeviceTypeEnum type; private DeviceTypeEnum type;
/**
* 开关状态
*/
private OnOffEnum onOff;
/** /**
* 设备描述信息 * 设备描述信息
*/ */
@ -80,6 +87,14 @@ public class DeviceInfo {
this.type = type; this.type = type;
} }
public OnOffEnum getOnOff() {
return onOff;
}
public void setOnOff(OnOffEnum onOff) {
this.onOff = onOff;
}
public String getDescription() { public String getDescription() {
return description; return description;
} }
@ -134,9 +149,12 @@ public class DeviceInfo {
device.setIconId(iconId); device.setIconId(iconId);
device.setDescription("卧室灯开关-树莓派"); device.setDescription("卧室灯开关-树莓派");
device.setType(DeviceTypeEnum.Switch); device.setType(DeviceTypeEnum.Switch);
device.setOnOff(OnOffEnum.OFF);
device.setCommandPath("/path/file"); device.setCommandPath("/path/file");
device.setCommandArgs("-c light -t 1"); device.setCommandArgs("-c light -t 1");
list.add(device); list.add(device);
GlobalVariables.DEVICE_INFO_MAP.put(device.getId(), device);
} }
return list; return list;

View File

@ -0,0 +1,6 @@
package cc.niushuai.project.devcontrol.base.enums;
public enum OnOffEnum {
ON, OFF;
}

View File

@ -0,0 +1,17 @@
package cc.niushuai.project.devcontrol.base.util;
import java.util.HashMap;
import java.util.Map;
import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo;
public class GlobalVariables {
/**
* 全部设备列表map
* id为key elem为value
*/
public static final Map<String, DeviceInfo> DEVICE_INFO_MAP = new HashMap<>(16);
}

View File

@ -0,0 +1,6 @@
package cc.niushuai.project.devcontrol.base.util;
public interface Keys {
String ID = "id";
}

View File

@ -1,13 +1,23 @@
package cc.niushuai.project.devcontrol.ui.device; package cc.niushuai.project.devcontrol.ui.device;
import android.os.Bundle; import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatImageView;
import cc.niushuai.project.devcontrol.R;
import cc.niushuai.project.devcontrol.base.activity.BaseActivity; import cc.niushuai.project.devcontrol.base.activity.BaseActivity;
import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo;
import cc.niushuai.project.devcontrol.base.enums.OnOffEnum;
import cc.niushuai.project.devcontrol.base.util.GlobalVariables;
import cc.niushuai.project.devcontrol.base.util.Keys;
import cc.niushuai.project.devcontrol.databinding.DeviceActivityBinding; import cc.niushuai.project.devcontrol.databinding.DeviceActivityBinding;
public class DeviceActivity extends BaseActivity { public class DeviceActivity extends BaseActivity {
private DeviceActivityBinding binding; private DeviceActivityBinding binding;
private DeviceInfo device;
@Override @Override
public void onCreate(Bundle savedInstanceState) { public void onCreate(Bundle savedInstanceState) {
@ -17,5 +27,73 @@ public class DeviceActivity extends BaseActivity {
binding = DeviceActivityBinding.inflate(getLayoutInflater()); binding = DeviceActivityBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot()); setContentView(binding.getRoot());
// 初始化页面数据
init();
// 添加点击事件
addListener();
} }
/**
* 初始化页面数据
*
* @author niushuai
* @date: 2022/10/19 11:18
*/
public void init() {
String deviceId = getIntent().getStringExtra(Keys.ID);
DeviceInfo data = GlobalVariables.DEVICE_INFO_MAP.get(deviceId);
if (null != data) {
this.device = data;
// 标题名称
TextView titleTextView = findViewById(R.id.device_activity_title_name);
titleTextView.setText(device.getName());
// 副标题名称
TextView descTextView = findViewById(R.id.device_activity_title_description);
descTextView.setText(device.getDescription());
// 开关底部的名称
TextView contentTextTextView = findViewById(R.id.device_activity_content_text);
contentTextTextView.setText(device.getName());
}
}
/**
* 添加点击事件
*
* @author niushuai
* @date: 2022/10/19 11:49
*/
private void addListener() {
binding.deviceActivityContentSwitch.setOnClickListener(this::switchClickListener);
}
/**
* 开关点击事件处理
*
* @param view 开关view
* @author niushuai
* @date: 2022/10/19 11:52
*/
private void switchClickListener(View view) {
AppCompatImageView appCompatImageView = (AppCompatImageView) view;
int switchImageId, iconImageId;
if (OnOffEnum.OFF.equals(device.getOnOff())) {
device.setOnOff(OnOffEnum.ON);
switchImageId = R.drawable.img_switch_open;
iconImageId = R.drawable.ic_device_light_1_on;
} else {
device.setOnOff(OnOffEnum.OFF);
switchImageId = R.drawable.img_switch_close;
iconImageId = R.drawable.ic_device_light_1_close;
}
appCompatImageView.setImageResource(switchImageId);
((AppCompatImageView) findViewById(R.id.device_activity_content_icon)).setImageResource(iconImageId);
}
} }

View File

@ -0,0 +1,22 @@
package cc.niushuai.project.devcontrol.ui.device;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo;
public class DeviceViewModel extends ViewModel {
private MutableLiveData<DeviceInfo> deviceInfo;
public DeviceViewModel() {
}
public MutableLiveData<DeviceInfo> getDeviceInfo() {
return deviceInfo;
}
public void setDeviceInfo(MutableLiveData<DeviceInfo> deviceInfo) {
this.deviceInfo = deviceInfo;
}
}

View File

@ -22,6 +22,7 @@ import java.util.List;
import cc.niushuai.project.devcontrol.R; import cc.niushuai.project.devcontrol.R;
import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo; import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo;
import cc.niushuai.project.devcontrol.base.util.Keys;
import cc.niushuai.project.devcontrol.databinding.DeviceItemBinding; import cc.niushuai.project.devcontrol.databinding.DeviceItemBinding;
import cc.niushuai.project.devcontrol.databinding.MainNavFragmentDeviceBinding; import cc.niushuai.project.devcontrol.databinding.MainNavFragmentDeviceBinding;
import cc.niushuai.project.devcontrol.ui.device.DeviceActivity; import cc.niushuai.project.devcontrol.ui.device.DeviceActivity;
@ -63,19 +64,7 @@ public class NavDeviceFragment extends Fragment {
GridView deviceGv = deviceBinding.deviceGv; GridView deviceGv = deviceBinding.deviceGv;
deviceGv.setSelector(new ColorDrawable(Color.TRANSPARENT)); deviceGv.setSelector(new ColorDrawable(Color.TRANSPARENT));
deviceGv.setOnItemClickListener(new AdapterView.OnItemClickListener() { deviceGv.setOnItemClickListener(this::onItemClick);
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
View text = view.findViewById(R.id.device_item_cardView_id);
String x = ";";
if (text != null) {
x = ((TextView) text).getText().toString();
}
Toast.makeText(getContext(), "Item Clicked" + x, Toast.LENGTH_SHORT).show();
startActivity(new Intent(getActivity(), DeviceActivity.class));
}
});
// SimpleAdapter gvAdapter = new SimpleAdapter(getContext(), dataItem, R.layout.device_item, // SimpleAdapter gvAdapter = new SimpleAdapter(getContext(), dataItem, R.layout.device_item,
// new String[]{"device_item_cardView_text"}, new int[]{R.id.device_item_cardView_text}); // new String[]{"device_item_cardView_text"}, new int[]{R.id.device_item_cardView_text});
@ -115,10 +104,29 @@ public class NavDeviceFragment extends Fragment {
return gvData; return gvData;
} }
/**
* 条目点击事件
*
* @param parent 父view
* @param view 被点击的view
* @param position 当前view中的位置顺序
* @param id 组件id
* @author niushuai
* @date: 2022/10/19 11:13
*/
private void onItemClick(AdapterView<?> parent, View view, int position, long id) {
TextView textId = view.findViewById(R.id.device_item_cardView_id);
Intent intent = new Intent(getActivity(), DeviceActivity.class);
intent.putExtra(Keys.ID, textId.getText());
startActivity(intent);
}
@Override @Override
public void onDestroyView() { public void onDestroyView() {
super.onDestroyView(); super.onDestroyView();
deviceBinding = null; deviceBinding = null;
deviceItemBinding = null; deviceItemBinding = null;
} }
} }

View File

@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="32dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:pathData="M512,196.92c15.75,0 29.54,-13.78 29.54,-29.54v-118.15c0,-15.75 -13.78,-29.54 -29.54,-29.54s-29.54,13.78 -29.54,29.54v118.15c0,15.75 13.78,29.54 29.54,29.54zM659.69,580.92c-15.75,0 -29.54,13.78 -29.54,29.54 0,64.98 -53.17,118.15 -118.15,118.15s-118.15,-53.17 -118.15,-118.15c0,-15.75 -13.78,-29.54 -29.54,-29.54S334.77,594.71 334.77,610.46c0,98.46 78.77,177.23 177.23,177.23s177.23,-78.77 177.23,-177.23c0,-15.75 -13.78,-29.54 -29.54,-29.54zM224.49,732.55l-51.2,29.54c-13.78,7.88 -19.69,25.6 -9.85,39.38 7.88,13.78 25.6,19.69 39.38,9.85l51.2,-29.54c13.78,-7.88 19.69,-25.6 9.85,-39.38 -7.88,-13.78 -25.6,-17.72 -39.38,-9.85zM850.71,762.09l-51.2,-29.54c-13.78,-7.88 -31.51,-3.94 -39.38,9.85 -7.88,13.78 -3.94,31.51 9.85,39.38l51.2,29.54c13.78,7.88 31.51,3.94 39.38,-9.85 9.85,-13.78 3.94,-31.51 -9.85,-39.38zM370.22,846.77c-13.78,-7.88 -31.51,-3.94 -39.38,9.85l-29.54,51.2c-7.88,13.78 -3.94,31.51 9.85,39.38 13.78,7.88 31.51,3.94 39.38,-9.85l29.54,-51.2c7.88,-11.82 3.94,-29.54 -9.85,-39.38zM695.14,858.58c-7.88,-13.78 -25.6,-19.69 -39.38,-9.85 -13.78,7.88 -19.69,25.6 -9.85,39.38l29.54,51.2c7.88,13.78 25.6,19.69 39.38,9.85 13.78,-7.88 19.69,-25.6 9.85,-39.38l-29.54,-51.2zM512,886.15c-15.75,0 -29.54,13.78 -29.54,29.54v59.08c0,15.75 13.78,29.54 29.54,29.54s29.54,-13.78 29.54,-29.54v-59.08c0,-15.75 -13.78,-29.54 -29.54,-29.54z"
android:fillColor="#13227a"/>
<path
android:pathData="M945.23,630.15H78.77v-39.38C78.77,352.49 273.72,157.54 512,157.54s433.23,194.95 433.23,433.23v39.38zM137.85,571.08h748.31c-9.85,-196.92 -173.29,-354.46 -374.15,-354.46S147.69,374.15 137.85,571.08z"
android:fillColor="#13227a"/>
<path
android:pathData="M512,236.31c-183.14,0 -332.8,137.85 -352.49,315.08h704.98c-19.69,-177.23 -169.35,-315.08 -352.49,-315.08z"
android:fillColor="#13227a"/>
</vector>

View File

@ -7,13 +7,13 @@
tools:context=".ui.device.DeviceActivity"> tools:context=".ui.device.DeviceActivity">
<RelativeLayout <RelativeLayout
android:id="@id/device_activity_outside" android:id="@id/device_activity_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/main_bg_color"> android:background="@color/main_bg_color">
<LinearLayout <LinearLayout
android:id="@id/device_activity_inner_title" android:id="@id/device_activity_layout_title"
android:background="@color/main_bg_color" android:background="@color/main_bg_color"
android:layout_width="match_parent" android:layout_width="match_parent"
android:gravity="center" android:gravity="center"
@ -21,7 +21,7 @@
<!--标题栏 返回--> <!--标题栏 返回-->
<androidx.appcompat.widget.AppCompatImageButton <androidx.appcompat.widget.AppCompatImageButton
android:id="@id/device_activity_inner_back" android:id="@id/device_activity_title_back"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="50dp" android:layout_height="50dp"
@ -37,7 +37,7 @@
<!--name名称--> <!--name名称-->
<TextView <TextView
android:id="@id/device_activity_inner_name" android:id="@id/device_activity_title_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="30dp" android:layout_height="30dp"
android:gravity="center" android:gravity="center"
@ -45,18 +45,18 @@
android:text="@string/test_hello_blank_textview_1"/> android:text="@string/test_hello_blank_textview_1"/>
<!--描述信息--> <!--描述信息-->
<TextView <TextView
android:id="@id/device_activity_inner_description" android:id="@id/device_activity_title_description"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="20dp" android:layout_height="20dp"
android:gravity="center" android:gravity="center"
android:textSize="12dp" android:textSize="12dp"
android:layout_below="@id/device_activity_inner_name" android:layout_below="@id/device_activity_title_name"
android:text="@string/test_hello_blank_textview_3"/> android:text="@string/test_hello_blank_textview_3"/>
</RelativeLayout> </RelativeLayout>
<!--标题栏 更多设置--> <!--标题栏 更多设置-->
<androidx.appcompat.widget.AppCompatImageButton <androidx.appcompat.widget.AppCompatImageButton
android:id="@id/device_activity_inner_more_set" android:id="@id/device_activity_title_more_set"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="50dp" android:layout_height="50dp"
@ -66,17 +66,17 @@
</LinearLayout> </LinearLayout>
<RelativeLayout <RelativeLayout
android:id="@id/device_activity_inner_content" android:id="@id/device_activity_layout_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/device_activity_inner_title" android:layout_below="@id/device_activity_layout_title"
android:background="@color/main_bg_color" android:background="@color/main_bg_color"
> >
<!--中间开关图片 可点击--> <!--中间开关图片 可点击-->
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@id/device_activity_inner_content_switch" android:id="@id/device_activity_content_switch"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="375dp" android:layout_height="375dp"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
@ -89,22 +89,22 @@
android:src="@drawable/img_switch_close" /> android:src="@drawable/img_switch_close" />
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@id/device_activity_inner_content_icon" android:id="@id/device_activity_content_icon"
android:layout_width="64dp" android:layout_width="64dp"
android:layout_height="64dp" android:layout_height="64dp"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="25dp" android:layout_marginTop="35dp"
android:src="@drawable/ic_device_light_1" /> android:src="@drawable/ic_device_light_1_close" />
<TextView <TextView
android:id="@id/device_activity_inner_content_text" android:id="@id/device_activity_content_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/device_activity_inner_content_icon" android:layout_below="@id/device_activity_content_icon"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:layout_marginTop="225dp" android:layout_marginTop="225dp"
android:gravity="center" android:gravity="center"
android:text="@string/test_btn_1" /> android:text="@string/test_hello_blank_textview_1" />
</RelativeLayout> </RelativeLayout>
</RelativeLayout> </RelativeLayout>

View File

@ -17,20 +17,20 @@
<!--设备操作页 start--> <!--设备操作页 start-->
<item name="device_activity" type="id"/> <item name="device_activity" type="id"/>
<item name="device_activity_outside" type="id"/> <item name="device_activity_layout" type="id"/>
<item name="device_activity_inner_title" type="id"/> <item name="device_activity_layout_title" type="id"/>
<item name="device_activity_inner_content" type="id"/> <item name="device_activity_layout_content" type="id"/>
<!--标题栏--> <!--标题栏-->
<item name="device_activity_inner_back" type="id"/> <item name="device_activity_title_back" type="id"/>
<item name="device_activity_inner_name" type="id"/> <item name="device_activity_title_name" type="id"/>
<item name="device_activity_inner_description" type="id"/> <item name="device_activity_title_description" type="id"/>
<item name="device_activity_inner_more_set" type="id"/> <item name="device_activity_title_more_set" type="id"/>
<!--内容栏--> <!--内容栏-->
<item name="device_activity_inner_content_icon" type="id"/> <item name="device_activity_content_icon" type="id"/>
<item name="device_activity_inner_content_switch" type="id"/> <item name="device_activity_content_switch" type="id"/>
<item name="device_activity_inner_content_text" type="id"/> <item name="device_activity_content_text" type="id"/>
<!--设备操作页 end--> <!--设备操作页 end-->
<!--设备页 end--> <!--设备页 end-->

1
iconfront/灯具-关.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1666158151928" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5809" data-spm-anchor-id="a313x.7781069.0.i31" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M512 196.923077c15.753846 0 29.538462-13.784615 29.538462-29.538462v-118.153846c0-15.753846-13.784615-29.538462-29.538462-29.538461s-29.538462 13.784615-29.538462 29.538461v118.153846c0 15.753846 13.784615 29.538462 29.538462 29.538462zM659.692308 580.923077c-15.753846 0-29.538462 13.784615-29.538462 29.538461 0 64.984615-53.169231 118.153846-118.153846 118.153847s-118.153846-53.169231-118.153846-118.153847c0-15.753846-13.784615-29.538462-29.538462-29.538461S334.769231 594.707692 334.769231 610.461538c0 98.461538 78.769231 177.230769 177.230769 177.23077s177.230769-78.769231 177.230769-177.23077c0-15.753846-13.784615-29.538462-29.538461-29.538461zM224.492308 732.553846l-51.2 29.538462c-13.784615 7.876923-19.692308 25.6-9.846154 39.384615 7.876923 13.784615 25.6 19.692308 39.384615 9.846154l51.2-29.538462c13.784615-7.876923 19.692308-25.6 9.846154-39.384615-7.876923-13.784615-25.6-17.723077-39.384615-9.846154zM850.707692 762.092308l-51.2-29.538462c-13.784615-7.876923-31.507692-3.938462-39.384615 9.846154-7.876923 13.784615-3.938462 31.507692 9.846154 39.384615l51.2 29.538462c13.784615 7.876923 31.507692 3.938462 39.384615-9.846154 9.846154-13.784615 3.938462-31.507692-9.846154-39.384615zM370.215385 846.769231c-13.784615-7.876923-31.507692-3.938462-39.384616 9.846154l-29.538461 51.2c-7.876923 13.784615-3.938462 31.507692 9.846154 39.384615 13.784615 7.876923 31.507692 3.938462 39.384615-9.846154l29.538461-51.2c7.876923-11.815385 3.938462-29.538462-9.846153-39.384615zM695.138462 858.584615c-7.876923-13.784615-25.6-19.692308-39.384616-9.846153-13.784615 7.876923-19.692308 25.6-9.846154 39.384615l29.538462 51.2c7.876923 13.784615 25.6 19.692308 39.384615 9.846154 13.784615-7.876923 19.692308-25.6 9.846154-39.384616l-29.538461-51.2zM512 886.153846c-15.753846 0-29.538462 13.784615-29.538462 29.538462v59.076923c0 15.753846 13.784615 29.538462 29.538462 29.538461s29.538462-13.784615 29.538462-29.538461v-59.076923c0-15.753846-13.784615-29.538462-29.538462-29.538462z" fill="#13227a" p-id="5810" data-spm-anchor-id="a313x.7781069.0.i30" class=""></path><path d="M945.230769 630.153846H78.769231v-39.384615C78.769231 352.492308 273.723077 157.538462 512 157.538462s433.230769 194.953846 433.230769 433.230769v39.384615zM137.846154 571.076923h748.307692c-9.846154-196.923077-173.292308-354.461538-374.153846-354.461538S147.692308 374.153846 137.846154 571.076923z" fill="#13227a" p-id="5811" data-spm-anchor-id="a313x.7781069.0.i29" class=""></path><path d="M512 236.307692c-183.138462 0-332.8 137.846154-352.492308 315.076923h704.984616c-19.692308-177.230769-169.353846-315.076923-352.492308-315.076923z" fill="#13227a" p-id="5812" data-spm-anchor-id="a313x.7781069.0.i32" class="selected"></path></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1666145523430" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5227" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M512 196.923077c15.753846 0 29.538462-13.784615 29.538462-29.538462v-118.153846c0-15.753846-13.784615-29.538462-29.538462-29.538461s-29.538462 13.784615-29.538462 29.538461v118.153846c0 15.753846 13.784615 29.538462 29.538462 29.538462zM659.692308 580.923077c-15.753846 0-29.538462 13.784615-29.538462 29.538461 0 64.984615-53.169231 118.153846-118.153846 118.153847s-118.153846-53.169231-118.153846-118.153847c0-15.753846-13.784615-29.538462-29.538462-29.538461S334.769231 594.707692 334.769231 610.461538c0 98.461538 78.769231 177.230769 177.230769 177.23077s177.230769-78.769231 177.230769-177.23077c0-15.753846-13.784615-29.538462-29.538461-29.538461zM224.492308 732.553846l-51.2 29.538462c-13.784615 7.876923-19.692308 25.6-9.846154 39.384615 7.876923 13.784615 25.6 19.692308 39.384615 9.846154l51.2-29.538462c13.784615-7.876923 19.692308-25.6 9.846154-39.384615-7.876923-13.784615-25.6-17.723077-39.384615-9.846154zM850.707692 762.092308l-51.2-29.538462c-13.784615-7.876923-31.507692-3.938462-39.384615 9.846154-7.876923 13.784615-3.938462 31.507692 9.846154 39.384615l51.2 29.538462c13.784615 7.876923 31.507692 3.938462 39.384615-9.846154 9.846154-13.784615 3.938462-31.507692-9.846154-39.384615zM370.215385 846.769231c-13.784615-7.876923-31.507692-3.938462-39.384616 9.846154l-29.538461 51.2c-7.876923 13.784615-3.938462 31.507692 9.846154 39.384615 13.784615 7.876923 31.507692 3.938462 39.384615-9.846154l29.538461-51.2c7.876923-11.815385 3.938462-29.538462-9.846153-39.384615zM695.138462 858.584615c-7.876923-13.784615-25.6-19.692308-39.384616-9.846153-13.784615 7.876923-19.692308 25.6-9.846154 39.384615l29.538462 51.2c7.876923 13.784615 25.6 19.692308 39.384615 9.846154 13.784615-7.876923 19.692308-25.6 9.846154-39.384616l-29.538461-51.2zM512 886.153846c-15.753846 0-29.538462 13.784615-29.538462 29.538462v59.076923c0 15.753846 13.784615 29.538462 29.538462 29.538461s29.538462-13.784615 29.538462-29.538461v-59.076923c0-15.753846-13.784615-29.538462-29.538462-29.538462z" fill="#12B9FF" p-id="5228"></path><path d="M945.230769 630.153846H78.769231v-39.384615C78.769231 352.492308 273.723077 157.538462 512 157.538462s433.230769 194.953846 433.230769 433.230769v39.384615zM137.846154 571.076923h748.307692c-9.846154-196.923077-173.292308-354.461538-374.153846-354.461538S147.692308 374.153846 137.846154 571.076923z" fill="#0c77ef" p-id="5229" data-spm-anchor-id="a313x.7781069.0.i21" class="selected"></path><path d="M512 236.307692c-183.138462 0-332.8 137.846154-352.492308 315.076923h704.984616c-19.692308-177.230769-169.353846-315.076923-352.492308-315.076923z" fill="#E6F3FF" p-id="5230"></path></svg> <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1666158151928" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5809" data-spm-anchor-id="a313x.7781069.0.i31" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M512 196.923077c15.753846 0 29.538462-13.784615 29.538462-29.538462v-118.153846c0-15.753846-13.784615-29.538462-29.538462-29.538461s-29.538462 13.784615-29.538462 29.538461v118.153846c0 15.753846 13.784615 29.538462 29.538462 29.538462zM659.692308 580.923077c-15.753846 0-29.538462 13.784615-29.538462 29.538461 0 64.984615-53.169231 118.153846-118.153846 118.153847s-118.153846-53.169231-118.153846-118.153847c0-15.753846-13.784615-29.538462-29.538462-29.538461S334.769231 594.707692 334.769231 610.461538c0 98.461538 78.769231 177.230769 177.230769 177.23077s177.230769-78.769231 177.230769-177.23077c0-15.753846-13.784615-29.538462-29.538461-29.538461zM224.492308 732.553846l-51.2 29.538462c-13.784615 7.876923-19.692308 25.6-9.846154 39.384615 7.876923 13.784615 25.6 19.692308 39.384615 9.846154l51.2-29.538462c13.784615-7.876923 19.692308-25.6 9.846154-39.384615-7.876923-13.784615-25.6-17.723077-39.384615-9.846154zM850.707692 762.092308l-51.2-29.538462c-13.784615-7.876923-31.507692-3.938462-39.384615 9.846154-7.876923 13.784615-3.938462 31.507692 9.846154 39.384615l51.2 29.538462c13.784615 7.876923 31.507692 3.938462 39.384615-9.846154 9.846154-13.784615 3.938462-31.507692-9.846154-39.384615zM370.215385 846.769231c-13.784615-7.876923-31.507692-3.938462-39.384616 9.846154l-29.538461 51.2c-7.876923 13.784615-3.938462 31.507692 9.846154 39.384615 13.784615 7.876923 31.507692 3.938462 39.384615-9.846154l29.538461-51.2c7.876923-11.815385 3.938462-29.538462-9.846153-39.384615zM695.138462 858.584615c-7.876923-13.784615-25.6-19.692308-39.384616-9.846153-13.784615 7.876923-19.692308 25.6-9.846154 39.384615l29.538462 51.2c7.876923 13.784615 25.6 19.692308 39.384615 9.846154 13.784615-7.876923 19.692308-25.6 9.846154-39.384616l-29.538461-51.2zM512 886.153846c-15.753846 0-29.538462 13.784615-29.538462 29.538462v59.076923c0 15.753846 13.784615 29.538462 29.538462 29.538461s29.538462-13.784615 29.538462-29.538461v-59.076923c0-15.753846-13.784615-29.538462-29.538462-29.538462z" fill="#6be929" p-id="5810" data-spm-anchor-id="a313x.7781069.0.i30" class="selected"></path><path d="M945.230769 630.153846H78.769231v-39.384615C78.769231 352.492308 273.723077 157.538462 512 157.538462s433.230769 194.953846 433.230769 433.230769v39.384615zM137.846154 571.076923h748.307692c-9.846154-196.923077-173.292308-354.461538-374.153846-354.461538S147.692308 374.153846 137.846154 571.076923z" fill="#13227a" p-id="5811" data-spm-anchor-id="a313x.7781069.0.i29" class=""></path><path d="M512 236.307692c-183.138462 0-332.8 137.846154-352.492308 315.076923h704.984616c-19.692308-177.230769-169.353846-315.076923-352.492308-315.076923z" fill="#6be929" p-id="5812" data-spm-anchor-id="a313x.7781069.0.i32" class="selected"></path></svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB