首次提交
This commit is contained in:
27
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineModel.h
Normal file
27
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineModel.h
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// SEARoomHeadlineModel.h
|
||||
// romantic
|
||||
//
|
||||
// Created by Xmac on 2024/5/31.
|
||||
// Copyright © 2024 romantic. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SEARoomHeadlineModel : NSObject
|
||||
|
||||
@property (nonatomic, strong) NSString *content;
|
||||
@property (nonatomic, strong) NSString *head_pic;
|
||||
@property (nonatomic, strong) NSString *nick_name;
|
||||
@property (nonatomic, strong) NSString *pay_integral;
|
||||
@property (nonatomic, strong) NSString *rid;
|
||||
@property (nonatomic, assign) NSInteger over_time;
|
||||
@property (nonatomic, strong) NSString *type;
|
||||
@property (nonatomic, strong) NSString *uid;
|
||||
@property (nonatomic, strong) NSString *sex;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
13
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineModel.m
Normal file
13
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineModel.m
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// SEARoomHeadlineModel.m
|
||||
// romantic
|
||||
//
|
||||
// Created by Xmac on 2024/5/31.
|
||||
// Copyright © 2024 romantic. All rights reserved.
|
||||
//
|
||||
|
||||
#import "SEARoomHeadlineModel.h"
|
||||
|
||||
@implementation SEARoomHeadlineModel
|
||||
|
||||
@end
|
||||
31
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineShowView.h
Normal file
31
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineShowView.h
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// SEARoomHeadlineShowView.h
|
||||
// romantic
|
||||
//
|
||||
// Created by Xmac on 2024/5/28.
|
||||
// Copyright © 2024 romantic. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "SEARoomHeadlineModel.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
typedef void(^HeadlineGoButtonBlock)(void);
|
||||
typedef void(^HeadlineCaiFangButtonBlock)(NSString *rid);
|
||||
|
||||
@interface SEARoomHeadlineShowView : UIView
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIView *baseCover;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *headerPic;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *nicknameLabel;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *goButton;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *smallIcon;
|
||||
|
||||
@property (nonatomic, strong) SEARoomHeadlineModel *model;
|
||||
@property (nonatomic, copy) HeadlineGoButtonBlock goBlock;
|
||||
@property (nonatomic, copy) HeadlineCaiFangButtonBlock caiBlock;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
101
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineShowView.m
Normal file
101
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineShowView.m
Normal file
@@ -0,0 +1,101 @@
|
||||
//
|
||||
// SEARoomHeadlineShowView.m
|
||||
// romantic
|
||||
//
|
||||
// Created by Xmac on 2024/5/28.
|
||||
// Copyright © 2024 romantic. All rights reserved.
|
||||
//
|
||||
|
||||
#import "SEARoomHeadlineShowView.h"
|
||||
|
||||
@interface SEARoomHeadlineShowView ()
|
||||
|
||||
@property (nonatomic, assign)CGPoint originalPoint;
|
||||
@property (nonatomic, assign) NSInteger status;
|
||||
|
||||
@end
|
||||
|
||||
@implementation SEARoomHeadlineShowView
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(onTuodong:)];
|
||||
[self addGestureRecognizer:pan];
|
||||
|
||||
self.status = 1;
|
||||
WEAK_SELF;
|
||||
[self dg_Tapped:^{
|
||||
if (weakSelf.status == 2){
|
||||
self.status = 1;
|
||||
weakSelf.baseCover.hidden = NO;
|
||||
weakSelf.smallIcon.hidden = YES;
|
||||
if (self.x >= (APPW-280)){
|
||||
self.frame = CGRectMake(APPW-300, self.y, 300, 270);
|
||||
}else{
|
||||
self.frame = CGRectMake(0, self.y, 300, 270);
|
||||
}
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
- (IBAction)qiangButtonClick:(UIButton *)sender {
|
||||
if (self.goBlock) {
|
||||
self.goBlock();
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)caifangButtonClick:(UIButton *)sender {
|
||||
if (self.caiBlock){
|
||||
self.caiBlock(_model.rid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- (void)setModel:(SEARoomHeadlineModel *)model
|
||||
{
|
||||
_model = model;
|
||||
[self.headerPic sd_setImageWithURL:[NSURL URLWithString:model.head_pic] placeholderImage:kDefaultUserIcon];
|
||||
self.nicknameLabel.text = model.nick_name;
|
||||
self.contentLabel.text = model.content;
|
||||
}
|
||||
|
||||
//滑动事件
|
||||
- (void)onTuodong:(UIPanGestureRecognizer *)pan{
|
||||
//获取当前位置
|
||||
CGPoint currentPosition = [pan locationInView:self];
|
||||
if (pan.state == UIGestureRecognizerStateBegan) {
|
||||
_originalPoint = currentPosition;
|
||||
}else if(pan.state == UIGestureRecognizerStateChanged){
|
||||
//偏移量(当前坐标 - 起始坐标 = 偏移量)
|
||||
CGFloat offsetX = currentPosition.x - _originalPoint.x;
|
||||
CGFloat offsetY = currentPosition.y - _originalPoint.y;
|
||||
|
||||
//移动后的按钮中心坐标
|
||||
CGFloat centerX = self.center.x + offsetX;
|
||||
CGFloat centerY = self.center.y + offsetY;
|
||||
self.center = CGPointMake(centerX, centerY);
|
||||
}
|
||||
else if(pan.state == UIGestureRecognizerStateEnded){
|
||||
|
||||
if (self.status == 2){
|
||||
//小图标保持松开就吸附
|
||||
if (self.x >= (APPW/2)){
|
||||
self.frame = CGRectMake(APPW-60-15, self.y, 60, 60);
|
||||
}else {
|
||||
self.frame = CGRectMake(0, self.y, 60, 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)closeButtonClick:(UIButton *)sender {
|
||||
self.frame = CGRectMake(0, self.y, 60, 60);
|
||||
self.baseCover.hidden = YES;
|
||||
self.smallIcon.hidden = NO;
|
||||
self.status = 2;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
146
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineShowView.xib
Normal file
146
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlineShowView.xib
Normal file
@@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="SEARoomHeadlineShowView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="326" height="80"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CKi-en-cjg">
|
||||
<rect key="frame" x="28" y="16.333333333333332" width="270" height="47.666666666666671"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="room_haedline_bg" translatesAutoresizingMaskIntoConstraints="NO" id="10D-vP-B2W">
|
||||
<rect key="frame" x="0.0" y="0.0" width="270" height="47.666666666666664"/>
|
||||
</imageView>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="default_userIcon" translatesAutoresizingMaskIntoConstraints="NO" id="pPI-bk-jQS">
|
||||
<rect key="frame" x="49" y="7.6666666666666679" width="32" height="32"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="32" id="a26-d3-c2l"/>
|
||||
<constraint firstAttribute="width" constant="32" id="aGJ-V6-Svw"/>
|
||||
</constraints>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
||||
<real key="value" value="16"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昵称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ysb-EN-3Tx">
|
||||
<rect key="frame" x="86" y="5" width="20.666666666666671" height="12"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="10"/>
|
||||
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zr0-ej-xK6">
|
||||
<rect key="frame" x="236" y="11.666666666666668" width="24" height="24.000000000000004"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="24" id="BA3-CF-mJx"/>
|
||||
<constraint firstAttribute="height" constant="24" id="ciP-f8-Epx"/>
|
||||
</constraints>
|
||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||
<state key="normal" image="room_haedline_go"/>
|
||||
<connections>
|
||||
<action selector="qiangButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="cmm-Cm-OSF"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="edX-gU-c2a">
|
||||
<rect key="frame" x="202" y="11.666666666666668" width="24" height="24.000000000000004"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="24" id="E8O-4h-loX"/>
|
||||
<constraint firstAttribute="height" constant="24" id="qb8-eO-XRh"/>
|
||||
</constraints>
|
||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||
<state key="normal" image="room_haedline_cai"/>
|
||||
<connections>
|
||||
<action selector="caifangButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="w0H-Br-UFG"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="usn-bG-y75">
|
||||
<rect key="frame" x="0.0" y="1.6666666666666679" width="44" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="HB7-c3-Qn7"/>
|
||||
<constraint firstAttribute="width" constant="44" id="jwv-Ip-3jw"/>
|
||||
</constraints>
|
||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||
<state key="normal" image="room_haedline_close"/>
|
||||
<connections>
|
||||
<action selector="closeButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="RI4-x6-rjt"/>
|
||||
</connections>
|
||||
</button>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="华语乐坛没我不行华语乐坛没我不行~华语乐" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rDe-v7-bOj">
|
||||
<rect key="frame" x="86" y="20" width="111" height="21.666666666666671"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="9"/>
|
||||
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="rDe-v7-bOj" firstAttribute="top" secondItem="CKi-en-cjg" secondAttribute="top" constant="20" id="2Gx-8o-ncp"/>
|
||||
<constraint firstItem="pPI-bk-jQS" firstAttribute="centerY" secondItem="CKi-en-cjg" secondAttribute="centerY" id="53W-e6-ywC"/>
|
||||
<constraint firstItem="edX-gU-c2a" firstAttribute="leading" secondItem="rDe-v7-bOj" secondAttribute="trailing" constant="5" id="6hi-nC-Xrl"/>
|
||||
<constraint firstItem="pPI-bk-jQS" firstAttribute="leading" secondItem="usn-bG-y75" secondAttribute="trailing" constant="5" id="6o8-Se-HLz"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Zr0-ej-xK6" secondAttribute="trailing" constant="10" id="9kP-hG-LTu"/>
|
||||
<constraint firstItem="10D-vP-B2W" firstAttribute="top" secondItem="CKi-en-cjg" secondAttribute="top" id="9rl-00-Pvt"/>
|
||||
<constraint firstItem="rDe-v7-bOj" firstAttribute="leading" secondItem="Ysb-EN-3Tx" secondAttribute="leading" id="AFi-YH-v7n"/>
|
||||
<constraint firstItem="Ysb-EN-3Tx" firstAttribute="top" secondItem="CKi-en-cjg" secondAttribute="top" constant="5" id="AYj-Xy-azd"/>
|
||||
<constraint firstAttribute="bottom" secondItem="rDe-v7-bOj" secondAttribute="bottom" constant="6" id="Avb-qe-Vdz"/>
|
||||
<constraint firstItem="usn-bG-y75" firstAttribute="leading" secondItem="CKi-en-cjg" secondAttribute="leading" id="IZf-Lf-g5J"/>
|
||||
<constraint firstItem="Zr0-ej-xK6" firstAttribute="leading" secondItem="edX-gU-c2a" secondAttribute="trailing" constant="10" id="Ku8-ne-bvY"/>
|
||||
<constraint firstItem="Ysb-EN-3Tx" firstAttribute="leading" secondItem="pPI-bk-jQS" secondAttribute="trailing" constant="5" id="Xu8-bq-FJ8"/>
|
||||
<constraint firstItem="10D-vP-B2W" firstAttribute="leading" secondItem="CKi-en-cjg" secondAttribute="leading" id="YAG-52-LdU"/>
|
||||
<constraint firstAttribute="bottom" secondItem="10D-vP-B2W" secondAttribute="bottom" id="epx-Tg-Pap"/>
|
||||
<constraint firstAttribute="trailing" secondItem="10D-vP-B2W" secondAttribute="trailing" id="hvC-Xl-ECg"/>
|
||||
<constraint firstItem="Zr0-ej-xK6" firstAttribute="centerY" secondItem="CKi-en-cjg" secondAttribute="centerY" id="oDD-gB-NIL"/>
|
||||
<constraint firstItem="usn-bG-y75" firstAttribute="centerY" secondItem="CKi-en-cjg" secondAttribute="centerY" id="qZ0-ED-ChD"/>
|
||||
<constraint firstAttribute="width" constant="270" id="sEV-sz-1FD"/>
|
||||
<constraint firstItem="edX-gU-c2a" firstAttribute="centerY" secondItem="CKi-en-cjg" secondAttribute="centerY" id="vyh-md-tg8"/>
|
||||
</constraints>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
||||
<real key="value" value="12"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</view>
|
||||
<imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="room_small_icon" translatesAutoresizingMaskIntoConstraints="NO" id="aWp-Uy-Xc6">
|
||||
<rect key="frame" x="15" y="18" width="44" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="44" id="g4K-KM-Tld"/>
|
||||
<constraint firstAttribute="height" constant="44" id="jaH-1L-8px"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="aWp-Uy-Xc6" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="15" id="4xe-M8-gYp"/>
|
||||
<constraint firstItem="aWp-Uy-Xc6" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="BLi-mP-7Ta"/>
|
||||
<constraint firstItem="CKi-en-cjg" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="NU9-4U-11f"/>
|
||||
<constraint firstItem="CKi-en-cjg" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="Zdr-m0-DFV"/>
|
||||
</constraints>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<connections>
|
||||
<outlet property="baseCover" destination="CKi-en-cjg" id="A3V-T7-c2J"/>
|
||||
<outlet property="contentLabel" destination="rDe-v7-bOj" id="Y5b-ko-1gw"/>
|
||||
<outlet property="goButton" destination="Zr0-ej-xK6" id="ImN-yg-rr0"/>
|
||||
<outlet property="headerPic" destination="pPI-bk-jQS" id="Fya-es-TzL"/>
|
||||
<outlet property="nicknameLabel" destination="Ysb-EN-3Tx" id="yVT-9L-eLk"/>
|
||||
<outlet property="smallIcon" destination="aWp-Uy-Xc6" id="Ggl-i7-3k8"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="129.7709923664122" y="176.7605633802817"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="default_userIcon" width="512" height="512"/>
|
||||
<image name="room_haedline_bg" width="271" height="44"/>
|
||||
<image name="room_haedline_cai" width="24" height="24"/>
|
||||
<image name="room_haedline_close" width="44" height="44"/>
|
||||
<image name="room_haedline_go" width="24" height="24"/>
|
||||
<image name="room_small_icon" width="44" height="44"/>
|
||||
</resources>
|
||||
</document>
|
||||
24
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlinesPublishView.h
Normal file
24
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlinesPublishView.h
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// SEARoomHeadlinesPublishView.h
|
||||
// romantic
|
||||
//
|
||||
// Created by Xmac on 2024/5/28.
|
||||
// Copyright © 2024 romantic. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SEARoomHeadlinesPublishView : UIView
|
||||
|
||||
@property (nonatomic ,copy) void(^topUpButtonClickBlock)(void);
|
||||
|
||||
@property (nonatomic, strong) NSString *rid;
|
||||
|
||||
- (void)sheetViewforViewAppear;
|
||||
- (void)sheetViewforViewClose;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
148
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlinesPublishView.m
Normal file
148
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlinesPublishView.m
Normal file
@@ -0,0 +1,148 @@
|
||||
//
|
||||
// SEARoomHeadlinesPublishView.m
|
||||
// romantic
|
||||
//
|
||||
// Created by Xmac on 2024/5/28.
|
||||
// Copyright © 2024 romantic. All rights reserved.
|
||||
//
|
||||
|
||||
#import "SEARoomHeadlinesPublishView.h"
|
||||
|
||||
@interface SEARoomHeadlinesPublishView ()<UITextViewDelegate,UITextFieldDelegate>
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIView *mineView;
|
||||
@property (weak, nonatomic) IBOutlet UITextView *textView;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *countLabel;
|
||||
@property (weak, nonatomic) IBOutlet UITextField *currentPriceTF;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *confirmButton;
|
||||
|
||||
@property (nonatomic, assign) NSInteger currentPrice;
|
||||
@property (nonatomic, assign) NSInteger pay_integral; //支付金币
|
||||
@property (nonatomic, assign) NSInteger step_integral; //每次增加金币
|
||||
|
||||
@end
|
||||
|
||||
@implementation SEARoomHeadlinesPublishView
|
||||
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
self.currentPrice = 0;
|
||||
[self setupUI];
|
||||
self.confirmButton.backgroundColor = [UIColor bm_colorGradientChangeWithSize:CGSizeMake(APPW-30, 48) direction:(FXGradientChangeDirectionHorizontal) startColor:HEXCOLOR(0x9FF6DD) endColor:HEXCOLOR(0x0DFFB9)];
|
||||
[self requestGetTopLineIntegral];
|
||||
}
|
||||
|
||||
|
||||
- (void)setupUI
|
||||
{
|
||||
self.mineView.frame = CGRectMake(0, APPH, APPW, APPH);
|
||||
self.textView.delegate = self;
|
||||
self.currentPriceTF.delegate = self;
|
||||
}
|
||||
|
||||
- (IBAction)moneyAddPriceButtonClick:(UIButton *)sender {
|
||||
[self endEditing:YES];
|
||||
self.currentPrice+=self.step_integral;
|
||||
self.currentPriceTF.text = [NSString stringWithFormat:@"%ld",self.currentPrice];
|
||||
}
|
||||
|
||||
- (IBAction)moneySubtractButtonClick:(UIButton *)sender {
|
||||
[self endEditing:YES];
|
||||
if (self.currentPrice <= 0) {
|
||||
self.currentPrice = 0;
|
||||
}else{
|
||||
self.currentPrice-=1;
|
||||
}
|
||||
self.currentPriceTF.text = [NSString stringWithFormat:@"%ld",self.currentPrice];
|
||||
}
|
||||
|
||||
- (void)textFieldDidEndEditing:(UITextField *)textField
|
||||
{
|
||||
self.currentPrice = textField.text.integerValue;
|
||||
}
|
||||
|
||||
- (IBAction)rechargeButtonClick:(UIButton *)sender {
|
||||
[self sheetViewforViewClose];
|
||||
if (self.topUpButtonClickBlock){
|
||||
self.topUpButtonClickBlock();
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)confirmButtonClick:(UIButton *)sender {
|
||||
if (self.currentPrice == 0){
|
||||
[HelpPageDefine showMessage:@"请输入金额"];
|
||||
return;
|
||||
}
|
||||
[self publishToSendTrumpet];
|
||||
}
|
||||
|
||||
- (void)publishToSendTrumpet
|
||||
{
|
||||
if (self.textView.text.length <= 0) {
|
||||
[HelpPageDefine showMessage:@"请输入内容"];
|
||||
return;
|
||||
}
|
||||
|
||||
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
|
||||
[dict setValue:C_string(self.rid) forKey:@"rid"];
|
||||
[dict setValue:[NSString stringWithFormat:@"%ld",self.currentPrice] forKey:@"pay_integral"];
|
||||
[dict setValue:self.textView.text forKey:@"content"];
|
||||
|
||||
[[AFNetworkRequset shared] postRequestWithParams:dict Path:@"/api/user_top_line/publish_top_line" Loading:YES Hud:YES Success:^(id _Nonnull responseDic) {
|
||||
[HelpPageDefine showMessage:responseDic[@"msg"]];
|
||||
[self sheetViewforViewClose];
|
||||
} Failure:^(id _Nonnull errorData) {
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)requestGetTopLineIntegral
|
||||
{
|
||||
[[AFNetworkRequset shared] postRequestWithParams:@{} Path:@"/api/user_top_line/get_top_line_integral" Loading:YES Hud:YES Success:^(id _Nonnull responseDic) {
|
||||
NSDictionary *data = [responseDic safeDictionaryForKey:@"data"];
|
||||
self.pay_integral = [data safeIntForKey:@"pay_integral"];
|
||||
self.step_integral = [data safeIntForKey:@"step_integral"];
|
||||
self.currentPrice = self.pay_integral;
|
||||
self.currentPriceTF.text = [NSString stringWithFormat:@"%ld",self.currentPrice];
|
||||
} Failure:^(id _Nonnull errorData) {
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
- (IBAction)cancelButtonClick:(UIButton *)sender {
|
||||
[self sheetViewforViewClose];
|
||||
}
|
||||
|
||||
- (void)sheetViewforViewAppear
|
||||
{
|
||||
//滑出动画
|
||||
[UIView animateWithDuration:0.3 animations:^{
|
||||
self.mineView.frame = CGRectMake(0, 0, ScreenWidth, self.mineView.height);
|
||||
} completion:^(BOOL finished) {
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
- (void)sheetViewforViewClose
|
||||
{
|
||||
self.backgroundColor = HEXCOLORA(0x000000, 0);
|
||||
[UIView animateWithDuration:0.3 animations:^{
|
||||
self.frame = CGRectMake(0, ScreenHeight, ScreenWidth, ScreenHeight);
|
||||
} completion:^(BOOL finished) {
|
||||
[self removeFromSuperview];
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
- (void)textViewDidChange:(UITextView *)textView {
|
||||
NSInteger maxLength = 30;
|
||||
if (textView.text.length > maxLength) {
|
||||
[HelpPageDefine showMessage:[NSString stringWithFormat:@"最多输入%ld字", maxLength]];
|
||||
textView.text = [textView.text substringToIndex:maxLength];
|
||||
}
|
||||
_countLabel.text = [NSString stringWithFormat:@"%ld/30",textView.text.length];
|
||||
}
|
||||
|
||||
@end
|
||||
177
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlinesPublishView.xib
Normal file
177
SweetParty/主类/音悦新增/广播头条/SEARoomHeadlinesPublishView.xib
Normal file
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="SEARoomHeadlinesPublishView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MxG-mH-0qp">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
|
||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||
<connections>
|
||||
<action selector="cancelButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="iFw-Ox-qC2"/>
|
||||
</connections>
|
||||
</button>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QaQ-9s-JOA">
|
||||
<rect key="frame" x="0.0" y="437" width="375" height="375"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="room_haedline_publish_bg" translatesAutoresizingMaskIntoConstraints="NO" id="ggw-Id-CUU">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="375"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="抢头条" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Uef-0S-3A1">
|
||||
<rect key="frame" x="164.66666666666666" y="15" width="46" height="18"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="heavy" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wjk-Yy-s4O">
|
||||
<rect key="frame" x="15" y="55.000000000000014" width="345" height="176.33333333333337"/>
|
||||
<subviews>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="WEP-Ef-JLN">
|
||||
<rect key="frame" x="15" y="15" width="315" height="131.33333333333334"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="placeholder">
|
||||
<string key="value">输入内容仅限30个字。
|
||||
禁止发布色情、赌博等违反相关法律的内容;违规者将进行封号处理。</string>
|
||||
</userDefinedRuntimeAttribute>
|
||||
<userDefinedRuntimeAttribute type="color" keyPath="placeholderColor">
|
||||
<color key="value" red="1" green="1" blue="1" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</textView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/30" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NPP-82-SUv">
|
||||
<rect key="frame" x="299" y="144.33333333333337" width="31" height="17"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
||||
<color key="textColor" red="1" green="1" blue="1" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="NPP-82-SUv" secondAttribute="trailing" constant="15" id="2kV-ld-r0L"/>
|
||||
<constraint firstAttribute="trailing" secondItem="WEP-Ef-JLN" secondAttribute="trailing" constant="15" id="9s0-5C-jGD"/>
|
||||
<constraint firstItem="WEP-Ef-JLN" firstAttribute="leading" secondItem="Wjk-Yy-s4O" secondAttribute="leading" constant="15" id="BqQ-4W-og0"/>
|
||||
<constraint firstItem="WEP-Ef-JLN" firstAttribute="top" secondItem="Wjk-Yy-s4O" secondAttribute="top" constant="15" id="H1T-sW-yhg"/>
|
||||
<constraint firstAttribute="bottom" secondItem="NPP-82-SUv" secondAttribute="bottom" constant="15" id="U1s-fv-37d"/>
|
||||
<constraint firstAttribute="bottom" secondItem="WEP-Ef-JLN" secondAttribute="bottom" constant="30" id="bX7-IJ-ryP"/>
|
||||
</constraints>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
|
||||
<color key="value" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
||||
<real key="value" value="12"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1tN-b5-Wf5">
|
||||
<rect key="frame" x="15" y="281" width="345" height="44"/>
|
||||
<color key="backgroundColor" red="0.050980392156862744" green="1" blue="0.72549019607843135" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="zL9-SL-a4b"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
|
||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||
<state key="normal" title="抢头条">
|
||||
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
||||
<real key="value" value="22"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
<connections>
|
||||
<action selector="confirmButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="syJ-Qa-4vB"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="0.0" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hVa-jE-AmW">
|
||||
<rect key="frame" x="177" y="247.33333333333334" width="21" height="18.666666666666657"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JXF-8B-Nea">
|
||||
<rect key="frame" x="198" y="241.66666666666663" width="30" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="Udl-6y-0JQ"/>
|
||||
<constraint firstAttribute="width" constant="30" id="udo-Bj-h5p"/>
|
||||
</constraints>
|
||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||
<state key="normal" image="alert_jia"/>
|
||||
<connections>
|
||||
<action selector="moneyAddPriceButtonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="wgO-wr-4WT"/>
|
||||
</connections>
|
||||
</button>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="room_gift_coin" translatesAutoresizingMaskIntoConstraints="NO" id="ZNB-SV-FUg">
|
||||
<rect key="frame" x="147" y="244.66666666666663" width="24" height="24"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="1tN-b5-Wf5" secondAttribute="trailing" constant="15" id="57f-UW-wCk"/>
|
||||
<constraint firstItem="ggw-Id-CUU" firstAttribute="top" secondItem="QaQ-9s-JOA" secondAttribute="top" id="5sP-0W-1qu"/>
|
||||
<constraint firstItem="Wjk-Yy-s4O" firstAttribute="top" secondItem="Uef-0S-3A1" secondAttribute="bottom" constant="22" id="6bs-o4-H1n"/>
|
||||
<constraint firstItem="JXF-8B-Nea" firstAttribute="centerY" secondItem="hVa-jE-AmW" secondAttribute="centerY" id="7ZF-Au-Ryt"/>
|
||||
<constraint firstItem="ZNB-SV-FUg" firstAttribute="centerY" secondItem="hVa-jE-AmW" secondAttribute="centerY" id="Ccd-H9-p5a"/>
|
||||
<constraint firstItem="hVa-jE-AmW" firstAttribute="leading" secondItem="ZNB-SV-FUg" secondAttribute="trailing" constant="6" id="Ce8-W3-tw6"/>
|
||||
<constraint firstItem="hVa-jE-AmW" firstAttribute="top" secondItem="Wjk-Yy-s4O" secondAttribute="bottom" constant="16" id="DXA-Jg-IPK"/>
|
||||
<constraint firstAttribute="bottom" secondItem="ggw-Id-CUU" secondAttribute="bottom" id="Eib-4q-kjn"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ggw-Id-CUU" secondAttribute="trailing" id="HFM-kJ-laa"/>
|
||||
<constraint firstItem="Uef-0S-3A1" firstAttribute="top" secondItem="QaQ-9s-JOA" secondAttribute="top" constant="15" id="Ibv-Kl-aD6"/>
|
||||
<constraint firstItem="ggw-Id-CUU" firstAttribute="leading" secondItem="QaQ-9s-JOA" secondAttribute="leading" id="JbP-9E-fpo"/>
|
||||
<constraint firstItem="hVa-jE-AmW" firstAttribute="centerX" secondItem="QaQ-9s-JOA" secondAttribute="centerX" id="Jep-cZ-nO9"/>
|
||||
<constraint firstItem="JXF-8B-Nea" firstAttribute="leading" secondItem="hVa-jE-AmW" secondAttribute="trailing" id="PxM-lT-mDf"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Wjk-Yy-s4O" secondAttribute="trailing" constant="15" id="ZKF-wD-IwO"/>
|
||||
<constraint firstItem="Uef-0S-3A1" firstAttribute="centerX" secondItem="QaQ-9s-JOA" secondAttribute="centerX" id="aUs-CL-zdS"/>
|
||||
<constraint firstAttribute="bottom" secondItem="1tN-b5-Wf5" secondAttribute="bottom" constant="50" id="gpN-AW-SoK"/>
|
||||
<constraint firstItem="1tN-b5-Wf5" firstAttribute="top" secondItem="hVa-jE-AmW" secondAttribute="bottom" constant="15" id="hgZ-4t-g35"/>
|
||||
<constraint firstItem="Wjk-Yy-s4O" firstAttribute="leading" secondItem="QaQ-9s-JOA" secondAttribute="leading" constant="15" id="ley-TX-hBv"/>
|
||||
<constraint firstAttribute="height" constant="375" id="vyf-lw-bP4"/>
|
||||
<constraint firstItem="1tN-b5-Wf5" firstAttribute="leading" secondItem="QaQ-9s-JOA" secondAttribute="leading" constant="15" id="wnM-uZ-QaW"/>
|
||||
</constraints>
|
||||
<userDefinedRuntimeAttributes>
|
||||
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
||||
<real key="value" value="18"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="QaQ-9s-JOA" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="7NA-UZ-RKi"/>
|
||||
<constraint firstAttribute="bottom" secondItem="QaQ-9s-JOA" secondAttribute="bottom" id="CiU-BM-e1u"/>
|
||||
<constraint firstAttribute="bottom" secondItem="MxG-mH-0qp" secondAttribute="bottom" id="DLo-1r-XWI"/>
|
||||
<constraint firstAttribute="trailing" secondItem="QaQ-9s-JOA" secondAttribute="trailing" id="I1X-dC-YVZ"/>
|
||||
<constraint firstItem="MxG-mH-0qp" firstAttribute="trailing" secondItem="iN0-l3-epB" secondAttribute="trailing" id="U6p-Rr-wWv"/>
|
||||
<constraint firstItem="MxG-mH-0qp" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="oFI-JR-q9b"/>
|
||||
<constraint firstItem="MxG-mH-0qp" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="zma-pr-NWg"/>
|
||||
</constraints>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<connections>
|
||||
<outlet property="confirmButton" destination="1tN-b5-Wf5" id="5vq-2O-hQI"/>
|
||||
<outlet property="countLabel" destination="NPP-82-SUv" id="BE5-hF-Dxy"/>
|
||||
<outlet property="currentPriceTF" destination="hVa-jE-AmW" id="48X-hg-ige"/>
|
||||
<outlet property="mineView" destination="QaQ-9s-JOA" id="tNd-vQ-46d"/>
|
||||
<outlet property="textView" destination="WEP-Ef-JLN" id="ui9-1s-qxd"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="130.53435114503816" y="-11.267605633802818"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="alert_jia" width="16" height="16"/>
|
||||
<image name="room_gift_coin" width="24" height="24"/>
|
||||
<image name="room_haedline_publish_bg" width="375" height="372"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user