张延森 4 lat temu
rodzic
commit
1509a053c2
1 zmienionych plików z 4 dodań i 3 usunięć
  1. 4
    3
      src/pages/guide/index.jsx

+ 4
- 3
src/pages/guide/index.jsx Wyświetl plik

@@ -212,12 +212,13 @@ const guide = props => {
212 212
                         float: "right",
213 213
                         display: "flex",
214 214
                         justifyContent: "center",
215
-                        flexDirection: "column"
215
+                        flexDirection: "column",
216
+                        textAlign: "center"
216 217
                       }}
217 218
                       onClick={() => handleCopy(detail.wifiPassword)}
218 219
                     >
219 220
                       <mp-icon icon="copy" size={24} color="#FED12F" type="field"></mp-icon>
220
-                      <View className="icontext">复制</View>
221
+                      <View className="icontext">复制密码</View>
221 222
                     </View>
222 223
                   )}
223 224
                 </ContainerLayout>
@@ -235,7 +236,7 @@ const guide = props => {
235 236
                 src={imgurl || detail.desc}
236 237
               ></Image>
237 238
             )}
238
-            {!detail.desc && !imgurl && (
239
+            {user.role != userRloe.customer && !detail.desc && !imgurl && (
239 240
               <View style={{ padding: "300rpx" }}>
240 241
                 <Image
241 242
                   className="guide-view-img"